tazpanel rev 355
header.html: add menu extensions for panel, settings, boot and hardware
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 23 08:18:09 2013 +0100 (2013-03-23) |
parents | 91ba0f11bea6 |
children | 2275c62653b6 |
files | styles/default/header.html |
line diff
1.1 --- a/styles/default/header.html Fri Mar 22 22:36:13 2013 +0100 1.2 +++ b/styles/default/header.html Sat Mar 23 08:18:09 2013 +0100 1.3 @@ -36,6 +36,7 @@ 1.4 src="/styles/default/images/monitor.png" />$(gettext 'Processes')</a></li> 1.5 <li><a href="/index.cgi?report"><img 1.6 src="/styles/default/images/text.png" />$(gettext 'Create Report')</a></li> 1.7 + $(for i in menu.d/panel/* ; do [ -s $i ] && . $i ; done) 1.8 </ul> 1.9 </li> 1.10 <li><a href="/pkgs.cgi">$(gettext 'Packages')</a> 1.11 @@ -66,6 +67,7 @@ 1.12 src="/styles/default/images/user.png" />$(gettext 'Users')</a></li> 1.13 <li><a href="/settings.cgi?groups"><img 1.14 src="/styles/default/images/users.png" />$(gettext 'Groups')</a></li> 1.15 + $(for i in menu.d/settings/* ; do [ -s $i ] && . $i ; done) 1.16 </ul> 1.17 </li> 1.18 <li><a href="/boot.cgi">$(gettext 'Boot')</a> 1.19 @@ -76,6 +78,7 @@ 1.20 src="/styles/default/images/recharge.png" />$(gettext 'Manage daemons')</a></li> 1.21 <li><a href="/boot.cgi?grub"><img 1.22 src="/styles/default/images/tux.png" />$(gettext 'Boot loader')</a></li> 1.23 + $(for i in menu.d/boot/* ; do [ -s $i ] && . $i ; done) 1.24 </ul> 1.25 </li> 1.26 <li><a href="/hardware.cgi">$(gettext 'Hardware')</a> 1.27 @@ -86,6 +89,7 @@ 1.28 src="/styles/default/images/monitor.png" />$(gettext 'Detect PCI/USB')</a></li> 1.29 <li><a href="/hardware.cgi#disk"><img 1.30 src="/styles/default/images/harddisk.png" />$(gettext 'Disks')</a></li> 1.31 + $(for i in menu.d/hardware/* ; do [ -s $i ] && . $i ; done) 1.32 </ul> 1.33 </li> 1.34 <li><a href="/live.cgi">$(gettext 'Live')</a>