diff --git a/core/default_settings/default_setting_edit.php b/core/default_settings/default_setting_edit.php
index 2e7e7484ed..d82b6e2373 100644
--- a/core/default_settings/default_setting_edit.php
+++ b/core/default_settings/default_setting_edit.php
@@ -413,7 +413,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
elseif ($category == "provision" && $subcategory == "password" && $name == "var" ) {
echo " \n";
}
- elseif ($category == "theme" && $subcategory == "background_color" && $name == "array") {
+ elseif (
+ $category == "theme" && $subcategory == "background_color" && $name == "array" ||
+ $category == "theme" && $subcategory == "login_color" && $name == "text"
+ ) {
// source: http://rightjs.org
echo " ";
echo " ";
@@ -436,7 +439,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "\n";
echo "\n";
- if ($name == "array") {
+ if ($name == "array" || $name == '') {
echo "
\n";
echo "\n";
echo " ".$text['label-order']."\n";
diff --git a/themes/enhanced/app_defaults.php b/themes/enhanced/app_defaults.php
index 3d8d251f42..d45787d280 100644
--- a/themes/enhanced/app_defaults.php
+++ b/themes/enhanced/app_defaults.php
@@ -47,23 +47,39 @@ if ($domains_processed == 1) {
$array[$x]['default_setting_subcategory'] = 'background_color';
$array[$x]['default_setting_name'] = 'array';
$array[$x]['default_setting_value'] = '#ffffff';
- $array[$x]['default_setting_enabled'] = 'false';
+ $array[$x]['default_setting_enabled'] = 'true';
$array[$x]['default_setting_order'] = '0';
- $array[$x]['default_setting_description'] = 'Enter a background (HTML compatible) color.';
+ $array[$x]['default_setting_description'] = 'Set a background (HTML compatible) color.';
$x++;
$array[$x]['default_setting_category'] = 'theme';
$array[$x]['default_setting_subcategory'] = 'background_color';
$array[$x]['default_setting_name'] = 'array';
$array[$x]['default_setting_value'] = '#f0f2f6';
$array[$x]['default_setting_order'] = '1';
- $array[$x]['default_setting_enabled'] = 'false';
- $array[$x]['default_setting_description'] = 'Enter a secondary background (HTML compatible) color, for a gradient effect.';
+ $array[$x]['default_setting_enabled'] = 'true';
+ $array[$x]['default_setting_description'] = 'Set a secondary background (HTML compatible) color, for a gradient effect.';
+ $x++;
+ $array[$x]['default_setting_category'] = 'theme';
+ $array[$x]['default_setting_subcategory'] = 'login_opacity';
+ $array[$x]['default_setting_name'] = 'text';
+ $array[$x]['default_setting_value'] = '0.35';
+ $array[$x]['default_setting_enabled'] = 'true';
+ $array[$x]['default_setting_description'] = 'Set the opacity of the login box (decimal).';
+ $x++;
+ $array[$x]['default_setting_category'] = 'theme';
+ $array[$x]['default_setting_subcategory'] = 'login_color';
+ $array[$x]['default_setting_name'] = 'text';
+ $array[$x]['default_setting_value'] = '#ffffff';
+ $array[$x]['default_setting_enabled'] = 'true';
+ $array[$x]['default_setting_description'] = 'Set a background color (HTML compatible) for the login box.';
$x++;
$orm = new orm;
$orm->name('default_settings');
$orm->save($array[0]);
$orm->save($array[1]);
$orm->save($array[2]);
+ $orm->save($array[3]);
+ $orm->save($array[4]);
$message = $orm->message;
//print_r($message);
}
diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php
index 02d8e46931..79f6402ba0 100644
--- a/themes/enhanced/template.php
+++ b/themes/enhanced/template.php
@@ -95,21 +95,32 @@ if (
?>
-#default_login {
- background-color: #fff;
+DIV#default_login {
+ z-index: 1000;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ right: 0px;
+ bottom: 0px;
+ width: 100%;
+ height: 100%;
+}
+
+#default_login_container {
display: block;
width: 300px;
- padding: 30px;
+ height: 267px;
- opacity: 0.93;
- filter:alpha(opacity=93);
- -moz-opacity:0.93;
- -khtml-opacity: 0.93;
+ background-color: ;
+ opacity: ;
+ filter: alpha(opacity=);
+ -moz-opacity: ;
+ -khtml-opacity: ;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
@@ -1297,11 +1308,7 @@ legend {
-
-
-
-
-
+
|
@@ -1313,6 +1320,23 @@ legend {
+
+
+
+
+
+
+
+
+ |
+
+
+
+ fusionpbx.com. All rights reserved.\n";
echo "".$copyright." ";
?>
|