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

Zurück zum Archiv-Index

onokazu onoka****@users*****
2005年 8月 3日 (水) 21:39:14 JST


Index: xoops2jp/html/modules/news/admin/index.php
diff -u xoops2jp/html/modules/news/admin/index.php:1.3 xoops2jp/html/modules/news/admin/index.php:1.4
--- xoops2jp/html/modules/news/admin/index.php:1.3	Sat Jun 11 11:32:47 2005
+++ xoops2jp/html/modules/news/admin/index.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: index.php,v 1.3 2005/06/11 02:32:47 onokazu Exp $
+// $Id: index.php,v 1.4 2005/08/03 12:39:14 onokazu Exp $
 // ------------------------------------------------------------------------ //
 // XOOPS - PHP Content Management System                      //
 // Copyright (c) 2000 XOOPS.org                           //
Index: xoops2jp/html/modules/news/admin/storyform.inc.php
diff -u xoops2jp/html/modules/news/admin/storyform.inc.php:1.3 xoops2jp/html/modules/news/admin/storyform.inc.php:1.4
--- xoops2jp/html/modules/news/admin/storyform.inc.php:1.3	Sat Jun 11 11:32:47 2005
+++ xoops2jp/html/modules/news/admin/storyform.inc.php	Wed Aug  3 21:39:14 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: storyform.inc.php,v 1.3 2005/06/11 02:32:47 onokazu Exp $
+// $Id: storyform.inc.php,v 1.4 2005/08/03 12:39:14 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -57,16 +57,17 @@
 }
 
 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'";
 }
 echo " />"._AM_NO."&nbsp;&nbsp;&nbsp;";
 echo "<b>"._AM_TOPICALIGN."</b>&nbsp;<select name='topicalign'>\n";
-    if ( "L" == $topicalign) {
+    if (isset($topicalign) && "L" == $topicalign) {
             $sel = " selected='selected'";
     } else {
             $sel = "";


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index