Commit 95efb767 authored by Ganesharatnam's avatar Ganesharatnam
Browse files

Run through code view

parent b71a9e3e
......@@ -19,8 +19,8 @@ function uw_lib_refshelf_menu() {
}
/**
* Implements hook_block_info().
*/
* Implements hook_block_info().
*/
function uw_lib_refshelf_block_info() {
$blocks = array();
$blocks['online_ref_shelfVer'] = array(
......@@ -36,8 +36,8 @@ function uw_lib_refshelf_block_info() {
}
/**
* Implements hook_block_info().
*/
* Implements hook_block_view().
*/
function uw_lib_refshelf_block_view($delta = '') {
$block = array();
switch ($delta) {
......@@ -156,7 +156,6 @@ function uw_lib_refshelf_render_data() {
$content .= $_SESSION['tit'];
$content .= "<h3>" . $tit . "</h3><br />";
}
//$content .= $txt;
$qparam = $toc_id;
$content .= _getLinkAndDescORS($qparam, "resources");
}
......@@ -272,8 +271,8 @@ function _getLinkAndDescORS($param, $str) {
}
/**
* breadcrumbs
*/
* breadcrumbs
*/
function _setBreadCrumbsORS($str, $id, $title, $parent_id) {
$breadcrumb = drupal_get_breadcrumb();
$main_title = drupal_get_title();
......@@ -376,8 +375,8 @@ function _refshelfDataSearchORS($word) {
}
/**
Resctriced URL is passed through the proxy
*/
* Resctriced URL is passed through the proxy
*/
function _filterRestrictedResourceORS($restricted, $url) {
$proxy_url = "http://proxy.lib.uwaterloo.ca/login?url=";
if ($restricted == 1) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment