onokazu
onoka****@users*****
2005年 7月 18日 (月) 19:22:50 JST
Index: xoops2jp/html/modules/xoopsfaq/admin/contentsform.php diff -u xoops2jp/html/modules/xoopsfaq/admin/contentsform.php:1.2 xoops2jp/html/modules/xoopsfaq/admin/contentsform.php:1.2.10.1 --- xoops2jp/html/modules/xoopsfaq/admin/contentsform.php:1.2 Fri Mar 18 21:52:49 2005 +++ xoops2jp/html/modules/xoopsfaq/admin/contentsform.php Mon Jul 18 19:22:49 2005 @@ -1,5 +1,5 @@ <?php -// $Id: contentsform.php,v 1.2 2005/03/18 12:52:49 onokazu Exp $ +// $Id: contentsform.php,v 1.2.10.1 2005/07/18 10:22:49 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -41,7 +41,7 @@ xoopsCodeTarea("contents_contents", 60, 20); xoopsSmilies("contents_contents"); -$checked = " checked='checked'"; +$checked = ($contents_nohtml == 1) ? " checked='checked'" : ""; echo "<br /><input type='checkbox' name='contents_nohtml' value='1'$checked />"._XD_NOHTML."<br />"; $checked = ($contents_nosmiley == 1) ? " checked='checked'" : "";