[pLog-svn] r4973 - plugins/branches/lifetype-1.2/recentcomments/templates

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Mar 3 20:17:57 EST 2007


Author: jondaley
Date: 2007-03-03 20:17:56 -0500 (Sat, 03 Mar 2007)
New Revision: 4973

Modified:
   plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template
Log:
global setting overrides

Modified: plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template
===================================================================
--- plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template	2007-03-04 01:17:10 UTC (rev 4972)
+++ plugins/branches/lifetype-1.2/recentcomments/templates/recentcomments.template	2007-03-04 01:17:56 UTC (rev 4973)
@@ -9,15 +9,26 @@
    <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" />{$locale->tr("recentcomments_plugin_enabled")}
+    <input class="checkbox" type="checkbox" name="pluginEnabled"
+           id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if}
+           {user_cannot_override
+             key=plugin_recentcomments_enabled}disabled="disabled"
+           {/user_cannot_override}
+           value="1"  
+     />{$locale->tr("recentcomments_plugin_enabled")}
    </div>
+
   </div>
   
   <div class="field">
    <label for="maxComments">{$locale->tr("label_maxcomments")}</label>
    <span class="required">*</span>
    <div class="formHelp">{$locale->tr("recentcomments_maxcomments")}</div>
-   <input class="text" type="text" name="maxComments" id="maxComments" value="{$maxComments}" width="10" />
+   <input class="text" type="text" name="maxComments" id="maxComments"
+          {user_cannot_override
+            key=plugin_recentcomments_maxcomments}disabled="disabled"
+          {/user_cannot_override}
+          value="{$maxComments}" width="10" /> 
   </div>
   
  </fieldset>



More information about the pLog-svn mailing list