diff --git a/themes/enhanced/app_languages.php b/themes/enhanced/app_languages.php new file mode 100644 index 0000000000..ec87c188a3 --- /dev/null +++ b/themes/enhanced/app_languages.php @@ -0,0 +1,17 @@ + diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php index 96eb41149f..5a740b5712 100644 --- a/themes/enhanced/template.php +++ b/themes/enhanced/template.php @@ -114,7 +114,7 @@ td.list_control_icons { padding-left: 3px; width: 50px; text-align: right; - vertical-align: middle; + vertical-align: top; white-space: nowrap; } @@ -127,6 +127,10 @@ img.list_control_icon { -moz-opacity: 0.9; } +form { + margin: 0px; + } + input.btn, input.button { font-family: Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif; padding: 2px 6px 3px 6px; @@ -156,41 +160,13 @@ input.btn:hover, input.button:hover, img.list_control_icon:hover { -moz-opacity: 1.0; } -select.txt { - font-family: arial; - font-size: 12px; - width: 98.75%; - border: solid 1px #CCCCCC; - color: #666666; - background-color: #EFEFEF; - background-repeat:repeat-x; - height: 19px; -} - -textarea.txt { - font-family: arial; - font-size: 12px; - width: 98.75%; - border: solid 1px #CCCCCC; - color: #666666; - background-color: #EFEFEF; - background-repeat:repeat-x; - overflow: auto; - padding: 4px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; -} - - - -input.txt, .formfld { +input.txt, textarea.txt, select.txt, .formfld { font-family: arial; font-size: 12px; color: #000; width: 50%; text-align: left; - padding: 5px 5px; + padding: 5px; border: 1px solid #c0c0c0; background-color: #fff; -webkit-box-shadow: 0px 0px 3px #cddaf0 inset; @@ -207,6 +183,11 @@ input.txt:focus, .formfld:focus { box-shadow: 0px 0px 5px #cddaf0; } +select.formfld { + height: 27px; + padding: 4px; + } + input.txt { width: 98.75%; } @@ -746,14 +727,21 @@ table tr:nth-last-child(-5) td:first-of-type { //logged in show the domains block if (strlen($_SESSION["username"]) > 0 && permission_exists("domain_select") && count($_SESSION['domains']) > 1) { + + //add multi-lingual support + require_once "themes/enhanced/app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + ?>