mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Theme: Misc improvements
This commit is contained in:
@@ -34,10 +34,16 @@ echo "<link rel='stylesheet' type='text/css' href='<!--{project_path}-->/resourc
|
||||
echo "<link rel='stylesheet' type='text/css' href='<!--{project_path}-->/resources/bootstrap/css/bootstrap-colorpicker.min.css'>\n";
|
||||
echo "<link rel='stylesheet' type='text/css' href='<!--{project_path}-->/themes/".escape($_SESSION['domain']['template']['name'])."/css.php".($default_login ? '?login=default' : null)."'>\n";
|
||||
|
||||
//load custom css
|
||||
//link to custom css file
|
||||
if ($_SESSION['theme']['custom_css']['text'] != '') {
|
||||
echo "<link rel='stylesheet' type='text/css' href='".escape($_SESSION['theme']['custom_css']['text'])."'>\n\n";
|
||||
}
|
||||
//output custom css
|
||||
if ($_SESSION['theme']['custom_css_code']['text'] != '') {
|
||||
echo "<style>\n";
|
||||
echo escape($_SESSION['theme']['custom_css_code']['text']);
|
||||
echo "</style>\n\n";
|
||||
}
|
||||
|
||||
//set fav icon
|
||||
$favicon = (isset($_SESSION['theme']['favicon']['text'])) ? escape($_SESSION['theme']['favicon']['text']) : '<!--{project_path}-->/themes/default/favicon.ico';
|
||||
|
||||
Reference in New Issue
Block a user