[pLog-svn] r2794 - in plog/trunk: class/view/admin templates/admin

mark at devel.lifetype.net mark at devel.lifetype.net
Mon Jan 16 07:40:29 GMT 2006


Author: mark
Date: 2006-01-16 07:40:28 +0000 (Mon, 16 Jan 2006)
New Revision: 2794

Modified:
   plog/trunk/class/view/admin/adminlinkslistview.class.php
   plog/trunk/templates/admin/blogsettings.template
   plog/trunk/templates/admin/customfields.template
   plog/trunk/templates/admin/editarticlecategories.template
   plog/trunk/templates/admin/editarticlecategory.template
   plog/trunk/templates/admin/editcomments.template
   plog/trunk/templates/admin/editlink.template
   plog/trunk/templates/admin/editlinkcategories.template
   plog/trunk/templates/admin/editlinkcategory.template
   plog/trunk/templates/admin/editlinks.template
   plog/trunk/templates/admin/editpost.template
   plog/trunk/templates/admin/editposts.template
   plog/trunk/templates/admin/edittrackbacks.template
   plog/trunk/templates/admin/newlinkcategory.template
   plog/trunk/templates/admin/newpost.template
   plog/trunk/templates/admin/newpostcategory.template
   plog/trunk/templates/admin/newresourcealbum.template
   plog/trunk/templates/admin/plugincenter.template
   plog/trunk/templates/admin/resourceinfo.template
   plog/trunk/templates/admin/resources.template
   plog/trunk/templates/admin/statistics.template
   plog/trunk/templates/admin/userpictureselect.template
   plog/trunk/templates/admin/usersettings.template
Log:
Some codes and templates cleanup.

Modified: plog/trunk/class/view/admin/adminlinkslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminlinkslistview.class.php	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/class/view/admin/adminlinkslistview.class.php	2006-01-16 07:40:28 UTC (rev 2794)
@@ -42,7 +42,6 @@
 			$order = $this->getValue( "showOrder" );
 			$categoryId = $this->getValue( "showCategory");			
 			$searchTerms = $this->getValue( "searchTerms" );
-			print("kk=".$searchTerms);
         	// get all the links and throw the event
         	$links = new MyLinks();
             $blogLinks = $links->getLinks( $this->_blogInfo->getId(), 

Modified: plog/trunk/templates/admin/blogsettings.template
===================================================================
--- plog/trunk/templates/admin/blogsettings.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/blogsettings.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -221,4 +221,5 @@
      <input type="hidden" name="op" value="updateBlogSettings" />
 	</div> 
  </form>
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footernavigation.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/customfields.template
===================================================================
--- plog/trunk/templates/admin/customfields.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/customfields.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -9,7 +9,7 @@
             <table class="info">
                 <thead>
                     <tr>
-                        <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('customFields');" /></th>
+                        <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('customFields');" /></th>
                         <th style="width:180px;">{$locale->tr("name")}</th>
                         <th style="width:350px;">{$locale->tr("description")}</th>
                         <th style="width:70px;">{$locale->tr("type")}</th>                        

Modified: plog/trunk/templates/admin/editarticlecategories.template
===================================================================
--- plog/trunk/templates/admin/editarticlecategories.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editarticlecategories.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -16,23 +16,23 @@
    
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="editArticleCategories">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="editArticleCategories" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div> 
 
- <form id="deleteCategories" action="admin.php" method="post"
+ <form id="deleteCategories" action="admin.php" method="post">
  <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
  <table class="info">
   <thead>
    <tr>
-    <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('deleteCategories');" /></th>
+    <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('deleteCategories');" /></th>
     <th style="width:375px;">{$locale->tr("category")}</th>
     <th style="width:100px;">{$locale->tr("posts")}</th>
     <th style="width:100px;">{$locale->tr("show_in_main_page")}</th>

Modified: plog/trunk/templates/admin/editarticlecategory.template
===================================================================
--- plog/trunk/templates/admin/editarticlecategory.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editarticlecategory.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -41,4 +41,5 @@
   </div>
 </form>
 
+{include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}

Modified: plog/trunk/templates/admin/editcomments.template
===================================================================
--- plog/trunk/templates/admin/editcomments.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editcomments.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -42,7 +42,7 @@
             <table class="info">
                 <thead>
                     <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:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postCommentsList');" /></th>
                         <th style="width:85px;">{$locale->tr("topic")}</th>						
                         <th style="width:360px;">{$locale->tr("text")}</th>
                         <th style="width:70px;">{$locale->tr("author")}</th>
@@ -96,6 +96,7 @@
 							{if $comment->getUserUrl()}
 							  <a href="{$comment->getUserUrl()}">
 							   <img src="imgs/admin/icon_url-16.png" alt="{$locale->tr("url")}" />
+							  </a>
 							{/if}
                             </div>
                         </td>
@@ -112,4 +113,5 @@
             <input type="hidden" name="op" value="deleteComments" />
         </div>
         </form>
+{include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/editlink.template
===================================================================
--- plog/trunk/templates/admin/editlink.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editlink.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -59,4 +59,5 @@
 		</div>
 </form>
 
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footernavigation.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/editlinkcategories.template
===================================================================
--- plog/trunk/templates/admin/editlinkcategories.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editlinkcategories.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -16,13 +16,13 @@
    
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="editLinkCategories">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="editLinkCategories" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div> 
 
  <form id="linkCategories" action="admin.php" method="post">
@@ -32,7 +32,7 @@
  <table class="info">
   <thead>
    <tr>
-    <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('linkCategories');" /></th>
+    <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('linkCategories');" /></th>
     <th style="width:500px;">{$locale->tr("name")}</th>
     <th style="width:170px;">{$locale->tr("links")}</th>
     <th style="width:95px;">{$locale->tr("actions")}</th>
@@ -45,7 +45,7 @@
    <td class="col_highlighted"><a href="admin.php?op=editLinkCategory&amp;categoryId={$category->getId()}">{$category->getName()}</a></td>
    <td>   
      {if $category->getNumLinks() > 0}
-      <a href="admin.php?op=editLinks&amp;showCategory={$category->getId()}">({$category->getNumLinks()})</a></td>
+      <a href="admin.php?op=editLinks&amp;showCategory={$category->getId()}">({$category->getNumLinks()})</a>
      {else}
       (0)
     {/if}

Modified: plog/trunk/templates/admin/editlinkcategory.template
===================================================================
--- plog/trunk/templates/admin/editlinkcategory.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editlinkcategory.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -19,4 +19,5 @@
     <input type="hidden" name="linkCategoryId" value="{$linkCategoryId}" />
   </div>
 </form>
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footernavigation.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/editlinks.template
===================================================================
--- plog/trunk/templates/admin/editlinks.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editlinks.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -24,13 +24,13 @@
       
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="editLinks">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="editLinks" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div>
 
 <form id="links" action="admin.php" method="post">
@@ -40,7 +40,7 @@
 <table class="info">
  <thead>
   <tr>
-   <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('links');" /></th>  
+   <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('links');" /></th>  
    <th style="width:300px;">{$locale->tr("name")}</th>
    <th style="width:200px;">{$locale->tr("url")}</th>
    <th style="width:120px;">{$locale->tr("category")}</th>
@@ -85,4 +85,4 @@
 </form>
 
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/editpost.template
===================================================================
--- plog/trunk/templates/admin/editpost.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editpost.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -7,8 +7,8 @@
      var indexPage = "{$config->getValue("script_name")}";
   </script>
  {if $htmlarea}
-  <script type="text/javascript" src="js/tinymce/tiny_mce_gzip.php"/></script>
-  <script type="text/javascript" src="js/tinymce/tiny_mce-plog.js"/></script>
+  <script type="text/javascript" src="js/tinymce/tiny_mce_gzip.php"></script>
+  <script type="text/javascript" src="js/tinymce/tiny_mce-plog.js"></script>
  {else}
   <link rel="stylesheet" href="js/editor/plogeditor.css" type="text/css" />
   <script type="text/javascript" src="js/editor/plogeditor.js"></script>
@@ -18,7 +18,7 @@
   var htmlAreaEnabled = '{$htmlarea}';
   {include file="$admintemplatepath/calendarstuff.template"}
  </script>
-  <form name="newPost" id="editPost" action="admin.php" method="post">
+  <form name="editPost" id="editPost" action="admin.php" method="post">
    <fieldset class="inputField">
    <legend>{$locale->tr("editPost")}</legend>
 
@@ -26,7 +26,7 @@
      <a href="#" onclick="switchOptionPanel()"><img name="optionIcon" id="optionIcon" src="imgs/admin/icon_optionhide-16.png" style="border:0px;width: 16px; height: 16px; padding: 0;" /></a>
    </div>
    
-   <div name="mainPanel" id="mainPanel" style="float:left; width: 73%; border-right: 1px solid #DEDEDE;">  
+   <div id="mainPanel" style="float:left; width: 73%; border-right: 1px solid #DEDEDE;">  
      {include file="$admintemplatepath/formvalidate.template" message=$locale->tr("error_updating_post")}    
 	 
 	   <div class="field">
@@ -73,7 +73,7 @@
       {include file="$admintemplatepath/newpost_customfields.template" type=2 fields=$customfields}
    </div>	   
    
-   <div name="optionPanel" id="optionPanel" style="float:left; width: 23%; margin-left: 8px;">   
+   <div id="optionPanel" style="float:left; width: 23%; margin-left: 8px;">   
 	 
 	   <div class="field">
 	     <label for="postSlug">{$locale->tr("post_slug")}</label>
@@ -85,7 +85,7 @@
    	     <label for="postDateTime">{$locale->tr("date")}</label>
 		 <span class="required">*</span>
 		 <div class="formHelp">{$locale->tr("post_date_help")}</div>
-		 <input name="postDateTime" id="postDateTime" class="dateTime" readonly="true" type="text" size="16" value="{$postDay}/{$postMonth}/{$postYear} {$postHour}:{$postMinutes}" style="margin-bottom: 4px;">
+		 <input name="postDateTime" id="postDateTime" class="dateTime" readonly="true" type="text" size="16" value="{$postDay}/{$postMonth}/{$postYear} {$postHour}:{$postMinutes}" style="margin-bottom: 4px;" />
         <a href="javascript:NewCal('postDateTime','ddmmyyyy',true,24);"><img src="imgs/admin/cal.jpg" alt="{$locale->tr("pick_date")}" style="border:0px;width: 16px; height: 14px; padding: 0;" /></a>	     
 	   </div>
 	   
@@ -164,4 +164,5 @@
       <input type="hidden" name="postId" value="{$postId}"/>
 	</div>  	
   </form>
+{include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}

Modified: plog/trunk/templates/admin/editposts.template
===================================================================
--- plog/trunk/templates/admin/editposts.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/editposts.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -75,7 +75,7 @@
                 <thead>
                     <tr>
                         <!-- 775 -->
-                        <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('postsList');" /></th>
+                        <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postsList');" /></th>
                         <th style="width:345px;">{$locale->tr("topic")}</th>
                         <th style="width:115px;">{$locale->tr("date")}</th>
                         <th style="width:90px;">{$locale->tr("author")}</th>
@@ -116,14 +116,14 @@
                         </td>
                         <td style="text-align: center;">
                             {if $post->getTotalComments(false) > 0}
-							 <a href="?op=editComments&articleId={$post->getId()}">({$post->getTotalComments(false)})</a>
+							 <a href="?op=editComments&amp;articleId={$post->getId()}">({$post->getTotalComments(false)})</a>
 							{else}
 							 0
 							{/if}
                         </td>
                         <td style="text-align: center;">
                             {if $post->getTotalTrackbacks() > 0}
-							 <a href="?op=editTrackbacks&articleId={$post->getId()}">({$post->getTotalTrackbacks(false)})</a>
+							 <a href="?op=editTrackbacks&amp;articleId={$post->getId()}">({$post->getTotalTrackbacks(false)})</a>
 							{else}
 							 0
 							{/if}

Modified: plog/trunk/templates/admin/edittrackbacks.template
===================================================================
--- plog/trunk/templates/admin/edittrackbacks.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/edittrackbacks.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -43,7 +43,7 @@
             <table class="info">
                 <thead>
                     <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:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postCommentsList');" /></th>
                         <th style="width:85px;">{$locale->tr("topic")}</th>						
                         <th style="width:360px;">{$locale->tr("text")}</th>
                         <th style="width:70px;">{$locale->tr("author")}</th>

Modified: plog/trunk/templates/admin/newlinkcategory.template
===================================================================
--- plog/trunk/templates/admin/newlinkcategory.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/newlinkcategory.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -18,4 +18,5 @@
     <input type="submit" name="Add" value="{$locale->tr("add")}"/>
   </div>  
  </form>
+{include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}

Modified: plog/trunk/templates/admin/newpost.template
===================================================================
--- plog/trunk/templates/admin/newpost.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/newpost.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -10,8 +10,8 @@
      var indexPage = "{$config->getValue("script_name")}";
   </script>  
  {if $htmlarea}
-  <script type="text/javascript" src="js/tinymce/tiny_mce_gzip.php"/></script>
-  <script type="text/javascript" src="js/tinymce/tiny_mce-plog.js"/></script>
+  <script type="text/javascript" src="js/tinymce/tiny_mce_gzip.php"></script>
+  <script type="text/javascript" src="js/tinymce/tiny_mce-plog.js"></script>
  {else}
   <link rel="stylesheet" href="js/editor/plogeditor.css" type="text/css" />
   <script type="text/javascript" src="js/editor/plogeditor.js"></script>
@@ -47,7 +47,7 @@
      <a href="#" onclick="switchOptionPanel()"><img name="optionIcon" id="optionIcon" src="imgs/admin/icon_optionhide-16.png" style="border:0px;width: 16px; height: 16px; padding: 0;" /></a>
    </div>
 
-   <div name="mainPanel" id="mainPanel" style="float:left; width: 73%; border-right: 1px solid #DEDEDE;">
+   <div id="mainPanel" style="float:left; width: 73%; border-right: 1px solid #DEDEDE;">
 	   {include file="$admintemplatepath/formvalidate.template" message=$locale->tr("error_adding_post")}  
 	   <div class="field">
 	     <label for="postTopic">{$locale->tr("topic")}</label>
@@ -92,7 +92,7 @@
       {include file="$admintemplatepath/newpost_customfields.template" type=2 fields=$customfields}
    </div>
 
-   <div name="optionPanel" id="optionPanel" style="float:left; width: 23%; margin-left: 8px;">
+   <div id="optionPanel" style="float:left; width: 23%; margin-left: 8px;">
 	   <div class="field">
 	     <label for="postSlug">{$locale->tr("post_slug")}</label>
 		 <div class="formHelp">{$locale->tr("post_slug_help")}</div>
@@ -103,7 +103,7 @@
    	     <label for="postDateTime">{$locale->tr("date")}</label>
 		 <span class="required">*</span>
 		 <div class="formHelp">{$locale->tr("post_date_help")}</div>
-	     <input name="postDateTime" id="postDateTime" class="dateTime" readonly="true" type="text" size="16" value="{$postDateTime}" style="margin-bottom: 4px;">
+	     <input name="postDateTime" id="postDateTime" class="dateTime" readonly="true" type="text" size="16" value="{$postDateTime}" style="margin-bottom: 4px;" />
 	     <a href="javascript:NewCal('postDateTime','ddmmyyyy',true,24);">
 		   <img src="imgs/admin/cal.jpg" alt="{$locale->tr("date")}" style="border:0px;width: 16px; height: 14px; padding: 0;" />
 		 </a>
@@ -175,7 +175,7 @@
       <div class="field">
        	<br /><label for="bookmarklet">{$locale->tr("bookmarklet")}</label>
        	<div class="formHelp">{$locale->tr("bookmarklet_help")}</div>
-		<a href="javascript:bm=document.selection?document.selection.createRange().text:document.getSelection();void(plogbm=window.open('{$url->getAdminUrl()}?op=newPost&sendTrackbacks=1&postText='+encodeURIComponent('&lt;p&gt;'+bm+' ... '+'&lt;a href=&quot;'+window.location.href+'&quot;&gt;'+'{$locale->tr("original_post")}'+'&lt;/a&gt;&lt;/p&gt;'),'plogbm','toolbar=1,status=1,location=1,scrollbars=1,menubar=1,resizable=1'))" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("blogit_to_plog")}</a> 
+		<a href="javascript:bm=document.selection?document.selection.createRange().text:document.getSelection();void(plogbm=window.open('{$url->getAdminUrl()}?op=newPost&sendTrackbacks=1&postText='+encodeURIComponent('&lt;p&gt;'+bm+' ... '+'&lt;a href=&quot;'+window.location.href+'&quot;&gt;'+'{$locale->tr("original_post")}'+'&lt;/a&gt;&lt;/p&gt;'),'plogbm','toolbar=1,status=1,location=1,scrollbars=1,menubar=1,resizable=1'))" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("blogit_to_lifetype")}</a> 
       </div>
 	  
 	  <!-- checkbox custom fields -->

Modified: plog/trunk/templates/admin/newpostcategory.template
===================================================================
--- plog/trunk/templates/admin/newpostcategory.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/newpostcategory.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -38,4 +38,5 @@
    <input type="submit" name="Add" value="{$locale->tr("add")}" />
   </div> 
  </form>
+{include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}

Modified: plog/trunk/templates/admin/newresourcealbum.template
===================================================================
--- plog/trunk/templates/admin/newresourcealbum.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/newresourcealbum.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -10,7 +10,7 @@
     {/if} 	
    {/if}
    <legend>{$locale->tr("newResourceAlbum")}</legend>
-   <div field="field">
+   <div class="field">
     <label for="albumName">{$locale->tr("name")}</label>
 	<span class="required">*</span>	
 	<div class="formHelp">{$locale->tr("album_name_help")}</div>

Modified: plog/trunk/templates/admin/plugincenter.template
===================================================================
--- plog/trunk/templates/admin/plugincenter.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/plugincenter.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -27,4 +27,5 @@
                 </tbody>
             </table>
         </div>
+{include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/resourceinfo.template
===================================================================
--- plog/trunk/templates/admin/resourceinfo.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/resourceinfo.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -72,7 +72,6 @@
   <div style="float:left;width=25%">
    	<img src="{$imgPath}" alt="Preview" style="display:block;margin-left:auto;margin-right:auto" /><br/>
   </div> 
- </div>
 </fieldset> 
 <div class="buttons">
  {if $resource->isImage()}
@@ -86,5 +85,4 @@
 </div> 
 </form>
 {include file="$blogtemplate/footernavigation.template"}
-{include file="$blogtemplate/footer.template"}
-
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/resources.template
===================================================================
--- plog/trunk/templates/admin/resources.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/resources.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -25,13 +25,13 @@
    </div>      
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="resources">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="resources" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div>
 
 <form id="Resources" method="post" action="admin.php">
@@ -42,7 +42,7 @@
  <thead>
   <tr>
     <!-- 775 -->
-    <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('Resources');" /></th>
+    <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('Resources');" /></th>
     <th style="width:660px;">{$locale->tr("name")}</th>
     <th style="width:95px;">{$locale->tr("actions")}</th>
  </tr>
@@ -80,8 +80,8 @@
    <input type="checkbox"  class="checkbox" value="{$resource->getId()}" name="resourceIds[{$resource->getId()}]" />
  </td>
  <td>
+  <a href="admin.php?op=resourceInfo&amp;resourceId={$resource->getId()}">
   {if $resource->hasPreview()}
-     <a href="admin.php?op=resourceInfo&amp;resourceId={$resource->getId()}">
      <img src="{$url->resourcePreviewLink($resource)}" alt="{$locale->tr("preview")}" />
   {else}
    {if $resource->isSound()}
@@ -116,5 +116,6 @@
   <input type="submit" name="delete" value="{$locale->tr("delete")}" class="submit" />
   <input type="hidden" name="op" value="deleteResourceItems" />
 </div>
+</form>
 {include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/statistics.template
===================================================================
--- plog/trunk/templates/admin/statistics.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/statistics.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -7,7 +7,7 @@
             <table class="info">
                 <thead>
                     <tr>
-                        <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('postStats');" /></th>
+                        <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postStats');" /></th>
                         <th style="width:500px;">{$locale->tr("referrer")}</th>                        
 						<th style="width:70px;">{$locale->tr("hits")}</th>
                         <th style="width:100px;">{$locale->tr("date")}</th>

Modified: plog/trunk/templates/admin/userpictureselect.template
===================================================================
--- plog/trunk/templates/admin/userpictureselect.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/userpictureselect.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -1,4 +1,6 @@
 {assign var=htmlarea value=$blogsettings->getValue("htmlarea_enabled")}
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}"/> 
@@ -8,7 +10,7 @@
   <script type="text/javascript">
    var plogBaseUrl = '{$baseurl}';
   </script>
-  <style>{literal}
+  <STYLE type="text/css">{literal}
    html,body {
     margin           : 0px;
     padding          : 5px;
@@ -56,19 +58,21 @@
    </div>
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="userPictureSelect">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="userPictureSelect" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div>
  <div id="container">
 <table class="info">
  <thead>
-  <th style="width:270px";>{$locale->tr("resource")}</th>
-  <th style="width:150px;">{$locale->tr("actions")}</th>
+  <tr>
+   <th style="width:270px;">{$locale->tr("resource")}</th>
+   <th style="width:150px;">{$locale->tr("actions")}</th>
+  </tr> 
  </thead>  
  <tbody>
   {if $album && $pager->getCurrentPage()==1}

Modified: plog/trunk/templates/admin/usersettings.template
===================================================================
--- plog/trunk/templates/admin/usersettings.template	2006-01-15 20:55:46 UTC (rev 2793)
+++ plog/trunk/templates/admin/usersettings.template	2006-01-16 07:40:28 UTC (rev 2794)
@@ -6,7 +6,7 @@
      <legend>{$locale->tr("userSettings")}</legend>
         {include file="$admintemplatepath/successmessage.template"}
         {include file="$admintemplatepath/errormessage.template"}
-     <div style="float:left;width:73%;border-right:1px solid #DEDEDE";>
+     <div style="float:left;width:73%;border-right:1px solid #DEDEDE;">
       <div class="field">
         <label for="userName">{$locale->tr("username")}</label>
         <div class="formHelp">{$locale->tr("username_help")}</div>
@@ -72,4 +72,5 @@
    </div>
 
  </form>
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footernavigation.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file



More information about the pLog-svn mailing list