[xoops-cvslog 248] CVS update: xoops2jp/html/modules/news/admin

Back to archive index

onokazu onoka****@users*****
2005年 7月 18日 (月) 17:23:40 JST


Index: xoops2jp/html/modules/news/admin/storyform.inc.php
diff -u xoops2jp/html/modules/news/admin/storyform.inc.php:1.2.6.3 xoops2jp/html/modules/news/admin/storyform.inc.php:1.2.6.3.2.1
--- xoops2jp/html/modules/news/admin/storyform.inc.php:1.2.6.3	Fri May 13 20:18:28 2005
+++ xoops2jp/html/modules/news/admin/storyform.inc.php	Mon Jul 18 17:23:39 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: storyform.inc.php,v 1.2.6.3 2005/05/13 11:18:28 minahito Exp $
+// $Id: storyform.inc.php,v 1.2.6.3.2.1 2005/07/18 08:23:39 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -57,10 +57,11 @@
 }
 
 echo "<br /><b>"._AM_TOPICDISPLAY."</b>&nbsp;&nbsp;<input type='radio' name='topicdisplay' value='1'";
-if ( !isset($topicdisplay) || $topicdisplay==1 ) {
+$topicdisplay = !isset($topicdisplay) ? 1 : $topicdisplay;
+if ($topicdisplay == 1) {
     echo " checked='checked'";
 }
-ECHO " />"._AM_YES."&nbsp;<input type='radio' name='topicdisplay' value='0'";
+echo " />"._AM_YES."&nbsp;<input type='radio' name='topicdisplay' value='0'";
 if (empty($topicdisplay)) {
     echo " checked='checked'";
 }


xoops-cvslog メーリングリストの案内
Back to archive index