function menu_entry in Production check & Production monitor 6
Same name in this branch
- 6 includes/prod_check.memcache.inc \menu_entry()
- 6 includes/prod_check.apc.inc \menu_entry()
Same name and namespace in other branches
- 7 includes/prod_check.memcache.inc \menu_entry()
- 7 includes/prod_check.apc.inc \menu_entry()
File
- includes/
prod_check.apc.inc, line 479
Code
function menu_entry($ob, $title) {
global $MYREQUEST, $MY_SELF;
if ($MYREQUEST['OB'] != $ob) {
return "<li><a href=\"{$MY_SELF}&OB={$ob}\">{$title}</a></li>";
}
else {
if (empty($MYREQUEST['SH'])) {
return "<li><span class=active>{$title}</span></li>";
}
else {
return "<li><a class=\"child_active\" href=\"{$MY_SELF}&OB={$ob}\">{$title}</a></li>";
}
}
}