[pLog-svn] r567 - plog/trunk/templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Thu Dec 23 10:48:12 GMT 2004


Author: oscar
Date: 2004-12-23 10:48:12 +0000 (Thu, 23 Dec 2004)
New Revision: 567

Modified:
   plog/trunk/templates/admin/resourcelist.template
   plog/trunk/templates/admin/resources.template
Log:
now the ".."/"parent" folder only appears in the main page instead of always


Modified: plog/trunk/templates/admin/resourcelist.template
===================================================================
--- plog/trunk/templates/admin/resourcelist.template	2004-12-23 10:40:09 UTC (rev 566)
+++ plog/trunk/templates/admin/resourcelist.template	2004-12-23 10:48:12 UTC (rev 567)
@@ -71,7 +71,7 @@
   <th style="width:85px;">{$locale->tr("actions")}</th>
  </thead>  
  <tbody>
-  {if $album}
+  {if $album && $pager->getCurrentPage()==1}
    <tr class="{cycle values="odd,even"}">
     <td>
      <a href="admin.php?op=resourceList&amp;albumId={$album->getParentId()}&amp;mode={$destination}">

Modified: plog/trunk/templates/admin/resources.template
===================================================================
--- plog/trunk/templates/admin/resources.template	2004-12-23 10:40:09 UTC (rev 566)
+++ plog/trunk/templates/admin/resources.template	2004-12-23 10:48:12 UTC (rev 567)
@@ -50,7 +50,7 @@
  </tr>
 </thead>
 <tbody> 
-{if $album}
+{if $album && $pager->getCurrentPage() == 1}
 <tr class="{cycle values="odd,even"}">
  <td>&nbsp;</td>
  <td>




More information about the pLog-svn mailing list