mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
added link-targets to the sidebox-menu
This commit is contained in:
parent
1f4dad9ce2
commit
52628e99b8
@ -216,6 +216,7 @@
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
|
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
|
||||||
|
$var['target'] = '';
|
||||||
if(is_array($item_link))
|
if(is_array($item_link))
|
||||||
{
|
{
|
||||||
if(isset($item_link['icon']))
|
if(isset($item_link['icon']))
|
||||||
@ -225,6 +226,10 @@
|
|||||||
}
|
}
|
||||||
$var['lang_item'] = isset($item_link['no_lang']) && $item_link['no_lang'] ? $item_link['text'] : lang($item_link['text']);
|
$var['lang_item'] = isset($item_link['no_lang']) && $item_link['no_lang'] ? $item_link['text'] : lang($item_link['text']);
|
||||||
$var['item_link'] = $item_link['link'];
|
$var['item_link'] = $item_link['link'];
|
||||||
|
if ($item_link['target'])
|
||||||
|
{
|
||||||
|
$var['target'] = " target=\"$item_link[target]\"";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
<!-- BEGIN extra_block_row -->
|
<!-- BEGIN extra_block_row -->
|
||||||
<tr class="divSideboxEntry">
|
<tr class="divSideboxEntry">
|
||||||
<td width="20" align="center" valign="middle" class="textSidebox">{icon_or_star}</td><td class="textSidebox"><a class="textSidebox" href="{item_link}">{lang_item}</a></td>
|
<td width="20" align="center" valign="middle" class="textSidebox">{icon_or_star}</td><td class="textSidebox"><a class="textSidebox" href="{item_link}"{target}>{lang_item}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END extra_block_row -->
|
<!-- END extra_block_row -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user