From 8e413dea41b223ecb057ba87565f6c052c06ca3a Mon Sep 17 00:00:00 2001 From: vargenau Date: Wed, 17 Apr 2013 10:36:49 +0000 Subject: [PATCH] HTML::Raw --> HTML::raw git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8765 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/AppendText.php | 2 +- lib/plugin/PasswordReset.php | 6 +++--- lib/plugin/RateIt.php | 2 +- lib/plugin/UserPreferences.php | 2 +- lib/plugin/WatchPage.php | 4 ++-- lib/plugin/WhoIsOnline.php | 2 +- lib/plugin/WikiFormRich.php | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/plugin/AppendText.php b/lib/plugin/AppendText.php index d0f4b752d..1ab70bd33 100644 --- a/lib/plugin/AppendText.php +++ b/lib/plugin/AppendText.php @@ -146,7 +146,7 @@ class WikiPlugin_AppendText } else { $link = HTML::em(WikiLink($pagename)); - $message->pushContent(HTML::Raw(sprintf(_("Go to %s."), $link->asXml()))); + $message->pushContent(HTML::raw(sprintf(_("Go to %s."), $link->asXml()))); } return $message; diff --git a/lib/plugin/PasswordReset.php b/lib/plugin/PasswordReset.php index 5851bd479..e4eaef76e 100644 --- a/lib/plugin/PasswordReset.php +++ b/lib/plugin/PasswordReset.php @@ -96,7 +96,7 @@ class WikiPlugin_PasswordReset { if (!$header) { $header = HTML::p(_("Reset password of user: "), - HTML::Raw(' '), + HTML::raw(' '), HTML::input(array('type' => 'text', 'name' => "user", 'value' => $userid)) @@ -107,7 +107,7 @@ class WikiPlugin_PasswordReset $footer = HTML::p(Button('submit:admin_reset[reset]', $isadmin ? _("Yes") : _("Send e-mail"), $isadmin ? 'wikiadmin' : 'button'), - HTML::Raw(' '), + HTML::raw(' '), Button('submit:admin_reset[cancel]', _("Cancel"), 'button')); } return HTML::form(array('action' => $request->getPostURL(), @@ -153,7 +153,7 @@ class WikiPlugin_PasswordReset $buttons = HTML::p(Button('submit:admin_reset[reset]', $isadmin ? _("Yes") : _("Send e-mail"), $isadmin ? 'wikiadmin' : 'button'), - HTML::Raw(' '), + HTML::raw(' '), Button('submit:admin_reset[cancel]', _("Cancel"), 'button')); $header = HTML::strong("Verify"); if (!$user->isAdmin()) { diff --git a/lib/plugin/RateIt.php b/lib/plugin/RateIt.php index 81fa461ff..372303e41 100644 --- a/lib/plugin/RateIt.php +++ b/lib/plugin/RateIt.php @@ -392,7 +392,7 @@ var msg_rating_deleted = '" . _("Rating deleted!") . "'; //This adds a space between the rating smilies: //if (($i%2) == 0) $html->pushContent("\n"); } - $html->pushContent(HTML::Raw(" ")); + $html->pushContent(HTML::raw(" ")); $a0 = HTML::a(array('href' => "javascript:clickRating('$reImgPrefix','$rePagename','$version'," . "'$reImgId','$dimension','X')")); diff --git a/lib/plugin/UserPreferences.php b/lib/plugin/UserPreferences.php index 478c83a49..798a923d5 100644 --- a/lib/plugin/UserPreferences.php +++ b/lib/plugin/UserPreferences.php @@ -117,7 +117,7 @@ class WikiPlugin_UserPreferences HiddenInputs($request->getArgs()), HTML::p(_("Do you really want to reset all your UserPreferences?")), HTML::p(Button('submit:delete', _("Yes"), 'delete'), - HTML::Raw(' '), + HTML::raw(' '), Button('cancel', _("Cancel"))) )); } elseif ($rp = $request->getArg('pref')) { diff --git a/lib/plugin/WatchPage.php b/lib/plugin/WatchPage.php index 72773bd95..d4ee233a1 100644 --- a/lib/plugin/WatchPage.php +++ b/lib/plugin/WatchPage.php @@ -88,12 +88,12 @@ class WikiPlugin_WatchPage HTML::p(sprintf(_("Do you %s want to add this page \"%s\" to your WatchList?"), ($verified ? _("really") : ""), $page)), HTML::p(Button('submit:add', _("Yes")), - HTML::Raw(' '), + HTML::raw(' '), Button('submit:cancel', _("Cancel")))); } else { $form->pushContent(HTML::p(fmt("The page %s is already watched!", $page)), HTML::p(Button('submit:edit', _("Edit")), - HTML::Raw(' '), + HTML::raw(' '), Button('submit:cancel', _("Cancel")))); } $fieldset = HTML::fieldset(HTML::legend(_("Watch Page")), $form); diff --git a/lib/plugin/WhoIsOnline.php b/lib/plugin/WhoIsOnline.php index c1ee22ddc..9c423c9e9 100644 --- a/lib/plugin/WhoIsOnline.php +++ b/lib/plugin/WhoIsOnline.php @@ -78,7 +78,7 @@ class WikiPlugin_WhoIsOnline if (!$request) $request =& $GLOBALS['request']; $stats = $this->getStats($request->_dbi, $request, 'summary'); return $this->makeBox(_("Who is Online"), - HTML(HTML::Raw('· '), + HTML(HTML::raw('· '), WikiLink(_("WhoIsOnline"), 'auto', fmt("%d online users", $stats['NUM_USERS'])))); } diff --git a/lib/plugin/WikiFormRich.php b/lib/plugin/WikiFormRich.php index 0e59394a1..da51fe73e 100644 --- a/lib/plugin/WikiFormRich.php +++ b/lib/plugin/WikiFormRich.php @@ -183,7 +183,7 @@ class WikiPlugin_WikiFormRich 'class' => 'wikiformrich', 'accept-charset' => 'UTF-8'), HiddenInputs(array('action' => $action))); - $nbsp = HTML::Raw(' '); + $nbsp = HTML::raw(' '); $already_submit = 0; foreach ($this->inputbox as $inputbox) { foreach ($inputbox as $inputtype => $input) { -- 2.42.0