cvs: pear /PEAR_Frontend_Web/Frontend Web.php /PEAR_Frontend_Web/Frontend/Web info.gif infoplus.gif
| From: | Christian Dickmann | Date: | Sat, 23 Nov 2002 23:49:32 +0000 |
| Subject: | cvs: pear /PEAR_Frontend_Web/Frontend Web.php /PEAR_Frontend_Web/Frontend/Web info.gif infoplus.gif | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7552@lists.php.net to get a copy of this message | ||
dickmann Sat Nov 23 18:49:32 2002 EDT
Modified files:
/pear/PEAR_Frontend_Web/Frontend Web.php
/pear/PEAR_Frontend_Web/Frontend/Web info.gif infoplus.gif
Log:
some nicer info images
Index: pear/PEAR_Frontend_Web/Frontend/Web.php
diff -u pear/PEAR_Frontend_Web/Frontend/Web.php:1.20 pear/PEAR_Frontend_Web/Frontend/Web.php:1.21
--- pear/PEAR_Frontend_Web/Frontend/Web.php:1.20 Wed Sep 4 04:46:52 2002
+++ pear/PEAR_Frontend_Web/Frontend/Web.php Sat Nov 23 18:49:32 2002
@@ -16,7 +16,7 @@
| Author: Christian Dickmann <dickmann@php.net> |
+----------------------------------------------------------------------+
- $Id: Web.php,v 1.20 2002/09/04 08:46:52 dickmann Exp $
+ $Id: Web.php,v 1.21 2002/11/23 23:49:32 dickmann Exp $
*/
require_once "PEAR.php";
@@ -129,7 +129,7 @@
function _initTemplate($file, $title = '', $icon = '', $useDHTML = true)
{
$tpl = new HTML_Template_IT(dirname(__FILE__)."/Web");
- $tpl->loadTemplateFile($file);
+ $tpl->loadTemplateFile($file);
$tpl->setVariable("InstallerURL", $_SERVER["PHP_SELF"]);
$tpl->setVariable("ImgPEAR",
$_SERVER["PHP_SELF"].'?img=pear');
if ($title)
@@ -320,8 +320,8 @@
'install' => '<img
src="'.$_SERVER["PHP_SELF"].'?img=install" width="13"
height="13" border="0" alt="install">',
'uninstall' => '<img
src="'.$_SERVER["PHP_SELF"].'?img=uninstall" width="18"
height="17" border="0" alt="uninstall">',
'upgrade' => '<img
src="'.$_SERVER["PHP_SELF"].'?img=install" width="13"
height="13" border="0" alt="upgrade">',
- 'info' => '<img
src="'.$_SERVER["PHP_SELF"].'?img=info" width="16"
height="19" border="0" alt="info">',
- 'infoExt' => '<img
src="'.$_SERVER["PHP_SELF"].'?img=infoplus" width="19"
height="19" border="0" alt="extended info">',
+ 'info' => '<img
src="'.$_SERVER["PHP_SELF"].'?img=info" width="17"
height="19" border="0" alt="info">',
+ 'infoExt' => '<img
src="'.$_SERVER["PHP_SELF"].'?img=infoplus" width="18"
height="19" border="0" alt="extended info">',
);
$urls = array(
'install' => sprintf('%s?command=install&pkg=%s%s',
@@ -373,7 +373,7 @@
$tpl->setVariable("ImgCategory",
$_SERVER["PHP_SELF"].'?img=category');
$tpl->parseCurrentBlock();
};
- $tpl->show();
+ $tpl->show();
return true;
}
@@ -650,7 +650,7 @@
};
};
- $tpl->show();
+ $tpl->show();
exit;
}
Index: pear/PEAR_Frontend_Web/Frontend/Web/info.gif
Index: pear/PEAR_Frontend_Web/Frontend/Web/infoplus.gif