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

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Oct 22 14:27:02 GMT 2006


Author: oscar
Date: 2006-10-22 14:27:02 +0000 (Sun, 22 Oct 2006)
New Revision: 4152

Modified:
   plog/trunk/templates/admin/editlinkcategories.template
   plog/trunk/templates/admin/editlinks.template
Log:
cosmetic fixes


Modified: plog/trunk/templates/admin/editlinkcategories.template
===================================================================
--- plog/trunk/templates/admin/editlinkcategories.template	2006-10-22 14:20:27 UTC (rev 4151)
+++ plog/trunk/templates/admin/editlinkcategories.template	2006-10-22 14:27:02 UTC (rev 4152)
@@ -42,7 +42,9 @@
   {foreach from=$linkcategories item=category}
   <tr class="{cycle values="odd,even"}">
    <td align="center"><input class="checkbox" type="checkbox" name="categoryIds[{counter}]" value="{$category->getId()}"/></td>  
-   <td class="col_highlighted"><a href="admin.php?op=editLinkCategory&amp;categoryId={$category->getId()}">{$category->getName()}</a></td>
+   <td class="col_highlighted">
+	 {check_perms perm="update_link_category"}<a href="admin.php?op=editLinkCategory&amp;categoryId={$category->getId()}">{/check_perms}{$category->getName()}{check_perms perm="update_link_category"}</a>{/check_perms}
+   </td>
    <td>   
      {if $category->getNumLinks() > 0}
       <a href="admin.php?op=editLinks&amp;showCategory={$category->getId()}">({$category->getNumLinks()})</a>

Modified: plog/trunk/templates/admin/editlinks.template
===================================================================
--- plog/trunk/templates/admin/editlinks.template	2006-10-22 14:20:27 UTC (rev 4151)
+++ plog/trunk/templates/admin/editlinks.template	2006-10-22 14:27:02 UTC (rev 4152)
@@ -62,7 +62,9 @@
  {foreach from=$links item=link}
   <tr class="{cycle values="odd,even"}">
    <td><input class="checkbox" type="checkbox" name="linkIds[{counter}]" value="{$link->getId()}"/></td>  
-   <td class="col_highlighted"><a href="admin.php?op=editLink&amp;linkId={$link->getId()}">{$link->getName()|utf8_wordwrap:20:"<br/>":false}</a></td>
+   <td class="col_highlighted">
+  	 {check_perms perm="update_link"}<a href="admin.php?op=editLink&amp;linkId={$link->getId()}">{/check_perms}{$link->getName()|utf8_wordwrap:20:"<br/>":false}{check_perms perm="update_link"}</a>{/check_perms}
+   </td>
    <td><a href="{$link->getUrl()}">{$link->getUrl()|utf8_wordwrap:40:"<br/>":true}</a></td>
    {assign var=linkcategory value=$link->getCategoryId()}
    <td>



More information about the pLog-svn mailing list