From: Carsten K. <car...@us...> - 2002-01-05 13:39:57
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv22683 Modified Files: savepage.php Log Message: minor update: some html converted into QElement()s Index: savepage.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/savepage.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** savepage.php 2002/01/05 10:17:07 1.20 --- savepage.php 2002/01/05 13:39:54 1.21 *************** *** 16,20 **** function ConcurrentUpdates($pagename) { /* xgettext only knows about c/c++ line-continuation strings ! is does not know about php's dot operator. We want to translate this entire paragraph as one string, of course. */ --- 16,20 ---- function ConcurrentUpdates($pagename) { /* xgettext only knows about c/c++ line-continuation strings ! it does not know about php's dot operator. We want to translate this entire paragraph as one string, of course. */ *************** *** 166,178 **** if ($warnings) { ! $html .= Element('p', "<b>"._("Warning!")."</b> " . htmlspecialchars($warnings) ! . "<br>\n"); } ! if (!empty($SignatureImg)) ! $html .= sprintf("<P><img src=\"%s\"></P>\n", DataURL($SignatureImg)); ! $html .= "<hr noshade>\n"; $html .= do_transform($newrevision->getContent()); echo GeneratePage('BROWSE', $html, $pagename, $newrevision); --- 166,182 ---- if ($warnings) { ! $html .= Element('p', QElement('strong',_("Warning!")) ." " . htmlspecialchars($warnings) ! . QElement('br') ."\n"); } ! if (!empty($SignatureImg)) { ! $html .= Element('p', ! QElement('img', array('alt' => $SignatureImg, ! 'src' => DataURL($SignatureImg)))); ! } ! ! $html .= QElement('hr', array('noshade' => 'noshade'); $html .= do_transform($newrevision->getContent()); echo GeneratePage('BROWSE', $html, $pagename, $newrevision); |