mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:57 +01:00
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')
|
||||
{
|
||||
$var['current_users'] = '';
|
||||
$var['quick_add'] = '';
|
||||
$var['user_info']='';
|
||||
}
|
||||
@ -627,6 +628,7 @@
|
||||
$this->tplsav2->assign('info_icons',$this->topmenu_icon_arr);
|
||||
|
||||
$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->tplsav2->display('topmenu.tpl.php');
|
||||
|
@ -41,7 +41,7 @@
|
||||
<div id="topmenu">
|
||||
<div id="topmenu_items">
|
||||
<?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?>
|
||||
</div>
|
||||
|
||||
@ -63,7 +63,4 @@
|
||||
setInterval("shiftOpacity('<?=$iicon['id']?>', 500)",1500);
|
||||
<?php endif?>
|
||||
<?php endforeach?>
|
||||
|
||||
//shiftOpacity('blinkimg', 500);
|
||||
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user