Theme: Added defaults (in the code) for the footer/copyright if missing in Settings.
This commit is contained in:
parent
c4362576f9
commit
a8faf347e0
|
|
@ -103,14 +103,14 @@ if ($domains_processed == 1) {
|
||||||
$array[$x]['default_setting_subcategory'] = 'footer_background_color';
|
$array[$x]['default_setting_subcategory'] = 'footer_background_color';
|
||||||
$array[$x]['default_setting_name'] = 'text';
|
$array[$x]['default_setting_name'] = 'text';
|
||||||
$array[$x]['default_setting_value'] = '#000000';
|
$array[$x]['default_setting_value'] = '#000000';
|
||||||
$array[$x]['default_setting_enabled'] = 'true';
|
$array[$x]['default_setting_enabled'] = 'false';
|
||||||
$array[$x]['default_setting_description'] = 'Set the background color (and opacity) for the footer bar.';
|
$array[$x]['default_setting_description'] = 'Set the background color (and opacity) for the footer bar.';
|
||||||
$x++;
|
$x++;
|
||||||
$array[$x]['default_setting_category'] = 'theme';
|
$array[$x]['default_setting_category'] = 'theme';
|
||||||
$array[$x]['default_setting_subcategory'] = 'footer_color';
|
$array[$x]['default_setting_subcategory'] = 'footer_color';
|
||||||
$array[$x]['default_setting_name'] = 'text';
|
$array[$x]['default_setting_name'] = 'text';
|
||||||
$array[$x]['default_setting_value'] = '#ffffff';
|
$array[$x]['default_setting_value'] = '#ffffff';
|
||||||
$array[$x]['default_setting_enabled'] = 'true';
|
$array[$x]['default_setting_enabled'] = 'false';
|
||||||
$array[$x]['default_setting_description'] = 'Set the text color (and opacity) for the footer bar.';
|
$array[$x]['default_setting_description'] = 'Set the text color (and opacity) for the footer bar.';
|
||||||
$x++;
|
$x++;
|
||||||
$array[$x]['default_setting_category'] = 'theme';
|
$array[$x]['default_setting_category'] = 'theme';
|
||||||
|
|
|
||||||
|
|
@ -180,7 +180,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
div#footer {
|
div#footer {
|
||||||
background: <?php echo $_SESSION['theme']['footer_background_color']['text']; ?>;
|
background: <?php echo ($_SESSION['theme']['footer_background_color']['text'] != '') ? $_SESSION['theme']['footer_background_color']['text'] : 'rgba(0,0,0,0.2)'; ?>;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
@ -193,10 +193,13 @@
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-family: arial;
|
font-family: arial;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
color: <?php echo $_SESSION['theme']['footer_color']['text']; ?>;
|
color: <?php echo ($_SESSION['theme']['footer_color']['text'] != '') ? $_SESSION['theme']['footer_color']['text'] : 'rgba(255,255,255,0.3)'; ?>;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer > a:hover {
|
||||||
|
color: <?php echo ($_SESSION['theme']['footer_color']['text'] != '') ? $_SESSION['theme']['footer_color']['text'] : 'rgba(255,255,255,0.3)'; ?>;
|
||||||
|
}
|
||||||
|
|
||||||
/* BOOTSTRAP MENU: BEGIN ******************************************************************/
|
/* BOOTSTRAP MENU: BEGIN ******************************************************************/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue