Commit 50dd6389 authored by Ganesharatnam's avatar Ganesharatnam
Browse files

Tested for code review

parent 95efb767
......@@ -51,6 +51,16 @@ function uw_lib_refshelf_block_view($delta = '') {
return $block;
}
/**
* Implements hook_help().
*/
function uw_lib_refshelf_help($path, $arg) {
switch ($path) {
case 'admin/help#uw_lib_refshelf':
return '<p>' . t("List/Search functionality for online reference shelf categories and resources to the Library website.") . '</p>';
}
}
/**
* Implements hook_form().
*/
......@@ -122,8 +132,8 @@ function uw_lib_refshelf_render_data() {
$parent_data = _getDataORS($cat_id, $url);
$element = $parent_data['data'];
if (!empty($element)) {
$tit = $element[0]['name'];
_setBreadCrumbsORS("cat_id", $cat_id, $tit, 0);
$tit = $element[0]['name'];
_setBreadCrumbsORS("cat_id", $cat_id, $tit, 0);
}
$txt = "<h2>" . $tit . "</h2><br />";
$_SESSION['tit'] = $txt;
......
Markdown is supported
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