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

mark at devel.lifetype.net mark at devel.lifetype.net
Mon Jan 16 11:52:20 GMT 2006


Author: mark
Date: 2006-01-16 11:52:20 +0000 (Mon, 16 Jan 2006)
New Revision: 2797

Modified:
   plog/trunk/class/view/admin/adminsiteuserslistview.class.php
   plog/trunk/templates/admin/blogcategories.template
   plog/trunk/templates/admin/newblogcategory.template
   plog/trunk/templates/admin/siteblogs.template
   plog/trunk/templates/admin/siteusers.template
Log:
More code and templates clean up. Includes ..
1.siteusers 
2.SiteBlogs 
3.BlogCategories 


Modified: plog/trunk/class/view/admin/adminsiteuserslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsiteuserslistview.class.php	2006-01-16 10:50:13 UTC (rev 2796)
+++ plog/trunk/class/view/admin/adminsiteuserslistview.class.php	2006-01-16 11:52:20 UTC (rev 2797)
@@ -67,7 +67,7 @@
             $this->notifyEvent( EVENT_USERS_LOADED, Array( "users" => &$blogUsers ));
             
 			// calculate the links to the different pages
-			$pager = new Pager( "?op=editSiteUsers&searchTerms=".$this->_searchTerms."&&status=".$this->_status."&page=",
+			$pager = new Pager( "?op=editSiteUsers&searchTerms=".$this->_searchTerms."&status=".$this->_status."&page=",
 			                    $this->_page, 
 								$numUsers, 
 								DEFAULT_ITEMS_PER_PAGE );

Modified: plog/trunk/templates/admin/blogcategories.template
===================================================================
--- plog/trunk/templates/admin/blogcategories.template	2006-01-16 10:50:13 UTC (rev 2796)
+++ plog/trunk/templates/admin/blogcategories.template	2006-01-16 11:52:20 UTC (rev 2797)
@@ -16,23 +16,23 @@
    
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="editBlogCategories">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="editBlogCategories" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div> 			
             
- <form id="deleteBlogCategories" action="admin.php" method="post"
+ <form id="deleteBlogCategories" 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("blogs")}</th>
     <th style="width:95px;">{$locale->tr("actions")}</th>

Modified: plog/trunk/templates/admin/newblogcategory.template
===================================================================
--- plog/trunk/templates/admin/newblogcategory.template	2006-01-16 10:50:13 UTC (rev 2796)
+++ plog/trunk/templates/admin/newblogcategory.template	2006-01-16 11:52:20 UTC (rev 2797)
@@ -29,4 +29,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/siteblogs.template
===================================================================
--- plog/trunk/templates/admin/siteblogs.template	2006-01-16 10:50:13 UTC (rev 2796)
+++ plog/trunk/templates/admin/siteblogs.template	2006-01-16 11:52:20 UTC (rev 2797)
@@ -24,13 +24,13 @@
    
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="editSiteBlogs">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="editSiteBlogs" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div> 
  
  <form id="editBlogs" method="post" action="admin.php">
@@ -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('editBlogs');" /></th>
+      <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('editBlogs');" /></th>
       <th style="width:390px;">{$locale->tr("blog")}</th>
       <th style="width:115px;">{$locale->tr("owner")}</th>
       <th style="width:60px;">{$locale->tr("status")}</th>

Modified: plog/trunk/templates/admin/siteusers.template
===================================================================
--- plog/trunk/templates/admin/siteusers.template	2006-01-16 10:50:13 UTC (rev 2796)
+++ plog/trunk/templates/admin/siteusers.template	2006-01-16 11:52:20 UTC (rev 2797)
@@ -24,13 +24,13 @@
    
    <div class="list_nav_option">
     <br />
-    <input type="hidden" name="op" value="editSiteUsers">
-    <input type="submit" name="Show" value="{$locale->tr("show")}">
+    <input type="hidden" name="op" value="editSiteUsers" />
+    <input type="submit" name="Show" value="{$locale->tr("show")}" />
    </div>
   </fieldset> 
  </form> 
  </div>
- <br style="clear:both">
+ <br style="clear:both" />
  </div>             
  
         <form id="siteUsers" action="admin.php" method="post">
@@ -40,8 +40,8 @@
             <table class="info">
                 <thead>
                     <tr>
-                        <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('siteUsers');" /></th>
-                        <th style="width:25px;">UID</a></th>
+                        <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('siteUsers');" /></th>
+                        <th style="width:25px;">UID</th>
                         <th style="width:135px;">{$locale->tr("username")}</th>
                         <th style="width:305px;">{$locale->tr("full_name")}</th>                        
                         <th style="width:175px;">{$locale->tr("email")}</th>
@@ -53,7 +53,7 @@
                    {foreach from=$siteusers item=siteuser}
                     <tr class="{cycle values="odd,even"}">
                         <td>
-                            <input class="checkbox" type="checkbox" name="userIds[{$siteuser->getId()}]" id="checks_1" value="{$siteuser->getId()}" />
+                            <input class="checkbox" type="checkbox" name="userIds[{$siteuser->getId()}]" id="checks_{$siteuser->getId()}" value="{$siteuser->getId()}" />
                         </td>
                         <td class="col_highlighted">
                             {$siteuser->getId()}



More information about the pLog-svn mailing list