From: <var...@us...> - 2016-05-25 12:30:12
|
Revision: 9854 http://sourceforge.net/p/phpwiki/code/9854 Author: vargenau Date: 2016-05-25 12:30:10 +0000 (Wed, 25 May 2016) Log Message: ----------- Be case consistent Modified Paths: -------------- trunk/lib/BlockParser.php trunk/lib/Template.php trunk/lib/WikiPluginCached.php trunk/lib/editpage.php trunk/lib/plugin/RecentChanges.php trunk/lib/upgrade.php Modified: trunk/lib/BlockParser.php =================================================================== --- trunk/lib/BlockParser.php 2016-05-25 12:16:28 UTC (rev 9853) +++ trunk/lib/BlockParser.php 2016-05-25 12:30:10 UTC (rev 9854) @@ -242,7 +242,7 @@ //return ; $where = $this->where(); $tab = str_repeat('____', $this->getDepth()) . $tab; - printXML(HTML::div("$tab $msg: at: '", + PrintXML(HTML::div("$tab $msg: at: '", HTML::samp($where), "'")); flush(); Modified: trunk/lib/Template.php =================================================================== --- trunk/lib/Template.php 2016-05-25 12:16:28 UTC (rev 9853) +++ trunk/lib/Template.php 2016-05-25 12:30:10 UTC (rev 9854) @@ -266,7 +266,7 @@ if (!isset($args['HEADER'])) $args['HEADER'] = $title; - printXML(new Template('html', $request, $args)); + PrintXML(new Template('html', $request, $args)); } /** Modified: trunk/lib/WikiPluginCached.php =================================================================== --- trunk/lib/WikiPluginCached.php 2016-05-25 12:16:28 UTC (rev 9853) +++ trunk/lib/WikiPluginCached.php 2016-05-25 12:30:10 UTC (rev 9854) @@ -1054,7 +1054,7 @@ // It is important that you close any pipes before calling // proc_close in order to avoid a deadlock proc_close($process); - if (empty($buf)) printXML($this->error($stderr)); + if (empty($buf)) PrintXML($this->error($stderr)); return $buf; } return ''; Modified: trunk/lib/editpage.php =================================================================== --- trunk/lib/editpage.php 2016-05-25 12:16:28 UTC (rev 9853) +++ trunk/lib/editpage.php 2016-05-25 12:30:10 UTC (rev 9854) @@ -644,7 +644,7 @@ $WikiTheme->addMoreHeaders($js); $WikiTheme->addMoreAttr('body', "SearchReplace", " onload='define_f()'"); } else { // from an actionpage: WikiBlog, AddComment, WikiForum - printXML($js); + PrintXML($js); } } else { $WikiTheme->addMoreAttr('body', "editfocus", "document.getElementById('edit-content]').editarea.focus()"); @@ -660,9 +660,9 @@ $WikiTheme->addMoreHeaders($init); $WikiTheme->addMoreHeaders($js); } else { // from an actionpage: WikiBlog, AddComment, WikiForum - printXML($init); - printXML($js); - printXML(JavaScript('define_f()')); + PrintXML($init); + PrintXML($js); + PrintXML(JavaScript('define_f()')); } $toolbar = HTML::div(array('class' => 'edit-toolbar', 'id' => 'toolbar')); $toolbar->pushContent(HTML::input(array('src' => $WikiTheme->getImageURL("ed_save.png"), Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2016-05-25 12:16:28 UTC (rev 9853) +++ trunk/lib/plugin/RecentChanges.php 2016-05-25 12:30:10 UTC (rev 9854) @@ -451,7 +451,7 @@ $sidebar_button = $WikiTheme->makeButton("sidebar", 'javascript:addPanel();', 'sidebaricon', array('title' => _("Click to add this feed to your sidebar"), 'style' => 'font-size:9pt;font-weight:normal; vertical-align:middle;')); - $addsidebarjsclick = asXML($sidebar_button); + $addsidebarjsclick = AsXML($sidebar_button); $jsc = JavaScript("if ((typeof window.sidebar == 'object') &&\n" . " (typeof window.sidebar.addPanel == 'function'))\n" . " {\n" @@ -744,11 +744,11 @@ printf("<title>" . $title . "</title>\n"); global $WikiTheme; $css = $WikiTheme->getCSS(); - $css->PrintXML(); + $css->printXML(); printf("</head>\n"); printf("<body class=\"sidebar\">\n"); - $html->PrintXML(); + $html->printXML(); echo '<a href="http://www.feedvalidator.org/check.cgi?url=http://phpwiki.fr/RecentChanges?format=rss"><img src="themes/default/buttons/valid-rss.png" alt="[Valid RSS]" title="Validate the RSS feed" width="44" height="15" /></a>'; printf("\n</body>\n"); printf("</html>\n"); Modified: trunk/lib/upgrade.php =================================================================== --- trunk/lib/upgrade.php 2016-05-25 12:16:28 UTC (rev 9853) +++ trunk/lib/upgrade.php 2016-05-25 12:30:10 UTC (rev 9854) @@ -816,7 +816,7 @@ HTML::raw(' '), Button("submit:dbadmin[cancel]", _("Cancel"), 'button'))))); - $form->printXml(); + $form->printXML(); echo "</div><!-- content -->\n"; echo AsXML(Template("bottom")); echo "</body></html>\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |