From: Carsten K. <car...@us...> - 2002-01-05 13:02:29
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory usw-pr-cvs1:/tmp/cvs-serv17110 Modified Files: _BackendInfo.php Log Message: minor fix: to quoting of _hashtemplate to eliminate one source of warnings during xgettext (warning: unterminated character constant) Index: _BackendInfo.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/_BackendInfo.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** _BackendInfo.php 2001/12/19 12:07:30 1.4 --- _BackendInfo.php 2002/01/05 13:02:26 1.5 *************** *** 16,30 **** function WikiPlugin__BackendInfo() { ! $this->_hashtemplate = new Template(' ! <tr bgcolor="#ffcccc"> ! <td colspan="2">${header}</td> ! </tr> ! <?php foreach ($hash as $key => $val) { ?> ! <tr> ! <td align="right" bgcolor="#cccccc"> <?php echo $key;?> </td> ! <td><?php echo $val;?></td> ! </tr> ! <?php } ?> ! '); } --- 16,30 ---- function WikiPlugin__BackendInfo() { ! $html .= '<tr bgcolor="#ffcccc">'."\n"; ! $html .= ' <td colspan="2">${header}</td>'."\n"; ! $html .= '</tr>'."\n"; ! $html .= '<?php foreach ($hash as $key => $val) { ?>'."\n"; ! $html .= ' <tr>'."\n"; ! $html .= ' <td align="right" bgcolor="#cccccc"> <?php echo $key;?> </td>'."\n"; ! $html .= ' <td><?php echo $val;?></td>'."\n"; ! $html .= ' </tr>'."\n"; ! $html .= '<?php } ?>'."\n"; ! $this->_hashtemplate = new Template($html); ! } |