제목 색상이 N으로 지정되어 color:#N으로 지정될 수 있는 상황 배제

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3942 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
wdlee91 2008-03-16 09:16:57 +00:00
parent 79e0e3d1ce
commit d6b2b4bb0e

View file

@ -217,7 +217,7 @@
$attrs = array();
if($this->get('title_bold')=='Y') $attrs[] = "font-weight:bold;";
if($this->get('title_color')) $attrs[] = "color:#".$this->get('title_color');
if($this->get('title_color')&&$this->get('title_color')!='N') $attrs[] = "color:#".$this->get('title_color');
if(count($attrs)) return sprintf("<span style=\"%s\">%s</span>", implode(';',$attrs), htmlspecialchars($title));
else return htmlspecialchars($title);