forked from GNUsocial/gnu-social
make last parameter for common_menu_item() optional
darcs-hash:20080611155649-84dde-6200d33e93ed13278c22833d1225e3b9eb44b9b5.gz
This commit is contained in:
parent
9f39fd31af
commit
34cdd4ebd0
@ -243,7 +243,7 @@ function common_foot_menu() {
|
||||
common_element_end('ul');
|
||||
}
|
||||
|
||||
function common_menu_item($url, $text, $title=NULL, $is_selected) {
|
||||
function common_menu_item($url, $text, $title=NULL, $is_selected=false) {
|
||||
$lattrs = array();
|
||||
if ($is_selected) {
|
||||
$lattrs['class'] = 'current';
|
||||
|
Loading…
Reference in New Issue
Block a user