From: <var...@us...> - 2013-04-18 09:36:21
|
Revision: 8769 http://sourceforge.net/p/phpwiki/code/8769 Author: vargenau Date: 2013-04-18 09:36:18 +0000 (Thu, 18 Apr 2013) Log Message: ----------- tablePush is protected Modified Paths: -------------- trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSelect.php Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2013-04-18 09:34:48 UTC (rev 8768) +++ trunk/lib/plugin/WikiAdminRename.php 2013-04-18 09:36:18 UTC (rev 8769) @@ -274,28 +274,28 @@ function renameForm(&$header, $post_args, $singlepage) { $table = HTML::table(); - $this->_tablePush($table, _("Rename") . " " . _("from") . _(": "), + $this->tablePush($table, _("Rename") . " " . _("from") . _(": "), HTML::input(array('name' => 'admin_rename[from]', 'size' => MAX_PAGENAME_LENGTH, 'maxlength' => MAX_PAGENAME_LENGTH, 'readonly' => 'readonly', 'value' => $post_args['from']))); - $this->_tablePush($table, _("to") . _(": "), + $this->tablePush($table, _("to") . _(": "), HTML::input(array('name' => 'admin_rename[to]', 'size' => MAX_PAGENAME_LENGTH, 'maxlength' => MAX_PAGENAME_LENGTH, 'value' => $post_args['to']))); if ($singlepage === false) { - $this->_tablePush($table, '', + $this->tablePush($table, '', $this->checkBox($post_args, 'regex', _("Regex?"))); - $this->_tablePush($table, '', + $this->tablePush($table, '', $this->checkBox($post_args, 'icase', _("Case insensitive?"))); } if (defined('EXPERIMENTAL') and EXPERIMENTAL) // not yet stable - $this->_tablePush($table, '', + $this->tablePush($table, '', $this->checkBox($post_args, 'updatelinks', _("Change pagename in all linked pages also?"))); - $this->_tablePush($table, '', + $this->tablePush($table, '', $this->checkBox($post_args, 'createredirect', _("Create redirect from old to new name?"))); $header->pushContent($table); Modified: trunk/lib/plugin/WikiAdminSearchReplace.php =================================================================== --- trunk/lib/plugin/WikiAdminSearchReplace.php 2013-04-18 09:34:48 UTC (rev 8768) +++ trunk/lib/plugin/WikiAdminSearchReplace.php 2013-04-18 09:36:18 UTC (rev 8769) @@ -239,16 +239,16 @@ _("Replace all occurences of the given string in the content of all pages.")), HTML::br()); $table = HTML::table(); - $this->_tablePush($table, _("Replace") . _(": "), + $this->tablePush($table, _("Replace") . _(": "), HTML::input(array('name' => 'admin_replace[from]', 'size' => 90, 'value' => $post_args['from']))); - $this->_tablePush($table, _("by") . _(": "), + $this->tablePush($table, _("by") . _(": "), HTML::input(array('name' => 'admin_replace[to]', 'size' => 90, 'value' => $post_args['to']))); - $this->_tablePush($table, '', $this->checkBox($post_args, 'case_exact', _("Case exact?"))); - $this->_tablePush($table, '', $this->checkBox($post_args, 'regex', _("Regex?"))); + $this->tablePush($table, '', $this->checkBox($post_args, 'case_exact', _("Case exact?"))); + $this->tablePush($table, '', $this->checkBox($post_args, 'regex', _("Regex?"))); $header->pushContent($table); return $header; } Modified: trunk/lib/plugin/WikiAdminSelect.php =================================================================== --- trunk/lib/plugin/WikiAdminSelect.php 2013-04-18 09:34:48 UTC (rev 8768) +++ trunk/lib/plugin/WikiAdminSelect.php 2013-04-18 09:36:18 UTC (rev 8769) @@ -234,7 +234,7 @@ } } - private function _tablePush(&$table, $first, $second) + protected function tablePush(&$table, $first, $second) { $table->pushContent( HTML::tr( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |