[pLog-svn] r5113 - in plugins/branches/lifetype-1.2: authimage/templates contentfilter/templates gravatar/templates hiddeninput/templates iconize/templates moderate/templates nofollow/templates openid/templates recentcomments/templates smileys/templates tagcloud/templates

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Mar 16 17:25:44 EDT 2007


Author: oscar
Date: 2007-03-16 17:25:43 -0400 (Fri, 16 Mar 2007)
New Revision: 5113

Modified:
   plugins/branches/lifetype-1.2/authimage/templates/authimage.template
   plugins/branches/lifetype-1.2/contentfilter/templates/filteredcontentsettings.template
   plugins/branches/lifetype-1.2/gravatar/templates/gravatar.template
   plugins/branches/lifetype-1.2/hiddeninput/templates/hiddeninput.template
   plugins/branches/lifetype-1.2/iconize/templates/iconize.template
   plugins/branches/lifetype-1.2/moderate/templates/pluginsettings.template
   plugins/branches/lifetype-1.2/nofollow/templates/nofollow.template
   plugins/branches/lifetype-1.2/openid/templates/openid.template
   plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template
   plugins/branches/lifetype-1.2/smileys/templates/smileys.template
   plugins/branches/lifetype-1.2/tagcloud/templates/tagcloud.template
Log:
checkboxes, select lists and radio buttons should be set as "disabled" rather than "readonly"


Modified: plugins/branches/lifetype-1.2/authimage/templates/authimage.template
===================================================================
--- plugins/branches/lifetype-1.2/authimage/templates/authimage.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/authimage/templates/authimage.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -9,7 +9,7 @@
   <div class="field">
    <label for="pluginEnabled">{$locale->tr("label_enable")}</label>
    <div class="formHelp">
-     <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled}checked="checked"{/if} value="1" {user_cannot_override key=plugin_authimage_enabled}readonly="readonly"{/user_cannot_override} />{$locale->tr("authimage_plugin_enabled")}
+     <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled}checked="checked"{/if} value="1" {user_cannot_override key=plugin_authimage_enabled}disabled="disabled"{/user_cannot_override} />{$locale->tr("authimage_plugin_enabled")}
    </div>
   </div> 
 

Modified: plugins/branches/lifetype-1.2/contentfilter/templates/filteredcontentsettings.template
===================================================================
--- plugins/branches/lifetype-1.2/contentfilter/templates/filteredcontentsettings.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/contentfilter/templates/filteredcontentsettings.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -8,7 +8,7 @@
   <div class="field">
    <label for="pluginEnabled">{$locale->tr("label_enable")}</label>
    <div class="formHelp">   
-    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1"  {user_cannot_override key=plugin_contentfilter_enabled}readonly="readonly"{/user_cannot_override} />{$locale->tr("contentfilter_plugin_enabled")}
+    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1"  {user_cannot_override key=plugin_contentfilter_enabled}disabled="disabled"{/user_cannot_override} />{$locale->tr("contentfilter_plugin_enabled")}
    </div>
   </div>
   

Modified: plugins/branches/lifetype-1.2/gravatar/templates/gravatar.template
===================================================================
--- plugins/branches/lifetype-1.2/gravatar/templates/gravatar.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/gravatar/templates/gravatar.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -10,7 +10,7 @@
    <span class="required"></span>
    <div class="formHelp">
 	
-     <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" {user_cannot_override key=plugin_gravatar_enabled}readonly="readonly"{/user_cannot_override}/>{$locale->tr("gravatar_plugin_enabled")}
+     <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" {user_cannot_override key=plugin_gravatar_enabled}disabled="disabled"{/user_cannot_override}/>{$locale->tr("gravatar_plugin_enabled")}
    </div>
   </div> 
 
@@ -18,7 +18,7 @@
    <label for="rating">{$locale->tr("label_rating")}</label>
    <span class="required"></span>
    <div class="formHelp">{$locale->tr("gravatar_rating")}</div>
-   <select name="rating" id="rating" {user_cannot_override key=plugin_gravatar_rating}readonly="readonly"{/user_cannot_override}>
+   <select name="rating" id="rating" {user_cannot_override key=plugin_gravatar_rating}disabled="disabled"{/user_cannot_override}>
     <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>
@@ -30,7 +30,7 @@
    <label for="size">{$locale->tr("label_size")}</label>
    <div class="formHelp">{$locale->tr("gravatar_size")}</div>
    <span class="required"></span>
-   <select name="size" id="size" {user_cannot_override key=plugin_gravatar_size}readonly="readonly"{/user_cannot_override}>
+   <select name="size" id="size" {user_cannot_override key=plugin_gravatar_size}disabled="disabled"{/user_cannot_override}>
     <option value="30" {if $size==30}selected="selected"{/if}>30x30</option>
     <option value="40" {if $size==40}selected="selected"{/if}>40x40</option>
     <option value="50" {if $size==50}selected="selected"{/if}>50x50</option>
@@ -56,7 +56,7 @@
      {foreach from=$avatars item=avatar}
      <tr>
       <td>
-       <input class="radio" type="radio" name="default" id="default" value="{$avatar}" {if $default==$avatar} checked="checked" {/if}  {user_cannot_override key=plugin_gravatar_default}readonly="readonly"{/user_cannot_override}/>
+       <input class="radio" type="radio" name="default" id="default" value="{$avatar}" {if $default==$avatar} checked="checked" {/if}  {user_cannot_override key=plugin_gravatar_default}disabled="disabled"{/user_cannot_override}/>
       </td>
       <td>
        {$avatar}

Modified: plugins/branches/lifetype-1.2/hiddeninput/templates/hiddeninput.template
===================================================================
--- plugins/branches/lifetype-1.2/hiddeninput/templates/hiddeninput.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/hiddeninput/templates/hiddeninput.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -13,7 +13,7 @@
            id="pluginEnabled" {if $pluginEnabled} checked="checked"
            {/if} 
            {user_cannot_override
-              key=plugin_hiddeninput_enabled}readonly="readonly"
+              key=plugin_hiddeninput_enabled}disabled="disabled"
            {/user_cannot_override}
            value="1" />
         {$locale->tr("hiddeninput_plugin_enabled")}

Modified: plugins/branches/lifetype-1.2/iconize/templates/iconize.template
===================================================================
--- plugins/branches/lifetype-1.2/iconize/templates/iconize.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/iconize/templates/iconize.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -12,7 +12,7 @@
    <label for="pluginEnabled">{$locale->tr("iconize_plugin_enabled")}</label>
 
    <div class="formHelp">
-    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" {user_cannot_override key=plugin_iconize_enabled}readonly="readonly"{/user_cannot_override}/>{$locale->tr("iconize_plugin_enabled")}
+    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" {user_cannot_override key=plugin_iconize_enabled}disabled="disabled"{/user_cannot_override}/>{$locale->tr("iconize_plugin_enabled")}
    </div>
   </div>
  

Modified: plugins/branches/lifetype-1.2/moderate/templates/pluginsettings.template
===================================================================
--- plugins/branches/lifetype-1.2/moderate/templates/pluginsettings.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/moderate/templates/pluginsettings.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -8,7 +8,7 @@
   <div class="field">
    <label for="pluginEnabled">{$locale->tr("label_enable")}</label>
    <div class="formHelp">   
-    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1"  {user_cannot_override key=plugin_moderate_enabled}readonly="readonly"{/user_cannot_override}/>{$locale->tr("moderate_plugin_enabled")}
+    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1"  {user_cannot_override key=plugin_moderate_enabled}disabled="disabled"{/user_cannot_override}/>{$locale->tr("moderate_plugin_enabled")}
    </div>
   </div>
   

Modified: plugins/branches/lifetype-1.2/nofollow/templates/nofollow.template
===================================================================
--- plugins/branches/lifetype-1.2/nofollow/templates/nofollow.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/nofollow/templates/nofollow.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -8,7 +8,7 @@
   <div class="field">
    <label for="pluginEnabled">{$locale->tr("label_enable")}</label>
    <div class="formHelp">   
-    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" {user_cannot_override key=plugin_nofollow_enabled}readonly="readonly"{/user_cannot_override}/>{$locale->tr("nofollow_plugin_enabled")}
+    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" {user_cannot_override key=plugin_nofollow_enabled}disabled="disabled"{/user_cannot_override}/>{$locale->tr("nofollow_plugin_enabled")}
    </div>
   </div>
   

Modified: plugins/branches/lifetype-1.2/openid/templates/openid.template
===================================================================
--- plugins/branches/lifetype-1.2/openid/templates/openid.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/openid/templates/openid.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -11,7 +11,7 @@
     <input class="checkbox" type="checkbox" name="pluginEnabled"
            id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if}
            {user_cannot_override
-              key=plugin_openid_enabled}readonly="readonly"
+              key=plugin_openid_enabled}disabled="disabled"
            {/user_cannot_override}
            value="1" />
        {$locale->tr("openid_plugin_enabled")}

Modified: plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template
===================================================================
--- plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -12,7 +12,7 @@
     <input class="checkbox" type="checkbox" name="pluginEnabled"
            id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if}
            {user_cannot_override
-             key=plugin_recentcomments_enabled}readonly="readonly"
+             key=plugin_recentcomments_enabled}disabled="disabled"
            {/user_cannot_override}
            value="1"  
      />{$locale->tr("recentcomments_plugin_enabled")}

Modified: plugins/branches/lifetype-1.2/smileys/templates/smileys.template
===================================================================
--- plugins/branches/lifetype-1.2/smileys/templates/smileys.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/smileys/templates/smileys.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -9,7 +9,7 @@
    <label for="pluginEnabled">{$locale->tr("label_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" {user_cannot_override key=plugin_smileys_enabled}readonly="readonly"{/user_cannot_override} /> {$locale->tr("smileys_plugin_enabled")}
+     <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" {user_cannot_override key=plugin_smileys_enabled}disabled="disabled"{/user_cannot_override} /> {$locale->tr("smileys_plugin_enabled")}
    </div>
   </div> 
 

Modified: plugins/branches/lifetype-1.2/tagcloud/templates/tagcloud.template
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/templates/tagcloud.template	2007-03-16 21:21:47 UTC (rev 5112)
+++ plugins/branches/lifetype-1.2/tagcloud/templates/tagcloud.template	2007-03-16 21:25:43 UTC (rev 5113)
@@ -12,7 +12,7 @@
     <input class="checkbox" type="checkbox" name="pluginEnabled"
            id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if}
            {user_cannot_override
-               key=plugin_tagcloud_enabled}readonly="readonly"
+               key=plugin_tagcloud_enabled}disabled="disabled"
            {/user_cannot_override}
            value="1" />{$locale->tr("tagcloud_plugin_enabled")} 
    </div>
@@ -117,4 +117,4 @@
  </div>
 </form>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file



More information about the pLog-svn mailing list