[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12246] convert topmenu to responsive horizontal menu
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [12246] convert topmenu to responsive horizontal menu |
Date: |
Tue, 28 Oct 2014 12:45:10 +0000 |
Revision: 12246
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12246
Author: sigurdne
Date: 2014-10-28 12:45:10 +0000 (Tue, 28 Oct 2014)
Log Message:
-----------
convert topmenu to responsive horizontal menu
Modified Paths:
--------------
branches/dev-syncromind/phpgwapi/templates/pure/navbar.inc.php
Modified: branches/dev-syncromind/phpgwapi/templates/pure/navbar.inc.php
===================================================================
--- branches/dev-syncromind/phpgwapi/templates/pure/navbar.inc.php
2014-10-28 12:32:33 UTC (rev 12245)
+++ branches/dev-syncromind/phpgwapi/templates/pure/navbar.inc.php
2014-10-28 12:45:10 UTC (rev 12246)
@@ -198,7 +198,13 @@
$collected_bm = set_get_bookmarks();
foreach($collected_bm as $entry)
{
- $seleced_bm = isset($entry['selected'])
&& $entry['selected'] ? 'class="pure-menu-selected"' : '';
+ $seleced_bm = '';
+ if( isset($entry['selected']) &&
$entry['selected'])
+ {
+ $seleced_bm =
'class="pure-menu-selected"' ;
+ $entry['text'] = "<b>[
{$entry['text']} ]</b>";
+ }
+
$var['topmenu'] .= <<<HTML
<li {$seleced_bm}>
@@ -276,8 +282,7 @@
if ( $id ==
"navbar::{$GLOBALS['phpgw_info']['flags']['menu_selection']}" )
{
$current_class = 'Selected';
-// $item['selected'] = true;
- $item['text'] = "<b>[ {$item['text']} ]</b>";
+ $item['selected'] = true;
}
$bookmark = '';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12246] convert topmenu to responsive horizontal menu,
Sigurd Nes <=