From: Reini U. <ru...@us...> - 2008-03-17 19:16:11
|
Update of /cvsroot/phpwiki/phpwiki/themes/default/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv908/templates Modified Files: editpage.tmpl Log Message: protect $WYSIWYG_B Index: editpage.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/editpage.tmpl,v retrieving revision 1.64 retrieving revision 1.65 diff -u -2 -b -p -d -r1.64 -r1.65 --- editpage.tmpl 18 Jul 2007 13:07:39 -0000 1.64 +++ editpage.tmpl 17 Mar 2008 19:16:15 -0000 1.65 @@ -42,8 +42,6 @@ <noscript><?=Button("submit:", _("Adjust"), 'wikiaction')?></noscript> </div></td></tr></table> -<?php if ($WYSIWYG_B){ ?> -<p> -<div class="hint"><strong>Warning:</strong> Switching to wysiwyg edition mode will not keep your changes.</div> -</p> +<?php if (!empty($WYSIWYG_B)) { ?> + <br /><div class="hint"><strong>Warning:</strong> Switching to the Wysiwyg editor will not keep your changes.</div> <?php } ?> <a name="editarea"></a><?=$EDIT_TEXTAREA?> @@ -66,5 +64,5 @@ </td> <td align="center"> - <?php if ($WYSIWYG_B){ ?> + <?php if (!empty($WYSIWYG_B)){ ?> <?=$WYSIWYG_B?> <?=$SEP?> |