mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
fix for bug #484: Unable to 'Search new phrases'
This commit is contained in:
parent
f2c6ab13c9
commit
b29095430d
@ -725,17 +725,17 @@
|
||||
*/
|
||||
function sidebox($appname,$menu_title,$file)
|
||||
{
|
||||
if(!$appname || ($appname==$GLOBALS['egw_info']['flags']['currentapp'] && $file))
|
||||
{
|
||||
$this->tpl->set_var('lang_title',$menu_title);
|
||||
$this->sidebox_content .= $this->tpl->fp('out','extra_blocks_header');
|
||||
|
||||
foreach($file as $text => $url)
|
||||
{
|
||||
$this->sidebox_content .= $this->_sidebox_menu_item($url,$text);
|
||||
}
|
||||
$this->sidebox_content .= $this->tpl->parse('out','extra_blocks_footer');
|
||||
}
|
||||
if((!$appname || ($appname==$GLOBALS['egw_info']['flags']['currentapp'] && $file)) && is_object($this->tpl))
|
||||
{
|
||||
$this->tpl->set_var('lang_title',$menu_title);
|
||||
$this->sidebox_content .= $this->tpl->fp('out','extra_blocks_header');
|
||||
|
||||
foreach($file as $text => $url)
|
||||
{
|
||||
$this->sidebox_content .= $this->_sidebox_menu_item($url,$text);
|
||||
}
|
||||
$this->sidebox_content .= $this->tpl->parse('out','extra_blocks_footer');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user