svnno****@sourc*****
svnno****@sourc*****
2011年 5月 14日 (土) 02:41:34 JST
Revision: 567 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=567 Author: yoya Date: 2011-05-14 02:41:34 +0900 (Sat, 14 May 2011) Log Message: ----------- noshape の時に画像一覧に shape を入れないよう改造。(ビットマップ画像のみ表示するモード) Modified Paths: -------------- trunk/www/swfimagelist.php -------------- next part -------------- Modified: trunk/www/swfimagelist.php =================================================================== --- trunk/www/swfimagelist.php 2011-04-26 07:58:01 UTC (rev 566) +++ trunk/www/swfimagelist.php 2011-05-13 17:41:34 UTC (rev 567) @@ -31,9 +31,10 @@ if (($tag == 20) || ($tag == 36)) { $ext = '.png'; } -// if (($tag == 2) || ($tag == 22) || ($tag == 32)) { - if (($tag == 2) || ($tag == 22) || ($tag == 32) || ($tag == 46)) { - $ext = '.shape'; + if (($tag == 2) || ($tag == 22) || ($tag == 32)) { + if (empty($_REQUEST['noshape'])) { + $ext = '.shape'; + } } if (empty($ext)) { continue; @@ -65,7 +66,7 @@ if (($ext == '.jpg') || ($ext == '.png')) { echo "<td> <img src=\"./swfimage.php?id=$id&image_id=$cid&ext=$ext\"> </td>"; - } else { // shape + } elseif ($ext == '.shape') { // shape echo "<td> <object width='240' height='240'> <param name='movie' value='./swfshape.php?id=$id&shape_id=$cid&ext=$ext'>