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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Dec 31 15:45:01 GMT 2004


Author: oscar
Date: 2004-12-31 15:45:01 +0000 (Fri, 31 Dec 2004)
New Revision: 642

Modified:
   plog/trunk/templates/admin/globalsettings_bayesian.template
   plog/trunk/templates/admin/globalsettings_email.template
   plog/trunk/templates/admin/globalsettings_general.template
   plog/trunk/templates/admin/globalsettings_helpers.template
   plog/trunk/templates/admin/globalsettings_interfaces.template
   plog/trunk/templates/admin/globalsettings_resources.template
   plog/trunk/templates/admin/globalsettings_search.template
   plog/trunk/templates/admin/globalsettings_security.template
   plog/trunk/templates/admin/globalsettings_summary.template
   plog/trunk/templates/admin/globalsettings_templates.template
   plog/trunk/templates/admin/globalsettings_uploads.template
   plog/trunk/templates/admin/globalsettings_url.template
Log:
given some formatting to this page, though it still needs a bit of work to make the sections 'toggleable'!


Modified: plog/trunk/templates/admin/globalsettings_bayesian.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_bayesian.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_bayesian.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,72 +1,52 @@
+<a onclick="javascript:toggleSection('bayesian');">
+  <h4 class="sectionTitle">&raquo; {$locale->tr("bayesian_settings")}</h4>
+</a>
+<div id="bayesian">  
    <!-- bayesian filter options -->
-   <table class="info" id="bayesian" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
    <!-- bayesian_filter_enabled -->
-   <tr>
-    <td>bayesian_filter_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[bayesian_filter_enabled]" value="1" {if $bayesian_filter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[bayesian_filter_enabled]" value="0" {if $bayesian_filter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_bayesian_filter_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[bayesian_filter_enabled]">bayesian_filter_enabled</label>
+	<div class="formHelp">{$locale->tr("help_bayesian_filter_enabled")}</div>
+    <input class="radio" type="radio" name="config[bayesian_filter_enabled]" id="config[bayesian_filter_enabled]" value="1" {if $bayesian_filter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[bayesian_filter_enabled]" id="config[bayesian_filter_enabled]" value="0" {if $bayesian_filter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- bayesian_filter_spam_probability_treshold -->
-   <tr>
-    <td>bayesian_filter_spam_probability_treshold</td>
-    <td>
-     <input style="width:100%" type="text" name="config[bayesian_filter_spam_probability_treshold]" value="{$bayesian_filter_spam_probability_treshold}"/>
-    </td>
-    <td>{$locale->tr("help_bayesian_filter_spam_probability_treshold")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[bayesian_filter_spam_probability_treshold]">bayesian_filter_spam_probability_treshold</label>
+	<div class="formHelp">>{$locale->tr("help_bayesian_filter_spam_probability_treshold")}</div>
+    <input style="width:100%" type="text" name="config[bayesian_filter_spam_probability_treshold]" id="config[bayesian_filter_spam_probability_treshold]" value="{$bayesian_filter_spam_probability_treshold}"/>
+   </div>
    <!-- bayesian_filter_nonspam_probability_treshold -->
-   <tr>
-    <td>bayesian_filter_nonspam_probability_treshold</td>
-    <td>
-     <input style="width:100%" type="text" name="config[bayesian_filter_nonspam_probability_treshold]" value="{$bayesian_filter_nonspam_probability_treshold}"/>
-    </td>
-    <td>{$locale->tr("help_bayesian_filter_nonspam_probability_treshold")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[bayesian_filter_nonspam_probability_treshold]">bayesian_filter_nonspam_probability_treshold</label>
+	<div class="fieldHelp">{$locale->tr("help_bayesian_filter_nonspam_probability_treshold")}</div>
+    <input style="width:100%" type="text" name="config[bayesian_filter_nonspam_probability_treshold]" id="config[bayesian_filter_nonspam_probability_treshold]" value="{$bayesian_filter_nonspam_probability_treshold}"/>
+   </div>
    <!-- bayesian_filter_min_length_token -->
-   <tr>
-    <td>bayesian_filter_min_length_token</td>
-    <td>
-     <input style="width:100%" type="text" name="config[bayesian_filter_min_length_token]" value="{$bayesian_filter_min_length_token}"/>
-    </td>
-    <td>{$locale->tr("help_bayesian_filter_min_length_token")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[bayesian_filter_min_length_token]">bayesian_filter_min_length_token</label>
+    <div class="fieldHelp">{$locale->tr("help_bayesian_filter_min_length_token")}</div>
+    <input style="width:100%" type="text" name="config[bayesian_filter_min_length_token]" id="config[bayesian_filter_nonspam_probability_treshold]" value="{$bayesian_filter_min_length_token}"/>
+   </div>
    <!-- bayesian_filter_max_length_token -->
-   <tr>
-    <td>bayesian_filter_max_length_token</td>
-    <td>
-     <input style="width:100%" type="text" name="config[bayesian_filter_max_length_token]" value="{$bayesian_filter_max_length_token}"/>
-    </td>
-    <td>{$locale->tr("help_bayesian_filter_max_length_token")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[bayesian_filter_max_length_token]">bayesian_filter_max_length_token</label>
+	<div class="formHelp">{$locale->tr("help_bayesian_filter_max_length_token")}</div>
+    <input style="width:100%" type="text" name="config[bayesian_filter_max_length_token]" id="config[bayesian_filter_nonspam_probability_treshold]" value="{$bayesian_filter_max_length_token}"/>
+   </div>
    <!-- bayesian_filter_number_significant_tokens -->
-   <tr>
-    <td>bayesian_filter_number_significant_tokens</td>
-    <td>
-     <input style="width:100%" type="text" name="config[bayesian_filter_number_significant_tokens]" value="{$bayesian_filter_number_significant_tokens}"/>
-    </td>
-    <td>{$locale->tr("help_bayesian_filter_number_significant_tokens")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[bayesian_filter_number_significant_tokens]">bayesian_filter_number_significant_tokens</label>
+	<div class="formHelp">{$locale->tr("help_bayesian_filter_number_significant_tokens")}</div>
+	<input style="width:100%" type="text" name="config[bayesian_filter_number_significant_tokens]" id="config[bayesian_filter_nonspam_probability_treshold]" value="{$bayesian_filter_number_significant_tokens}"/>
+   </div>
    <!-- bayesian_filter_spam_comments_action -->
-   <tr>
-    <td>bayesian_filter_spam_comments_action</td>
-    <td>
-     <select name="config[bayesian_filter_spam_comments_action]">
-       <option value="0" {if $bayesian_filter_spam_comments_action == 0} selected="selected" {/if}>{$locale->tr("keep_spam_comments")}</option>
-       <option value="1" {if $bayesian_filter_spam_comments_action == 1} selected="selected" {/if}>{$locale->tr("throw_away_spam_comments")}</option>
-     </select>
-    </td>
-    <td >{$locale->tr("help_bayesian_filter_spam_comments_action")}</td>
-   </tr>
-   </tbody>
-   </table>
\ No newline at end of file
+   <div class="field">
+    <label for="config[bayesian_filter_spam_comments_action]">bayesian_filter_spam_comments_action</label>
+	<div class="fieldHelp">{$locale->tr("help_bayesian_filter_spam_comments_action")}</div>
+    <select name="config[bayesian_filter_spam_comments_action]" id="config[bayesian_filter_nonspam_probability_treshold]">
+      <option value="0" {if $bayesian_filter_spam_comments_action == 0} selected="selected" {/if}>{$locale->tr("keep_spam_comments")}</option>
+      <option value="1" {if $bayesian_filter_spam_comments_action == 1} selected="selected" {/if}>{$locale->tr("throw_away_spam_comments")}</option>
+    </select>
+   </div>
+</div>
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_email.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_email.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_email.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,19 +1,19 @@
  <a onclick="javascript:toggleSection('email');">
-   <h4 class="sectionTitle">{$locale->tr("email_settings")}</h4>
+   <h4 class="sectionTitle">&raquo; {$locale->tr("email_settings")}</h4>
  </a>  
  <div id="email">
    <div class="field">
     <label for="config[check_email_address_validity]">check_email_address_validity</label>
 	<div class="formHelp">{$locale->tr("help_check_email_address_validity")}</div>
-    <input class="radio" type="radio" name="config[check_email_address_validity]" value="1" {if $check_email_address_validity == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[check_email_address_validity]" value="0" {if $check_email_address_validity == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+    <input class="radio" type="radio" id="config[check_email_address_validity]" name="config[check_email_address_validity]" value="1" {if $check_email_address_validity == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[check_email_address_validity]" name="config[check_email_address_validity]" value="0" {if $check_email_address_validity == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </div>
    <!-- email_service_enabled -->
    <div class="field">
     <label for="config[email_service_enabled]">email_service_enabled</label>
 	<div class="formHelp">{$locale->tr("help_email_service_enabled")}</div>
-    <input class="radio" type="radio" name="config[email_service_enabled]" value="1" {if $email_service_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[email_service_enabled]" value="0" {if $email_service_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+    <input class="radio" type="radio" id="config[email_service_enabled]" name="config[email_service_enabled]" value="1" {if $email_service_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[email_service_enabled]" name="config[email_service_enabled]" value="0" {if $email_service_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </div>
    <!-- post_notification_source_address -->
    <div class="field">
@@ -25,7 +25,7 @@
    <div class="field">
     <label for="config[email_service_type]">email_service_type</label>
     <div class="formHelp">{$locale->tr("help_email_service_type")}</div>
-     <select name="config[email_service_type]">
+	<select name="config[email_service_type]" id="config[email_service_type]">
       <option value="php" {if $email_service_type == "php"} selected="selected" {/if}>PHP mail()</option>
       <option value="smtp" {if $email_service_type == "smtp"} selected="selected" {/if}>SMTP</option>
       <option value="qmail" {if $email_service_type == "qmail"} selected="selected" {/if}>Qmail</option>
@@ -36,31 +36,31 @@
    <div class="field">
     <label for="config[smtp_host]">smtp_host</label>
     <div class="formHelp">{$locale->tr("help_smtp_host")}</div>
-    <input style="width:100%" type="text" name="config[smtp_host]" value="{$smtp_host}"/>
+    <input style="width:100%" type="text" name="config[smtp_host]" id="config[smtp_host]" value="{$smtp_host}"/>
    </div>
    <!-- smtp_port -->
    <div class="field">
     <label for="config[smtp_post]">smtp_port</label>
     <div class="formHelp">{$locale->tr("help_smtp_port")}</div>
-    <input style="width:100%" type="text" name="config[smtp_port]" value="{$smtp_port}"/>
+    <input style="width:100%" type="text" name="config[smtp_port]" id="config[smtp_port]" value="{$smtp_port}"/>
    </div>	
    <!-- smtp_use_authentication -->
    <div class="field">
     <label for="config[smtp_use_authentication]">smtp_use_authentication</label>
 	<div class="formHelp">{$locale->tr("help_smtp_use_authentication")}</div>
-    <input class="radio" type="radio" name="config[smtp_use_authentication]" value="1" {if $smtp_use_authentication == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[smtp_use_authentication]" value="0" {if $smtp_use_authentication == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+    <input class="radio" type="radio" id="config[smtp_use_authentication]" name="config[smtp_use_authentication]" value="1" {if $smtp_use_authentication == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[smtp_use_authentication]" name="config[smtp_use_authentication]" value="0" {if $smtp_use_authentication == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </div>
    <!-- smtp_username -->
    <div class="field">
     <label for="config[smtp_username]">smtp_username</label>
     <div class="formHelp">{$locale->tr("help_smtp_username")}</div>
-    <input style="width:100%" type="text" name="config[smtp_username]" value="{$smtp_username}"/>
+    <input style="width:100%" type="text" id="config[smtp_username]" name="config[smtp_username]" value="{$smtp_username}"/>
    </div>	
    <!-- smtp_password -->
    <div class="field">
     <label for="config[smtp_password]">smtp_password</label>
     <div class="formHelp">{$locale->tr("help_smtp_password")}</label>
-    <input style="width:100%" type="text" name="config[smtp_password]" value="{$smtp_password}"/>
+    <input style="width:100%" type="text" id="config[smtp_password]" name="config[smtp_password]" value="{$smtp_password}"/>
    </div>	
  </div>
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_general.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_general.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_general.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,273 +1,195 @@
-   <!-- general settings -->
-   <table id="general" class="info" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
+ <a onclick="javascript:toggleSection('general');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("general_settings")}</h4>
+ </a>
+<div class="general">
    <!-- enable or disable comments globally -->
-   <tr>
-    <td>comments_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[comments_enabled]" value="1" {if $comments_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[comments_enabled]" value="0" {if $comments_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_comments_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[comments_enabled]">comments_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_comments_enabled")}</div>	
+    <input class="radio" type="radio" name="config[comments_enabled]" value="1" {if $comments_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[comments_enabled]" value="0" {if $comments_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- make comments look nicer by adding some paragraphs tags -->
-   <tr>
-    <td>beautify_comments_text</td>
-    <td>
-     <input class="radio" type="radio" name="config[beautify_comments_text]" value="1" {if $beautify_comments_text == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[beautify_comments_text]" value="0" {if $beautify_comments_text == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_beautify_comments_text")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[comments_enabled"]>beautify_comments_text</label>
+    <div class="fieldHelp">{$locale->tr("help_beautify_comments_text")}</div>	
+    <input class="radio" type="radio" name="config[beautify_comments_text]" value="1" {if $beautify_comments_text == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[beautify_comments_text]" value="0" {if $beautify_comments_text == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- temp_folder -->
-   <tr>
-    <td >temp_folder</td>
-    <td >
-     <input style="width:100%" type="text" name="config[temp_folder]" value="{$temp_folder}"/>
-    </td>
-    <td >{$locale->tr("help_temp_folder")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[temp_folder]">temp_folder</label>
+    <div class="fieldHelp">{$locale->tr("help_temp_folder")}</div>	 
+    <input style="width:100%" type="text" name="config[temp_folder]" value="{$temp_folder}"/>
+   </div>
    <!-- base_url -->
-   <tr>
-    <td >base_url</td>
-    <td >
+   <div class="field">
+    <label for="config[base_url"]>base_url</label>
+     <div class="fieldHelp">{$locale->tr("help_base_url")}</div>	
      <input style="width:100%" type="text" name="config[base_url]" value="{$base_url}"/>
-    </td>
-    <td >{$locale->tr("help_base_url")}</td>
-   </tr>
+   </div>
    <!-- subdomains_enabled -->
-   <tr>
-    <td >subdomains_enabled</td>
-    <td >
+   <div class="field">
+    <label for="config[subdomains_enabled"]>subdomains_enabled</label>
+     <div class="fieldHelp">{$locale->tr("help_subdomains_enabled")}</div>	
      <input class="radio" type="radio" name="config[subdomains_enabled]" value="1" {if $subdomains_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
      <input class="radio" type="radio" name="config[subdomains_enabled]" value="0" {if $subdomains_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_subdomains_enabled")}</td>
-   </tr>
+   </div>
    <!-- subdomains_base_url -->
-   <tr>
-    <td >subdomains_base_url</td>
-    <td >
-     <input style="width:100%" type="text" name="config[subdomains_base_url]" value="{$subdomains_base_url}"/>
-    </td>
-    <td >{$locale->tr("help_subdomains_base_url")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[subdomains_base_url]">subdomains_base_url</label>
+    <div class="fieldHelp">{$locale->tr("help_subdomains_base_url")}</div>
+    <input style="width:100%" type="text" name="config[subdomains_base_url]" value="{$subdomains_base_url}"/>
+   </div>
    <!-- include_blog_id_in_url -->
-   <tr>
-    <td >include_blog_id_in_url</td>
-    <td >
-     <input class="radio" type="radio" name="config[include_blog_id_in_url]" value="1" {if $include_blog_id_in_url == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[include_blog_id_in_url]" value="0" {if $include_blog_id_in_url == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_include_blog_id_in_url")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[include_blog_id_in_url]">include_blog_id_in_url</label>
+    <div class="fieldHelp">{$locale->tr("help_include_blog_id_in_url")}</div>	
+    <input class="radio" type="radio" name="config[include_blog_id_in_url]" value="1" {if $include_blog_id_in_url == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[include_blog_id_in_url]" value="0" {if $include_blog_id_in_url == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>   
    <!-- script_name -->
-   <tr>
-    <td >script_name</td>
-    <td >
-     <input style="width:100%" type="text" name="config[script_name]" value="{$script_name}"/>
-    </td>
-    <td >{$locale->tr("help_script_name")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[script_name]">script_name</label>
+    <div class="fieldHelp">{$locale->tr("help_script_name")}</div>
+    <input style="width:100%" type="text" name="config[script_name]" value="{$script_name}"/>
+   </div>   
    <!-- show_posts_max -->
-   <tr>
-    <td >show_posts_max</td>
-    <td >
-     <input style="width:100%" type="text" name="config[show_posts_max]" value="{$show_posts_max}"/>
-    </td>
-    <td >{$locale->tr("help_show_posts_max")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[show_posts_max]">show_posts_max</label>
+    <div class="fieldHelp">{$locale->tr("help_show_posts_max")}</div>
+    <input style="width:100%" type="text" name="config[show_posts_max]" value="{$show_posts_max}"/>
+   </div>
    <!-- recent_posts_max -->
-   <tr>
-    <td >recent_posts_max</td>
-    <td >
-     <input style="width:100%" type="text" name="config[recent_posts_max]" value="{$recent_posts_max}"/>
-    </td>
-    <td >{$locale->tr("help_recent_posts_max")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[recent_posts_max]">recent_posts_max</label>
+    <div class="fieldHelp">{$locale->tr("help_recent_posts_max")}</div>
+    <input style="width:100%" type="text" name="config[recent_posts_max]" value="{$recent_posts_max}"/>
+   </div>
    <!-- save_drafts_via_xmlhttprequest_enabled -->
-   <tr>
-    <td >save_drafts_via_xmlhttprequest_enabled</td>
-    <td >
-     <input class="radio" type="radio" name="config[save_drafts_via_xmlhttprequest_enabled]" value="1" {if $save_drafts_via_xmlhttprequest_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[save_drafts_via_xmlhttprequest_enabled]" value="0" {if $save_drafts_via_xmlhttprequest_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   <div class="field">
+    <label for="config[save_drafts_via_xmlhttprequest_enabled]">save_drafts_via_xmlhttprequest_enabled</div>
+    <div class="fieldHelp">{$locale->tr("help_save_drafts_via_xmlhttprequest_enabled")}</div>
+    <input class="radio" type="radio" name="config[save_drafts_via_xmlhttprequest_enabled]" value="1" {if $save_drafts_via_xmlhttprequest_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[save_drafts_via_xmlhttprequest_enabled]" value="0" {if $save_drafts_via_xmlhttprequest_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
     </td>
-    <td >{$locale->tr("help_save_drafts_via_xmlhttprequest_enabled")}</td>
-   </tr>      
-   <!-- autosave_new_drafts_time_millis -->
-   <tr>
-    <td >autosave_new_drafts_time_millis</td>
-    <td >
-     <input style="width:100%" type="text" name="config[autosave_new_drafts_time_millis]" value="{$autosave_new_drafts_time_millis}"/>
-    </td>
-    <td >{$locale->tr("help_autosave_new_drafts_time_millis")}</td>
-   </tr>
+   </div>      
    <!-- locale_folder -->
-   <tr>
-    <td>locale_folder</td>
-    <td>
-     <input style="width:100%" type="text" name="config[locale_folder]" value="{$locale_folder}"/>
-    </td>
-    <td >{$locale->tr("help_locale_folder")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[locale_folder]">locale_folder</label>
+    <div class="fieldHelp">{$locale->tr("help_locale_folder")}</div>
+    <input style="width:100%" type="text" name="config[locale_folder]" value="{$locale_folder}"/>
+   </div>
    <!-- defaut locale -->
-   <tr>
-    <td >default_locale</td>
-    <td >
-     <select name="config[default_locale]">
-      {* we need to call it 'locale_item' because the $locale object already exists... *}
-      {foreach from=$locales item=locale_item}
-       <option value="{$locale_item}" {if $locale_item == $default_locale} selected="selected" {/if}>{$locale_item}</option>
-      {/foreach}
-     </select>
-    </td>
-    <td >{$locale->tr("help_default_template")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[default_locale]">default_locale</label>
+    <div class="fieldHelp">{$locale->tr("help_default_template")}</div>	
+    <select name="config[default_locale]">
+     {foreach from=$locales item=locale_item}
+      <option value="{$locale_item}" {if $locale_item == $default_locale} selected="selected" {/if}>{$locale_item}</option>
+     {/foreach}
+    </select>
+   </div>
    <!-- default_blog_id -->
-   <tr>
-    <td >default_blog_id</td>
-    <td >
-     <select name="config[default_blog_id]">
-	  <option value="0" {if $default_blog_id == 0}selected="selected"{/if}>Summary</option>
-      {foreach from=$siteblogs item=siteblog}
-       <option value="{$siteblog->getId()}" {if $default_blog_id == $siteblog->getId()} selected="selected" {/if}>{$siteblog->getBlog()}</option>
-      {/foreach}
-     </select>
-    </td>
-    <td >{$locale->tr("help_default_locale")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[default_blog_id]">default_blog_id</label>
+    <div class="fieldHelp">{$locale->tr("help_default_locale")}</div>
+    <select name="config[default_blog_id]">
+	 <option value="0" {if $default_blog_id == 0}selected="selected"{/if}>Summary</option>
+     {foreach from=$siteblogs item=siteblog}
+      <option value="{$siteblog->getId()}" {if $default_blog_id == $siteblog->getId()} selected="selected" {/if}>{$siteblog->getBlog()}</option>
+     {/foreach}
+    </select>
+   </div>
    <!-- html_allowed_tags_in_comments -->
-   <tr>
-    <td>html_allowed_tags_in_comments</td>
-    <td>
-     <input style="width:100%" type="text" name="config[html_allowed_tags_in_comments]" value="{$html_allowed_tags_in_comments}"/>
-    </td>
-    <td>{$locale->tr("help_html_allowed_tags_in_comments")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[html_allowed_tags_in_comments]">html_allowed_tags_in_comments</label>
+    <div class="fieldHelp">{$locale->tr("help_html_allowed_tags_in_comments")}</div>	
+    <input style="width:100%" type="text" name="config[html_allowed_tags_in_comments]" value="{$html_allowed_tags_in_comments}"/>
+   </div>
    <!-- referer_tracker_enabled -->
-   <tr>
-    <td >referer_tracker_enabled</td>
-    <td >
-     <input class="radio" type="radio" name="config[referer_tracker_enabled]" value="1" {if $referer_tracker_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[referer_tracker_enabled]" value="0" {if $referer_tracker_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_referer_tracker_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[referer_tracker_enabled]">referer_tracker_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_referer_tracker_enabled")}</div>	
+    <input class="radio" type="radio" name="config[referer_tracker_enabled]" value="1" {if $referer_tracker_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[referer_tracker_enabled]" value="0" {if $referer_tracker_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- show_more_enabled -->
-   <tr>
-    <td>show_more_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[show_more_enabled]" value="1" {if $show_more_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[show_more_enabled]" value="0" {if $show_more_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_show_more_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[show_more_enabled]">show_more_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_show_more_enabled")}</div>	
+    <input class="radio" type="radio" name="config[show_more_enabled]" value="1" {if $show_more_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[show_more_enabled]" value="0" {if $show_more_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- update_article_reads -->
-   <tr>
-    <td>update_article_reads</td>
-    <td>
-     <input class="radio" type="radio" name="config[update_article_reads]" value="1" {if $update_article_reads == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[update_article_reads]" value="0" {if $update_article_reads == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_update_article_reads")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[update_article_reads]">update_article_reads</label>
+    <div class="fieldHelp">{$locale->tr("help_update_article_reads")}</div>
+    <input class="radio" type="radio" name="config[update_article_reads]" value="1" {if $update_article_reads == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[update_article_reads]" value="0" {if $update_article_reads == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- xmlrpc_ping_enabled -->
-   <tr>
-    <td>xmlrpc_ping_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[xmlrpc_ping_enabled]" value="1" {if $xmlrpc_ping_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[xmlrpc_ping_enabled]" value="0" {if $xmlrpc_ping_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_xmlrpc_ping_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[xmlrpc_ping_enabled]">xmlrpc_ping_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_xmlrpc_ping_enabled")}</div>	
+    <input class="radio" type="radio" name="config[xmlrpc_ping_enabled]" value="1" {if $xmlrpc_ping_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[xmlrpc_ping_enabled]" value="0" {if $xmlrpc_ping_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- send_xmlrpc_pings_enabled_by_default -->
-   <tr>
-    <td>send_xmlrpc_pings_enabled_by_default</td>
-    <td>
-     <input class="radio" type="radio" name="config[send_xmlrpc_pings_enabled_by_default]" value="1" {if $send_xmlrpc_pings_enabled_by_default == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[send_xmlrpc_pings_enabled_by_default]" value="0" {if $send_xmlrpc_pings_enabled_by_default == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_send_xmlrpc_pings_enabled_by_default")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[send_xmlrpc_pings_enabled_by_default]">send_xmlrpc_pings_enabled_by_default</label>
+    <div class="fieldHelp">{$locale->tr("help_send_xmlrpc_pings_enabled_by_default")}</div>
+    <input class="radio" type="radio" name="config[send_xmlrpc_pings_enabled_by_default]" value="1" {if $send_xmlrpc_pings_enabled_by_default == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[send_xmlrpc_pings_enabled_by_default]" value="0" {if $send_xmlrpc_pings_enabled_by_default == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>   
    <!-- xmlrpc_ping_hosts -->
-   <tr>
-    <td >xmlrpc_ping_hosts</td>
-    <td >
+   <div class="field">
+    <label for="config[xmlrpc_ping_hosts]">xmlrpc_ping_hosts</label>
+    <div class="fieldHelp">{$locale->tr("help_xmlrpc_ping_hosts")}</div>
      {* we have to do it like this... otherwise it doesn't look nice on the browser textbox *}
      <textarea name="config[xmlrpc_ping_hosts]" cols="50" rows="5">{foreach from=$xmlrpc_ping_hosts item=xmlrpc_host}
 {$xmlrpc_host}
 {/foreach}</textarea>
-    </td>
-    <td >{$locale->tr("help_xmlrpc_ping_hosts")}</td>
-   </tr>
+   </div>
    <!-- trackback_server_enabled -->
-   <tr>
-    <td>trackback_server_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[trackback_server_enabled]" value="1" {if $trackback_server_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[trackback_server_enabled]" value="0" {if $trackback_server_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_trackback_server_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[trackback_server_enabled]">trackback_server_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_trackback_server_enabled")}</div>	
+    <input class="radio" type="radio" name="config[trackback_server_enabled]" value="1" {if $trackback_server_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[trackback_server_enabled]" value="0" {if $trackback_server_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- htmlarea_enabled -->
-   <tr>
-    <td>htmlarea_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[htmlarea_enabled]" value="1" {if $htmlarea_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[htmlarea_enabled]" value="0" {if $htmlarea_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_htmlarea_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[htmlarea_enabled]">htmlarea_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_htmlarea_enabled")}</div>
+    <input class="radio" type="radio" name="config[htmlarea_enabled]" value="1" {if $htmlarea_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[htmlarea_enabled]" value="0" {if $htmlarea_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- htmlarea_enabled -->
-   <tr>
-    <td>plugin_manager_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[plugin_manager_enabled]" value="1" {if $plugin_manager_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[plugin_manager_enabled]" value="0" {if $plugin_manager_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_plugin_manager_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[plugin_manager_enabled]">plugin_manager_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_plugin_manager_enabled")}</div>	
+    <input class="radio" type="radio" name="config[plugin_manager_enabled]" value="1" {if $plugin_manager_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[plugin_manager_enabled]" value="0" {if $plugin_manager_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- minimum_password_length -->
-   <tr>
-    <td>minimum_password_length</td>
-    <td>
-     <input style="width:100%" type="text" name="config[minimum_password_length]" value="{$minimum_password_length}"/>
-    </td>
-    <td>{$locale->tr("help_minimum_password_length")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[minimum_password_length]">minimum_password_length</label>
+    <div class="fieldHelp">{$locale->tr("help_minimum_password_length")}</div>	
+    <input style="width:100%" type="text" name="config[minimum_password_length]" value="{$minimum_password_length}"/>
+   </div>   
    <!-- xhtml_converter_enabled -->
-   <tr>
-    <td>xhtml_converter_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[xhtml_converter_enabled]" value="1" {if $xhtml_converter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[xhtml_converter_enabled]" value="0" {if $xhtml_converter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td></td>
-   </tr>
+   <div class="field">
+    <label for="config[xhtml_converter_enabled]">xhtml_converter_enabled</label>
+	<div class="fieldHelp">{$locale->tr("help_xhtml_converter_enabled")}</div>
+    <input class="radio" type="radio" name="config[xhtml_converter_enabled]" value="1" {if $xhtml_converter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[xhtml_converter_enabled]" value="0" {if $xhtml_converter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- xhtml_converter_aggresive_mode_enabled -->
-   <tr>
-    <td>xhtml_converter_aggresive_mode_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[xhtml_converter_aggresive_mode_enabled]" value="1" {if $xhtml_converter_aggresive_mode_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[xhtml_converter_aggresive_mode_enabled]" value="0" {if $xhtml_converter_aggresive_mode_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_xhtml_converter_aggressive_mode_enabled")}</td>
-   </tr> 
-   <!-- time_difference_calculation -->
-   <tr>
-    <td>time_difference_calculation</td>
-    <td>
-     <input class="radio" type="radio" name="config[time_difference_calculation]" value="0" {if $time_difference_calculation == 0 } checked="checked" {/if}>{$locale->tr("dynamic")}</input>
-     <input class="radio" type="radio" name="config[time_difference_calculation]" value="1" {if $time_difference_calculation == 1 } checked="checked" {/if}>{$locale->tr("static")}</input>
-    </td>
-    <td>{$locale->tr("help_time_difference_calculation")}</td>
-   </tr>    
-   </tbody>
-   </table>
\ No newline at end of file
+   <div class="field">
+    <label for="config[xhtml_converter_aggresive_mode_enabled]">xhtml_converter_aggresive_mode_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_xhtml_converter_aggressive_mode_enabled")}</div>
+    <input class="radio" type="radio" name="config[xhtml_converter_aggresive_mode_enabled]" value="1" {if $xhtml_converter_aggresive_mode_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[xhtml_converter_aggresive_mode_enabled]" value="0" {if $xhtml_converter_aggresive_mode_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
+</div>   
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_helpers.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_helpers.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_helpers.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,36 +1,36 @@
  <a onclick="javascript:toggleSection('helpers');">
    <h4 class="sectionTitle">{$locale->tr("helper_settings")}</h4>
  </a>
- <div id="helpers">
+ <div ="helpers">
    <!-- path_to_tar -->
    <div class="field">
     <label for="config[path_to_tar]">path_to_tar</label>
     <div class="formHelp">{$locale->tr("help_path_to_tar")}</div>
-    <input style="width:100%" type="text" name="config[path_to_tar]" value="{$path_to_tar}"/>
+    <input style="wth:100%" type="text" name="config[path_to_tar]" name="config[path_to_tar]" value="{$path_to_tar}"/>
    </div>
    <!-- path_to_gzip -->
    <div class="field">
     <label for="config[path_to_gzip]">path_to_gzip<label>
     <div class="formHelp">{$locale->tr("help_path_to_gzip")}</div>
-    <input style="width:100%" type="text" name="config[path_to_gzip]" value="{$path_to_gzip}"/>
+    <input style="wth:100%" type="text" name="config[path_to_gzip]" name="config[path_to_gzip]" value="{$path_to_gzip}"/>
    </div>
    <!-- path_to_bz2 -->
    <div class="field">
     <label for="config[path_to_bz2]">path_to_bz2</label>
 	<div class="formHelp">{$locale->tr("help_path_to_bz2")}</div>
-    <input style="width:100%" type="text" name="config[path_to_bz2]" value="{$path_to_bz2}"/>
+    <input style="wth:100%" type="text" name="config[path_to_bz2]" name="config[path_to_bz2]" value="{$path_to_bz2}"/>
    </div>
    <!-- pat_to_unzip -->
    <div class="field">
     <label for="config[path_to_unzip]">path_to_unzip</label>
     <div class="formHelp">{$locale->tr("help_path_to_unzip")}</div>
-    <input style="width:100%" type="text" name="config[path_to_unzip]" value="{$path_to_unzip}"/>
+    <input style="wth:100%" type="text" name="config[path_to_unzip]" name="config[path_to_unzip]" value="{$path_to_unzip}"/>
    </div>
    <!-- unzip_use_native_version -->
    <div class="field">
     <label for="config[unzip_use_native_version]">unzip_use_native_version</label>
     <div class="formHelp">{$locale->tr("help_unzip_use_native_version")}</div>
-    <input class="radio" type="radio" name="config[unzip_use_native_version]" value="1" {if $unzip_use_native_version == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[unzip_use_native_version]" value="0" {if $unzip_use_native_version == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+    <input class="radio" type="radio" name="config[unzip_use_native_version]" name="config[unzip_use_native_version]" value="1" {if $unzip_use_native_version == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[unzip_use_native_version]" name="config[unzip_use_native_version]" value="0" {if $unzip_use_native_version == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </div>
  </div>  
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_interfaces.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_interfaces.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_interfaces.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,35 +1,25 @@
-   <!-- external interfaces -->
-   <table class="info" id="interfaces" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_description")}</th>
-    <th style="widht:550px;">{$locale->tr("setting_value")}</th>
-    <th style="width:25px;">{$locale->tr("setting_name")}</th>
-   </tr>
-   </thead>
-   <tbody>
+ <a onclick="javascript:toggleSection('interfaces');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("interfaces_settings")}</h4>
+ </a>
+<div id="interfaces">
    <!-- xmlrpc_ping_enabled -->
-   <tr>
-    <td>{$locale->tr("help_xmlrpc_api_enabled")}</td>
-    <td>
-     <input class="radio" type="radio" name="config[xmlrpc_api_enabled]" value="1" {if $xmlrpc_api_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[xmlrpc_api_enabled]" value="0" {if $xmlrpc_api_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td><a class="tooltip" title="xmlrpc_api_enabled" name=" "> ? </a></td>
-   </tr>
+   <div class="field">
+    <label for="config[xmlrpc_api_enabled]">xmlrpc_api_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_xmlrpc_api_enabled")}</td>
+    <input class="radio" type="radio" name="config[xmlrpc_api_enabled]" value="1" {if $xmlrpc_api_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[xmlrpc_api_enabled]" value="0" {if $xmlrpc_api_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- enable or disable the rdf feed -->
-   <tr>
-    <td>{$locale->tr("help_rdf_enabled")}</td>
-    <td>
-     <input class="radio" type="radio" name="config[rdf_enabled]" value="1" {if $rdf_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[rdf_enabled]" value="0" {if $rdf_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td><a class="tooltip" title="rdf_enabled" name=" "> ? </a></td>
-   </tr>
+   <div class="field">
+    <label for="config[rdf_enabled]">rdf_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_rdf_enabled")}</td>
+    <input class="radio" type="radio" name="config[rdf_enabled]" value="1" {if $rdf_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[rdf_enabled]" value="0" {if $rdf_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- default_rss_profile -->
-   <tr>
-    <td>{$locale->tr("help_default_rss_profile")}</td>
-    <td >
+   <div class="field">
+    <label for="config[default_rss_profile]">default_rss_profile</label>
+    <div class="fieldHelp">{$locale->tr("help_default_rss_profile")}</td>
      <select name="config[default_rss_profile]">
       <option value="rss090" {if $default_rss_profile == "rss090"} selected="selected" {/if}>RSS 0.90</option>
       <option value="rss10" {if $default_rss_profile == "rss10"} selected="selected" {/if}>RSS 1.0</option>
@@ -37,8 +27,5 @@
 	  <option value="atom" {if $default_rss_profile == "atom"} selected="selected" {/if}>Atom 0.3</option>
       <option value="xml" {if $default_rss_profile == "xml"} selected="selected" {/if}>XML</option>
      </select>
-    </td>
-    <td><a class="tooltip" title="default_rss_profile" name=" "> ? </a></td>
-   </tr>
-  </tbody>
-  </table>
\ No newline at end of file
+   </div>
+</div>
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_resources.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_resources.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_resources.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,151 +1,113 @@
-   <!-- resources settings -->
-   <table class="info" id="resources" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
+ <a onclick="javascript:toggleSection('resources');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("resources_settings")}</h4>
+ </a>
+<div id="resources">
    <!-- resources_enabled -->
-   <tr>
-    <td>resources_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[resources_enabled]" value="1" {if $resources_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[resources_enabled]" value="0" {if $resources_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_resources_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[resources_enabled]">resources_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_resources_enabled")}</div>	
+    <input class="radio" type="radio" name="config[resources_enabled]" value="1" {if $resources_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[resources_enabled]" value="0" {if $resources_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- where resources are going to be saved -->
-   <tr>
-    <td>resources_folder</td>
-    <td>
-     <input style="width:100%" type="text" name="config[resources_folder]" value="{$resources_folder}"/>
-    </td>
-    <td>{$locale->tr("help_resources_folder")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[resources_folder]">resources_folder</label>
+    <div class="fieldHelp">{$locale->tr("help_resources_folder")}</div>	
+    <input style="width:100%" type="text" name="config[resources_folder]" value="{$resources_folder}"/>
+   </div>   
    <!-- thumbnail_method -->
-   <tr>
-    <td >thumbnail_method</td>
-    <td >
+   <div class="field">
+    <label for="config[thumbnail_method]">thumbnail_method</label>
+    <div class="fieldHelp">{$locale->tr("help_thumbnail_method")}</div>	
      <select name="config[thumbnail_method]">
       <option value="imagemagick" {if $thumbnail_method == "imagemagick"} selected="selected" {/if}>ImageMagick</option>
       <option value="gd" {if $thumbnail_method == "gd"} selected="selected" {/if}>PHP's GD library</option>
       <option value="null" {if $thumbnail_method == "null"} selected="selected" {/if}>None</option>
      </select>
-    </td>
-    <td >{$locale->tr("help_thumbnail_method")}</td>
-   </tr>
+   </div>
    <!-- path_to_convert -->
-   <tr>
-    <td>path_to_convert</td>
-    <td>
-     <input style="width:100%" type="text" name="config[path_to_convert]" value="{$path_to_convert}"/>
-    </td>
-    <td>{$locale->tr("help_path_to_convert")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[path_to_convert]">path_to_convert</label>
+    <div class="fieldHelp">{$locale->tr("help_path_to_convert")}</div>	
+    <input style="width:100%" type="text" name="config[path_to_convert]" value="{$path_to_convert}"/>
+   </div>
    <!-- thumbnail_format -->
-   <tr>
-    <td >thumbnail_format</td>
-    <td >
-     <select name="config[thumbnail_format]">
+   <div class="field">
+    <label for="config[thumbnail_format]">thumbnail_format</label>
+    <div class="fieldHelp">{$locale->tr("help_thumbnail_format")}</div>	
+    <select name="config[thumbnail_format]">
       <option value="jpg" {if $thumbnail_format == "jpg"} selected="selected" {/if}>JPG</option>
       <option value="png" {if $thumbnail_format == "png"} selected="selected" {/if}>PNG</option>
       <option value="gif" {if $thumbnail_format == "gif"} selected="selected" {/if}>GIF</option>
       <option value="same" {if $thumbnail_format == "same"} selected="selected" {/if}>{$locale->tr("same_as_image")}</option>	  	  
      </select>
-    </td>
-    <td >{$locale->tr("help_thumbnail_format")}</td>
-   </tr>
-   
+   </div>
    <!-- thumbnail_height -->
-   <tr>
-    <td>thumbnail_height</td>
-    <td>
-     <input style="width:100%" type="text" name="config[thumbnail_height]" value="{$thumbnail_height}"/>
-    </td>
-    <td>{$locale->tr("help_thumbnail_height")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[thumbnail_height]">thumbnail_height</label>
+    <div class="fieldHelp">{$locale->tr("help_thumbnail_height")}</div>
+    <input style="width:100%" type="text" name="config[thumbnail_height]" value="{$thumbnail_height}"/>
+   </div>
    <!-- thumbnail_width -->
-   <tr>
-    <td>thumbnail_width</td>
-    <td>
-     <input style="width:100%" type="text" name="config[thumbnail_width]" value="{$thumbnail_width}"/>
-    </td>
-    <td>{$locale->tr("help_thumbnail_width")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[thumbnail_width]">thumbnail_width</label>
+    <div class="fieldHelp">{$locale->tr("help_thumbnail_width")}</div>	
+    <input style="width:100%" type="text" name="config[thumbnail_width]" value="{$thumbnail_width}"/>
+   </div>
    <!-- medium_size_thumbnail_height -->
-   <tr>
-    <td>medium_size_thumbnail_height</td>
-    <td>
-     <input style="width:100%" type="text" name="config[medium_size_thumbnail_height]" value="{$medium_size_thumbnail_height}"/>
-    </td>
-    <td>{$locale->tr("help_medium_size_thumbnail_height")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[medium_size_thumbnail_height]">medium_size_thumbnail_height</label>
+    <div class="fieldHelp">{$locale->tr("help_medium_size_thumbnail_height")}</div>	
+    <input style="width:100%" type="text" name="config[medium_size_thumbnail_height]" value="{$medium_size_thumbnail_height}"/>
+   </div>
    <!-- medium_size_thumbnail_width -->
-   <tr>
-    <td>medium_size_thumbnail_width</td>
-    <td>
-     <input style="width:100%" type="text" name="config[medium_size_thumbnail_width]" value="{$medium_size_thumbnail_width}"/>
-    </td>
-    <td>{$locale->tr("help_medium_size_thumbnail_width")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[medium_size_thumbnail_width]">medium_size_thumbnail_width</label>
+    <div class="fieldHelp">{$locale->tr("help_medium_size_thumbnail_width")}</div>	
+    <input style="width:100%" type="text" name="config[medium_size_thumbnail_width]" value="{$medium_size_thumbnail_width}"/>
+   </div>   
    <!-- thumbnails_keep_aspect_ratio -->
-   <tr>
-    <td>thumbnails_keep_aspect_ratio</td>
-    <td>
-     <input class="radio" type="radio" name="config[thumbnails_keep_aspect_ratio]" value="1" {if $thumbnails_keep_aspect_ratio == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[thumbnails_keep_aspect_ratio]" value="0" {if $thumbnails_keep_aspect_ratio == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_thumbnails_keep_aspect_ratio")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[thumbnails_keep_aspect_ratio]">thumbnails_keep_aspect_ratio</label>
+    <div class="fieldHelp">{$locale->tr("help_thumbnails_keep_aspect_ratio")}</div>
+    <input class="radio" type="radio" name="config[thumbnails_keep_aspect_ratio]" value="1" {if $thumbnails_keep_aspect_ratio == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[thumbnails_keep_aspect_ratio]" value="0" {if $thumbnails_keep_aspect_ratio == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- thumbnail_generator_force_use_gd1 -->
-   <tr>
-    <td>thumbnail_generator_force_use_gd1</td>
-    <td>
-     <input class="radio" type="radio" name="config[thumbnail_generator_force_use_gd1]" value="1" {if $thumbnail_generator_force_use_gd1 == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[thumbnail_generator_force_use_gd1]" value="0" {if $thumbnail_generator_force_use_gd1 == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_thumbnail_generator_force_use_gd1")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[thumbnail_generator_force_use_gd1]">thumbnail_generator_force_use_gd1</label>
+    <div class="fieldHelp">{$locale->tr("help_thumbnail_generator_force_use_gd1")}</div>
+    <input class="radio" type="radio" name="config[thumbnail_generator_force_use_gd1]" value="1" {if $thumbnail_generator_force_use_gd1 == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[thumbnail_generator_force_use_gd1]" value="0" {if $thumbnail_generator_force_use_gd1 == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- thumbnail_generator_use_smoothing_algorithm -->
-   <tr>
-    <td>thumbnail_generator_use_smoothing_algorithm</td>
-    <td>
-     <select name="config[thumbnail_generator_use_smoothing_algorithm]">
-      <option value="0" {if $thumbnail_generator_use_smoothing_algorithm == 0 } selected="selected" {/if}>No filter</option>
-      <option value="1" {if $thumbnail_generator_use_smoothing_algorithm == 1 } selected="selected" {/if}>PHP ImageCopyResampled</option>
-      <option value="2" {if $thumbnail_generator_use_smoothing_algorithm == 2 } selected="selected" {/if}>Bi-linear</option>
-      <option value="3" {if $thumbnail_generator_use_smoothing_algorithm == 3 } selected="selected" {/if}>Bi-cubic</option>
-     </select> 
-    </td>
-    <td>{$locale->tr("help_thumbnail_generator_use_smoothing_algorithm")}</td>
-   </tr>           
+   <div class="field">
+    <label for="config[thumbnail_generator_use_smoothing_algorithm]">thumbnail_generator_use_smoothing_algorithm</label>
+    <div class="fieldHelp">{$locale->tr("help_thumbnail_generator_user_smoothing_algorithm")}</div>
+    <select name="config[thumbnail_generator_use_smoothing_algorithm]">
+     <option value="0" {if $thumbnail_generator_use_smoothing_algorithm == 0 } selected="selected" {/if}>No filter</option>
+     <option value="1" {if $thumbnail_generator_use_smoothing_algorithm == 1 } selected="selected" {/if}>PHP ImageCopyResampled</option>
+     <option value="2" {if $thumbnail_generator_use_smoothing_algorithm == 2 } selected="selected" {/if}>Bi-linear</option>
+     <option value="3" {if $thumbnail_generator_use_smoothing_algorithm == 3 } selected="selected" {/if}>Bi-cubic</option>
+    </select>
+   </div>           
    <!-- resources_quota -->
-   <tr>
-    <td>resources_quota</td>
-    <td>
-     <input style="width:100%" type="text" name="config[resources_quota]" value="{$resources_quota}"/>
-    </td>
-    <td>{$locale->tr("help_resources_quota")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[resources_quota]">resources_quota</label>
+    <div class="fieldHelp">{$locale->tr("help_resources_quota")}</div>
+    <input style="width:100%" type="text" name="config[resources_quota]" value="{$resources_quota}"/>
+   </div>
    <!-- resource_server_http_cache_enabled -->
-   <tr>
-    <td>resource_server_http_cache_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[resource_server_http_cache_enabled]" value="1" {if $resource_server_http_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[resource_server_http_cache_enabled]" value="0" {if $resource_server_http_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td >{$locale->tr("help_resource_server_http_cache_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[resource_server_http_cache_enabled]">resource_server_http_cache_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_resource_server_http_cache_enabled")}</div>
+    <input class="radio" type="radio" name="config[resource_server_http_cache_enabled]" value="1" {if $resource_server_http_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[resource_server_http_cache_enabled]" value="0" {if $resource_server_http_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- resource_server_http_cache_lifetime -->
-   <tr>
-    <td>resource_server_http_cache_lifetime</td>
-    <td>
-     <input style="width:100%" type="text" name="config[resource_server_http_cache_lifetime]" value="{$resource_server_http_cache_lifetime}"/>
-    </td>
-    <td>{$locale->tr("help_resource_server_http_cache_lifetime")}</td>
-   </tr>
-   </tbody>
-  </table>
\ No newline at end of file
+   <div class="field">
+    <label for="config[resource_server_http_cache_lifetime]">resource_server_http_cache_lifetime</label>
+    <div class="fieldHelp">{$locale->tr("help_resource_server_http_cache_lifetime")}</div>	
+    <input style="width:100%" type="text" name="config[resource_server_http_cache_lifetime]" value="{$resource_server_http_cache_lifetime}"/>
+   </div>
+</div>  
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_search.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_search.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_search.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,40 +1,26 @@
-   <!-- search engine options -->
-   <table class="info" id="search" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
+ <a onclick="javascript:toggleSection('summary');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("summary_settings")}</h4>
+ </a>
+<div id="search">
    <!-- search_engine_enabled -->
-   <tr>
-    <td>search_engine_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[search_engine_enabled]" value="1" {if $search_engine_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[search_engine_enabled]" value="0" {if $search_engine_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_search_engine_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[search_engine_enabled]">search_engine_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_search_engine_enabled")}</div>	
+    <input class="radio" type="radio" id="config[search_engine_enabled]" name="config[search_engine_enabled]" value="1" {if $search_engine_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" name="config[search_engine_enabled]" name="config[search_engine_enabled]" value="0" {if $search_engine_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- search_in_custom_fields -->
-   <tr>
-    <td>search_in_custom_fields</td>
-    <td>
-     <input class="radio" type="radio" name="config[search_in_custom_fields]" value="1" {if $search_in_custom_fields == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[search_in_custom_fields]" value="0" {if $search_in_custom_fields == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_search_in_custom_fields")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[search_in_custom_fields]">search_in_custom_fields</label>
+    <div class="fieldHelp">{$locale->tr("help_search_in_custom_fields")}</div>	
+    <input class="radio" type="radio" id="config[search_in_custom_fields]" name="config[search_in_custom_fields]" value="1" {if $search_in_custom_fields == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[search_in_custom_fields]" name="config[search_in_custom_fields]" value="0" {if $search_in_custom_fields == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- search_in_comments -->
-   <tr>
-    <td>search_in_comments</td>
-    <td>
-     <input class="radio" type="radio" name="config[search_in_comments]" value="1" {if $search_in_comments == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[search_in_comments]" value="0" {if $search_in_comments == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_search_in_comments")}</td>
+   <div class="field">
+    <label for="config[search_in_comments]">search_in_comments</label>
+    <div class="fieldHelp">{$locale->tr("help_search_in_comments")}</div>	
+    <input class="radio" type="radio" id="config[search_in_comments]" name="config[search_in_comments]" value="1" {if $search_in_comments == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[search_in_comments]" name="config[search_in_comments]" value="0" {if $search_in_comments == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </tr>
-   <!-- end of the options!!! -->
-   </tbody>
-  </table>
\ No newline at end of file
+</div>
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_security.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_security.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_security.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,47 +1,32 @@
-   <!-- security settings -->
-   <table class="info" id="security" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
+ <a onclick="javascript:toggleSection('security');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("security_settings")}</h4>
+ </a>
+<div id="security">
    <!-- security_pipeline_enabled -->
-   <tr>
-    <td>security_pipeline_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[security_pipeline_enabled]" value="1" {if $security_pipeline_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[security_pipeline_enabled]" value="0" {if $security_pipeline_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_security_pipeline_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[security_pipeline_enabled]">security_pipeline_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_security_pipeline_enabled")}</div>	
+    <input class="radio" type="radio" id="config[security_pipeline_enabled]" name="config[security_pipeline_enabled]" value="1" {if $security_pipeline_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[security_pipeline_enabled]" name="config[security_pipeline_enabled]" value="0" {if $security_pipeline_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- ip_address_filter_enabled -->
-   <tr>
-    <td>ip_address_filter_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[ip_address_filter_enabled]" value="1" {if $ip_address_filter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[ip_address_filter_enabled]" value="0" {if $ip_address_filter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_ip_address_filter_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[ip_address_filter_enabled]">ip_address_filter_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_ip_address_filter_enabled")}</div>	
+    <input class="radio" type="radio" id="config[ip_address_filter_enabled]" name="config[ip_address_filter_enabled]" value="1" {if $ip_address_filter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[ip_address_filter_enabled]" name="config[ip_address_filter_enabled]" value="0" {if $ip_address_filter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- content_filter_enabled -->
-   <tr>
-    <td>content_filter_enabled</td>
-    <td>
-     <input class="radio" type="radio" name="config[content_filter_enabled]" value="1" {if $content_filter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[content_filter_enabled]" value="0" {if $content_filter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_content_filter_enabled")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[content_filter_enabled]">content_filter_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_content_filter_enabled")}</div>	
+    <input class="radio" type="radio" id="config[content_filter_enabled]" name="config[content_filter_enabled]" value="1" {if $content_filter_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[content_filter_enabled]" name="config[content_filter_enabled]" value="0" {if $content_filter_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- maximum size of a comment -->
-   <tr>
-    <td>maximum_comment_size</td>
-    <td>
-     <input style="width:100%" type="text" name="config[maximum_comment_size]" value="{$maximum_comment_size}"/>
-    </td>
-    <td>{$locale->tr("help_maximum_comment_size")}</td>
-   </tr>
-   </tbody>
-   </table>
\ No newline at end of file
+   <div class="field">
+    <label for="config[maximum_comment_size]">maximum_comment_size</label>
+    <div class="fieldHelp">{$locale->tr("help_maximum_comment_size")}</div>	
+    <input style="width:100%" type="text" id="config[maximum_comment_size]" name="config[maximum_comment_size]" value="{$maximum_comment_size}"/>
+   </div>
+</div>
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_summary.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_summary.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_summary.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,70 +1,52 @@
-   <!-- summary settings -->
-   <table id="summary" class="info" style="display:none;">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
+ <a onclick="javascript:toggleSection('summary');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("summary_settings")}</h4>
+ </a>
+ <div id="summary">
    <!-- summary_page_show_max -->
-   <tr>
-    <td>summary_page_show_max</td>
-    <td>
-     <input style="width:100%" type="text" name="config[summary_page_show_max]" value="{$summary_page_show_max}"/>
-    </td>
-    <td>{$locale->tr("help_summary_page_show_max")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[summary_page_show_max]">summary_page_show_max</label>
+    <div class="formHelp">{$locale->tr("help_summary_page_show_max")}</div>
+    <input style="width:100%" type="text" name="config[summary_page_show_max]" id="config[summary_page_show_max]" value="{$summary_page_show_max}"/>
+   </div>   
    <!-- summary_blogs_per_page -->
-   <tr>
-    <td>summary_blogs_per_page</td>
-    <td>
-     <input style="width:100%" type="text" name="config[summary_blogs_per_page]" value="{$summary_blogs_per_page}"/>
-    </td>
-    <td>{$locale->tr("help_summary_blogs_per_page")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[summary_blogs_per_page]">summary_blogs_per_page</label>
+    <div class="formHelp">{$locale->tr("help_summary_blogs_per_page")}</div>
+    <input style="width:100%" type="text" id="config[summary_blogs_per_page]" name="config[summary_blogs_per_page]" value="{$summary_blogs_per_page}"/>
+   </div>      
    <!-- force_registration_confirmation -->
-   <tr>
-    <td>force_registration_confirmation</td>
-    <td>
-     <input class="radio" type="radio" name="config[force_registration_confirmation]" value="1" {if $force_registration_confirmation == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[force_registration_confirmation]" value="0" {if $force_registration_confirmation == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_force_registration_confirmation")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[force_registration_confirmation]">force_registration_confirmation</label>
+    <div class="formHelp">{$locale->tr("help_force_registration_confirmation")}</div>
+    <input class="radio" type="radio" id="config[force_registration_confirmation]" name="config[force_registration_confirmation]" value="1" {if $force_registration_confirmation == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[force_registration_confirmation]" name="config[force_registration_confirmation]" value="0" {if $force_registration_confirmation == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>
    <!-- forbidden_usernames -->
-   <tr>
-    <td>forbidden_usernames</td>
-    <td>
-     <input style="width:100%" type="text" name="config[forbidden_usernames]" value="{$forbidden_usernames}"/>
-    </td>
-    <td>{$locale->tr("help_forbidden_usernames")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[forbidden_usernames]">forbidden_usernames</label>
+    <div class="formHelp">{$locale->tr("help_forbidden_usernames")}</div>
+    <input style="width:100%" type="text" id="config[forbidden_usernames]" name="config[forbidden_usernames]" value="{$forbidden_usernames}"/>
+   </div>
+   </div>
    <!-- force_one_blog_per_email_account -->
-   <tr>
-    <td>force_one_blog_per_email_account</td>
-    <td>
-     <input class="radio" type="radio" name="config[force_one_blog_per_email_account]" value="1" {if $force_one_blog_per_email_account == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[force_one_blog_per_email_account]" value="0" {if $force_one_blog_per_email_account == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_force_one_blog_per_email_account")}</td>
-   </tr>  
+   <div class="field">
+    <label for="config[force_one_blog_per_email_account]">force_one_blog_per_email_account</label>
+    <div class="formHelp">{$locale->tr("help_force_one_blog_per_email_account")}</div>
+    <input class="radio" type="radio" id="config[forbidden_usernames]" name="config[force_one_blog_per_email_account]" value="1" {if $force_one_blog_per_email_account == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[forbidden_usernames]" name="config[force_one_blog_per_email_account]" value="0" {if $force_one_blog_per_email_account == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   </div>	 
    <!-- summary_show_agreement -->
-   <tr>
-    <td>summary_show_agreement</td>
-    <td>
-     <input class="radio" type="radio" name="config[summary_show_agreement]" value="1" {if $summary_show_agreement == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[summary_show_agreement]" value="0" {if $summary_show_agreement == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+   <div class="field">
+    <label for="config[summary_show_agreement]">summary_show_agreement</label>
+    <div class="formHelp">{$locale->tr("help_summary_show_agreement")}</div>
+    <input class="radio" type="radio" id="config[summary_show_agreement]" name="config[summary_show_agreement]" value="1" {if $summary_show_agreement == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[summary_show_agreement]" name="config[summary_show_agreement]" value="0" {if $summary_show_agreement == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
     </td>
-    <td>{$locale->tr("help_summary_show_agreement")}</td>
-   </tr>
+   </div>	
    <!-- need_email_confirm_registration -->
-   <tr>
-    <td>need_email_confirm_registration</td>
-    <td>
-     <input class="radio" type="radio" name="config[need_email_confirm_registration]" value="1" {if $need_email_confirm_registration == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-     <input class="radio" type="radio" name="config[need_email_confirm_registration]" value="0" {if $need_email_confirm_registration == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_need_email_confirm_registration")}</td>
-   </tr>
\ No newline at end of file
+   <div class="field">
+    <label for="config[need_email_confirm_registration]">need_email_confirm_registration</label>
+	<div class="formHelp">{$locale->tr("help_need_email_confirm_registration")}</div> 
+    <input class="radio" type="radio" id="config[need_email_confirm_registration]" name="config[need_email_confirm_registration]" value="1" {if $need_email_confirm_registration == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[need_email_confirm_registration]" name="config[need_email_confirm_registration]" value="0" {if $need_email_confirm_registration == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+  </div>	 
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_templates.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_templates.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_templates.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -22,34 +22,34 @@
    <div class="field">
     <label for="config[users_can_add_templates]">users_can_add_templates</label>
     <div class="formHelp">{$locale->tr("help_users_can_add_templates")}</div>
-    <input class="radio" type="radio" name="config[users_can_add_templates]" value="1" {if $users_can_add_templates == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[users_can_add_templates]" value="0" {if $users_can_add_templates == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+    <input class="radio" type="radio" id="config[users_can_add_templates]" name="config[users_can_add_templates]" value="1" {if $users_can_add_templates == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[users_can_add_templates]" name="config[users_can_add_templates]" value="0" {if $users_can_add_templates == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </div>
    <!-- template_compile_check -->
    <div class="field">
     <label for="config[template_compile_check]">template_compile_check</label>
     <div class="formHelp">{$locale->tr("help_template_compile_check")}</div>
-    <input class="radio" type="radio" name="config[template_compile_check]" value="1" {if $template_compile_check == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[template_compile_check]" value="0" {if $template_compile_check == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>        
+    <input class="radio" type="radio" id="config[template_compile_check]" name="config[template_compile_check]" value="1" {if $template_compile_check == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[template_compile_check]" name="config[template_compile_check]" value="0" {if $template_compile_check == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>        
    </div>   
    <!-- template_cache_enabled -->
    <div class="field">
     <label for="config[template_cache_enabled]">template_cache_enabled</label>
 	<div class="formHelp">{$locale->tr("help_template_cache_enabled")}</div>
-    <input class="radio" type="radio" name="config[template_cache_enabled]" value="1" {if $template_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[template_cache_enabled]" value="0" {if $template_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+    <input class="radio" type="radio" id="config[template_cache_enabled]" name="config[template_cache_enabled]" value="1" {if $template_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[template_cache_enabled]" name="config[template_cache_enabled]" value="0" {if $template_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </div>
    <!-- template_cache_lifetime -->
    <div class="field">
     <label for="config[template_cache_lifetime]">template_cache_lifetime</label>
     <div class="formHelp">{$locale->tr("help_template_cache_lifetime")}</div>
-    <input style="width:100%" type="text" name="config[template_cache_lifetime]" value="{$template_cache_lifetime}"/>
+    <input style="width:100%" type="text" id="config[template_cache_lifetime]" name="config[template_cache_lifetime]" value="{$template_cache_lifetime}"/>
    </div>
    <!-- template_http_cache_enabled -->
    <div class="field">
     <label for="config[template_http_cache_enabled]">template_http_cache_enabled</label>
 	<div class="formHelp">{$locale->tr("help_template_http_cache_enabled")}</div>
-    <input class="radio" type="radio" name="config[template_http_cache_enabled]" value="1" {if $template_http_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
-    <input class="radio" type="radio" name="config[template_http_cache_enabled]" value="0" {if $template_http_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
+    <input class="radio" type="radio" id="config[template_http_cache_enabled]" name="config[template_http_cache_enabled]" value="1" {if $template_http_cache_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
+    <input class="radio" type="radio" id="config[template_http_cache_enabled]" name="config[template_http_cache_enabled]" value="0" {if $template_http_cache_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
    </div>
  </div>
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_uploads.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_uploads.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_uploads.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,37 +1,25 @@
-<!-- uploads settings -->
-   <table class="info" id="uploads" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
+<a onclick="javascript:toggleSection('uploads');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("uploads_settings")}</h4>
+</a>
+<div id="uploads">
    <!-- uploads enabled or disabled at all -->
-   <tr>
-    <td>uploads_enabled</td>
-    <td>
+   <div class="field">
+    <label for="config[uploads_enabled]">uploads_enabled</label>
+    <div class="fieldHelp">{$locale->tr("help_uploads_enabled")}</div>
      <input class="radio" type="radio" name="config[uploads_enabled]" value="1" {if $uploads_enabled == 1 } checked="checked" {/if}>{$locale->tr("yes")}</input>
      <input class="radio" type="radio" name="config[uploads_enabled]" value="0" {if $uploads_enabled == 0 } checked="checked" {/if}>{$locale->tr("no")}</input>
-    </td>
-    <td>{$locale->tr("help_uploads_enabled")}</td>
-   </tr>
+   </div>
    <!-- maximum_file_upload_size -->
-   <tr>
-    <td>maximum_file_upload_size</td>
-    <td>
+   <div class="field">
+    <label for="config[maximum_file_upload_size]">maximum_file_upload_size</label>
+    <div class="fieldHelp">{$locale->tr("help_maximum_file_upload_size")}</div>
      <input style="width:100%" type="text" name="config[maximum_file_upload_size]" value="{$maximum_file_upload_size}"/>
     </td>
-    <td>{$locale->tr("help_maximum_file_upload_size")}</td>
-   </tr>
+   </div>
    <!-- upload_forbidden_extensions -->
-   <tr>
-    <td>upload_forbidden_files</td>
-    <td>
-     <input style="width:100%" type="text" name="config[upload_forbidden_files]" value="{$upload_forbidden_files}"/>
-    </td>
-    <td>{$locale->tr("help_upload_forbidden_files")}</td>
-   </tr>
-   </tbody>
-  </table>
\ No newline at end of file
+   <div class="field">
+    <label for="config[upload_forbidden_files]">upload_forbidden_files</label>
+    <div class="fieldHelp">{$locale->tr("help_upload_forbidden_files")}</div>
+    <input style="width:100%" type="text" name="config[upload_forbidden_files]" value="{$upload_forbidden_files}"/>
+   </div>
+</div>
\ No newline at end of file

Modified: plog/trunk/templates/admin/globalsettings_url.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_url.template	2004-12-31 14:54:05 UTC (rev 641)
+++ plog/trunk/templates/admin/globalsettings_url.template	2004-12-31 15:45:01 UTC (rev 642)
@@ -1,121 +1,88 @@
-   <!-- permalinks and url format settings -->
-   <table class="info" id="url" style="display:none">
-   <thead>
-    <tr>
-    <th style="width:200px;">{$locale->tr("setting_name")}</th>
-    <th style="widht:550px";>{$locale->tr("setting_value")}</th>
-    <th style="width:25px">{$locale->tr("setting_description")}</th>
-   </tr>
-   </thead>
-   <tbody>
+ <a onclick="javascript:toggleSection('urls');">
+   <h4 class="sectionTitle">&raquo; {$locale->tr("urls_settings")}</h4>
+ </a>
+ <div id="urls">
    <!-- request_format_mode -->
-   <tr>
-    <td>request_format_mode</td>
-    <td>
-     <select name="config[request_format_mode]">
+   <div class="field">
+    <label for="config[request_format_mode]">request_format_mode</label>
+    <div class="fieldHelp">{$locale->tr("help_request_format_mode")}</div>       
+     <select id="config[request_format_mode]" name="config[request_format_mode]">
       <option value="1" {if $request_format_mode == 1 } selected="selected" {/if}>{$locale->tr("plain")}</option>
       <option value="2" {if $request_format_mode == 2 } selected="selected" {/if}>{$locale->tr("search_engine_friendly")}</option>
       <option value="3" {if $request_format_mode == 3 } selected="selected" {/if}>Apache ModRewrite</option>            
       <option value="4" {if $request_format_mode == 4 } selected="selected" {/if}>{$locale->tr("custom_url_format")}</option>                  
      </select>
-    </td>
-    <td >{$locale->tr("help_request_format_mode")}</td>   
-   </tr>
+   </div>
    <!-- permalink_format -->
-   <tr>
-    <td>permalink_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[permalink_format]" value="{$permalink_format}"/>
-    </td>
-    <td>{$locale->tr("help_permalink_format")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[permalink_format]">permalink_format</label>
+    <div class="fieldHelp">{$locale->tr("help_permalink_format")}</div>    
+    <input style="width:100%" type="text" id="config[permalink_format]" name="config[permalink_format]" value="{$permalink_format}"/>
+   </div>
    <!-- category_link_format -->
-   <tr>
-    <td>category_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[category_link_format]" value="{$category_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_category_link_format")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[category_link_format]">category_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_category_link_format")}</div>    
+    <input style="width:100%" type="text" id="config[category_link_format]" name="config[category_link_format]" value="{$category_link_format}" />
+   </div>
    <!-- blog_link_format -->
-   <tr>
-    <td>blog_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[blog_link_format]" value="{$blog_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_blog_link_format")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[blog_link_format]">blog_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_blog_link_format")}</div>    
+    <input style="width:100%" type="text" id="config[blog_link_format]" name="config[blog_link_format]" value="{$blog_link_format}"/>
+   </div>   
    <!-- archive_link_format -->
-   <tr>
-    <td>archive_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[archive_link_format]" value="{$archive_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_archive_link_format")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[archive_link_format]">archive_link_format</label> 
+    <div class="fieldHelp">{$locale->tr("help_archive_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[archive_link_format]" name="config[archive_link_format]" value="{$archive_link_format}"/>
+   </div>
    <!-- user_posts_link_format -->
-   <tr>
-    <td>user_posts_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[user_posts_link_format]" value="{$user_posts_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_user_posts_link_format")}</td>
-   </tr>       
+   <div class="field">
+    <label for="config[user_posts_link_format]">user_posts_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_user_posts_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[user_posts_link_format]" name="config[user_posts_link_format]" value="{$user_posts_link_format}"/>    
+   </div>       
    <!-- post_trackbacks_link_format -->
-   <tr>
-    <td>post_trackbacks_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[post_trackbacks_link_format]" value="{$post_trackbacks_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_post_trackbacks_link_format")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[post_trackbacks_link_format]">post_trackbacks_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_post_trackbacks_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[post_trackbacks_link_format]" name="config[post_trackbacks_link_format]" value="{$post_trackbacks_link_format}"/>    
+   </div>
    <!-- template_link_format -->
-   <tr>
-    <td>template_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[template_link_format]" value="{$template_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_template_link_format")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[template_link_format]">template_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_template_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[template_link_format]" name="config[template_link_format]" value="{$template_link_format}"/>
+   </div>   
    <!-- album_link_format -->
-   <tr>
-    <td>album_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[album_link_format]" value="{$album_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_album_link_format")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[album_link_format]">album_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_album_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[album_link_format]" name="config[album_link_format]" value="{$album_link_format}"/>
+   </div>
    <!-- resource_link_format -->
-   <tr>
-    <td>resource_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[resource_link_format]" value="{$resource_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_resource_link_format")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[resource_link_format]">resource_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_resource_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[resource_link_format]" name="config[resource_link_format]" value="{$resource_link_format}"/>
+   </div>
    <!-- resource_preview_link_format -->
-   <tr>
-    <td>resource_preview_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[resource_preview_link_format]" value="{$resource_preview_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_resource_preview_link_format")}</td>
-   </tr>
+   <div class="field">
+    <label for="config[resource_preview_link_format]">resource_preview_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_resource_preview_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[resource_preview_link_format]" name="config[resource_preview_link_format]" value="{$resource_preview_link_format}"/>
+   </div>
    <!-- resource_preview_link_format -->
-   <tr>
-    <td>resource_medium_size_preview_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[resource_medium_size_preview_link_format]" value="{$resource_medium_size_preview_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_resource_medium_size_preview_link_format")}</td>
-   </tr>   
+   <div class="field">
+    <label for="config[resource_medium_size_preview_link_format]">resource_medium_size_preview_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_resource_medium_size_preview_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[resource_medium_size_preview_link_format]" name="config[resource_medium_size_preview_link_format]" value="{$resource_medium_size_preview_link_format}"/>    
+   </div>   
    <!-- resource_download_link_format -->
-   <tr>
-    <td>resource_download_link_format</td>
-    <td>
-     <input style="width:100%" type="text" name="config[resource_download_link_format]" value="{$resource_download_link_format}"/>
-    </td>
-    <td>{$locale->tr("help_resource_download_link_format")}</td>
-   </tr>
-  </tbody>
-  </table>
\ No newline at end of file
+   <div class="field">
+    <label for="config[resource_download_link_format]">resource_download_link_format</label>
+    <div class="fieldHelp">{$locale->tr("help_resource_download_link_format")}</div>	
+    <input style="width:100%" type="text" id="config[resource_download_link_format]" name="config[resource_download_link_format]" value="{$resource_download_link_format}"/>
+   </div>
+</div>
\ No newline at end of file




More information about the pLog-svn mailing list