|
From: Arno H. <aho...@us...> - 2000-10-24 09:55:21
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory slayer.i.sourceforge.net:/tmp/cvs-serv4518/lib Modified Files: pageinfo.php Log Message: Jan added some gettext() for pageinfo.php Index: pageinfo.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/pageinfo.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** pageinfo.php 2000/10/19 21:36:50 1.3 --- pageinfo.php 2000/10/24 09:55:18 1.4 *************** *** 7,14 **** $encname = htmlspecialchars($info); $html = "<form action=\"$ScriptUrl\" METHOD=GET>\n" . "<input name=\"info\" value=\"$encname\">" . ! " Enter a page name\n" . ! "<input type=submit value=Go><br>\n" . "<input type=checkbox name=showpagesource"; --- 7,16 ---- $encname = htmlspecialchars($info); + $enter .= gettext ("Enter a page name"); + $go = gettext ("Go"); $html = "<form action=\"$ScriptUrl\" METHOD=GET>\n" . "<input name=\"info\" value=\"$encname\">" . ! " $enter\n" . ! "<input type=submit value=$go><br>\n" . "<input type=checkbox name=showpagesource"; *************** *** 16,20 **** $html .= " checked"; } ! $html .= "> Show the page source and references\n</form>\n"; // don't bother unless we were asked --- 18,24 ---- $html .= " checked"; } ! $html .= "> "; ! $html .= gettext ("Show the page source and references"); ! $html .= "\n</form>\n"; // don't bother unless we were asked *************** *** 30,34 **** $pagehash = RetrievePage($dbi, $name, $pagestore); if ($pagehash == -1) { ! $table = "Page name '$name' is not in the database<br>\n"; } else { --- 34,39 ---- $pagehash = RetrievePage($dbi, $name, $pagestore); if ($pagehash == -1) { ! $table = sprintf (gettext ("Page name '%s' is not in the database"), ! $name) . "\n"; } else { *************** *** 56,64 **** } ! $html .= "<P><B>Current version</B></p>"; // $dbi = OpenDataBase($WikiPageStore); --- done by index.php $html .= ViewPageProps($info, $WikiPageStore); ! $html .= "<P><B>Archived version</B></p>"; // $dbi = OpenDataBase($ArchivePageStore); $html .= ViewPageProps($info, $ArchivePageStore); --- 61,73 ---- } ! $html .= "<P><B>"; ! $html .= gettext ("Current version"); ! $html .= "</B></p>"; // $dbi = OpenDataBase($WikiPageStore); --- done by index.php $html .= ViewPageProps($info, $WikiPageStore); ! $html .= "<P><B>"; ! $html .= gettext ("Archived version"); ! $html .= "</B></p>"; // $dbi = OpenDataBase($ArchivePageStore); $html .= ViewPageProps($info, $ArchivePageStore); |