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

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Feb 23 07:15:02 EST 2007


Author: oscar
Date: 2007-02-23 07:15:01 -0500 (Fri, 23 Feb 2007)
New Revision: 4851

Modified:
   plog/branches/lifetype-1.2/locale/locale_en_UK.php
   plog/branches/lifetype-1.2/locale/locale_es_ES.php
   plog/branches/lifetype-1.2/templates/admin/editposts.template
Log:
Implemented Elena's suggestion to show the number of times an article has been read in the "edit posts" page.


Modified: plog/branches/lifetype-1.2/locale/locale_en_UK.php
===================================================================
--- plog/branches/lifetype-1.2/locale/locale_en_UK.php	2007-02-23 02:05:26 UTC (rev 4850)
+++ plog/branches/lifetype-1.2/locale/locale_en_UK.php	2007-02-23 12:15:01 UTC (rev 4851)
@@ -1260,4 +1260,6 @@
 $messages['error_updating_album2'] = 'There was an error updating album with identifier %s';
 $messages['links_updated_ok'] = '%s links updated successfully';
 $messages['error_updating_link2'] = 'There was an error updating the link with identifier %s';
+
+$messages['num_reads'] = 'Views';
 ?>

Modified: plog/branches/lifetype-1.2/locale/locale_es_ES.php
===================================================================
--- plog/branches/lifetype-1.2/locale/locale_es_ES.php	2007-02-23 02:05:26 UTC (rev 4850)
+++ plog/branches/lifetype-1.2/locale/locale_es_ES.php	2007-02-23 12:15:01 UTC (rev 4851)
@@ -1255,4 +1255,6 @@
 $messages['error_updating_album2'] = 'Hubo un error actualizando el álbum cuyo identificador es %s';
 $messages['links_updated_ok'] = '%s enlaces fueron actualizados correctamente';
 $messages['error_updating_link2'] = 'Hubo un error actualizando el enlace cuyo identificador es %s';
+
+$messages['num_reads'] = 'Lecturas';
 ?>
\ No newline at end of file

Modified: plog/branches/lifetype-1.2/templates/admin/editposts.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editposts.template	2007-02-23 02:05:26 UTC (rev 4850)
+++ plog/branches/lifetype-1.2/templates/admin/editposts.template	2007-02-23 12:15:01 UTC (rev 4851)
@@ -97,10 +97,11 @@
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postsList');" /></th>
                         <th style="width:40%;">{$locale->tr("topic")}</th>
                         <th style="width:10%;">{$locale->tr("date")}</th>
-                        <th style="width:15%;">{$locale->tr("author")}</th>
+                        <th style="width:10%;">{$locale->tr("author")}</th>
                         <th style="width:10%;">{$locale->tr("status")}</th>
-                        <th style="width:5%; text-align:center;">CM</th>
-                        <th style="width:5%; text-align:center;">TB</th>
+                        <th style="width:5%;text-align:center;">CM</th>
+                        <th style="width:5%;text-align:center;">TB</th>
+                        <th style="width:5%;text-align:center;">{$locale->tr("num_reads")}</th>
                         <th style="width:10%;">{$locale->tr("actions")}</th>
                     </tr>
                 </thead>
@@ -152,7 +153,10 @@
 							{else}
 							 0
 							{/if}
-                        </td>						
+                        </td>
+                        <td style="text-align: center;">
+                            {$post->getNumReads()}
+                        </td>
                         <td>
 							{check_perms perm=update_post}
                             <div class="list_action_button">



More information about the pLog-svn mailing list