From: <var...@us...> - 2016-05-25 12:16:31
|
Revision: 9853 http://sourceforge.net/p/phpwiki/code/9853 Author: vargenau Date: 2016-05-25 12:16:28 +0000 (Wed, 25 May 2016) Log Message: ----------- Be case consistent Modified Paths: -------------- trunk/lib/Captcha.php trunk/lib/Template.php trunk/lib/plugin/RecentChanges.php trunk/lib/upgrade.php Modified: trunk/lib/Captcha.php =================================================================== --- trunk/lib/Captcha.php 2016-05-25 10:30:28 UTC (rev 9852) +++ trunk/lib/Captcha.php 2016-05-25 12:16:28 UTC (rev 9853) @@ -102,7 +102,7 @@ function get_dictionary_word() { // Load In the Word List - $fp = fopen(findfile("lib/captcha/dictionary"), "r"); + $fp = fopen(findFile("lib/captcha/dictionary"), "r"); $text = array(); while (!feof($fp)) $text[] = trim(fgets($fp, 1024)); @@ -170,7 +170,7 @@ elseif ($y > $height - 10) $y = $height - 11; $x += rand($size, $size * 2); imagettftext($jpg, $size, $angle, $x, $y, $tx, - realpath(findfile("lib/captcha/Vera.ttf")), + realpath(findFile("lib/captcha/Vera.ttf")), $word[$i]); } Modified: trunk/lib/Template.php =================================================================== --- trunk/lib/Template.php 2016-05-25 10:30:28 UTC (rev 9852) +++ trunk/lib/Template.php 2016-05-25 12:16:28 UTC (rev 9853) @@ -294,7 +294,7 @@ $WikiTheme->DUMP_MODE = 'HTML'; // FIXME: unfatal errors and login requirements - $html = asXML(new Template('htmldump', $request, $args)); + $html = AsXML(new Template('htmldump', $request, $args)); $HIDE_TOOLBARS = false; //$WikiTheme->DUMP_MODE = false; Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2016-05-25 10:30:28 UTC (rev 9852) +++ trunk/lib/plugin/RecentChanges.php 2016-05-25 12:16:28 UTC (rev 9853) @@ -688,7 +688,7 @@ $linkurl->setAttr('target', '_content'); $linkurl->setAttr('rel', 'nofollow'); // FIXME: Smelly hack to get smaller diff buttons in sidebar - $linkurl = new RawXML(str_replace('<img ', '<img style="height:2ex" ', asXML($linkurl))); + $linkurl = new RawXML(str_replace('<img ', '<img style="height:2ex" ', AsXML($linkurl))); return $linkurl; } @@ -697,7 +697,7 @@ $linkurl = parent::historyLink($rev); $linkurl->setAttr('target', '_content'); // FIXME: Smelly hack to get smaller history buttons in sidebar - $linkurl = new RawXML(str_replace('<img ', '<img style="height:2ex" ', asXML($linkurl))); + $linkurl = new RawXML(str_replace('<img ', '<img style="height:2ex" ', AsXML($linkurl))); return $linkurl; } Modified: trunk/lib/upgrade.php =================================================================== --- trunk/lib/upgrade.php 2016-05-25 10:30:28 UTC (rev 9852) +++ trunk/lib/upgrade.php 2016-05-25 12:16:28 UTC (rev 9853) @@ -818,7 +818,7 @@ 'button'))))); $form->printXml(); echo "</div><!-- content -->\n"; - echo asXML(Template("bottom")); + echo AsXML(Template("bottom")); echo "</body></html>\n"; $this->request->finish(); exit(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |