forked from extern/egroupware
display current users in topmenu when topmenu is enabled
This commit is contained in:
parent
48c4bfdc9b
commit
65e30cac8e
@ -460,6 +460,7 @@
|
|||||||
|
|
||||||
if($GLOBALS['egw_info']['user']['preferences']['common']['show_general_menu'] != 'sidebox')
|
if($GLOBALS['egw_info']['user']['preferences']['common']['show_general_menu'] != 'sidebox')
|
||||||
{
|
{
|
||||||
|
$var['current_users'] = '';
|
||||||
$var['quick_add'] = '';
|
$var['quick_add'] = '';
|
||||||
$var['user_info']='';
|
$var['user_info']='';
|
||||||
}
|
}
|
||||||
@ -627,6 +628,7 @@
|
|||||||
$this->tplsav2->assign('info_icons',$this->topmenu_icon_arr);
|
$this->tplsav2->assign('info_icons',$this->topmenu_icon_arr);
|
||||||
|
|
||||||
$this->_add_topmenu_info_item($this->_user_time_info());
|
$this->_add_topmenu_info_item($this->_user_time_info());
|
||||||
|
$this->_add_topmenu_info_item($this->_current_users());
|
||||||
$this->_add_topmenu_info_item($this->_get_quick_add());
|
$this->_add_topmenu_info_item($this->_get_quick_add());
|
||||||
|
|
||||||
$this->tplsav2->display('topmenu.tpl.php');
|
$this->tplsav2->display('topmenu.tpl.php');
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<div id="topmenu">
|
<div id="topmenu">
|
||||||
<div id="topmenu_items">
|
<div id="topmenu_items">
|
||||||
<?php foreach($this->menuitems as $mitems):?>
|
<?php foreach($this->menuitems as $mitems):?>
|
||||||
<div style="padding:0px 10px 0px 10px;position:relative;float:left;"><img src="<?=$this->icon_or_star?>" /> <a href="<?=$mitems['url']?>"><?=$mitems['label']?></a></div>
|
<div style="padding:0px 0px 0px 10px;position:relative;float:left;"><img src="<?=$this->icon_or_star?>" /> <a href="<?=$mitems['url']?>"><?=$mitems['label']?></a></div>
|
||||||
<?php endforeach?>
|
<?php endforeach?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -63,7 +63,4 @@
|
|||||||
setInterval("shiftOpacity('<?=$iicon['id']?>', 500)",1500);
|
setInterval("shiftOpacity('<?=$iicon['id']?>', 500)",1500);
|
||||||
<?php endif?>
|
<?php endif?>
|
||||||
<?php endforeach?>
|
<?php endforeach?>
|
||||||
|
|
||||||
//shiftOpacity('blinkimg', 500);
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user