fixes missing URL when editing comments

This commit is contained in:
real_nowhereman 2009-09-09 17:30:19 +00:00
parent d99a4e4f43
commit cc44e55cdc
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ class admin_entry_commedit extends AdminPanelActionValidated {
var $validators = array(
array('name', 'name', 'notEmpty', false, false, 'trim,stripslashes'),
array('email', 'email', 'isEmail', true, false, 'trim,stripslashes'),
array('www', 'www', 'isURL', true, false, 'trim,stripslashes'),
array('url', 'url', 'isURL', true, false, 'trim,stripslashes'),
array('content', 'content', 'notEmpty', false, false, 'stripslashes'),
);

View File

@ -25,7 +25,7 @@
<dt><label class="textlabel" for="www">{$plang.www}</label></dt>
<dd>
<input type="text" class="bigtextinput {$error.www|notempty:'field-error'}" name="www" id="www" value="{$values.www}" />
<input type="text" class="bigtextinput {$error.www|notempty:'field-error'}" name="url" id="url" value="{$values.url}" />
</dd>
<dt><label class="textlabel" for="ip">{$plang.ip}</label></dt>