Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
library
uw_lib_refshelf
Commits
50dd6389
Commit
50dd6389
authored
Jan 24, 2018
by
Ganesharatnam
Browse files
Tested for code review
parent
95efb767
Changes
1
Hide whitespace changes
Inline
Side-by-side
uw_lib_refshelf.module
View file @
50dd6389
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment