cvs: pear /PEAR_Frontend_Web WebInstaller.php package.xml /PEAR_Frontend_Web/Frontend Web.php /PEAR_Frontend_Web/Frontend/Web Thumbs.db config.gif
error.gif error.tpl.html header.inc.tpl.html info.gif login.gif logout.gif style.css
| From: | Christian Dickmann | Date: | Wed, 29 May 2002 22:26:05 +0000 |
| Subject: | cvs: pear /PEAR_Frontend_Web WebInstaller.php package.xml /PEAR_Frontend_Web/Frontend Web.php /PEAR_Frontend_Web/Frontend/Web Thumbs.db config.gif error.gif error.tpl.html header.inc.tpl.html info.gif login.gif logout.gif style.css |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4280@lists.php.net to get a copy of this message | ||
dickmann Wed May 29 18:26:05 2002 EDT
Added files:
/pear/PEAR_Frontend_Web/Frontend/Web login.gif logout.gif
Modified files:
/pear/PEAR_Frontend_Web WebInstaller.php package.xml
/pear/PEAR_Frontend_Web/Frontend Web.php
/pear/PEAR_Frontend_Web/Frontend/Web Thumbs.db config.gif error.gif
error.tpl.html
header.inc.tpl.html info.gif
style.css
Log:
some Layout issues. added Login and Logout
Index: pear/PEAR_Frontend_Web/WebInstaller.php diff -u pear/PEAR_Frontend_Web/WebInstaller.php:1.1 pear/PEAR_Frontend_Web/WebInstaller.php:1.2 --- pear/PEAR_Frontend_Web/WebInstaller.php:1.1 Wed May 29 09:20:08 2002 +++ pear/PEAR_Frontend_Web/WebInstaller.php Wed May 29 18:26:05 2002 @@ -17,13 +17,21 @@ if (isset($_GET["img"])) { $images = array( + "logout" => array( + "type" => "gif", + "file" => "logout.gif", + ), + "login" => array( + "type" => "gif", + "file" => "login.gif", + ), "config" => array( "type" => "gif", "file" => "config.gif", ), "pkglist" => array( - "type" => "gif", - "file" => "pkglist.gif", + "type" => "png", + "file" => "pkglist.png", ), "package" => array( "type" => "jpeg", @@ -107,6 +115,13 @@ }; $URL .= '?command=config-show'; + Header("Location: ".$URL); + exit; + default: + $cmd = PEAR_Command::factory($command, $config); + $res = $cmd->run($command, $opts, $params); + + $URL .= '?command='.$_GET["command"]; Header("Location: ".$URL); exit; } Index: pear/PEAR_Frontend_Web/package.xml diff -u pear/PEAR_Frontend_Web/package.xml:1.1 pear/PEAR_Frontend_Web/package.xml:1.2 --- pear/PEAR_Frontend_Web/package.xml:1.1 Wed May 29 09:20:08 2002 +++ pear/PEAR_Frontend_Web/package.xml Wed May 29 18:26:05 2002 @@ -39,8 +39,10 @@ <file role="php">infoplus.gif</file> <file role="php">package.jpg</file> <file role="php">category.jpg</file> - <file role="php">pkglist.gif</file> + <file role="php">pkglist.png</file> <file role="php">config.gif</file> + <file role="php">login.gif</file> + <file role="php">logout.gif</file> <file role="php">style.css</file> <file role="php">userDialog.tpl.html</file> <file role="php">package.list.tpl.html</file> Index: pear/PEAR_Frontend_Web/Frontend/Web.php diff -u pear/PEAR_Frontend_Web/Frontend/Web.php:1.3 pear/PEAR_Frontend_Web/Frontend/Web.php:1.4 --- pear/PEAR_Frontend_Web/Frontend/Web.php:1.3 Wed May 29 09:20:09 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web.php Wed May 29 18:26:05 2002 @@ -16,7 +16,7 @@ | Author: Christian Dickmann <dickmann@php.net> | +----------------------------------------------------------------------+ - $Id: Web.php,v 1.3 2002/05/29 13:20:09 dickmann Exp $ + $Id: Web.php,v 1.4 2002/05/29 22:26:05 dickmann Exp $ */ require_once "PEAR.php"; @@ -65,20 +65,32 @@ // }}} // {{{ displayError(eobj) - - function displayError($eobj) + function initTemplate($file, $title = '', $icon = '') { - $msg = ''; - if (trim($this->_log)) - $msg = trim($this->_log)."\n\n"; - $msg .= $eobj->getMessage(); - $msg = nl2br($msg); - $tpl = new IntegratedTemplate(dirname(__FILE__)."/Web"); - $tpl->loadTemplateFile("error.tpl.html"); + $tpl->loadTemplateFile($file); $tpl->setVariable("InstallerURL", $_SERVER["PHP_SELF"]); $tpl->setVariable("ImgPEAR", $_SERVER["PHP_SELF"].'?img=pear'); - $tpl->setVariable("ImgError", $_SERVER["PHP_SELF"].'?img=error'); + if ($title) + $tpl->setVariable("Title", $title); + if ($icon) + { + $tpl->setCurrentBlock("TitleBlock"); + $tpl->setVariable("_Title", $title); + $tpl->setVariable("_Icon", $icon); + }; + return $tpl; + } + + function displayError($eobj) + { + $msg = ''; + if (trim($GLOBALS['_PEAR_Frontend_Web_log'])) + $msg = trim($GLOBALS['_PEAR_Frontend_Web_log'])."\n\n"; + $msg .= trim($eobj->getMessage()); + $msg = nl2br($msg."\n"); + + $tpl = $this->initTemplate("error.tpl.html", "Error", 'error'); $tpl->setVariable("Error", $msg); $command_map = array( @@ -137,11 +149,7 @@ function _outputListAll($data) { - $tpl = new IntegratedTemplate(dirname(__FILE__)."/Web"); - $tpl->loadTemplateFile("package.list.tpl.html"); - $tpl->setVariable("InstallerURL", $_SERVER["PHP_SELF"]); - $tpl->setVariable("ImgPEAR", $_SERVER["PHP_SELF"].'?img=pear'); - $tpl->setVariable("Title", 'Install / Upgrade / Remove PEAR Packages'); + $tpl = $this->initTemplate("package.list.tpl.html", 'Install / Upgrade / Remove PEAR Packages', 'pkglist'); foreach($data['data'] as $category => $packages) { @@ -152,28 +160,28 @@ $compare = version_compare($row[1], $row[2]); if (!$row[2]) { $inst = sprintf( - '<a href="%s?command=install&pkg=%s"><img src="%s?img=install" border="0"></a>', + '<a href="%s?command=install&pkg=%s"><img src="%s?img=install" border="0" alt="install"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); $del = ''; } else if ($compare == 1) { $inst = sprintf( - '<a href="%s?command=upgrade&pkg=%s"><img src="%s?img=install" border="0"></a>', + '<a href="%s?command=upgrade&pkg=%s"><img src="%s?img=install" border="0" alt="upgrade"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); $del = sprintf( - '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0"></a>', + '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0" alt="uninstall"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); } else { $del = sprintf( - '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0"></a>', + '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0" alt="uninstall"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); $inst = ''; }; - $info=sprintf('<a href="%s?info=%s#%s"><img src="%s?img=info" border="0"></a>', - $_SERVER["PHP_SELF"], $row[0], $row[0], $_SERVER["PHP_SELF"]); - $infoExt=sprintf('<a href="%s?info=%s#%s"><img src="%s?img=infoplus" border="0"></a>', + $info=sprintf('<a href="%s?info=%s#%s"><img src="%s?img=info" border="0" alt="info"></a>', $_SERVER["PHP_SELF"], $row[0], $row[0], $_SERVER["PHP_SELF"]); + $infoExt=sprintf('<a href="%s?pacid=%s"><img src="%s?img=infoplus" border="0" alt="extended info"></a>', + 'http://pear.php.net/package-info.php', $row[4], $_SERVER["PHP_SELF"]); - if ($row[0] == 'PEAR') + if ($row[0] == 'PEAR' || $row[0] == 'Archive_Tar') $del = ''; $tpl->setVariable("Version", $row[1]); @@ -210,7 +218,7 @@ $default[] = ''; }; $GLOBALS['_PEAR_Frontend_Web_Config'] = - $this->userDialog($command, $prompt, array(), $default, 'Configuration'); + $this->userDialog($command, $prompt, array(), $default, 'Configuration', 'config'); return true; case 'list-all': return $this->_outputListAll($data); @@ -222,6 +230,8 @@ $this->data[$command] = $data; return true; case 'logout': + PEAR::raiseError($data); + break; case 'package': echo $data; break; @@ -232,7 +242,7 @@ return true; } - function userDialog($command, $prompts, $types = array(), $defaults = array(), $title = '') + function userDialog($command, $prompts, $types = array(), $defaults = array(), $title = '', $icon = '') { if (isset($_GET["command"]) && $_GET["command"]==$command && $_SERVER["REQUEST_METHOD"] == "POST") @@ -243,13 +253,9 @@ return $result; }; - $tpl = new IntegratedTemplate(dirname(__FILE__)."/Web"); - $tpl->loadTemplateFile("userDialog.tpl.html"); - $tpl->setVariable("ImgPEAR", $_SERVER["PHP_SELF"].'?img=pear'); - $tpl->setVariable("InstallerURL", $_SERVER["PHP_SELF"]); + $tpl = $this->initTemplate("userDialog.tpl.html", $title, $icon); $tpl->setVariable("Command", $command); $tpl->setVariable("Headline", nl2br($this->data[$command])); - $tpl->setVariable("Title", $title); if (is_array($prompts)) { @@ -270,7 +276,7 @@ function log($text) { - $this->_log .= $text."\n"; + $GLOBALS['_PEAR_Frontend_Web_log'] .= $text."\n"; } // }}} Index: pear/PEAR_Frontend_Web/Frontend/Web/Thumbs.db Index: pear/PEAR_Frontend_Web/Frontend/Web/config.gif Index: pear/PEAR_Frontend_Web/Frontend/Web/error.gif Index: pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html diff -u pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html:1.1 pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html:1.2 --- pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html:1.1 Mon May 27 11:20:29 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html Wed May 29 18:26:05 2002 @@ -4,7 +4,6 @@ <TD width="20"> </TD> <TD> - <img src="{ImgError}" border="0"> <b>Error</b><br><br> {Error} <br> <a href="{InstallerURL}{param}">Back</a> Index: pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html diff -u pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html:1.2 pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html:1.3 --- pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html:1.2 Wed May 29 09:20:09 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html Wed May 29 18:26:05 2002 @@ -47,14 +47,24 @@ <td style="font-size: 90%" align="center" width="200"> <br><br> <a href="{InstallerURL}"> - <img src="{InstallerURL}?img=pkglist" border="0"><br> + <img src="{InstallerURL}?img=pkglist" border="0" alt="Package Management"><br> Package Management </a> <br><br><br> <a href="{InstallerURL}?command=config-show"> - <img src="{InstallerURL}?img=config" border="0"><br> + <img src="{InstallerURL}?img=config" border="0" alt="Configuration"><br> Configuration </a> + <br><br><br> + <a href="{InstallerURL}?command=login"> + <img src="{InstallerURL}?img=login" border="0" alt="Login"><br> + Login + </a> + <br><br><br> + <a href="{InstallerURL}?command=logout"> + <img src="{InstallerURL}?img=logout" border="0" alt="Logout"><br> + Logout + </a> </td> </tr> @@ -65,3 +75,20 @@ <table width="100%" cellpadding="10" cellspacing="0"> <tr> <td valign="top"> + <!-- BEGIN TitleBlock --> + <TABLE border="0" cellpadding="5"> + <TR> + <TD valign="middle" width="10"> + </TD> + <TD valign="middle"> + <img src="{InstallerURL}?img={_Icon}" border="0" alt="{_Icon}"> + </TD> + <TD valign="middle" width="5"> + </TD> + <TD valign="middle"> + <span class="title">{_Title}</span> + </TD> + </TR> + </TABLE> + <br> + <!-- END TitleBlock --> \ No newline at end of file Index: pear/PEAR_Frontend_Web/Frontend/Web/info.gif Index: pear/PEAR_Frontend_Web/Frontend/Web/style.css diff -u pear/PEAR_Frontend_Web/Frontend/Web/style.css:1.1 pear/PEAR_Frontend_Web/Frontend/Web/style.css:1.2 --- pear/PEAR_Frontend_Web/Frontend/Web/style.css:1.1 Wed May 29 09:20:09 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web/style.css Wed May 29 18:26:05 2002 @@ -1,3 +1,20 @@ +a:normal { + color:#000000; + text-decoration: none; +} +a:visited { + color:#000000; + text-decoration: none; +} +a:active { + color:#000000; + text-decoration: none; +} +a:hover { + color:#000000; + text-decoration: underline; +} + body, td, th { font-family: verdana,arial,helvetica,sans-serif; font-size: 90%; @@ -28,6 +45,13 @@ font-size: 125%; font-weight: bold; color: #ffffff; +} + +span.title { + font-family: verdana,arial,helvetica,sans-serif; + font-size: 110%; + font-weight: bold; + color: #006600; } .newsDate {
Index: pear/PEAR_Frontend_Web/WebInstaller.php diff -u pear/PEAR_Frontend_Web/WebInstaller.php:1.1 pear/PEAR_Frontend_Web/WebInstaller.php:1.2 --- pear/PEAR_Frontend_Web/WebInstaller.php:1.1 Wed May 29 09:20:08 2002 +++ pear/PEAR_Frontend_Web/WebInstaller.php Wed May 29 18:26:05 2002 @@ -17,13 +17,21 @@ if (isset($_GET["img"])) { $images = array( + "logout" => array( + "type" => "gif", + "file" => "logout.gif", + ), + "login" => array( + "type" => "gif", + "file" => "login.gif", + ), "config" => array( "type" => "gif", "file" => "config.gif", ), "pkglist" => array( - "type" => "gif", - "file" => "pkglist.gif", + "type" => "png", + "file" => "pkglist.png", ), "package" => array( "type" => "jpeg", @@ -107,6 +115,13 @@ }; $URL .= '?command=config-show'; + Header("Location: ".$URL); + exit; + default: + $cmd = PEAR_Command::factory($command, $config); + $res = $cmd->run($command, $opts, $params); + + $URL .= '?command='.$_GET["command"]; Header("Location: ".$URL); exit; } Index: pear/PEAR_Frontend_Web/package.xml diff -u pear/PEAR_Frontend_Web/package.xml:1.1 pear/PEAR_Frontend_Web/package.xml:1.2 --- pear/PEAR_Frontend_Web/package.xml:1.1 Wed May 29 09:20:08 2002 +++ pear/PEAR_Frontend_Web/package.xml Wed May 29 18:26:05 2002 @@ -39,8 +39,10 @@ <file role="php">infoplus.gif</file> <file role="php">package.jpg</file> <file role="php">category.jpg</file> - <file role="php">pkglist.gif</file> + <file role="php">pkglist.png</file> <file role="php">config.gif</file> + <file role="php">login.gif</file> + <file role="php">logout.gif</file> <file role="php">style.css</file> <file role="php">userDialog.tpl.html</file> <file role="php">package.list.tpl.html</file> Index: pear/PEAR_Frontend_Web/Frontend/Web.php diff -u pear/PEAR_Frontend_Web/Frontend/Web.php:1.3 pear/PEAR_Frontend_Web/Frontend/Web.php:1.4 --- pear/PEAR_Frontend_Web/Frontend/Web.php:1.3 Wed May 29 09:20:09 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web.php Wed May 29 18:26:05 2002 @@ -16,7 +16,7 @@ | Author: Christian Dickmann <dickmann@php.net> | +----------------------------------------------------------------------+ - $Id: Web.php,v 1.3 2002/05/29 13:20:09 dickmann Exp $ + $Id: Web.php,v 1.4 2002/05/29 22:26:05 dickmann Exp $ */ require_once "PEAR.php"; @@ -65,20 +65,32 @@ // }}} // {{{ displayError(eobj) - - function displayError($eobj) + function initTemplate($file, $title = '', $icon = '') { - $msg = ''; - if (trim($this->_log)) - $msg = trim($this->_log)."\n\n"; - $msg .= $eobj->getMessage(); - $msg = nl2br($msg); - $tpl = new IntegratedTemplate(dirname(__FILE__)."/Web"); - $tpl->loadTemplateFile("error.tpl.html"); + $tpl->loadTemplateFile($file); $tpl->setVariable("InstallerURL", $_SERVER["PHP_SELF"]); $tpl->setVariable("ImgPEAR", $_SERVER["PHP_SELF"].'?img=pear'); - $tpl->setVariable("ImgError", $_SERVER["PHP_SELF"].'?img=error'); + if ($title) + $tpl->setVariable("Title", $title); + if ($icon) + { + $tpl->setCurrentBlock("TitleBlock"); + $tpl->setVariable("_Title", $title); + $tpl->setVariable("_Icon", $icon); + }; + return $tpl; + } + + function displayError($eobj) + { + $msg = ''; + if (trim($GLOBALS['_PEAR_Frontend_Web_log'])) + $msg = trim($GLOBALS['_PEAR_Frontend_Web_log'])."\n\n"; + $msg .= trim($eobj->getMessage()); + $msg = nl2br($msg."\n"); + + $tpl = $this->initTemplate("error.tpl.html", "Error", 'error'); $tpl->setVariable("Error", $msg); $command_map = array( @@ -137,11 +149,7 @@ function _outputListAll($data) { - $tpl = new IntegratedTemplate(dirname(__FILE__)."/Web"); - $tpl->loadTemplateFile("package.list.tpl.html"); - $tpl->setVariable("InstallerURL", $_SERVER["PHP_SELF"]); - $tpl->setVariable("ImgPEAR", $_SERVER["PHP_SELF"].'?img=pear'); - $tpl->setVariable("Title", 'Install / Upgrade / Remove PEAR Packages'); + $tpl = $this->initTemplate("package.list.tpl.html", 'Install / Upgrade / Remove PEAR Packages', 'pkglist'); foreach($data['data'] as $category => $packages) { @@ -152,28 +160,28 @@ $compare = version_compare($row[1], $row[2]); if (!$row[2]) { $inst = sprintf( - '<a href="%s?command=install&pkg=%s"><img src="%s?img=install" border="0"></a>', + '<a href="%s?command=install&pkg=%s"><img src="%s?img=install" border="0" alt="install"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); $del = ''; } else if ($compare == 1) { $inst = sprintf( - '<a href="%s?command=upgrade&pkg=%s"><img src="%s?img=install" border="0"></a>', + '<a href="%s?command=upgrade&pkg=%s"><img src="%s?img=install" border="0" alt="upgrade"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); $del = sprintf( - '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0"></a>', + '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0" alt="uninstall"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); } else { $del = sprintf( - '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0"></a>', + '<a href="%s?command=uninstall&pkg=%s"><img src="%s?img=uninstall" border="0" alt="uninstall"></a>', $_SERVER["PHP_SELF"], $row[0], $_SERVER["PHP_SELF"]); $inst = ''; }; - $info=sprintf('<a href="%s?info=%s#%s"><img src="%s?img=info" border="0"></a>', - $_SERVER["PHP_SELF"], $row[0], $row[0], $_SERVER["PHP_SELF"]); - $infoExt=sprintf('<a href="%s?info=%s#%s"><img src="%s?img=infoplus" border="0"></a>', + $info=sprintf('<a href="%s?info=%s#%s"><img src="%s?img=info" border="0" alt="info"></a>', $_SERVER["PHP_SELF"], $row[0], $row[0], $_SERVER["PHP_SELF"]); + $infoExt=sprintf('<a href="%s?pacid=%s"><img src="%s?img=infoplus" border="0" alt="extended info"></a>', + 'http://pear.php.net/package-info.php', $row[4], $_SERVER["PHP_SELF"]); - if ($row[0] == 'PEAR') + if ($row[0] == 'PEAR' || $row[0] == 'Archive_Tar') $del = ''; $tpl->setVariable("Version", $row[1]); @@ -210,7 +218,7 @@ $default[] = ''; }; $GLOBALS['_PEAR_Frontend_Web_Config'] = - $this->userDialog($command, $prompt, array(), $default, 'Configuration'); + $this->userDialog($command, $prompt, array(), $default, 'Configuration', 'config'); return true; case 'list-all': return $this->_outputListAll($data); @@ -222,6 +230,8 @@ $this->data[$command] = $data; return true; case 'logout': + PEAR::raiseError($data); + break; case 'package': echo $data; break; @@ -232,7 +242,7 @@ return true; } - function userDialog($command, $prompts, $types = array(), $defaults = array(), $title = '') + function userDialog($command, $prompts, $types = array(), $defaults = array(), $title = '', $icon = '') { if (isset($_GET["command"]) && $_GET["command"]==$command && $_SERVER["REQUEST_METHOD"] == "POST") @@ -243,13 +253,9 @@ return $result; }; - $tpl = new IntegratedTemplate(dirname(__FILE__)."/Web"); - $tpl->loadTemplateFile("userDialog.tpl.html"); - $tpl->setVariable("ImgPEAR", $_SERVER["PHP_SELF"].'?img=pear'); - $tpl->setVariable("InstallerURL", $_SERVER["PHP_SELF"]); + $tpl = $this->initTemplate("userDialog.tpl.html", $title, $icon); $tpl->setVariable("Command", $command); $tpl->setVariable("Headline", nl2br($this->data[$command])); - $tpl->setVariable("Title", $title); if (is_array($prompts)) { @@ -270,7 +276,7 @@ function log($text) { - $this->_log .= $text."\n"; + $GLOBALS['_PEAR_Frontend_Web_log'] .= $text."\n"; } // }}} Index: pear/PEAR_Frontend_Web/Frontend/Web/Thumbs.db Index: pear/PEAR_Frontend_Web/Frontend/Web/config.gif Index: pear/PEAR_Frontend_Web/Frontend/Web/error.gif Index: pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html diff -u pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html:1.1 pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html:1.2 --- pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html:1.1 Mon May 27 11:20:29 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web/error.tpl.html Wed May 29 18:26:05 2002 @@ -4,7 +4,6 @@ <TD width="20"> </TD> <TD> - <img src="{ImgError}" border="0"> <b>Error</b><br><br> {Error} <br> <a href="{InstallerURL}{param}">Back</a> Index: pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html diff -u pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html:1.2 pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html:1.3 --- pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html:1.2 Wed May 29 09:20:09 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web/header.inc.tpl.html Wed May 29 18:26:05 2002 @@ -47,14 +47,24 @@ <td style="font-size: 90%" align="center" width="200"> <br><br> <a href="{InstallerURL}"> - <img src="{InstallerURL}?img=pkglist" border="0"><br> + <img src="{InstallerURL}?img=pkglist" border="0" alt="Package Management"><br> Package Management </a> <br><br><br> <a href="{InstallerURL}?command=config-show"> - <img src="{InstallerURL}?img=config" border="0"><br> + <img src="{InstallerURL}?img=config" border="0" alt="Configuration"><br> Configuration </a> + <br><br><br> + <a href="{InstallerURL}?command=login"> + <img src="{InstallerURL}?img=login" border="0" alt="Login"><br> + Login + </a> + <br><br><br> + <a href="{InstallerURL}?command=logout"> + <img src="{InstallerURL}?img=logout" border="0" alt="Logout"><br> + Logout + </a> </td> </tr> @@ -65,3 +75,20 @@ <table width="100%" cellpadding="10" cellspacing="0"> <tr> <td valign="top"> + <!-- BEGIN TitleBlock --> + <TABLE border="0" cellpadding="5"> + <TR> + <TD valign="middle" width="10"> + </TD> + <TD valign="middle"> + <img src="{InstallerURL}?img={_Icon}" border="0" alt="{_Icon}"> + </TD> + <TD valign="middle" width="5"> + </TD> + <TD valign="middle"> + <span class="title">{_Title}</span> + </TD> + </TR> + </TABLE> + <br> + <!-- END TitleBlock --> \ No newline at end of file Index: pear/PEAR_Frontend_Web/Frontend/Web/info.gif Index: pear/PEAR_Frontend_Web/Frontend/Web/style.css diff -u pear/PEAR_Frontend_Web/Frontend/Web/style.css:1.1 pear/PEAR_Frontend_Web/Frontend/Web/style.css:1.2 --- pear/PEAR_Frontend_Web/Frontend/Web/style.css:1.1 Wed May 29 09:20:09 2002 +++ pear/PEAR_Frontend_Web/Frontend/Web/style.css Wed May 29 18:26:05 2002 @@ -1,3 +1,20 @@ +a:normal { + color:#000000; + text-decoration: none; +} +a:visited { + color:#000000; + text-decoration: none; +} +a:active { + color:#000000; + text-decoration: none; +} +a:hover { + color:#000000; + text-decoration: underline; +} + body, td, th { font-family: verdana,arial,helvetica,sans-serif; font-size: 90%; @@ -28,6 +45,13 @@ font-size: 125%; font-weight: bold; color: #ffffff; +} + +span.title { + font-family: verdana,arial,helvetica,sans-serif; + font-size: 110%; + font-weight: bold; + color: #006600; } .newsDate {