fixes missing URL when editing comments
This commit is contained in:
parent
d99a4e4f43
commit
cc44e55cdc
@ -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'),
|
||||
);
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user