[pLog-svn] r769 - in plog/trunk: imgs templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Jan 19 20:49:18 GMT 2005


Author: oscar
Date: 2005-01-19 20:49:17 +0000 (Wed, 19 Jan 2005)
New Revision: 769

Added:
   plog/trunk/imgs/icon_url-16.png
Modified:
   plog/trunk/templates/admin/editcomments.template
Log:
more cosmetic changes


Added: plog/trunk/imgs/icon_url-16.png
===================================================================
(Binary files differ)


Property changes on: plog/trunk/imgs/icon_url-16.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: plog/trunk/templates/admin/editcomments.template
===================================================================
--- plog/trunk/templates/admin/editcomments.template	2005-01-19 20:41:45 UTC (rev 768)
+++ plog/trunk/templates/admin/editcomments.template	2005-01-19 20:49:17 UTC (rev 769)
@@ -1,11 +1,11 @@
 {include file="$admintemplatepath/header.template"}
-{include file="$admintemplatepath/navigation.template" showOpt=editPosts title=$locale->tr("editPosts")}
+{include file="$admintemplatepath/navigation.template" showOpt=editPosts title=$locale->tr("editComments")}
         <div id="list_nav_bar">
             <div id="list_nav_select">		
 
                 <form id="showBy" action="admin.php" method="post">
                 <fieldset>
-                <legend>{$locale->tr("show_comments_by")}</legend>
+                <legend>{$locale->tr("show_by")}</legend>
 
                     <div class="list_nav_option">
                     <label for="showStatus">{$locale->tr("status")}</label>
@@ -43,11 +43,10 @@
                     <tr>					
                         <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('postCommentsList');" /></th>
                         <th style="width:85px;">{$locale->tr("topic")}</th>						
-                        <th style="width:330px;">{$locale->tr("text")}</th>
+                        <th style="width:360px;">{$locale->tr("text")}</th>
                         <th style="width:70px;">{$locale->tr("author")}</th>
 						<th stlye="width:60px;">{$locale->tr("date")}</th>
                         <th style="width:60px;">{$locale->tr("status")}</th>
-                        <th style="width:30px;">{$locale->tr("url")}</th>
                         <th style="width:45px;">IP</th>
                         <th style="width:95px;">{$locale->tr("actions")}</th>
                     </tr>
@@ -79,9 +78,6 @@
                           {/foreach}
                         </td>
                         <td style="text-align: center;">
-						  {$comment->getUserUrl()|truncate:50:"..."}
-                        </td>
-                        <td style="text-align: center;">
 						  {$comment->getClientIp()}
                         </td>						
                         <td>
@@ -96,6 +92,10 @@
 								 <img src="imgs/icon_nospam-16.png" alt="{$locale->tr("mark_as_no_spam")}" />
 								</a>
 							{/if}
+							{if $comment->getUserUrl()}
+							  <a href="{$comment->getUserUrl()}">
+							   <img src="imgs/icon_url-16.png" alt="{$locale->tr("url")}" />
+							{/if}
                             </div>
                         </td>
                     </tr>




More information about the pLog-svn mailing list