[pLog-svn] r5468 - plog/branches/lifetype-1.2/templates/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu May 31 16:15:50 EDT 2007


Author: oscar
Date: 2007-05-31 16:15:50 -0400 (Thu, 31 May 2007)
New Revision: 5468

Modified:
   plog/branches/lifetype-1.2/templates/admin/siteblogs.template
Log:
Implemented feature request http://bugs.lifetype.net/view.php?id=1316 -- include a direct link to the blog in the "site blogs" page, to make it easier to see and go to the blog's URL

Modified: plog/branches/lifetype-1.2/templates/admin/siteblogs.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/siteblogs.template	2007-05-30 21:53:56 UTC (rev 5467)
+++ plog/branches/lifetype-1.2/templates/admin/siteblogs.template	2007-05-31 20:15:50 UTC (rev 5468)
@@ -52,11 +52,11 @@
     <thead>
      <tr>
       <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('editBlogs');" /></th>
-      <th style="width:40%;">{$locale->tr("blog")}</th>
-      <th style="width:30%">{$locale->tr("owner")}</th>
+      <th style="width:35%;">{$locale->tr("blog")}</th>
+      <th style="width:25%">{$locale->tr("owner")}</th>
       <th style="width:15%;">{$locale->tr("status")}</th>
 	  <th style="width:10%;">{$locale->tr("quota")}</th> 
-      <th style="width:15%;">{$locale->tr("actions")}</th>
+      <th style="width:25%;">{$locale->tr("actions")}</th>
      </tr>
     </thead>
     <tbody>
@@ -86,6 +86,9 @@
 	     {check_perms adminperm=update_site_blog}
          <a href="?op=deleteBlog&amp;blogId={$siteblog->getId()}"><img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete")}" /></a>
          <a href="?op=editBlog&amp;blogId={$siteblog->getId()}"><img src="imgs/admin/icon_edit-16.png" alt="{$locale->tr("edit_blog")}" /></a>
+		 {assign var=blogUrl value=$siteblog->getBlogRequestGenerator()}
+       	 {assign var=blogname value=$siteblog->getBlog()}
+		 <a href="{$blogUrl->blogLink()}"><img src="imgs/admin/icon_goto-16.png" alt="{$locale->pr("goto_blog_page",$blogname)}" /></a>
 		 {if $siteblog->getStatus() == 3}
          <a href="?op=resendConfirmation&amp;blogId={$siteblog->getId()}"><img src="imgs/admin/icon_mail-16.png" alt="{$locale->tr("resend_confirmation_blog")}" /></a>
 		 {/if}



More information about the pLog-svn mailing list