phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] admin/navbar-create.php, 1.9


From: nomail
Subject: [Phpgroupware-cvs] admin/navbar-create.php, 1.9
Date: Thu, 30 Dec 2004 08:38:14 +0100

Update of /admin
Modified Files:
        Branch: 
          navbar-create.php

date: 2004/12/30 07:38:14;  author: skwashd;  state: Exp;  lines: +15 -5

Log Message:
new HEAD admin - sans GIFs
=====================================================================
Index: admin/navbar-create.php
diff -u admin/navbar-create.php:1.8 admin/navbar-create.php:1.9
--- admin/navbar-create.php:1.8 Sat Sep 28 15:20:18 2002
+++ admin/navbar-create.php     Thu Dec 30 07:38:14 2004
@@ -6,7 +6,7 @@
 ?>
 
 This is a utility that will help developers automatically create "selected" 
navigation bar images.  Currently, it just adds a 1 pixel border around the 
image in a style that suggests a depressed button.  
-<p>
+<p style="text-align: left;">
 The instructions are as follows:
 <ol>
 <li>Select an app from the list below.</li>
@@ -23,8 +23,18 @@
 <b>Applications</b>
 <p>
 <?php
-  while (list($key, $val) = each($phpgw_info["apps"])) {
-    echo "\n<A 
HREF=\"".$phpgw->link("/admin/navbar-sel.php","filename=".$phpgw_info["server"]["server_root"]."/".$key."/images/navbar.gif")."\">";
-    echo $phpgw_info["apps"][$key]["title"]."</A><BR>";
-  }
+       //echo '<pre>'; print_r($GLOBALS['phpgw_info']['apps']); echo '</pre>';
+       @ksort($GLOBALS['phpgw_info']['apps']);
+       foreach($GLOBALS['phpgw_info']['apps'] as $key => $null) 
+       {
+               
+               echo '<a href="' . 
$GLOBALS['phpgw']->link('/admin/navbar-sel.php',
+                       array('filename'        => 
$GLOBALS['phpgw_info']['server']['server_root']
+                                                       . '/' . $key . 
'/images/navbar.gif'
+                               )
+                       )."\">";
+               echo lang($key) . "</a><br />\n";
+       }
+
+  $phpgw->common->phpgw_footer();
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]