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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Tue Jan 24 01:09:50 GMT 2006


Author: jondaley
Date: 2006-01-24 01:09:50 +0000 (Tue, 24 Jan 2006)
New Revision: 2849

Modified:
   plog/trunk/templates/admin/blogsettings.template
   plog/trunk/templates/admin/header.template
Log:
Moved the link to the blog away from the title bar, which was sort of a hack anyway, and this way, we can remove the 'Blog link' setting from the blog_settings page.  It makes the new blog_domain stuff less confusing as well.

Modified: plog/trunk/templates/admin/blogsettings.template
===================================================================
--- plog/trunk/templates/admin/blogsettings.template	2006-01-23 21:43:21 UTC (rev 2848)
+++ plog/trunk/templates/admin/blogsettings.template	2006-01-24 01:09:50 UTC (rev 2849)
@@ -6,12 +6,6 @@
     <legend>{$locale->tr("blogSettings")}</legend> 
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-    <div class="field">
-      <label for="blogLink">{$locale->tr("blog_link")}</label>
-      <span class="required"></span>
-      <div class="formHelp">{$locale->tr("blog_link_help")}</div>
-      <input class="readOnly" type="text" readonly="readonly" id="blogLink" name="blogLink" value="{$url->blogLink()}" />
-    </div>
 
     <div class="field">
       <label for="blogName">{$locale->tr("name")}</label>
@@ -222,4 +216,4 @@
 	</div> 
  </form>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/trunk/templates/admin/header.template
===================================================================
--- plog/trunk/templates/admin/header.template	2006-01-23 21:43:21 UTC (rev 2848)
+++ plog/trunk/templates/admin/header.template	2006-01-24 01:09:50 UTC (rev 2849)
@@ -38,8 +38,6 @@
 
     <div id="header" >
         <h1><span>LifeType Admin</span></h1>
-        <!-- link to the blog, opens in new window -->
-        <a href="{$url->blogLink()}" id="blogLink" target="_blank" title="{$blog->getBlog()}"></a>
     </div>
 
     <hr class="hide" />
@@ -65,6 +63,9 @@
     {/if}
 
    	<div style="text-align: right;">
+        <!-- link to the blog, opens in new window -->
+        <a href="{$url->blogLink()}" id="blogLink" target="_blank" 
+           title="{$blog->getBlog()}">{$url->blogLink()}</a>&nbsp;&nbsp;
    		<img style="vertical-align: middle;" src="imgs/admin/icon_home-24.png" alt="Blog" />&nbsp;
    		<select name="userBlog" id="userBlog" onChange="MM_jumpMenu('parent',this,0)">
      	{foreach from=$userBlogs item=userBlog}



More information about the pLog-svn mailing list