mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add another default settings -> theme option
This commit is contained in:
@@ -73,6 +73,13 @@ if ($domains_processed == 1) {
|
||||
$array[$x]['default_setting_enabled'] = 'true';
|
||||
$array[$x]['default_setting_description'] = 'Set a background color (HTML compatible) for the login box.';
|
||||
$x++;
|
||||
$array[$x]['default_setting_category'] = 'theme';
|
||||
$array[$x]['default_setting_subcategory'] = 'footer';
|
||||
$array[$x]['default_setting_name'] = 'text';
|
||||
$array[$x]['default_setting_value'] = 'true';
|
||||
$array[$x]['default_setting_enabled'] = 'true';
|
||||
$array[$x]['default_setting_description'] = '';
|
||||
$x++;
|
||||
$orm = new orm;
|
||||
$orm->name('default_settings');
|
||||
$orm->save($array[0]);
|
||||
|
||||
@@ -134,7 +134,7 @@ DIV#default_login {
|
||||
?>
|
||||
}
|
||||
|
||||
DIV#copyright {
|
||||
DIV#footer {
|
||||
background-color: #000;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
@@ -152,7 +152,7 @@ DIV#copyright {
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
.footer {
|
||||
font-size: 11px;
|
||||
font-family: arial;
|
||||
color: #fff;
|
||||
@@ -1433,10 +1433,11 @@ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
$copyright .= "© Copyright 2008 - ".date("Y")." <a href='http://www.fusionpbx.com' class='copyright' target='_blank'>fusionpbx.com</a>. All rights reserved.\n";
|
||||
echo "<div id='copyright' style='position: absolute; z-index; 10000;'><span class='copyright'>".$copyright."</span></div>";
|
||||
if ($_SESSION['theme']['footer']['text'] == "false"){ echo "<!--\n"; }
|
||||
$footer .= "© Copyright 2008 - ".date("Y")." <a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>. All rights reserved.\n";
|
||||
echo "<div id='footer' style='position: absolute; z-index; 10000;'><span class='footer'>".$footer."</span></div>\n";
|
||||
if ($_SESSION['theme']['footer']['text'] == "false"){ echo "-->\n"; }
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user