Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv10074/phpwiki/lib
Modified Files:
removepage.php
Log Message:
very minor gettext & sprintf cleanups
Index: removepage.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/removepage.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** removepage.php 2001/12/01 13:06:13 1.2
--- removepage.php 2001/12/28 09:46:04 1.3
***************
*** 3,22 ****
if ($request->getArg('verify') != 'okay') {
! $html = sprintf(gettext ("You are about to remove '%s' permanently!"),
htmlspecialchars($pagename));
$html .= "\n<P>";
! $html .= sprintf(gettext ("Click here to <a href=\"%s\">remove the page now</a>."),
htmlspecialchars(WikiURL($pagename, array('action' => 'remove',
'verify' => 'okay'))));
$html .= "\n<P>";
! $html .= gettext ("To cancel press the \"Back\" button of your browser.");
}
else {
$dbi->deletePage($pagename);
! $html = sprintf(gettext ("Removed page '%s' succesfully."),
htmlspecialchars($pagename));
}
require_once('lib/Template.php');
! echo GeneratePage('MESSAGE', $html, gettext("Remove page"));
// For emacs users
--- 3,22 ----
if ($request->getArg('verify') != 'okay') {
! $html = sprintf(_("You are about to remove '%s' permanently!"),
htmlspecialchars($pagename));
$html .= "\n<P>";
! $html .= sprintf(_("Click here to <a href=\"%s\">remove the page now</a>."),
htmlspecialchars(WikiURL($pagename, array('action' => 'remove',
'verify' => 'okay'))));
$html .= "\n<P>";
! $html .= _("To cancel press the \"Back\" button of your browser.");
}
else {
$dbi->deletePage($pagename);
! $html = sprintf(_("Removed page '%s' succesfully."),
htmlspecialchars($pagename));
}
require_once('lib/Template.php');
! echo GeneratePage('MESSAGE', $html, _("Remove page"));
// For emacs users
|