| @@ 392-392 (lines=1) @@ | ||
| 389 | $attrs = array(); |
|
| 390 | $this->add('title_color', trim($this->get('title_color'))); |
|
| 391 | if($this->get('title_bold')=='Y') $attrs[] = "font-weight:bold;"; |
|
| 392 | if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = "color:#".$this->get('title_color'); |
|
| 393 | ||
| 394 | if(count($attrs)) return sprintf("<span style=\"%s\">%s</span>", implode(';',$attrs), htmlspecialchars($title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)); |
|
| 395 | else return htmlspecialchars($title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false); |
|
| @@ 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 | ||