게시판 XE 스킨의 컬러셋 4가지 추가

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2049 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-27 04:44:37 +00:00
parent 91ee2589e7
commit 83b474b9c6
98 changed files with 449 additions and 283 deletions

View file

@ -201,8 +201,10 @@
$name = $color->attrs->name;
$title = $color->title->body;
$screenshot = $color->attrs->src;
if($screenshot && file_exists($screenshot)) $screenshot = sprintf("%sskins/%s/%s", $path, $skin, $screenshot);
else $screenshot = "";
if($screenshot) {
$screenshot = sprintf("%sskins/%s/%s", $path, $skin, $screenshot);
if(!file_exists($screenshot)) $screenshot = "";
} else $screenshot = "";
unset($obj);
$obj->name = $name;