svnno****@sourc*****
svnno****@sourc*****
2011年 4月 1日 (金) 14:52:35 JST
Revision: 496 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=496 Author: yoya Date: 2011-04-01 14:52:35 +0900 (Fri, 01 Apr 2011) Log Message: ----------- detail の要素が Array の場合に、その要素を表示するように。(一段階だけ) (bitmap_ref 対応) Modified Paths: -------------- trunk/www/index.php -------------- next part -------------- Modified: trunk/www/index.php =================================================================== --- trunk/www/index.php 2011-03-31 10:04:18 UTC (rev 495) +++ trunk/www/index.php 2011-04-01 05:52:35 UTC (rev 496) @@ -81,7 +81,15 @@ $detail_str = ''; if (is_array($detail_info)) { foreach ($detail_info as $key => $value) { - $detail_str .= "$key($value) "; + if (is_array($value)) { + $detail_str .= " $key( "; + foreach ($value as $key2 => $value2) { + $detail_str .= "$key2 => $value2 "; + } + $detail_str .= ") "; + } else { + $detail_str .= "$key($value) "; + } } } else { $detail_str .= var_export($detail_info, true);