mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 05:14:56 +09:00
제목 색상이 N으로 지정되어 color:#N으로 지정될 수 있는 상황 배제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3942 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
79e0e3d1ce
commit
d6b2b4bb0e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue