[dev] Patch for new config graphic

Rick Emery rick at emery.homelinux.net
Mon Feb 2 12:19:45 PST 2004


Use the new config graphic in the portal menu and the admin menu.

--
Rick Emery

"When once you have tasted flight, you will forever walk the Earth
 with your eyes turned skyward, for there you have been, and there
 you will always long to return"
                                              -- Leonardo Da Vinci
-------------- next part --------------
Index: common-header.inc
===================================================================
RCS file: /repository/horde/templates/admin/common-header.inc,v
retrieving revision 1.13
diff -u -r1.13 common-header.inc
--- common-header.inc	2 Feb 2004 00:25:24 -0000	1.13
+++ common-header.inc	2 Feb 2004 20:02:36 -0000
@@ -6,7 +6,7 @@
       &nbsp;<b><?php echo isset($title) ? $title : _("Horde Administration") ?></b>&nbsp;&nbsp;
     </td>
 <?php
-Menu::printItem(Horde::applicationUrl('admin/setup/'), _("Configuration"), 'administration.gif');
+Menu::printItem(Horde::applicationUrl('admin/setup/'), _("Configuration"), 'config.gif');
 foreach ($registry->listApps() as $app) {
     if ($registry->hasMethod('admin_list', $app)) {
         $list = $registry->callByPackage($app, 'admin_list');
-------------- next part --------------
Index: menu.inc
===================================================================
RCS file: /repository/horde/templates/portal/menu.inc,v
retrieving revision 1.8
diff -u -r1.8 menu.inc
--- menu.inc	2 Feb 2004 00:25:25 -0000	1.8
+++ menu.inc	2 Feb 2004 20:00:28 -0000
@@ -12,7 +12,7 @@
 }
 if (Auth::isAdmin()) {
     Menu::printItem(Horde::applicationUrl('admin/'), _("Administration"), 'administration.gif');
-    Menu::printItem(Horde::applicationUrl('admin/setup/'), _("Configuration"), 'administration.gif');
+    Menu::printItem(Horde::applicationUrl('admin/setup/'), _("Configuration"), 'config.gif');
 }
 if (($conf['prefs']['driver'] != '') && ($conf['prefs']['driver'] != 'none')) {
     Menu::printItem(Horde::applicationUrl('prefs.php'), _("Options"), 'prefs.gif');


More information about the dev mailing list