From: <var...@us...> - 2012-06-11 09:33:00
|
Revision: 8272 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8272&view=rev Author: vargenau Date: 2012-06-11 09:32:54 +0000 (Mon, 11 Jun 2012) Log Message: ----------- Add maxlength Modified Paths: -------------- trunk/lib/plugin/WikiAdminRename.php Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2012-06-11 09:19:19 UTC (rev 8271) +++ trunk/lib/plugin/WikiAdminRename.php 2012-06-11 09:32:54 UTC (rev 8272) @@ -269,11 +269,13 @@ $table = HTML::table(); $this->_tablePush($table, _("Rename"). " ". _("from")._(": "), HTML::input(array('name' => 'admin_rename[from]', - 'size' => 90, + 'size' => MAX_PAGENAME_LENGTH, + 'maxlength' => MAX_PAGENAME_LENGTH, 'value' => $post_args['from']))); $this->_tablePush($table, _("to")._(": "), HTML::input(array('name' => 'admin_rename[to]', - 'size' => 90, + 'size' => MAX_PAGENAME_LENGTH, + 'maxlength' => MAX_PAGENAME_LENGTH, 'value' => $post_args['to']))); if ($singlepage === false) { $this->_tablePush($table, '', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |