[pLog-svn] r4885 - in plog/branches/lifetype-1.2: locale/admin templates/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Tue Feb 27 07:42:02 EST 2007


Author: oscar
Date: 2007-02-27 07:42:02 -0500 (Tue, 27 Feb 2007)
New Revision: 4885

Modified:
   plog/branches/lifetype-1.2/locale/admin/locale_en_UK.php
   plog/branches/lifetype-1.2/templates/admin/plugincenter.template
Log:
the plugin version will also be displayed now in the plugin centre screen, so that site admins can quickly see which version of the plugin are running. Now it's only a matter of updating the PluginBase::version attribute of every plugin every time we make a change...


Modified: plog/branches/lifetype-1.2/locale/admin/locale_en_UK.php
===================================================================
--- plog/branches/lifetype-1.2/locale/admin/locale_en_UK.php	2007-02-27 12:40:34 UTC (rev 4884)
+++ plog/branches/lifetype-1.2/locale/admin/locale_en_UK.php	2007-02-27 12:42:02 UTC (rev 4885)
@@ -1148,5 +1148,5 @@
 
 $messages['help_forbidden_blognames'] = 'List of strings separated by a blank space that are not allowed to be used as blog names. It is possible to use regular expressions instead of plain strings. [ Default = (empty) ]';
 
-$messages['num_reads'] = 'Views';
+$messages['version'] = 'Version';
 ?>
\ No newline at end of file

Modified: plog/branches/lifetype-1.2/templates/admin/plugincenter.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/plugincenter.template	2007-02-27 12:40:34 UTC (rev 4884)
+++ plog/branches/lifetype-1.2/templates/admin/plugincenter.template	2007-02-27 12:42:02 UTC (rev 4885)
@@ -13,8 +13,9 @@
             <table class="info" summary="{$locale->tr("pluginCenter")}">
                 <thead>
                     <tr>
-                        <th style="width:25%;"><a href="#">{$locale->tr("identifier")}</a></th>
-                        <th style="width:25%;"><a href="#">{$locale->tr("author")}</a></th>
+                        <th style="width:15%;"><a href="#">{$locale->tr("identifier")}</a></th>
+                        <th style="width:15%;"><a href="#">{$locale->tr("version")}</a></th>
+                        <th style="width:20%;"><a href="#">{$locale->tr("author")}</a></th>
                         <th style="width:65%;"><a href="#">{$locale->tr("description")}</a></th>                        
                     </tr>
                 </thead>
@@ -25,6 +26,9 @@
                             {$plugin->getId()}
                         </td>
                         <td class="col_highlighted">
+                            {$plugin->getVersion()}
+                        </td>
+                        <td class="col_highlighted">
                             {$plugin->getAuthor()}
                         </td>
                         <td>



More information about the pLog-svn mailing list