source: sandbox/2.3-MailArchiver/admin/navbar-create.php @ 6779

Revision 6779, 1.4 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1<?php
2  $phpgw_info = array();
3  $phpgw_info["flags"]["currentapp"] = "admin";
4  $phpgw_info["server"]["site_title"] = "Create a selected navbar image";
5  include("../header.inc.php");
6?>
7
8This 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. 
9<p>
10The instructions are as follows:
11<ol>
12<li>Select an app from the list below.</li>
13<li>Right click on the image that appears in your browser and save the image.</li>
14<li>Name the image "navbar-sel.gif" -- but without the quotes.</li>
15<li>Copy the image to the images subdirectory of the app.</li>
16<li>Commit the image to cvs, adding it first if necessary.</li>
17</ol>
18<p>
19<b>NOTE:</b> <i>This app will only work if your server has the GD library compiled into PHP.  Furthermore, if your GD library is too new, it will not work with GIF's, only PNG's...</i>
20<p>
21<b>NOTE 2:</b> <i>Also, some images seem to give load errors.  This is easily fixed by reexporting them as a GIF from Photoshop in GIF89a format.  Other programs will also work.</i>
22<p>
23<b>Applications</b>
24<p>
25<?php
26  while (list($key, $val) = each($phpgw_info["apps"])) {
27    echo "\n<A HREF=\"".$phpgw->link("/admin/navbar-sel.php","filename=".$phpgw_info["server"]["server_root"]."/".$key."/images/navbar.gif")."\">";
28    echo $phpgw_info["apps"][$key]["title"]."</A><BR>";
29  }
30
31  $phpgw->common->phpgw_footer();
32?>
Note: See TracBrowser for help on using the repository browser.