@@ 879-879 (lines=1) @@ | ||
876 | ||
877 | $attrs = array(); |
|
878 | if($this->get('title_bold') == 'Y') $attrs[] = 'font-weight:bold'; |
|
879 | if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = 'color:#'.$this->get('title_color'); |
|
880 | ||
881 | if(count($attrs)) $title = sprintf("<span style=\"%s\">%s</span>", implode(';', $attrs), $title); |
|
882 |
@@ 771-771 (lines=1) @@ | ||
768 | ||
769 | $attrs = array(); |
|
770 | if($this->get('title_bold') == 'Y') $attrs[] = 'font-weight:bold'; |
|
771 | if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = 'color:#'.$this->get('title_color'); |
|
772 | ||
773 | if(count($attrs)) $title = sprintf("<span style=\"%s\">%s</span>", implode(';', $attrs), htmlspecialchars($title)); |
|
774 |
@@ 395-395 (lines=1) @@ | ||
392 | $attrs = array(); |
|
393 | $this->add('title_color', trim($this->get('title_color'))); |
|
394 | if($this->get('title_bold')=='Y') $attrs[] = "font-weight:bold;"; |
|
395 | if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = "color:#".$this->get('title_color'); |
|
396 | ||
397 | if(count($attrs)) return sprintf("<span style=\"%s\">%s</span>", implode(';',$attrs), htmlspecialchars($title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)); |
|
398 | else return htmlspecialchars($title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false); |