[pLog-svn] r5082 - plugins/branches/lifetype-1.2/authimage/templates
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Tue Mar 13 10:44:09 EDT 2007
Author: jondaley
Date: 2007-03-13 10:44:08 -0400 (Tue, 13 Mar 2007)
New Revision: 5082
Modified:
plugins/branches/lifetype-1.2/authimage/templates/authimage.template
Log:
reto said this is xhtml compliant. Also, I noticed that a checkbox has to be disabled, and can't be readonly
Modified: plugins/branches/lifetype-1.2/authimage/templates/authimage.template
===================================================================
--- plugins/branches/lifetype-1.2/authimage/templates/authimage.template 2007-03-13 14:31:01 UTC (rev 5081)
+++ plugins/branches/lifetype-1.2/authimage/templates/authimage.template 2007-03-13 14:44:08 UTC (rev 5082)
@@ -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{/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>
@@ -17,21 +17,21 @@
<label for="length">{$locale->tr("label_length")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("authimage_length")}</div>
- <input class="text" type="text" name="length" id="length" value="{$length}" {user_cannot_override key=plugin_authimage_length}readonly{/user_cannot_override} />
+ <input class="text" type="text" name="length" id="length" value="{$length}" {user_cannot_override key=plugin_authimage_length}readonly="readonly"{/user_cannot_override} />
</div>
<div class="field">
<label for="key">{$locale->tr("label_key")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("authimage_key")}</div>
- <input class="text" type="text" name="key" id="key" value="{$key}" {user_cannot_override key=plugin_authimage_key}readonly{/user_cannot_override} />
+ <input class="text" type="text" name="key" id="key" value="{$key}" {user_cannot_override key=plugin_authimage_key}readonly="readonly"{/user_cannot_override} />
</div>
<div class="field">
<label for="expiredTime">{$locale->tr("label_expiredtime")}</label>
<span class="required">*</span>
<div class="formHelp">{$locale->tr("authimage_expiredtime")}</div>
- <input class="text" type="text" name="expiredTime" id="expiredTime" value="{$expiredTime}" {user_cannot_override key=plugin_authimage_expiredtime}readonly{/user_cannot_override} />
+ <input class="text" type="text" name="expiredTime" id="expiredTime" value="{$expiredTime}" {user_cannot_override key=plugin_authimage_expiredtime}readonly="readonly"{/user_cannot_override} />
</div>
<div class="field">
@@ -49,7 +49,7 @@
{foreach from=$backgrounds item=background}
<tr>
<td>
- <input class="radio" type="radio" name="default" id="default" value="{$background}" {if $default==$background} checked="checked" {/if} {user_cannot_override key=plugin_authimage_default}readonly{/user_cannot_override} />
+ <input class="radio" type="radio" name="default" id="default" value="{$background}" {if $default==$background} checked="checked" {/if} {user_cannot_override key=plugin_authimage_default}readonly="readonly"{/user_cannot_override} />
</td>
<td>
{$background}
More information about the pLog-svn
mailing list