onokazu
onoka****@users*****
2005年 5月 30日 (月) 19:45:01 JST
Index: xoops2jp/html/modules/system/admin/banners/banners.php diff -u xoops2jp/html/modules/system/admin/banners/banners.php:1.2.6.5 xoops2jp/html/modules/system/admin/banners/banners.php:1.2.6.6 --- xoops2jp/html/modules/system/admin/banners/banners.php:1.2.6.5 Fri May 13 20:00:29 2005 +++ xoops2jp/html/modules/system/admin/banners/banners.php Mon May 30 19:45:01 2005 @@ -1,5 +1,5 @@ <?php -// $Id: banners.php,v 1.2.6.5 2005/05/13 11:00:29 minahito Exp $ +// $Id: banners.php,v 1.2.6.6 2005/05/30 10:45:01 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -218,9 +218,9 @@ }else{ if(strtolower(substr($imageurl,strrpos($imageurl,".")))==".swf") { echo "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,40,0\"; width=\"468\" height=\"60\">"; - echo "<param name=movie value=\"$imageurl\">"; - echo "<param name=quality value=high>"; - echo "<embed src=\"$imageurl\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"; type=\"application/x-shockwave-flash\" width=\"468\" height=\"60\">"; + echo "<param name='movie' value='$imageurl'></param>"; + echo "<param name='quality' value='high'></param>"; + echo "<embed src='$imageurl' quality='high' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='468' height='60'>"; echo "</embed>"; echo "</object>"; } else { @@ -276,9 +276,9 @@ }else{ if(strtolower(substr($imageurl,strrpos($imageurl,".")))==".swf") { echo "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,40,0\"; width=\"468\" height=\"60\">"; - echo "<param name=movie value=\"$imageurl\">"; - echo "<param name=quality value=high>"; - echo "<embed src=\"$imageurl\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"; type=\"application/x-shockwave-flash\" width=\"468\" height=\"60\">"; + echo "<param name='movie' value='$imageurl'></param>"; + echo "<param name='quality' value='high'></param>"; + echo "<embed src='$imageurl' quality='high' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='468' height='60'>"; echo "</embed>"; echo "</object>"; } else { @@ -312,9 +312,9 @@ "._AM_CLICKURLT."<input type='text' name='clickurl' size='50' maxlength='200' value='$clickurl' />".htmlspecialchars($clickurl,ENT_QUOTES)."<br /> "._AM_USEHTML; if ($htmlbanner){ - echo " <input type='checkbox' name='htmlbanner' value='1' checked>"; + echo " <input type='checkbox' name='htmlbanner' value='1' checked='checked' />"; }else{ - echo " <input type='checkbox' name='htmlbanner' value='1'>"; + echo " <input type='checkbox' name='htmlbanner' value='1' />"; } echo " <br /> @@ -365,9 +365,9 @@ if(strtolower(substr($imageurl,strrpos($imageurl,".")))==".swf") { $bannerobject = $bannerobject .'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="468" height="60">' - .'<param name=movie value="'.$imageurl.'">' - .'<param name=quality value=high>' - .'<embed src="'.$imageurl.'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"; type="application/x-shockwave-flash" width="468" height="60">' + .'<param name="movie" value="'.$imageurl.'"></param>' + .'<param name="quality" value="high"></param>' + .'<embed src="'.$imageurl.'" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60">' .'</embed>' .'</object>'; } else { @@ -409,7 +409,7 @@ "._AM_CONTMAILT ."<input type='text' name='email' size='30' maxlength='60' value='$email' /><br /> "._AM_CLILOGINT."<input type='text' name='login' size='12' maxlength='10' value='$login' /><br /> "._AM_CLIPASST."<input type='text' name='passwd' size='12' maxlength='10' value='$passwd' /><br /> - "._AM_EXTINFO."<br /><textarea name='extrainfo' cols='60' rows='10' />$extrainfo</textarea><br /> + "._AM_EXTINFO."<br /><textarea name='extrainfo' cols='60' rows='10'>$extrainfo</textarea><br /> <input type='hidden' name='cid' value='$cid' /> <input type='hidden' name='op' value='BannerClientChange' /> <input type='hidden' name='fct' value='banners' />