[pLog-svn] r813 - plugins/trunk/gravatar/templates

oscar at devel.plogworld.net oscar at devel.plogworld.net
Mon Jan 24 07:50:02 GMT 2005


Author: oscar
Date: 2005-01-24 07:50:02 +0000 (Mon, 24 Jan 2005)
New Revision: 813

Modified:
   plugins/trunk/gravatar/templates/gravatar.template
Log:
some cosmetic fixes to make the template follow our guidelines!


Modified: plugins/trunk/gravatar/templates/gravatar.template
===================================================================
--- plugins/trunk/gravatar/templates/gravatar.template	2005-01-24 04:56:20 UTC (rev 812)
+++ plugins/trunk/gravatar/templates/gravatar.template	2005-01-24 07:50:02 UTC (rev 813)
@@ -2,22 +2,31 @@
 {include file="$admintemplatepath/navigation.template" showOpt=Gravatar title=$locale->tr("gravatar_plugin")}
 <form name="gravatarPluginConfig" method="post">
  <fieldset class="inputField">
- <legend>{$locale->tr("gravatar_plugin_configuration")}</legend> 
+ <legend>{$locale->tr("configuration")}</legend> 
   <div class="field">
-   <label for="pluginEnabled">{$locale->tr("gravatar_plugin_enabled")}</label>
-   <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" /><br/>
+   <label for="pluginEnabled">{$locale->tr("enable")}</label>
+   <span class="required"></span>
+   <div class="formHelp">
+     <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" />{$locale->tr("gravatar_plugin_enabled")}
+   </div>
   </div> 
+
   <div class="field">
-   <label for="rating">{$locale->tr("gravatar_rating")}</label>
+   <label for="rating">{$locale->tr("rating")}</label>
+   <span class="required"></span>
+   <div class="formHelp">{$locale->tr("gravatar_rating")}</div>
    <select name="rating" id="rating">
     <option value="G" {if $rating=="G"}selected="selected"{/if}>G</option>
     <option value="PG" {if $rating=="PG"}selected="selected"{/if}>PG</option>
     <option value="R" {if $rating=="R"}selected="selected"{/if}>R</option>
     <option value="X" {if $rating=="X"}selected="selected"{/if}>X</option>
-   </select><br/>
+   </select>
   </div>
+
   <div class="field">
-   <label for="size">{$locale->tr("gravatar_size")}</label>
+   <label for="size">{$locale->tr("size")}</label>
+   <div class="formHelp">{$locale->tr("gravatar_size")}</div>
+   <span class="required"></span>
    <select name="size" id="size">
     <option value="30" {if $size==30}selected="selected"{/if}>30x30</option>
     <option value="40" {if $size==40}selected="selected"{/if}>40x40</option>
@@ -25,13 +34,14 @@
     <option value="60" {if $size==60}selected="selected"{/if}>60x60</option>
     <option value="70" {if $size==70}selected="selected"{/if}>70x70</option>
     <option value="80" {if $size==80}selected="selected"{/if}>80x80</option>
-   </select><br/>  
+   </select>
  </div>
- <div class="field">
-  <label for="default">{$locale->tr("gravatar_default")}</label>
-  <fieldset style="border: 1px solid #DEDEDE;">
-   <legend>{$locale->tr("gravatar_available_avatars")}</legend> 
-   <table>
+
+  <div class="field">
+  <label for="default">{$locale->tr("default")}</label>
+  <span class="required"></span>
+  <div class="formHelp">{$locale->tr("gravatar_default")}</div>
+    <table>
     <thead>
      <tr>
       <th style="width:20px;"></th>
@@ -55,14 +65,12 @@
      {/foreach}
     </tbody>
    </table>
-   <br/>
-   </fieldset>
-  </div>
+    </div>
  </fieldset>
- <br/>
  <div class="buttons">
   <input type="hidden" name="op" value="updateGravatarConfig" />
-  <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
+  <input type="reset" name="{$locale->tr("reset")}" />
+  <input type="submit" name="{$locale->tr("settings")}" value="{$locale->tr("update")}" />
  </div>
 </form>
 {include file="$admintemplatepath/footernavigation.template"}




More information about the pLog-svn mailing list