View difference between Paste ID: TFLX1w4b and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | if (!function_exists('avia_advanced_hr')) { |
2 | function avia_advanced_hr($text = "", $class = "") | |
3 | { | |
4 | $output = ""; | |
5 | if ($text !== false) { | |
6 | if ("thin" !== $text) { | |
7 | $output.= '<div class="hr hr_flag ' . $class . '">'; | |
8 | $output.= ' <div class="primary-background hr_color">'; | |
9 | $output.= ' <span class="flag-text on-primary-color">' . $text . '</span>'; | |
10 | $output.= ' </div>'; | |
11 | } else { | |
12 | $output.= '<div class="fi-hr hr_flag">'; | |
13 | $output.= '<span class="hr-seperator extralight-border"></span>'; | |
14 | $output.= '</div>'; | |
15 | } | |
16 | } else { | |
17 | $output.= '<div class="hr hr_flag ' . $class . '">'; | |
18 | $output.= ' <span class="primary-background seperator-addon"></span>'; | |
19 | } | |
20 | ||
21 | $output.= '<div class="hr hr_flag ' . $class . '">'; | |
22 | $output.= ' <span class="hr-seperator extralight-border"></span>'; | |
23 | $output.= '</div>'; | |
24 | return $output; | |
25 | } | |
26 | } |