From: <var...@us...> - 2021-06-17 17:24:15
|
Revision: 10302 http://sourceforge.net/p/phpwiki/code/10302 Author: vargenau Date: 2021-06-17 17:24:11 +0000 (Thu, 17 Jun 2021) Log Message: ----------- function Button has default false Modified Paths: -------------- trunk/lib/plugin/EditMetaData.php trunk/lib/plugin/GoTo.php trunk/lib/plugin/LinkSearch.php trunk/lib/plugin/SemanticSearch.php trunk/lib/plugin/SemanticSearchAdvanced.php Modified: trunk/lib/plugin/EditMetaData.php =================================================================== --- trunk/lib/plugin/EditMetaData.php 2021-06-17 17:17:35 UTC (rev 10301) +++ trunk/lib/plugin/EditMetaData.php 2021-06-17 17:24:11 UTC (rev 10302) @@ -143,7 +143,7 @@ $instructions = _("Add or change a page-level metadata 'key=>value' pair. Note that you can remove a key by leaving the value-box empty."); $keyfield = HTML::input(array('name' => 'metafield'), ''); $valfield = HTML::input(array('name' => 'metavalue'), ''); - $button = Button('submit:metaedit', _("Submit"), false); + $button = Button('submit:metaedit', _("Submit")); $form = HTML::form(array('action' => $action, 'method' => 'post', 'accept-charset' => 'UTF-8'), Modified: trunk/lib/plugin/GoTo.php =================================================================== --- trunk/lib/plugin/GoTo.php 2021-06-17 17:17:35 UTC (rev 10301) +++ trunk/lib/plugin/GoTo.php 2021-06-17 17:24:11 UTC (rev 10302) @@ -83,7 +83,7 @@ 'size' => $size, 'name' => 'goto[target]')); - $button = Button('submit:goto[go]', _("Go"), false); + $button = Button('submit:goto[go]', _("Go")); $form->pushContent($textfield, $button); Modified: trunk/lib/plugin/LinkSearch.php =================================================================== --- trunk/lib/plugin/LinkSearch.php 2021-06-17 17:17:35 UTC (rev 10301) +++ trunk/lib/plugin/LinkSearch.php 2021-06-17 17:24:11 UTC (rev 10302) @@ -110,7 +110,7 @@ $direction->pushContent(HTML::option($out, _("outgoing"))); $direction->pushContent(HTML::option($in, _("incoming"))); */ - $submit = Button('submit:search', _("LinkSearch"), false); + $submit = Button('submit:search', _("LinkSearch")); $instructions = _("Search in pages for links with the matching name."); $form = HTML::form(array('action' => $action, 'method' => 'get', Modified: trunk/lib/plugin/SemanticSearch.php =================================================================== --- trunk/lib/plugin/SemanticSearch.php 2021-06-17 17:17:35 UTC (rev 10301) +++ trunk/lib/plugin/SemanticSearch.php 2021-06-17 17:24:11 UTC (rev 10302) @@ -124,7 +124,7 @@ 'autocomplete_matchsubstring' => 'true', 'autocomplete_list' => 'xmlrpc:wiki.titleSearch ^[S] 4' ), ''); - $relsubmit = Button('submit:semsearch[relations]', _("Relations"), false); + $relsubmit = Button('submit:semsearch[relations]', _("Relations")); // just testing some dhtml... not yet done $enhancements = HTML(); $nbsp = HTML::raw(' '); @@ -214,7 +214,7 @@ 'title' => _("Add an OR query"))); if (DEBUG) $enhancements = HTML::span($andbutton, $nbsp, $orbutton); - $attsubmit = Button('submit:semsearch[attributes]', _("Attributes"), false); + $attsubmit = Button('submit:semsearch[attributes]', _("Attributes")); $instructions = HTML::span(_("Search in pages for an attribute with that numeric value."), "\n"); if (DEBUG) $instructions->pushContent Modified: trunk/lib/plugin/SemanticSearchAdvanced.php =================================================================== --- trunk/lib/plugin/SemanticSearchAdvanced.php 2021-06-17 17:17:35 UTC (rev 10301) +++ trunk/lib/plugin/SemanticSearchAdvanced.php 2021-06-17 17:24:11 UTC (rev 10302) @@ -95,7 +95,7 @@ 'autocomplete_matchsubstring' => 'false', 'autocomplete_list' => 'xmlrpc:wiki.titleSearch ^[S] 4' ), ''); - $help = Button('submit:semsearch[help]', "?", false); + $help = Button('submit:semsearch[help]', "?"); $svalues = empty($allrelations) ? "" : join("','", $allrelations); $reldef = JavaScript("var semsearch_relations = new Array('" . $svalues . "')"); $querybox = HTML::textarea(array('name' => 's', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |