[pLog-svn] r1579 - in plog/trunk: class/view/admin templates/admin
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Tue Mar 22 19:33:58 GMT 2005
Author: oscar
Date: 2005-03-22 19:33:57 +0000 (Tue, 22 Mar 2005)
New Revision: 1579
Modified:
plog/trunk/class/view/admin/admindefaultview.class.php
plog/trunk/class/view/admin/adminsimpleerrorview.class.php
plog/trunk/class/view/admin/adminsimplemessageview.class.php
plog/trunk/templates/admin/header.template
plog/trunk/templates/admin/simpleheader.template
Log:
added the version number in a <meta> tag as suggested by jon to the admin templates (so unless users customize their admin templates, we can always take a look at the content generated by admin.php to see the version number!)
Modified: plog/trunk/class/view/admin/admindefaultview.class.php
===================================================================
--- plog/trunk/class/view/admin/admindefaultview.class.php 2005-03-22 19:27:02 UTC (rev 1578)
+++ plog/trunk/class/view/admin/admindefaultview.class.php 2005-03-22 19:33:57 UTC (rev 1579)
@@ -35,7 +35,8 @@
{
// set the view character set based on the default locale
$config =& Config::getConfig();
- $locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $this->setValue( 'version', Version::getVersion());
$this->setCharset( $locale->getCharset());
parent::render();
Modified: plog/trunk/class/view/admin/adminsimpleerrorview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsimpleerrorview.class.php 2005-03-22 19:27:02 UTC (rev 1578)
+++ plog/trunk/class/view/admin/adminsimpleerrorview.class.php 2005-03-22 19:33:57 UTC (rev 1579)
@@ -25,7 +25,8 @@
{
// set the view character set based on the default locale
$config =& Config::getConfig();
- $locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $this->setValue( 'version', Version::getVersion());
$this->setCharset( $locale->getCharset());
parent::render();
Modified: plog/trunk/class/view/admin/adminsimplemessageview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsimplemessageview.class.php 2005-03-22 19:27:02 UTC (rev 1578)
+++ plog/trunk/class/view/admin/adminsimplemessageview.class.php 2005-03-22 19:33:57 UTC (rev 1579)
@@ -27,6 +27,7 @@
// set the view character set based on the default locale
$config =& Config::getConfig();
$locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $this->setValue( 'version', Version::getVersion());
$this->setCharset( $locale->getCharset());
parent::render();
Modified: plog/trunk/templates/admin/header.template
===================================================================
--- plog/trunk/templates/admin/header.template 2005-03-22 19:27:02 UTC (rev 1578)
+++ plog/trunk/templates/admin/header.template 2005-03-22 19:33:57 UTC (rev 1579)
@@ -4,6 +4,7 @@
<head>
<meta http-equiv="content-type" content="text/html;charset={$locale->getCharset()}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
+<meta name="generator" content="{$version}" />
<title>pLog Admin</title>
<link rel="stylesheet" href="styles/admin.css" type="text/css" media="screen" />
<!--[if IE ]>
Modified: plog/trunk/templates/admin/simpleheader.template
===================================================================
--- plog/trunk/templates/admin/simpleheader.template 2005-03-22 19:27:02 UTC (rev 1578)
+++ plog/trunk/templates/admin/simpleheader.template 2005-03-22 19:33:57 UTC (rev 1579)
@@ -4,6 +4,7 @@
<meta http-equiv="content-type" content="text/html;charset={$locale->getCharset()}" />
<title>pLog Admin</title>
<meta http-equiv="Content-Style-Type" content="text/css" />
+<meta name="generator" content="{$version}" />
<link rel="stylesheet" href="styles/admin.css" type="text/css" media="screen" />
<!--[if IE ]>
<link rel="stylesheet" href="styles/admin-ie.css" type="text/css" media="screen" />
More information about the pLog-svn
mailing list