[pLog-svn] r4809 - in plog/branches/lifetype-1.2/templates/admin: . chooser

reto at devel.lifetype.net reto at devel.lifetype.net
Wed Feb 21 17:58:27 EST 2007


Author: reto
Date: 2007-02-21 17:58:26 -0500 (Wed, 21 Feb 2007)
New Revision: 4809

Modified:
   plog/branches/lifetype-1.2/templates/admin/addbloguser.template
   plog/branches/lifetype-1.2/templates/admin/blogcategories.template
   plog/branches/lifetype-1.2/templates/admin/blogsettings.template
   plog/branches/lifetype-1.2/templates/admin/blogtemplates.template
   plog/branches/lifetype-1.2/templates/admin/blogusers.template
   plog/branches/lifetype-1.2/templates/admin/chooser/blogtemplatechooser.template
   plog/branches/lifetype-1.2/templates/admin/chooser/resourcelist.template
   plog/branches/lifetype-1.2/templates/admin/chooser/siteblogschooser.template
   plog/branches/lifetype-1.2/templates/admin/chooser/siteuserschooser.template
   plog/branches/lifetype-1.2/templates/admin/chooser/userpictureselect.template
   plog/branches/lifetype-1.2/templates/admin/controlcenter.template
   plog/branches/lifetype-1.2/templates/admin/createuser.template
   plog/branches/lifetype-1.2/templates/admin/customfields.template
   plog/branches/lifetype-1.2/templates/admin/dashboard.template
   plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template
   plog/branches/lifetype-1.2/templates/admin/editcomments.template
   plog/branches/lifetype-1.2/templates/admin/editlinkcategories.template
   plog/branches/lifetype-1.2/templates/admin/editlinks.template
   plog/branches/lifetype-1.2/templates/admin/editpost.template
   plog/branches/lifetype-1.2/templates/admin/editposts.template
   plog/branches/lifetype-1.2/templates/admin/edittrackbacks.template
   plog/branches/lifetype-1.2/templates/admin/globalarticlecategories.template
   plog/branches/lifetype-1.2/templates/admin/newpost.template
   plog/branches/lifetype-1.2/templates/admin/newpostcategory.template
   plog/branches/lifetype-1.2/templates/admin/permissions.template
   plog/branches/lifetype-1.2/templates/admin/plugincenter.template
   plog/branches/lifetype-1.2/templates/admin/pluginsettings.template
   plog/branches/lifetype-1.2/templates/admin/poststats.template
   plog/branches/lifetype-1.2/templates/admin/resourcealbums.template
   plog/branches/lifetype-1.2/templates/admin/resources.template
   plog/branches/lifetype-1.2/templates/admin/resourcesgroup.template
   plog/branches/lifetype-1.2/templates/admin/siteblogs.template
   plog/branches/lifetype-1.2/templates/admin/siteblogusers.template
   plog/branches/lifetype-1.2/templates/admin/sitelocales.template
   plog/branches/lifetype-1.2/templates/admin/sitetemplates.template
   plog/branches/lifetype-1.2/templates/admin/siteusers.template
   plog/branches/lifetype-1.2/templates/admin/statistics.template
Log:
improved xhtml compliance and a little step towards WAI compliance
 


Modified: plog/branches/lifetype-1.2/templates/admin/addbloguser.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/addbloguser.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/addbloguser.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -22,8 +22,7 @@
      </div>
 
      <div class="field">
-       <label for="sendNotification">{$locale->tr("send_notification")}</label>
-       <span class="required"></span>       
+       <label for="sendNotification">{$locale->tr("send_notification")}</label>      
        <div class="formHelp">
 	    <input class="checkbox" type="checkbox" id="sendNotification" name="sendNotification" value="{$sendNotification}" />	   
 	    {$locale->tr("send_user_notification_help")}
@@ -32,7 +31,6 @@
      
      <div class="field">
       <label for="perm">{$locale->tr("permissions")}</label>
-      <span class="required"></span>
       <div class="formHelp">{$locale->tr("blog_user_permissions_help")}</div>     
      	{foreach from=$perms item=permission}
      	 {if !$permission->isAdminOnlyPermission()}

Modified: plog/branches/lifetype-1.2/templates/admin/blogcategories.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/blogcategories.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/blogcategories.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -29,7 +29,7 @@
  <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
- <table class="info">
+ <table class="info" summary="{$locale->tr("editBlogCategories")}">
   <thead>
    <tr>
     <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('deleteCategories');" /></th>
@@ -72,4 +72,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/branches/lifetype-1.2/templates/admin/blogsettings.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/blogsettings.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/blogsettings.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -39,7 +39,6 @@
 
     <div class="field">
       <label for="blogAbout">{$locale->tr("description")}</label>
-      <span class="required"></span>
       <div class="formHelp">{$locale->tr("blog_description_help")}</div>
       <textarea rows="10" style="width:100%" id="blogAbout" name="blogAbout">{$blogAbout}</textarea>
     </div>
@@ -142,7 +141,6 @@
      <!-- paged comments -->
     <div class="field">
      <label for="blogNumCommentsPerPage">{$locale->tr("show_comments_max")}</label>
-     <span class="required"></span>
      <div class="formHelp">{$locale->tr("show_comments_max_help")}</div>
      <input type="text" name="blogNumCommentsPerPage" id="blogNumCommentsPerPage" value="{$blogNumCommentsPerPage}" />
      {include file="$admintemplatepath/validate.template" field=blogNumCommentsPerPage message=$locale->tr("error_invalid_number")}

Modified: plog/branches/lifetype-1.2/templates/admin/blogtemplates.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/blogtemplates.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/blogtemplates.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -13,7 +13,7 @@
  <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-  <table class="info">
+  <table class="info" summary="{$locale->tr("blogTemplates")}">
    <thead>
     <tr>
       <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('editTemplates');" /></th>
@@ -21,6 +21,7 @@
       <th style="width:10%;">{$locale->tr("actions")}</th>
     </tr>
   </thead>
+  {if $templates}
   <tbody>
   {assign var=blogTemplate value=$blog->getTemplateSet()}
   {foreach from=$templates item=sitetemplate}
@@ -56,6 +57,7 @@
    </tr>
   {/foreach}
   </tbody>
+  {/if}
  </table>
  </div>
  <div id="list_action_bar">
@@ -66,4 +68,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/branches/lifetype-1.2/templates/admin/blogusers.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/blogusers.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/blogusers.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -13,7 +13,7 @@
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-            <table class="info">
+            <table class="info" summary="{$locale->tr("showBlogUsers")}">
                 <thead>
                     <tr>
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('blogUsers');" /></th>
@@ -23,6 +23,7 @@
                         <th style="width:10%;">{$locale->tr("actions")}</th>
                     </tr>
                 </thead>
+                {if $blogusers}
                 <tbody>
                    {foreach from=$blogusers item=bloguser}
                     <tr>
@@ -59,6 +60,7 @@
                     </tr>
                     {/foreach}
                 </tbody>
+                {/if}
             </table>
         </div>
         <div id="list_action_bar">
@@ -69,4 +71,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/branches/lifetype-1.2/templates/admin/chooser/blogtemplatechooser.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/chooser/blogtemplatechooser.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/chooser/blogtemplatechooser.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -1,6 +1,6 @@
 {include file="$admintemplatepath/chooser/header.template"}
 <div id="container">
-<table class="info">
+<table class="info" summary="{$locale->tr("template")}">
  <thead>
   <th style="width:210px";>{$locale->tr("template")}</th>
   <th style="width:210px";></th>
@@ -25,4 +25,4 @@
   <a href="javascript:window.close()">{$locale->tr("close")}</a>
 </div>
 </div>
-{include file="$admintemplatepath/chooser/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/chooser/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/chooser/resourcelist.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/chooser/resourcelist.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/chooser/resourcelist.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -65,7 +65,7 @@
  <div id="container">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"} 
-<table class="info">
+<table class="info" summary="{$locale->tr("resources")}">
  <thead>
   <tr>
     <th style="width:75%;">{$locale->tr("resource")}</th>
@@ -190,4 +190,4 @@
   {/if}
 </div>
 </div>
-{include file="$admintemplatepath/chooser/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/chooser/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/chooser/siteblogschooser.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/chooser/siteblogschooser.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/chooser/siteblogschooser.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -37,7 +37,7 @@
   <div id="list"> 
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-   <table class="info">
+   <table class="info" summary="{$locale->tr("blogs")}">
     <thead>
      <tr>
       <th style="width:25px;">ID</th>

Modified: plog/branches/lifetype-1.2/templates/admin/chooser/siteuserschooser.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/chooser/siteuserschooser.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/chooser/siteuserschooser.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -45,7 +45,7 @@
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-            <table class="info" style="width:560px;">
+            <table class="info" style="width:560px;" summary="{$locale->tr("editSiteUsers")}">
                 <thead>
                     <tr>
                         <th style="width:25px;">UID</th>
@@ -107,4 +107,4 @@
             {adminpager style=list}
 			<a href="javascript:window.close()">{$locale->tr("close")}</a>
         </div>
-{include file="$admintemplatepath/chooser/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/chooser/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/chooser/userpictureselect.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/chooser/userpictureselect.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/chooser/userpictureselect.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -1,7 +1,7 @@
 {include file="$admintemplatepath/chooser/header.template"}
 <script type="text/javascript" src="js/ui/plogui.js"></script>
 {literal}
-<style>
+<style type="text/css">
 #resource_list_upload
 {
     border-bottom    : 4px solid #DEDEDE;
@@ -50,7 +50,7 @@
  <div id="container">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-<table class="info">
+<table class="info" summary="{$locale->tr("picture")}">
  <thead>
   <tr>
    <th style="width:270px;">{$locale->tr("resource")}</th>
@@ -130,4 +130,4 @@
   <a id="close_button" href="javascript:window.close()">{$locale->tr("close")}</a>
 </div>
 </div>
-{include file="$admintemplatepath/chooser/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/chooser/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/controlcenter.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/controlcenter.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/controlcenter.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -1,4 +1,5 @@
 {include file="$admintemplatepath/header.template"}
 {include file="$admintemplatepath/navigation.template" showOpt=controlCenter title=$locale->tr("controlCenter")}
 {$menu->generateAt("controlCenter",2)}
+</div>
 {include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/createuser.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/createuser.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/createuser.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -14,7 +14,6 @@
     </div>
     <div class="field">
       <label for="userFullName">{$locale->tr("full_name")}</label>
-      <span class="required"></span>
       <div class="formHelp">{$locale->tr("full_name_help")}</div>
       <input type="text" name="userFullName" value="{$userFullName}" id="userFullName" />
     </div>
@@ -44,7 +43,6 @@
 	</div>
     <div class="field">
       <label for="userBlog">{$locale->tr("blog")}</label>
-      <span class="required"></span>
       <div class="formHelp">{$locale->tr("user_blog_help")}</div>
 	  <input type="hidden" name="blogId" id="blogId" value="{$blogId}" />
 	  <input type="text" name="blogName" id="blogName" style="width:50%" readonly="readonly" value="{$blogName}" />
@@ -55,7 +53,6 @@
     </div>
 	<div class="field">
 		<label for="userPermissions">{$locale->tr("permissions")}</label>
-		<span class="required"></span>
 		<div class="formHelp">{$locale->tr("admin_user_permissions_help")}</div>
 		{foreach from=$permissions item=perm}
 			{if $perm->isAdminOnlyPermission()}
@@ -74,4 +71,4 @@
   </div>
  </form>
 {include file="$blogtemplate/footernavigation.template"}
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{include file="$blogtemplate/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/customfields.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/customfields.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/customfields.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -14,7 +14,7 @@
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
 		
-            <table class="info">
+            <table class="info" summary="{$locale->tr("blogCustomFields")}">
                 <thead>
                     <tr>
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('customFields');" /></th>
@@ -69,4 +69,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/branches/lifetype-1.2/templates/admin/dashboard.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/dashboard.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/dashboard.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -26,11 +26,11 @@
 	</script> 
         <div class="dashboard_blog">
         <h2>{$locale->tr("login")}&raquo; <a href="?op=blogSelect&amp;blogId={$blog->getId()}">{$blog->getBlog()}</a></h2>
-        <table class="dashboard_blog_layout">
+        <table class="dashboard_blog_layout" summary="">
             <tr>
                 <td style="width: 70%; border: 0px solid black;">
                     <h3>{$locale->tr("recent_articles")}</h3>
-                    <table class="dashboard_data_table" id="dashboard_data_table_{$blog->getId()}">
+                    <table class="dashboard_data_table" id="dashboard_data_table_{$blog->getId()}" summary="{$locale->tr("recent_articles")}">
                         <thead>
                             <th>{$locale->tr("topic")}</th>
                             <th style="width:60px;">{$locale->tr("actions")}</th>
@@ -56,7 +56,7 @@
                     </table>
 
                     <h3>{$locale->tr("recent_comments")}</h3>
-                    <table class="dashboard_data_table" id="dashboard_recent_comments_{$blog->getId()}">
+                    <table class="dashboard_data_table" id="dashboard_recent_comments_{$blog->getId()}" summary="{$locale->tr("recent_comments")}">
                         <thead>
                             <th>{$locale->tr("topic")}</th>
                             <th>{$locale->tr("posted_by")}</th>
@@ -117,7 +117,7 @@
                     </table>
 
                     <h3>{$locale->tr("recent_trackbacks")}</h3>
-                    <table class="dashboard_data_table" id="dashboard_recent_trackbacks_{$blog->getId()}">
+                    <table class="dashboard_data_table" id="dashboard_recent_trackbacks_{$blog->getId()}" summary="{$locale->tr("recent_trackbacks")}">
                         <thead>
                             <th>{$locale->tr("topic")}</th>
                             <th>{$locale->tr("in")}</th>
@@ -174,7 +174,7 @@
                 <td style="width: 30%; vertical-align: top; border-left: 1px solid #DEDEDE; border-bottom: 0px; padding-left: 4px;">
                     
                     <h3>{$locale->tr("quick_launches")}</h3>
-                    <table class="dashboard_data_quick_launches" id="dashboard_quick_launches_{$blog->getId()}">
+                    <table class="dashboard_data_quick_launches" id="dashboard_quick_launches_{$blog->getId()}" summary="{$locale->tr("quick_launches")}">
                         <tr>
                             <th>
                                 {$locale->tr("managePosts")}:
@@ -202,7 +202,7 @@
                     </table>
                     
                     <h3>{$locale->tr("blog_statistics")}</h3>
-                    <table class="dashboard_data_table_statistics" id="dashboard_statistics_{$blog->getId()}">
+                    <table class="dashboard_data_table_statistics" id="dashboard_statistics_{$blog->getId()}" summary="{$locale->tr("blog_statistics")}">
 	 	 			  <tbody>
                         <tr>
                             <th>

Modified: plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/editarticlecategories.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -37,7 +37,7 @@
  <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
- <table class="info" id="info">
+ <table class="info" id="info" summary="{$locale->tr("editArticleCategories")}">
   <thead>
    <tr>
     <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('deleteCategories');" /></th>

Modified: plog/branches/lifetype-1.2/templates/admin/editcomments.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editcomments.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/editcomments.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -59,7 +59,7 @@
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-            <table class="info">
+            <table class="info" summary="{$locale->tr("editComments")}">
                 <thead>
                     <tr>					
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postCommentsList');" /></th>

Modified: plog/branches/lifetype-1.2/templates/admin/editlinkcategories.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editlinkcategories.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/editlinkcategories.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -37,7 +37,7 @@
  <div id="list"> 
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
- <table class="info">
+ <table class="info" summary="{$locale->tr("editLinkCategories")}">
   <thead>
    <tr>
     <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('linkCategories');" /></th>

Modified: plog/branches/lifetype-1.2/templates/admin/editlinks.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editlinks.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/editlinks.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -56,7 +56,7 @@
 <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-<table class="info">
+<table class="info" summary="{$locale->tr("editLinks")}">
  <thead>
   <tr>
    <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('links');" /></th>  
@@ -130,4 +130,4 @@
 </form>
 
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/editpost.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editpost.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/editpost.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -43,7 +43,7 @@
 }
 {/literal}
  </script>
-  <form name="newPost" id="newPost" method="post" onSubmit="return selectOperation(this.target);" target="admin">   
+  <form name="newPost" id="newPost" action="admin.php" method="post" onSubmit="return selectOperation(this.target);" target="admin">   
    <fieldset class="inputField">
    <legend>{$locale->tr("editPost")}</legend>
 
@@ -117,7 +117,7 @@
 		 <div class="formHelp">{$locale->tr("post_categories_help")}</div>
          <select name="postCategories[]" id="postCategories" size="5" multiple="multiple" style="width:100%">
            {foreach from=$categories item=category}
-           <option value="{$category->getId()}" {foreach from=$postCategories item=categoryId}{if $category->getId() == $categoryId} selected="selected" {/if}{/foreach}>{$category->getName()}</option>
+           <option value="{$category->getId()}"> {foreach from=$postCategories item=categoryId}{if $category->getId() == $categoryId} selected="selected" {/if}{/foreach}>{$category->getName()}</option>
            {/foreach}
          </select>
          <input type="text" name="newArticleCategory" id="newArticleCategory" style="width:100px; margin-top:3px;" size="16" value="" />

Modified: plog/branches/lifetype-1.2/templates/admin/editposts.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/editposts.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/editposts.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -27,7 +27,7 @@
                     <select name="showCategory" id="showCategory">
                      <option value="-1">{$locale->tr("category_all")}</option>
                      {foreach from=$categories item=category}
-                     <option value="{$category->getId()}" {if $currentcategory == $category->getId()} selected="selected" /if}>{$category->getName()}{/if}</option>
+                     <option value="{$category->getId()}" {if $currentcategory == $category->getId()} selected="selected"{/if}>{$category->getName()}</option>
                      {/foreach}
                     </select>
                     </div>
@@ -91,7 +91,7 @@
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-            <table class="info">
+            <table class="info" summary="{$locale->tr("editPosts")}">
                 <thead>
                     <tr>
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postsList');" /></th>

Modified: plog/branches/lifetype-1.2/templates/admin/edittrackbacks.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/edittrackbacks.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/edittrackbacks.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -60,7 +60,7 @@
         <div id="list">
 		  {include file="$admintemplatepath/successmessage.template"}
 		  {include file="$admintemplatepath/errormessage.template"}
-            <table class="info">
+            <table class="info" summary="{$locale->tr("editTrackbacks")}">
                 <thead>
                     <tr>
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postTrackbacksList');" /></th>
@@ -157,4 +157,4 @@
 
 	</form>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/globalarticlecategories.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/globalarticlecategories.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/globalarticlecategories.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -28,7 +28,7 @@
  <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
- <table class="info">
+ <table class="info" summary="{$locale->tr("editArticleCategories")}">
   <thead>
    <tr>
     <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('deleteCategories');" /></th>
@@ -69,4 +69,4 @@
  </form>
 
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/newpost.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/newpost.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/newpost.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -59,7 +59,7 @@
 {/literal}
 </script>
  
-  <form name="newPost" id="newPost" method="post" onSubmit="return selectOperation(this.target);" target="admin">   
+  <form name="newPost" id="newPost" action="admin.php" method="post" onSubmit="return selectOperation(this.target);" target="admin">   
    <fieldset class="inputField">
    <legend>{$locale->tr("newPost")}</legend>
    <div class="optionIcon">
@@ -199,7 +199,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_lifetype")}</a> 
+		<a href="javascript:bm=document.selection?document.selection.createRange().text:document.getSelection();void(ltbm=window.open('{$url->getAdminUrl()}?op=newPost&amp;sendTrackbacks=1&amp;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;'),'ltbm','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>
 	  
 	</div>
@@ -218,4 +218,4 @@
     startAutoSave();
   </script>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/newpostcategory.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/newpostcategory.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/newpostcategory.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -24,7 +24,6 @@
    
    <div class="field">
     <label for="categoryInMainPage">{$locale->tr("show_in_main_page")}</label>
-    <span class="required"></span>
     <div class="formHelp">
       <input class="checkbox" type="checkbox" value="1" name="categoryInMainPage" id="categoryInMainPage" {if $categoryInMainPage}checked="checked"{/if}/>	
 	  {$locale->tr("show_in_main_page_help")}

Modified: plog/branches/lifetype-1.2/templates/admin/permissions.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/permissions.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/permissions.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -6,7 +6,7 @@
  <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
- <table class="info">
+ <table class="info" summary="{$locale->tr("permissionsList")}">
   <thead>
    <tr>
     <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('deletePermissions');" /></th>
@@ -58,4 +58,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/branches/lifetype-1.2/templates/admin/plugincenter.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/plugincenter.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/plugincenter.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -10,7 +10,7 @@
 {/literal}
 </script>
         <div id="list">
-            <table class="info">
+            <table class="info" summary="{$locale->tr("pluginCenter")}">
                 <thead>
                     <tr>
                         <th style="width:25%;"><a href="#">{$locale->tr("identifier")}</a></th>
@@ -36,4 +36,4 @@
             </table>
         </div>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/pluginsettings.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/pluginsettings.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/pluginsettings.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -10,7 +10,7 @@
   {foreach from=$plugins item=plugin} 
 	{if $plugin->hasPluginConfigurationKeys()}
 	     <h4>{$plugin->getId()}</h4>
-	  <table style="width:100%">
+	  <table style="width:100%" summary="{$locale->tr("pluginSettings")}">
 		<thead>
 		 <tr>	 
 		  <th style="width:10%;align:left">{$locale->tr("parameter")}</th>
@@ -64,4 +64,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/branches/lifetype-1.2/templates/admin/poststats.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/poststats.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/poststats.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -13,7 +13,7 @@
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-            <table class="info">
+            <table class="info" summary="{$locale->tr("editPosts")}">
                 <thead>
                     <tr>
                         <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('postStats');" /></th>

Modified: plog/branches/lifetype-1.2/templates/admin/resourcealbums.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/resourcealbums.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/resourcealbums.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -3,7 +3,7 @@
 
 <p>
  <form name="deleteResourceAlbum" action="admin.php" method="post">
-  <table width="100%" border="1">
+  <table width="100%" border="1" summary="{$locale->tr("resourceAlbums")}">
    <tr>
     <th>{$locale->tr("name")}</th>
     <th>{$locale->tr("children")}</th>

Modified: plog/branches/lifetype-1.2/templates/admin/resources.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/resources.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/resources.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -55,7 +55,7 @@
 <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-<table class="info">
+<table class="info" summary="{$locale->tr("resources")}">
  <thead>
   <tr>
     <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('Resources');" /></th>

Modified: plog/branches/lifetype-1.2/templates/admin/resourcesgroup.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/resourcesgroup.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/resourcesgroup.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -1,4 +1,5 @@
 {include file="$admintemplatepath/header.template"}
 {include file="$admintemplatepath/navigation.template" showOpt=ResourcesGroup title=$locale->tr("resourceCenter")}
-{$menu->generateAt("ResourcesGroup",2)}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{$menu->generateAt("ResourcesGroup",2)}
+</div>
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/siteblogs.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/siteblogs.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/siteblogs.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -37,7 +37,7 @@
   <div id="list"> 
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-   <table class="info">
+   <table class="info" summary="{$locale->tr("editSiteBlogs")}">
     <thead>
      <tr>
       <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('editBlogs');" /></th>

Modified: plog/branches/lifetype-1.2/templates/admin/siteblogusers.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/siteblogusers.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/siteblogusers.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -7,7 +7,7 @@
     {if $editblog->getOwner() == $siteuser->getId()}<b>{$siteuser->getUsername()}</b>{/if}
    {/foreach}<br/>
  <br/>
-  <table with="100%">
+  <table with="100%" summary="{$locale->tr("blog_users")}">
    <tr width="100%">
     <td width="40%">
      {$locale->tr("available_users")}: <br/>
@@ -36,4 +36,4 @@
  </form>
 
 {include file="$blogtemplate/footernavigation.template"}
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{include file="$blogtemplate/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/sitelocales.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/sitelocales.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/sitelocales.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -13,7 +13,7 @@
   <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-   <table class="info">
+   <table class="info" summary="{$locale->tr("siteLocales")}">
     <thead>
      <tr>
       <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('editLocales');" /></th>
@@ -53,4 +53,4 @@
 </form>
 
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/sitetemplates.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/sitetemplates.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/sitetemplates.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -13,7 +13,7 @@
  <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-  <table class="info">
+  <table class="info" summary="{$locale->tr("siteTemplates")}">
    <thead>
     <tr>
       <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('siteTemplates');" /></th>
@@ -62,4 +62,4 @@
  </form>
  
 {include file="$blogtemplate/footernavigation.template"}
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{include file="$blogtemplate/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/siteusers.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/siteusers.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/siteusers.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -46,7 +46,7 @@
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-            <table class="info">
+            <table class="info" summary="{$locale->tr("editSiteUsers")}">
                 <thead>
                     <tr>
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('siteUsers');" /></th>
@@ -117,4 +117,4 @@
 	</form>
 
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}

Modified: plog/branches/lifetype-1.2/templates/admin/statistics.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/statistics.template	2007-02-21 22:22:27 UTC (rev 4808)
+++ plog/branches/lifetype-1.2/templates/admin/statistics.template	2007-02-21 22:58:26 UTC (rev 4809)
@@ -13,7 +13,7 @@
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
-            <table class="info">
+            <table class="info" summary="{$locale->tr("Stats")}">
                 <thead>
                     <tr>
                         <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('postStats');" /></th>
@@ -23,6 +23,7 @@
                         <th style="width:10%;">{$locale->tr("actions")}</th>
                     </tr>
                 </thead>
+                {if $referrers}
                 <tbody>
                    {foreach from=$referrers item=referrer}
                     <tr>
@@ -49,6 +50,7 @@
                     </tr>
                     {/foreach}
                 </tbody>
+                {/if}
             </table>
         </div>
         <div id="list_action_bar">



More information about the pLog-svn mailing list