[pLog-svn] r3290 - in plog/trunk/templates/admin: . chooser

reto at devel.lifetype.net reto at devel.lifetype.net
Thu Apr 27 20:17:24 GMT 2006


Author: reto
Date: 2006-04-27 20:17:23 +0000 (Thu, 27 Apr 2006)
New Revision: 3290

Modified:
   plog/trunk/templates/admin/chooser/siteblogschooser.template
   plog/trunk/templates/admin/editblog.template
   plog/trunk/templates/admin/globalsettings_summary.template
Log:
fixed the chooser as discussed plus minor typo

Modified: plog/trunk/templates/admin/chooser/siteblogschooser.template
===================================================================
--- plog/trunk/templates/admin/chooser/siteblogschooser.template	2006-04-27 19:49:39 UTC (rev 3289)
+++ plog/trunk/templates/admin/chooser/siteblogschooser.template	2006-04-27 20:17:23 UTC (rev 3290)
@@ -39,7 +39,7 @@
    <table class="info">
     <thead>
      <tr>
-      <th style="width:10px;"><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('editBlogs');" /></th>
+      <th style="width:25px;">ID</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>
@@ -49,7 +49,7 @@
     <tbody>
      {foreach from=$siteblogs item=siteblog}
       <tr>
-       <td><input class="checkbox" type="checkbox" name="blogIds[{counter}]" value="{$siteblog->getId()}"/></td>
+       <td>{$siteblog->getId()}</td>
        <td class="col_highlighted">
 	     {if $mode=="1"}
           <a href="#" onclick="setDocumentField(parent.opener.document,'blogName','{$siteblog->getBlog()|escape:javascript}');setDocumentField(parent.opener.document,'blogId','{$siteblog->getId()}');window.close()">

Modified: plog/trunk/templates/admin/editblog.template
===================================================================
--- plog/trunk/templates/admin/editblog.template	2006-04-27 19:49:39 UTC (rev 3289)
+++ plog/trunk/templates/admin/editblog.template	2006-04-27 20:17:23 UTC (rev 3290)
@@ -133,7 +133,7 @@
 	    <option value="{$bloguser->getId()}">{$bloguser->getUsername()}</option>
 	   {/foreach}
 	  </select><br/>
-	  <a href="#" onclick="window.open('?op=siteUsersChooser&amp;mode=2','BlogChooser','scrollbars=yes,resizable=yes,toolbar=no,height=450,width=600');">{$locale->tr("select")}</a>
+	  <a href="#" onclick="window.open('?op=siteUsersChooser&amp;mode=2','UserChooser','scrollbars=yes,resizable=yes,toolbar=no,height=450,width=600');">{$locale->tr("select")}</a>
 	   | 
 	  <a href="#" onclick="editBlogRemoveSelected()">
    	    {$locale->tr("remove_selected")}

Modified: plog/trunk/templates/admin/globalsettings_summary.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_summary.template	2006-04-27 19:49:39 UTC (rev 3289)
+++ plog/trunk/templates/admin/globalsettings_summary.template	2006-04-27 20:17:23 UTC (rev 3290)
@@ -59,4 +59,13 @@
     <input class="radio" type="radio" id="config[use_captcha_auth]" name="config[use_captcha_auth]" value="1" {if $use_captcha_auth == 1 } checked="checked" {/if} />{$locale->tr("yes")}
     <input class="radio" type="radio" id="config[use_captcha_auth]" name="config[use_captcha_auth]" value="0" {if $use_captcha_auth == 0 } checked="checked" {/if} />{$locale->tr("no")}  
   </div>
+   
+   <!-- use_http_accept_language_detection -->
+   <div class="field">
+    <label for="config[use_http_accept_language_detection]">use_http_accept_language_detection</label>
+	<div class="formHelp">{$locale->tr("help_use_http_accept_language_detection")}</div> 
+    <input class="radio" type="radio" id="config[use_http_accept_language_detection]" name="config[use_http_accept_language_detection]" value="1" {if $use_http_accept_language_detection == 1 } checked="checked" {/if} />{$locale->tr("yes")}
+    <input class="radio" type="radio" id="config[use_http_accept_language_detection]" name="config[use_http_accept_language_detection]" value="0" {if $use_http_accept_language_detection == 0 } checked="checked" {/if} />{$locale->tr("no")}
+  </div>
+  
  </div> 
\ No newline at end of file



More information about the pLog-svn mailing list