Changeset 3721


Ignore:
Timestamp:
12/20/10 18:53:14 (17 months ago)
Author:
ShadowJumper
Message:
  • [GUI] Replaced ispCP theme with new XHTML theme
  • [GUI] New login theme for Squirrelmail
  • [GUI] New #701: Add ability to sort table lists (clickable column headers)
  • [GUI] New #1807: General Information - Indexes don't make sense
  • [GUI] Fixed #456: Success messages should not be red
Location:
trunk
Files:
367 added
3 deleted
38 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r3720 r3721  
    11ispCP ω 1.0.8 ChangeLog 
    22~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     3 
     42010-12-20 Markus Szywon 
     5        - GUI: 
     6                * Replaced ispCP theme with new XHTML theme 
     7                * New login theme for Squirrelmail 
     8                * New #701: Add ability to sort table lists (clickable column headers) 
     9                * New #1807: General Information - Indexes don't make sense 
     10                * Fixed #456: Success messages should not be red 
    311 
    4122010-12-19 Jochen Manz 
  • trunk/configs/centos/ispcp.conf

    r3676 r3721  
    417417# 
    418418 
    419 USER_INITIAL_THEME = omega_original 
     419USER_INITIAL_THEME = omega 
    420420 
    421421FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/common/database/languages.sql

    r3704 r3721  
    4242-- 
    4343 
    44 DROP TABLE IF EXISTS lang_EnglishBritain; 
    45 CREATE TABLE lang_EnglishBritain ( 
    46   msgid text collate utf8_unicode_ci, 
    47   msgstr text collate utf8_unicode_ci, 
     44DROP TABLE IF EXISTS `lang_EnglishBritain`; 
     45CREATE TABLE `lang_EnglishBritain` ( 
     46  `msgid` text collate utf8_unicode_ci, 
     47  `msgstr` text collate utf8_unicode_ci, 
    4848  KEY msgid (msgid(25)) 
    4949) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     
    5353-- 
    5454 
    55 INSERT INTO lang_EnglishBritain (msgid, msgstr) VALUES 
     55INSERT INTO `lang_EnglishBritain` (`msgid`, `msgstr`) VALUES 
    5656('ispcp_languageSetlocaleValue', 'en_GB'), 
    5757('ispcp_table', 'EnglishBritain'), 
  • trunk/configs/debian/ispcp.conf

    r3676 r3721  
    417417# 
    418418 
    419 USER_INITIAL_THEME = omega_original 
     419USER_INITIAL_THEME = omega 
    420420 
    421421FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/fedora/ispcp.conf

    r3676 r3721  
    417417# 
    418418 
    419 USER_INITIAL_THEME = omega_original 
     419USER_INITIAL_THEME = omega 
    420420 
    421421FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/freebsd/ispcp.conf

    r3701 r3721  
    436436# 
    437437 
    438 USER_INITIAL_THEME = omega_original 
     438USER_INITIAL_THEME = omega 
    439439 
    440440FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/gentoo/ispcp.conf

    r3676 r3721  
    417417# 
    418418 
    419 USER_INITIAL_THEME = omega_original 
     419USER_INITIAL_THEME = omega 
    420420 
    421421FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/openbsd/ispcp.conf

    r3676 r3721  
    423423# 
    424424 
    425 USER_INITIAL_THEME = omega_original 
     425USER_INITIAL_THEME = omega 
    426426 
    427427FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/opensuse/ispcp.conf

    r3676 r3721  
    515515# 
    516516 
    517 USER_INITIAL_THEME = omega_original 
     517USER_INITIAL_THEME = omega 
    518518 
    519519FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/redhat/ispcp.conf

    r3676 r3721  
    419419# 
    420420 
    421 USER_INITIAL_THEME = omega_original 
     421USER_INITIAL_THEME = omega 
    422422 
    423423FTP_USERNAME_SEPARATOR = @ 
  • trunk/configs/ubuntu/ispcp.conf

    r3676 r3721  
    417417# 
    418418 
    419 USER_INITIAL_THEME = omega_original 
     419USER_INITIAL_THEME = omega 
    420420 
    421421FTP_USERNAME_SEPARATOR = @ 
  • trunk/contrib/backup-restore/includes/RestorePackage_ispCP.php

    r3095 r3721  
    236236                        $this->logMessage('Reseller user properties not found: '.$this->reseller_id, ISPCP_LOG_ERROR); 
    237237                        $this->reseller_prop_lang = 'lang_EnglishBritain'; 
    238                         $this->reseller_prop_layout = 'omega_original'; 
     238                        $this->reseller_prop_layout = 'omega'; 
    239239                        $this->reseller_prop_logo = 0; 
    240240                } 
  • trunk/gui/admin/hosting_plan_add.php

    r3711 r3721  
    143143                                        'HP_PRICE'                              => '', 
    144144                                        'HP_SETUPFEE'                   => '', 
    145                                         'HP_VELUE'                              => '', 
     145                                        'HP_VALUE'                              => '', 
    146146                                        'HP_PAYMENT'                    => '', 
    147147                                        'HP_DESCRIPTION_VALUE'  => '', 
     
    196196                                        'HP_PRICE'                              => tohtml($price), 
    197197                                        'HP_SETUPFEE'                   => tohtml($setup_fee), 
    198                                         'HP_VELUE'                              => tohtml($value), 
     198                                        'HP_VALUE'                              => tohtml($value), 
    199199                                        'HP_PAYMENT'                    => tohtml($payment), 
    200200                                        'HP_TOS_VALUE'                  => tohtml($tos) 
     
    389389        } 
    390390} // end of save_data_to_db() 
     391?> 
  • trunk/gui/admin/hosting_plan_edit.php

    r3711 r3721  
    117117 * Dynamic page process 
    118118 */ 
    119 if (isset($_POST['uaction']) && ('add_plan' === $_POST['uaction'])) { 
     119if (isset($_POST['uaction']) && ('edit_plan' === $_POST['uaction'])) { 
    120120        // Process data 
    121121        if (check_data_iscorrect($tpl)) { // Save data to db 
     
    169169                        'HP_PRICE' => clean_input($_POST['hp_price'], true), 
    170170                        'HP_SETUPFEE' => clean_input($_POST['hp_setupfee'], true), 
    171                         'HP_CURRENCY' => clean_input($_POST['hp_currency'], true), 
     171                        'HP_VALUE' => clean_input($_POST['hp_value'], true), 
    172172                        'HP_PAYMENT' => clean_input($_POST['hp_payment'], true), 
    173173                        'HP_TOS_VALUE' => clean_input($_POST['hp_tos'], true), 
     
    266266                        'HP_PRICE'                              => tohtml($price), 
    267267                        'HP_SETUPFEE'                   => tohtml($setup_fee), 
    268                         'HP_CURRENCY'                   => tohtml($value), 
     268                        'HP_VALUE'                      => tohtml($value), 
    269269                        'READONLY'                              => tohtml($readonly), 
    270270                        'DISBLED'                               => tohtml($disabled), 
     
    407407        $price = clean_input($_POST['hp_price']); 
    408408        $setup_fee = clean_input($_POST['hp_setupfee']); 
    409         $value = clean_input($_POST['hp_currency']); 
     409        $value = clean_input($_POST['hp_value']); 
    410410        $payment = clean_input($_POST['hp_payment']); 
    411411        $status = clean_input($_POST['status']); 
     
    446446 
    447447} // end of save_data_to_db() 
     448?> 
  • trunk/gui/admin/reseller_statistics.php

    r3711 r3721  
    290290$tpl->assign( 
    291291        array( 
    292                 'TR_SERVER_STATISTICS' => tr('Server statistics'), 
    293292                'TR_RESELLER_STATISTICS' => tr('Reseller statistics table'), 
    294293                'TR_MONTH' => tr('Month'), 
  • trunk/gui/client/index.php

    r3711 r3721  
    9494                        array( 
    9595                                'TR_NEW_MSGS' => tr('You have <strong>%d</strong> new answer to your support questions', $num_question), 
     96                                'NEW_MSG_TYPE' => 'info', 
    9697                                'TR_VIEW' => tr('View') 
    9798                        ) 
     
    520521        dump_gui_debug(); 
    521522} 
     523?> 
  • trunk/gui/client/subdomain_add.php

    r3711 r3721  
    131131                                array( 
    132132                                        'READONLY_FORWARD' => '', 
    133                                         'DISABLE_FORWARD' => '', 
     133                                        'DISABLE_FORWARD' => '' 
    134134                                ) 
    135135                        ); 
     
    140140                        $tpl->assign( 
    141141                                array( 
    142                                         'READONLY_FORWARD' => ' readonly', 
    143                                         'DISABLE_FORWARD' => ' disabled="disabled"', 
     142                                        'READONLY_FORWARD'      => $cfg->HTML_READONLY, 
     143                                        'DISABLE_FORWARD'       => $cfg->HTML_DISABLED 
    144144                                ) 
    145145                        ); 
     
    147147                $tpl->assign( 
    148148                        array( 
    149                                 'HTTP_YES' => ($forward_prefix === 'http://') ? 'selected="selected"' : '', 
    150                                 'HTTPS_YES' => ($forward_prefix === 'https://') ? 'selected="selected"' : '', 
    151                                 'FTP_YES' => ($forward_prefix === 'ftp://') ? 'selected="selected"' : '' 
     149                                'HTTP_YES'              => ($forward_prefix === 'http://') ? $cfg->HTML_SELECTED : '', 
     150                                'HTTPS_YES'             => ($forward_prefix === 'https://') ? $cfg->HTML_SELECTED : '', 
     151                                'FTP_YES'               => ($forward_prefix === 'ftp://') ? $cfg->HTML_SELECTED : '' 
    152152                        ) 
    153153                ); 
     
    160160                $tpl->assign( 
    161161                        array( 
    162                                 'READONLY_FORWARD' => ' readonly', 
    163                                 'DISABLE_FORWARD' => ' disabled="disabled"' 
     162                                'READONLY_FORWARD'      => $cfg->HTML_READONLY, 
     163                                'DISABLE_FORWARD'       => $cfg->HTML_DISABLED, 
     164                                'HTTP_YES'              => '', 
     165                                'HTTPS_YES'             => '', 
     166                                'FTP_YES'               => '' 
    164167                        ) 
    165168                ); 
     
    581584        } 
    582585 
     586        // static page messages. 
     587 
     588        gen_client_mainmenu($tpl, $cfg->CLIENT_TEMPLATE_PATH . '/main_menu_manage_domains.tpl'); 
     589        gen_client_menu($tpl, $cfg->CLIENT_TEMPLATE_PATH . '/menu_manage_domains.tpl'); 
     590 
     591        gen_logged_from($tpl); 
     592 
     593        check_permissions($tpl); 
     594 
    583595        $tpl->assign( 
    584596                array( 
    585597                        'TR_CLIENT_ADD_SUBDOMAIN_PAGE_TITLE' => tr('ispCP - Client/Add Subdomain') 
    586                 ) 
    587         ); 
    588  
    589         // static page messages. 
    590  
    591         gen_client_mainmenu($tpl, $cfg->CLIENT_TEMPLATE_PATH . '/main_menu_manage_domains.tpl'); 
    592         gen_client_menu($tpl, $cfg->CLIENT_TEMPLATE_PATH . '/menu_manage_domains.tpl'); 
    593  
    594         gen_logged_from($tpl); 
    595  
    596         check_permissions($tpl); 
    597  
    598         $tpl->assign( 
    599                 array( 
    600598                        'TR_ADD_SUBDOMAIN'                                      => tr('Add subdomain'), 
    601599                        'TR_SUBDOMAIN_DATA'                                     => tr('Subdomain data'), 
  • trunk/gui/errordocs/401.html

    r2930 r3721  
    1 <html xmlns="http://www.w3.org/1999/xhtml"> 
    2         <head> 
    3                 <title>ispCP OMEGA - Error 401</title> 
    4                 <meta name="robots" content="nofollow, noindex" /> 
    5                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    6                 <script src="/errors/inc/errordocs.js" type="text/javascript"></script> 
    7                 <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
    8         </head> 
    9         <body> 
    10                 <div id="zh"> 
    11                         <div id="content"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
     2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 
     4<head> 
     5        <title>ispCP OMEGA - Error 401</title> 
     6        <meta http-equiv='Content-Script-Type' content='text/javascript' /> 
     7        <meta http-equiv='Content-Style-Type' content='text/css' /> 
     8        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> 
     9        <meta name='copyright' content='ispCP Omega' /> 
     10        <meta name='owner' content='ispCP Omega' /> 
     11        <meta name='publisher' content='ispCP Omega' /> 
     12        <meta name='robots' content='nofollow, noindex' /> 
     13        <meta name='title' content='ispCP OMEGA - Error 401' /> 
     14        <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
     15        <script type="text/javascript" src="/errors/inc/errordocs.js"></script> 
     16</head> 
     17<body> 
     18        <div class="main"> 
     19                <div class="mainbox" id="mainbox"> 
     20                        <div class="mainbox_content" id="mainbox_content"> 
    1221                                <h2>Error 401!</h2> 
    1322                                <br /> 
     
    1625                        </div> 
    1726                </div> 
    18         </body> 
     27        </div> 
     28</body> 
    1929</html> 
  • trunk/gui/errordocs/403.html

    r2930 r3721  
    1 <html xmlns="http://www.w3.org/1999/xhtml"> 
    2         <head> 
    3                 <title>ispCP OMEGA - Error 403</title> 
    4                 <meta name="robots" content="nofollow, noindex" /> 
    5                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    6                 <script src="/errors/inc/errordocs.js" type="text/javascript"></script> 
    7                 <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
    8         </head> 
    9         <body> 
    10                 <div id="zh"> 
    11                         <div id="content"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
     2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 
     4<head> 
     5        <title>ispCP OMEGA - Error 403</title> 
     6        <meta http-equiv='Content-Script-Type' content='text/javascript' /> 
     7        <meta http-equiv='Content-Style-Type' content='text/css' /> 
     8        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> 
     9        <meta name='copyright' content='ispCP Omega' /> 
     10        <meta name='owner' content='ispCP Omega' /> 
     11        <meta name='publisher' content='ispCP Omega' /> 
     12        <meta name='robots' content='nofollow, noindex' /> 
     13        <meta name='title' content='ispCP OMEGA - Error 403' /> 
     14        <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
     15        <script type="text/javascript" src="/errors/inc/errordocs.js"></script> 
     16</head> 
     17<body> 
     18        <div class="main"> 
     19                <div class="mainbox" id="mainbox"> 
     20                        <div class="mainbox_content" id="mainbox_content"> 
    1221                                <h2>Error 403!</h2> 
    1322                                <br /> 
     
    1625                        </div> 
    1726                </div> 
    18         </body> 
     27        </div> 
     28</body> 
    1929</html> 
  • trunk/gui/errordocs/404.html

    r2930 r3721  
    1 <html xmlns="http://www.w3.org/1999/xhtml"> 
    2         <head> 
    3                 <title>ispCP OMEGA - Error 404</title> 
    4                 <meta name="robots" content="nofollow, noindex" /> 
    5                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    6                 <script src="/errors/inc/errordocs.js" type="text/javascript"></script> 
    7                 <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
    8         </head> 
    9         <body> 
    10                 <div id="zh"> 
    11                         <div id="content"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
     2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 
     4<head> 
     5        <title>ispCP OMEGA - Error 404</title> 
     6        <meta http-equiv='Content-Script-Type' content='text/javascript' /> 
     7        <meta http-equiv='Content-Style-Type' content='text/css' /> 
     8        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> 
     9        <meta name='copyright' content='ispCP Omega' /> 
     10        <meta name='owner' content='ispCP Omega' /> 
     11        <meta name='publisher' content='ispCP Omega' /> 
     12        <meta name='robots' content='nofollow, noindex' /> 
     13        <meta name='title' content='ispCP OMEGA - Error 404' /> 
     14        <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
     15        <script type="text/javascript" src="/errors/inc/errordocs.js"></script> 
     16</head> 
     17<body> 
     18        <div class="main"> 
     19                <div class="mainbox" id="mainbox"> 
     20                        <div class="mainbox_content" id="mainbox_content"> 
    1221                                <h2>Error 404!</h2> 
    1322                                <br /> 
     
    1625                        </div> 
    1726                </div> 
    18         </body> 
     27        </div> 
     28</body> 
    1929</html> 
  • trunk/gui/errordocs/500.html

    r2930 r3721  
    1 <html xmlns="http://www.w3.org/1999/xhtml"> 
    2         <head> 
    3                 <title>ispCP OMEGA - Error 500</title> 
    4                 <meta name="robots" content="nofollow, noindex" /> 
    5                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    6                 <script src="/errors/inc/errordocs.js" type="text/javascript"></script> 
    7                 <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
    8         </head> 
    9         <body> 
    10                 <div id="zh"> 
    11                         <div id="content"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
     2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 
     4<head> 
     5        <title>ispCP OMEGA - Error 500</title> 
     6        <meta http-equiv='Content-Script-Type' content='text/javascript' /> 
     7        <meta http-equiv='Content-Style-Type' content='text/css' /> 
     8        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> 
     9        <meta name='copyright' content='ispCP Omega' /> 
     10        <meta name='owner' content='ispCP Omega' /> 
     11        <meta name='publisher' content='ispCP Omega' /> 
     12        <meta name='robots' content='nofollow, noindex' /> 
     13        <meta name='title' content='ispCP OMEGA - Error 500' /> 
     14        <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
     15        <script type="text/javascript" src="/errors/inc/errordocs.js"></script> 
     16</head> 
     17<body> 
     18        <div class="main"> 
     19                <div class="mainbox" id="mainbox"> 
     20                        <div class="mainbox_content" id="mainbox_content"> 
    1221                                <h2>Error 500!</h2> 
    1322                                <br /> 
     
    1625                        </div> 
    1726                </div> 
    18         </body> 
     27        </div> 
     28</body> 
    1929</html> 
  • trunk/gui/errordocs/503.html

    r2930 r3721  
    1 <html xmlns="http://www.w3.org/1999/xhtml"> 
    2         <head> 
    3                 <title>ispCP OMEGA - Error 503</title> 
    4                 <meta name="robots" content="nofollow, noindex" /> 
    5                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    6                 <script src="/errors/inc/errordocs.js" type="text/javascript"></script> 
    7                 <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
    8         </head> 
    9         <body> 
    10                 <div id="zh"> 
    11                         <div id="content"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
     2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 
     4<head> 
     5        <title>ispCP OMEGA - Error 503</title> 
     6        <meta http-equiv='Content-Script-Type' content='text/javascript' /> 
     7        <meta http-equiv='Content-Style-Type' content='text/css' /> 
     8        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> 
     9        <meta name='copyright' content='ispCP Omega' /> 
     10        <meta name='owner' content='ispCP Omega' /> 
     11        <meta name='publisher' content='ispCP Omega' /> 
     12        <meta name='robots' content='nofollow, noindex' /> 
     13        <meta name='title' content='ispCP OMEGA - Error 503' /> 
     14        <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
     15        <script type="text/javascript" src="/errors/inc/errordocs.js"></script> 
     16</head> 
     17<body> 
     18        <div class="main"> 
     19                <div class="mainbox" id="mainbox"> 
     20                        <div class="mainbox_content" id="mainbox_content"> 
    1221                                <h2>Error 503!</h2> 
    1322                                <br /> 
     
    1625                        </div> 
    1726                </div> 
    18         </body> 
     27        </div> 
     28</body> 
    1929</html> 
  • trunk/gui/errordocs/bw_exceeded.html

    r2930 r3721  
    1 <html xmlns="http://www.w3.org/1999/xhtml"> 
    2         <head> 
    3                 <title>ispCP OMEGA - Bandwidth Exceeded</title> 
    4                 <meta name="robots" content="nofollow, noindex" /> 
    5                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    6                 <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
    7         </head> 
    8         <body> 
    9                 <div id="zh"> 
    10                         <div id="content"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
     2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 
     4<head> 
     5        <title>ispCP OMEGA - Bandwidth Exceeded</title> 
     6        <meta http-equiv='Content-Script-Type' content='text/javascript' /> 
     7        <meta http-equiv='Content-Style-Type' content='text/css' /> 
     8        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> 
     9        <meta name='copyright' content='ispCP Omega' /> 
     10        <meta name='owner' content='ispCP Omega' /> 
     11        <meta name='publisher' content='ispCP Omega' /> 
     12        <meta name='robots' content='nofollow, noindex' /> 
     13        <meta name='title' content='ispCP OMEGA - Bandwidth Exceeded' /> 
     14        <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> 
     15        <script type="text/javascript" src="/errors/inc/errordocs.js"></script> 
     16</head> 
     17<body> 
     18        <div class="main"> 
     19                <div class="mainbox" id="mainbox"> 
     20                        <div class="mainbox_content" id="mainbox_content"> 
    1121                                <h2>Bandwidth Exceeded!</h2> 
    1222                                <br /> 
     
    1424                        </div> 
    1525                </div> 
    16         </body> 
     26        </div> 
     27</body> 
    1728</html> 
  • trunk/gui/errordocs/inc/errordocs.css

    r2860 r3721  
    2525 */ 
    2626 
    27 body { 
    28         margin:                         0; 
    29         font-family:            Geneva, Arial, Helvetica, sans-serif; 
     27@CHARSET "UTF-8"; 
     28 
     29* { 
     30        font-family: Arial, sans-serif; 
     31        margin: 0px; 
     32        padding: 0px; 
    3033} 
    3134 
    32 #zh { 
    33         text-align:                     center; 
    34         position:                       absolute; 
    35         top:                            50%; 
    36         left:                           0; 
    37         width:                          100%; 
    38         height:                         1px; 
    39         overflow:                       visible; 
    40 } 
    41  
    42 #content { 
    43         text-align:                     center; 
    44         border:                         1px solid #ccc; 
    45         margin-left:            -227px; 
    46         top:                            -94px; 
    47         width:                          453px; 
    48         height:                         auto; 
    49         background-image:       url(/errors/inc/error_top.jpg); 
    50         background-repeat:      no-repeat; 
    51         padding-top:            90px; 
    52         padding-bottom:         12px; 
    53         left:                           50%; 
    54         position:                       absolute; 
     35body { 
     36        font-size: 0.8em; 
    5537} 
    5638 
    5739h2 { 
    58         color:                          #f00; 
    59         margin:                         0; 
    60         padding:                        0; 
     40        color: #f00; 
    6141} 
    6242 
    6343h3 { 
    64         font-size:                      16px; 
    65         letter-spacing:         7px; 
    66         padding-top:            10px; 
     44        color: #999; 
     45        font-size: 16px; 
     46        letter-spacing: 7px; 
     47        padding-top: 20px; 
     48} 
     49 
     50.main { 
     51        position: absolute; 
     52        top: 15%; 
     53        width: 99%; 
     54} 
     55 
     56.mainbox { 
     57        background-image: url('/errors/inc/logon_black.jpg'); 
     58        background-repeat: no-repeat; 
     59        height: 339px; 
     60        margin: 0px auto; 
     61        width: 316px; 
     62} 
     63 
     64.mainbox_content { 
     65        margin: 0px 15px; 
     66        padding-top: 190px; 
     67        text-align: center; 
    6768} 
    6869 
    6970.path { 
    70         font-weight:            bold; 
    71         color:                          #666; 
     71        font-weight: bold; 
     72        color: #ccc; 
    7273} 
  • trunk/gui/include/admin-functions.php

    r3708 r3721  
    795795                                || $rs->fields['domain_status'] == $cfg->ITEM_DELETE_STATUS) { 
    796796 
    797                                 $status_icon = 'reload.png'; 
     797                                $status_icon = 'reload'; 
    798798                                $status_url = '#'; 
    799799                        } else { 
    800                                 $status_icon = 'error.png'; 
     800                                $status_icon = 'error'; 
    801801                                $status_url = 'domain_details.php?domain_id=' . 
    802802                                        $rs->fields['domain_id']; 
     
    16111611        } 
    16121612 
    1613         $msg = htmlentities($msg, ENT_QUOTES, tr('encoding'), false).'<br /><small>User IP: ' . $client_ip . '</small>'; 
     1613        $msg = htmlentities($msg, ENT_QUOTES, tr('encoding'), false); 
     1614 
     1615        $msg = replace_html($msg, ENT_COMPAT, tr('encoding')).'<br /><small>User IP: '.$client_ip.'</small>'; 
    16141616 
    16151617        $query = " 
  • trunk/gui/include/ispCP/Exception/Handler.php

    r3708 r3721  
    6666 * ispCP_Exception_Handler::getInstance()->attach( 
    6767 *  new ispCP_Exception_Writer_Browser( 
    68  *              'themes/omega_original/system-message.tpl' 
     68 *              'themes/omega/system-message.tpl' 
    6969 *  ) 
    7070 * ); 
     
    375375        } 
    376376} 
     377?> 
  • trunk/gui/include/ispCP/Exception/Writer/Browser.php

    r3708 r3721  
    157157                $this->_pTemplate->assign( 
    158158                        array( 
    159                                 'THEME_COLOR_PATH' => '/themes/' . 'omega_original', 
     159                                'THEME_COLOR_PATH' => '/themes/' . 'omega', 
    160160                                'BACKBUTTONDESTINATION' => $backButtonDest, 
    161161                                'MESSAGE' => $this->_message 
     
    188188        } // end prepareTemplate() 
    189189} 
     190?> 
  • trunk/gui/include/ispcp-lib.php

    r3718 r3721  
    8181        new ispCP_Exception_Writer_Browser( 
    8282                // hardcoded here but will be improved later 
    83                 'themes/omega_original/system-message.tpl' 
     83                'themes/omega/system-message.tpl' 
    8484        ) 
    8585); 
  • trunk/gui/index.php

    r3714 r3721  
    7272if (($cfg->MAINTENANCEMODE 
    7373                || ispCP_Update_Database::getInstance()->checkUpdateExists()) 
    74         && !isset($_GET['admin']) ) { 
     74        && !isset($_POST['admin']) ) { 
    7575 
    7676        $tpl->define_dynamic('page', $cfg->LOGIN_TEMPLATE_PATH . '/maintenancemode.tpl'); 
  • trunk/gui/lostpassword.php

    r3714 r3721  
    7878                        array( 
    7979                                'TR_MESSAGE' => tr('Your new password has been sent.'), 
    80                                 'TR_LINK' => '<a class="link" href="index.php">' . tr('Login') . '</a>' 
     80                                'TR_LINK' => '<a href="index.php" class="button">' . tr('Login') . '</a>' 
    8181                        ) 
    8282                ); 
     
    8585                        array( 
    8686                                'TR_MESSAGE' => tr('New password could not be sent.'), 
    87                                 'TR_LINK' => '<a class="link" href="index.php">' . tr('Login') . '</a>' 
     87                                'TR_LINK' => '<a href="index.php" class="button">' . tr('Login') . '</a>' 
    8888                        ) 
    8989                ); 
     
    104104                                array( 
    105105                                        'TR_MESSAGE' => tr('Your password request has been initiated. You will receive an email with instructions to complete the process. This reset request will expire in %s minutes.', $cfg->LOSTPASSWORD_TIMEOUT), 
    106                                         'TR_LINK' => '<a class="link" href="index.php">' . tr('Back') . '</a>' 
     106                                        'TR_LINK' => '<a href="index.php" class="button">' . tr('Back') . '</a>' 
    107107                                ) 
    108108                        ); 
     
    111111                                array( 
    112112                                        'TR_MESSAGE' => tr('User or security code was incorrect!'), 
    113                                         'TR_LINK' => '<a class="link" href="lostpassword.php">' . tr('Retry') . '</a>' 
     113                                        'TR_LINK' => '<a href="lostpassword.php" class="button">' . tr('Retry') . '</a>' 
    114114                                ) 
    115115                        ); 
  • trunk/gui/reseller/hosting_plan_add.php

    r3711 r3721  
    155155                        'HP_SQL_USER_VALUE'             => '', 
    156156                        'HP_TRAFF_VALUE'                => '', 
    157                         'HP_PRICE'                              => '', 
     157                        'HP_PRICE'                      => '', 
    158158                        'HP_SETUPFEE'                   => '', 
    159                         'HP_VELUE'                              => '', 
     159                        'HP_VALUE'                      => '', 
    160160                        'HP_PAYMENT'                    => '', 
    161                         'HP_DESCRIPTION_VALUE'  => '', 
     161                        'HP_DESCRIPTION_VALUE'          => '', 
    162162                        'TR_PHP_YES'                    => '', 
    163                         'TR_PHP_NO'                             => $cfg->HTML_CHECKED, 
     163                        'TR_PHP_NO'                     => $cfg->HTML_CHECKED, 
    164164                        'TR_CGI_YES'                    => '', 
    165                         'TR_CGI_NO'                             => $cfg->HTML_CHECKED, 
     165                        'TR_CGI_NO'                     => $cfg->HTML_CHECKED, 
    166166                        'VL_BACKUPD'                    => '', 
    167167                        'VL_BACKUPS'                    => '', 
     
    169169                        'VL_BACKUPN'                    => $cfg->HTML_CHECKED, 
    170170                        'TR_DNS_YES'                    => '', 
    171                         'TR_DNS_NO'                             => $cfg->HTML_CHECKED, 
     171                        'TR_DNS_NO'                     => $cfg->HTML_CHECKED, 
    172172                        'HP_DISK_VALUE'                 => '', 
    173173                        'TR_STATUS_YES'                 => $cfg->HTML_CHECKED, 
     
    205205                        'HP_TRAFF_VALUE'                => tohtml($hp_traff), 
    206206                        'HP_DISK_VALUE'                 => tohtml($hp_disk), 
    207                         'HP_DESCRIPTION_VALUE'  => tohtml($description), 
    208                         'HP_PRICE'                              => tohtml($price), 
     207                        'HP_DESCRIPTION_VALUE'          => tohtml($description), 
     208                        'HP_PRICE'                      => tohtml($price), 
    209209                        'HP_SETUPFEE'                   => tohtml($setup_fee), 
    210                         'HP_VELUE'                              => tohtml($value), 
     210                        'HP_VALUE'                      => tohtml($value), 
    211211                        'HP_PAYMENT'                    => tohtml($payment), 
    212212                        'HP_TOS_VALUE'                  => tohtml($tos) 
     
    217217                array( 
    218218                        'TR_PHP_YES'    => ($hp_php == '_yes_') ? $cfg->HTML_CHECKED : '', 
    219                         'TR_PHP_NO'             => ($hp_php == '_no_') ? $cfg->HTML_CHECKED : '', 
     219                        'TR_PHP_NO'     => ($hp_php == '_no_') ? $cfg->HTML_CHECKED : '', 
    220220                        'TR_CGI_YES'    => ($hp_cgi == '_yes_') ? $cfg->HTML_CHECKED : '', 
    221                         'TR_CGI_NO'             => ($hp_cgi == '_no_') ? $cfg->HTML_CHECKED : '', 
     221                        'TR_CGI_NO'     => ($hp_cgi == '_no_') ? $cfg->HTML_CHECKED : '', 
    222222                        'VL_BACKUPD'    => ($hp_backup == '_dmn_') ? $cfg->HTML_CHECKED : '', 
    223223                        'VL_BACKUPS'    => ($hp_backup == '_sql_') ? $cfg->HTML_CHECKED : '', 
     
    225225                        'VL_BACKUPN'    => ($hp_backup == '_no_') ? $cfg->HTML_CHECKED : '', 
    226226                        'TR_DNS_YES'    => ($hp_dns == '_yes_') ? $cfg->HTML_CHECKED : '', 
    227                         'TR_DNS_NO'             => ($hp_dns == '_no_') ? $cfg->HTML_CHECKED : '', 
     227                        'TR_DNS_NO'     => ($hp_dns == '_no_') ? $cfg->HTML_CHECKED : '', 
    228228                        'TR_STATUS_YES' => ($status) ? $cfg->HTML_CHECKED : '', 
    229229                        'TR_STATUS_NO'  => (!$status) ? $cfg->HTML_CHECKED : '' 
     
    430430        } 
    431431} // end of save_data_to_db() 
     432?> 
  • trunk/gui/reseller/hosting_plan_edit.php

    r3711 r3721  
    154154                        'HP_PRICE' => clean_input($_POST['hp_price'], true), 
    155155                        'HP_SETUPFEE' => clean_input($_POST['hp_setupfee'], true), 
    156                         'HP_CURRENCY' => clean_input($_POST['hp_currency'], true), 
     156                        'HP_VALUE' => clean_input($_POST['hp_value'], true), 
    157157                        'HP_PAYMENT' => clean_input($_POST['hp_payment'], true), 
    158158                        'HP_TOS_VALUE' => clean_input($_POST['hp_tos'], true), 
     
    288288                        'HP_PRICE' => tohtml($price), 
    289289                        'HP_SETUPFEE' => tohtml($setup_fee), 
    290                         'HP_CURRENCY' => tohtml($value), 
     290                        'HP_VALUE' => tohtml($value), 
    291291                        'READONLY' => $readonly, 
    292292                        'DISBLED' => $disabled, 
     
    454454        $price = clean_input($_POST['hp_price']); 
    455455        $setup_fee = clean_input($_POST['hp_setupfee']); 
    456         $currency = clean_input($_POST['hp_currency']); 
     456        $value = clean_input($_POST['hp_value']); 
    457457        $payment = clean_input($_POST['hp_payment']); 
    458458        $status = clean_input($_POST['status']); 
     
    493493                                array( 
    494494                                        $hp_name, $description, $hp_props, $price, $setup_fee, 
    495                                         $currency, $payment, $status, $tos, $hpid 
     495                                        $value, $payment, $status, $tos, $hpid 
    496496                                ) 
    497497                        ); 
     
    512512 
    513513die(); 
     514?> 
  • trunk/gui/reseller/index.php

    r3716 r3721  
    7878                        array( 
    7979                                'TR_NEW_MSGS' => tr('You have <strong>%d</strong> new support questions', $num_question), 
     80                                'NEW_MSG_TYPE' => 'info', 
    8081                                'TR_VIEW' => tr('View') 
    8182                        ) 
     
    224225                        'TRAFF_PERCENT' => $traff_percent, 
    225226                        'TRAFF_MSG' => ($rtraff_max) 
    226                                 ? tr('%1$s / %2$s of <strong>%3$s</strong>', sizeit($utraff_current), sizeit($rtraff_current), sizeit($rtraff_max)) 
    227                                 : tr('%1$s / %2$s of <strong>unlimited</strong>', sizeit($utraff_current), sizeit($rtraff_current)), 
     227                                ? tr('%1$s used / %2$s assigned of <strong>%3$s</strong>', sizeit($utraff_current), sizeit($rtraff_current), sizeit($rtraff_max)) 
     228                                : tr('%1$s used / %2$s assigned of <strong>unlimited</strong>', sizeit($utraff_current), sizeit($rtraff_current)), 
    228229                        'DISK_MSG' => ($rdisk_max) 
    229                                 ? tr('%1$s / %2$s of <strong>%3$s</strong>', sizeit($udisk_current), sizeit($rdisk_current), sizeit($rdisk_max)) 
    230                                 : tr('%1$s / %2$s of <strong>unlimited</strong>', sizeit($udisk_current), sizeit($rdisk_current)), 
     230                                ? tr('%1$s used / %2$s assigned of <strong>%3$s</strong>', sizeit($udisk_current), sizeit($rdisk_current), sizeit($rdisk_max)) 
     231                                : tr('%1$s used / %2$s assigned of <strong>unlimited</strong>', sizeit($udisk_current), sizeit($rdisk_current)), 
    231232                        'DMN_MSG' => ($rdmn_max) 
    232                                 ? tr('%1$d / %2$d of <strong>%3$d</strong>', $udmn_current, $rdmn_current, $rdmn_max) 
    233                                 : tr('%1$d / %2$d of <strong>unlimited</strong>', $udmn_current, $rdmn_current), 
     233                                ? tr('%1$d used / %2$d assigned of <strong>%3$d</strong>', $udmn_current, $rdmn_current, $rdmn_max) 
     234                                : tr('%1$d used / %2$d assigned of <strong>unlimited</strong>', $udmn_current, $rdmn_current), 
    234235                        'SUB_MSG' => ($rsub_max > 0) 
    235                                 ? tr('%1$d / %2$d of <strong>%3$d</strong>', $usub_current, $rsub_current, $rsub_max) 
    236                                 : (($rsub_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d / %2$d of <strong>unlimited</strong>', $usub_current, $rsub_current)), 
     236                                ? tr('%1$d used / %2$d assigned of <strong>%3$d</strong>', $usub_current, $rsub_current, $rsub_max) 
     237                                : (($rsub_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d used / %2$d assigned of <strong>unlimited</strong>', $usub_current, $rsub_current)), 
    237238                        'ALS_MSG' => ($rals_max > 0) 
    238                                 ? tr('%1$d / %2$d of <strong>%3$d</strong>', $uals_current, $rals_current, $rals_max) 
    239                                 : (($rals_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d / %2$d of <strong>unlimited</strong>', $uals_current, $rals_current)), 
     239                                ? tr('%1$d used / %2$d assigned of <strong>%3$d</strong>', $uals_current, $rals_current, $rals_max) 
     240                                : (($rals_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d used / %2$d assigned of <strong>unlimited</strong>', $uals_current, $rals_current)), 
    240241                        'MAIL_MSG' => ($rmail_max > 0) 
    241                                 ? tr('%1$d / %2$d of <strong>%3$d</strong>', $umail_current, $rmail_current, $rmail_max) 
    242                                 : (($rmail_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d / %2$d of <strong>unlimited</strong>', $umail_current, $rmail_current)), 
     242                                ? tr('%1$d used / %2$d assigned of <strong>%3$d</strong>', $umail_current, $rmail_current, $rmail_max) 
     243                                : (($rmail_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d used / %2$d assigned of <strong>unlimited</strong>', $umail_current, $rmail_current)), 
    243244                        'FTP_MSG' => ($rftp_max > 0) 
    244                                 ? tr('%1$d / %2$d of <strong>%3$d</strong>', $uftp_current, $rftp_current, $rftp_max) 
    245                                 : (($rftp_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d / %2$d of <strong>unlimited</strong>', $uftp_current, $rftp_current)), 
     245                                ? tr('%1$d used / %2$d assigned of <strong>%3$d</strong>', $uftp_current, $rftp_current, $rftp_max) 
     246                                : (($rftp_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d used / %2$d assigned of <strong>unlimited</strong>', $uftp_current, $rftp_current)), 
    246247                        'SQL_DB_MSG' => ($rsql_db_max > 0) 
    247                                 ? tr('%1$d / %2$d of <strong>%3$d</strong>', $usql_db_current, $rsql_db_current, $rsql_db_max) 
    248                                 : (($rsql_db_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d / %2$d of <strong>unlimited</strong>', $usql_db_current, $rsql_db_current)), 
     248                                ? tr('%1$d used / %2$d assigned of <strong>%3$d</strong>', $usql_db_current, $rsql_db_current, $rsql_db_max) 
     249                                : (($rsql_db_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d used / %2$d assigned of <strong>unlimited</strong>', $usql_db_current, $rsql_db_current)), 
    249250                        'SQL_USER_MSG' => ($rsql_user_max > 0) 
    250                                 ? tr('%1$d / %2$d of <strong>%3$d</strong>', $usql_user_current, $rsql_user_current, $rsql_user_max) 
    251                                 : (($rsql_user_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d / %2$d of <strong>unlimited</strong>', $usql_user_current, $rsql_user_current)), 
     251                                ? tr('%1$d used / %2$d assigned of <strong>%3$d</strong>', $usql_user_current, $rsql_user_current, $rsql_user_max) 
     252                                : (($rsql_user_max === "-1") ? tr('<strong>disabled</strong>') : tr('%1$d used / %2$d assigned of <strong>unlimited</strong>', $usql_user_current, $rsql_user_current)), 
    252253                        'EXTRAS' => '' 
    253254                ) 
  • trunk/gui/reseller/orders.php

    r3711 r3721  
    179179                                        . "&nbsp;" . tohtml($rs->fields['state']) 
    180180                                        . "&nbsp;" . tohtml($rs->fields['country']); 
    181                                 $tpl->assign('LINK', 'orders_detailst.php?order_id=' . $rs->fields['id']); 
     181                                $tpl->assign('LINK', 'orders_details.php?order_id=' . $rs->fields['id']); 
    182182                        } 
    183183                        $tpl->assign( 
     
    240240} 
    241241unset_messages(); 
     242?> 
  • trunk/gui/reseller/ticket_system.php

    r3711 r3721  
    8585                'TR_CLOSED_TICKETS' => tr('Closed tickets'), 
    8686                'TR_DELETE' => tr('Delete'), 
    87                 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', true, '%s') 
     87                'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', true, '%s'), 
     88                'TR_EDIT' => tr('Edit') 
    8889        ) 
    8990); 
     
    99100 
    100101unset_messages(); 
     102?> 
  • trunk/gui/tools/webmail/plugins/login_auto/functions.php

    r1638 r3721  
    8484      $cb_auto_pass = (isset($_POST['cb_auto_pass'])?$_POST['cb_auto_pass']:''); 
    8585 
    86       echo "<center><table border=0>\n"; 
     86      echo "<table align=right border=0>\n"; 
    8787 
    8888      if ($auto_pass) { 
    89          echo "<tr><td valign=center>\n"; 
     89         echo "<tr><td>\n"; 
    9090         echo "<input type=checkbox name=cb_auto_pass value=true>\n"; 
    91          echo "</td><td valign=center nowrap>\n"; 
    92          echo "<small>" . _("Remember my Name & Password") . "<small>\n"; 
     91         echo "</td><td style=padding-right:50px; nowrap>\n"; 
     92         echo "<font class=login_checkbox>" . _("Remember my Name & Password") . "</font>\n"; 
    9393         echo "</td></tr>\n"; 
    9494      } 
     
    9898            echo "<input type=checkbox name=cb_auto_user value=true>\n"; 
    9999            echo "</td><td valign=center nowrap>\n"; 
    100             echo "<small>" . _("Remember my Name") . "</small>\n"; 
     100            echo "<font class=login_checkbox>" . _("Remember my Name") . "</font>\n"; 
    101101            echo "</td></tr>\n"; 
    102102         } 
    103103      } 
    104104 
    105       if (($auto_user || $auto_pass) && $login_doc!='') { 
    106          if (!isset($login_link) || $login_link=='')  
    107             $login_link=_("What's this?"); 
    108          echo "<tr><td colspan='2' valign=center align=center><a href=$login_doc>$login_link</a></td></tr>\n"; 
    109       } 
    110  
    111       echo "</table></center>\n"; 
     105 
     106      echo "</table>\n"; 
    112107 
    113108   } 
  • trunk/gui/tools/webmail/src/login.php

    r3222 r3721  
    194194// @modified by ispCP Omega - http://isp-control.net 
    195195// 
    196  
    197 echo html_tag ( 'div', 
    198                 html_tag ( 'h1', sprintf (_("%s Webmail Login"), $org_name) ) . 
    199                 html_tag ( 'fieldset', 
    200                         html_tag ( 'p', 
    201                                 _("Username:") . addInput($username_form_name, $loginname_value) . '<br />' ."\n" . 
    202                                 _("Password:") . addPwField($password_form_name) . '<br />' ."\n" . 
    203                                 addHidden('js_autodetect_results', SMPREF_JS_OFF) . $mailtofield . addHidden('just_logged_in', '1'), 
    204                                 NULL, NULL, 'class="login"' 
    205                         ) . 
    206                         html_tag ( 'p', 
    207                                 addSubmit(_("Login")), 
    208                                 NULL, NULL, 'class="login"' 
    209                         ) . 
    210                         html_tag ( 'p', 
    211                                 ( (isset($hide_sm_attributions) && $hide_sm_attributions) ? '' : 
    212                 sprintf(_("SquirrelMail version %s"), $version) . '<br />' . "\n"), 
    213                                 NULL, NULL, 'class="login small"' 
    214                         ), 
    215                         NULL, NULL, 'class="login"' 
    216         ), 
    217                 NULL, NULL, 'id="container"' ); 
    218  
    219 /**** Commented out 
    220 echo html_tag( 'table', 
    221     html_tag( 'tr', 
    222         html_tag( 'td', 
    223             '<center>'. 
    224             ( isset($org_logo) && $org_logo 
    225               ? '<img src="' . $org_logo . '" alt="' . 
    226                 sprintf(_("%s Logo"), $org_name) .'"' . $width_and_height . 
    227                 ' /><br />' . "\n" 
    228               : '' ). 
    229             ( (isset($hide_sm_attributions) && $hide_sm_attributions) ? '' : 
    230             '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n". 
    231             '  ' . _("By the SquirrelMail Project Team") . '<br /></small>' . "\n" ) . 
    232             html_tag( 'table', 
    233                 html_tag( 'tr', 
    234                     html_tag( 'td', 
    235                         '<b>' . sprintf (_("%s Login"), $org_name) . "</b>\n", 
    236                     'center', $color[0] ) 
    237                 ) . 
    238                 html_tag( 'tr', 
    239                     html_tag( 'td',  "\n" . 
    240                         html_tag( 'table', 
    241                             html_tag( 'tr', 
    242                                 html_tag( 'td', 
    243                                     _("Name:") , 
    244                                 'right', '', 'width="30%"' ) . 
    245                                 html_tag( 'td', 
    246                                     addInput($username_form_name, $loginname_value, 0, 0, ' onfocus="alreadyFocused=true;"'), 
    247                                 'left', '', 'width="70%"' ) 
    248                                 ) . "\n" . 
    249                             html_tag( 'tr', 
    250                                 html_tag( 'td', 
    251                                     _("Password:") , 
    252                                 'right', '', 'width="30%"' ) . 
    253                                 html_tag( 'td', 
    254                                     addPwField($password_form_name, null, ' onfocus="alreadyFocused=true;"'). 
    255                                     addHidden('js_autodetect_results', SMPREF_JS_OFF). 
    256                     $mailtofield .  
    257                                     addHidden('just_logged_in', '1'), 
    258                                 'left', '', 'width="70%"' ) 
    259                             ) , 
    260                         'center', $color[4], 'border="0" width="100%"' ) , 
    261                     'left',$color[4] ) 
    262                 ) .  
    263                 html_tag( 'tr', 
    264                     html_tag( 'td', 
    265                         '<center>'. addSubmit(_("Login")) .'</center>', 
    266                     'left' ) 
    267                 ), 
    268             '', $color[4], 'border="0" width="350"' ) . '</center>', 
    269         'center' ) 
    270     ) , 
    271 '', $color[4], 'border="0" cellspacing="0" cellpadding="0" width="100%"' ); 
    272 * ***/ 
    273 // 
    274 // End modification 
    275 // 
    276 do_hook('login_form'); 
    277 echo '</form>' . "\n"; 
     196?> 
     197<div id="login_container">  
     198  <h1 id="login_h1"><?php echo _("WebMail")."&nbsp;"._("Login"); ?></h1> 
     199  <?php 
     200  if (isset($org_logo) && $org_logo) { echo '<img src="' . $org_logo . '" alt="' . sprintf(_("%s Logo"), $org_name) .'"' . $width_and_height . 'id="login_logo" />' . "\n"; }?> 
     201  <fieldset id="login_fieldset"> 
     202  <label for="<?php echo $username_form_name; ?>" class="login_user"><?php echo _("Username"); ?>:</label><?php echo "<input type=\"text\" name=\"$username_form_name\" value=\"$loginname_value\" tabindex=\"1\" class=\"login_input\" onfocus=\"alreadyFocused=true;\">"; ?><br /> 
     203  <label for="<?php echo $password_form_name; ?>" class="login_user"><?php echo _("Password"); ?>:</label><input name="<?php echo $password_form_name; ?>" type="password" class="login_input" tabindex="2" onfocus="alreadyFocused=true;"> 
     204  <input type="hidden" name="js_autodetect_results" value="SMPREF_JS_OFF"> 
     205  <input type="hidden" name="just_logged_in" value="1"> 
     206  <input name="button" type="submit" value="<?php echo _("Login"); ?>" class="login_button"> 
     207  <?php do_hook('login_form'); ?> 
     208  </fieldset> 
     209  <div id="login_copyright">  
     210    <p><?php echo _("Powered by"); ?> <a href="http://www.squirrelmail.org" target="_blank" style="text-decoration: none;" title="Squirrelmail">Squirrelmail.org</a></p> 
     211  </div> 
     212</div> 
     213</form> 
     214 
     215<?php 
    278216 
    279217do_hook('login_bottom'); 
  • trunk/gui/tools/webmail/themes/css/omega.css

    r3222 r3721  
    200200 
    201201/** Login **/ 
    202 #container { 
    203         background-image: url(../../skins/omega/bg.jpg); 
     202 
     203#login_bg { 
     204        background: #def0fa url(../../skins/omega/body-bg.jpg) repeat-x left; 
     205        text-align: center; 
     206        margin: 0; 
     207        padding: 0; 
     208        font-family: Verdana, "Lucida Grande", Helvetica; 
     209} 
     210#login_container { 
     211        background-image: url(../../skins/omega/logon_black.jpg); 
    204212        background-repeat: no-repeat; 
    205213        background-attachment: scroll; 
    206         background-position: center left; 
    207         margin: 20em auto 0; 
    208         width: 474px; 
    209         height: 273px; 
     214        margin: 150px auto 0; 
     215        padding-top:200px; 
     216        width: 316px; 
     217        height: 339px; 
    210218        position: relative; 
    211 } 
    212  
    213 #container h1 { 
     219        text-align: left; 
     220        color: #fff; 
     221        font-weight:bold; 
     222        font-size:9pt; 
     223} 
     224#login_logo { 
     225        margin-left: 290px; 
     226} 
     227#login_copyright { 
     228        color: #cccccc; 
     229        font-size:6pt; 
     230        text-align: center; 
     231        margin: 55px auto 0; 
     232} 
     233#login_copyright a { 
     234        color: #cccccc; 
     235} 
     236#login_h1 { 
     237        display: none; 
     238} 
     239#login_fieldset { 
     240        border: none; 
     241        margin-left: 0px; 
     242        width: 316px; 
     243        position: relative; 
     244        height: 100px; 
    214245        text-align: right; 
    215         font-size: 1em; 
    216         color: #FFFFFF; 
    217         width: 375px; 
    218         margin: 65px 20px 0 0; 
     246} 
     247.login_input { 
     248        width: 140px; 
     249        background-color:#FFF; 
     250        border: 1px solid #d7d7d7; 
     251        margin-right: 50px; 
     252} 
     253.login_user { 
     254        margin-right: 3px; 
     255} 
     256.login_button { 
     257        border: none; 
     258        background: transparent url(../../skins/omega/logon_button.png) no-repeat top; 
     259        width: 110px; 
     260        height: 25px; 
     261        line-height: 20px; 
     262        color: #fff; 
     263        font-weight: bold; 
     264        font-size: 11px; 
    219265        position: absolute; 
    220         top: -10px; 
    221         left: 25px; 
    222 } 
    223  
    224 #container fieldset { 
    225         width: 250px; 
    226         margin: 0 auto auto 190px; 
    227         text-align: right; 
    228         border: none; 
     266        bottom: 0px; 
     267        right: 50px; 
     268} 
     269 
     270#login_auto { 
    229271        position: absolute; 
    230         top: 100px; 
    231         right: 30px; 
    232 } 
    233  
    234 #container p.login { 
    235         font-size: 1em; 
    236         font-weight: bold; 
    237         color: #c0c0c0; 
    238         vertical-align: super; 
    239         margin: 3px 0 0; 
    240 } 
    241  
    242 #container input { 
    243         margin: 3px 12px 0px 7px; 
    244         background-color: #FFFFFF; 
    245         height: 16px; 
    246         width: 10em; 
    247         border: 1px solid #c0c0c0; 
    248         font-size: 1em; 
    249         font-weight: normal; 
    250         vertical-align: middle; 
    251 } 
    252  
    253 #container p.small { 
    254         position: fixed; 
    255         bottom: 2px; 
    256         right: 2px; 
    257         font-weight: lighter; 
    258         color: #000000; 
    259 } 
     272        bottom: 0; 
     273        left: 0; 
     274} 
     275#login_auto p input { 
     276    vertical-align: middle; 
     277} 
     278.login_checkbox { 
     279        color:#1789AD; 
     280} 
     281 
    260282/** END Login **/ 
    261283/* 
Note: See TracChangeset for help on using the changeset viewer.