Changeset 411

Show
Ignore:
Timestamp:
03/13/07 00:30:02 (2 years ago)
Author:
rats
Message:

- GUI:

  • fixed: some design issues
  • fixed: bug in error pages
  • changed: behaviour of lostpassword messages
  • modified: layout of some functions
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r410 r411  
    14142007-03-12 Benedikt Heintel 
    1515        - GUI: 
    16                 * fixed: Some design issues 
    17                 * changed: behaviour of Lostpassword messages 
     16                * fixed: some design issues 
     17                * fixed: bug in error pages 
     18                * changed: behaviour of lostpassword messages 
    1819                * modified: layout of some functions 
    1920 
  • trunk/gui/admin/layout.php

    r369 r411  
    11<?php 
    2 //   ------------------------------------------------------------------------------- 
    3 //  |             VHCS(tm) - Virtual Hosting Control System                         | 
    4 //  |              Copyright (c) 2001-2006 by moleSoftware                                      | 
    5 //  |                   http://vhcs.net | http://www.molesoftware.com                                   | 
    6 //  |                                                                               | 
    7 //  | This program is free software; you can redistribute it and/or                 | 
    8 //  | modify it under the terms of the MPL General Public License                   | 
    9 //  | as published by the Free Software Foundation; either version 1.1              | 
    10 //  | of the License, or (at your option) any later version.                        | 
    11 //  |                                                                               | 
    12 //  | You should have received a copy of the MPL Mozilla Public License             | 
    13 //  | along with this program; if not, write to the Open Source Initiative (OSI)    | 
    14 //  | http://opensource.org | osi@opensource.org                                                                    | 
    15 //  |                                                                               | 
    16 //   ------------------------------------------------------------------------------- 
    17  
    18  
     2/** 
     3 *  VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version 
     4 * 
     5 *  @copyright  2001-2006 by moleSoftware GmbH 
     6 *  @copyright  2006-2007 by ispCP | http://isp-control.net 
     7 *  @link               http://isp-control.net 
     8 *  @author             VHCS Team, Benedikt Heintel (2007) 
     9 * 
     10 *  @license 
     11 *  This program is free software; you can redistribute it and/or modify it under 
     12 *  the terms of the MPL General Public License as published by the Free Software 
     13 *  Foundation; either version 1.1 of the License, or (at your option) any later 
     14 *  version. 
     15 *  You should have received a copy of the MPL Mozilla Public License along with 
     16 *  this program; if not, write to the Open Source Initiative (OSI) 
     17 *  http://opensource.org | osi@opensource.org 
     18 * 
     19 **/ 
    1920 
    2021function save_layout(&$sql) 
  • trunk/gui/admin/settings.php

    r323 r411  
    11<?php 
    2 //   ------------------------------------------------------------------------------- 
    3 //  |             VHCS(tm) - Virtual Hosting Control System                         | 
    4 //  |              Copyright (c) 2001-2006 by moleSoftware                                      | 
    5 //  |                   http://vhcs.net | http://www.molesoftware.com                                   | 
    6 //  |                                                                               | 
    7 //  | This program is free software; you can redistribute it and/or                 | 
    8 //  | modify it under the terms of the MPL General Public License                   | 
    9 //  | as published by the Free Software Foundation; either version 1.1              | 
    10 //  | of the License, or (at your option) any later version.                        | 
    11 //  |                                                                               | 
    12 //  | You should have received a copy of the MPL Mozilla Public License             | 
    13 //  | along with this program; if not, write to the Open Source Initiative (OSI)    | 
    14 //  | http://opensource.org | osi@opensource.org                                                                    | 
    15 //  |                                                                               | 
    16 //   ------------------------------------------------------------------------------- 
     2/** 
     3 *  VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version 
     4 * 
     5 *  @copyright  2001-2006 by moleSoftware GmbH 
     6 *  @copyright  2006-2007 by ispCP | http://isp-control.net 
     7 *  @link               http://isp-control.net 
     8 *  @author             VHCS Team, Benedikt Heintel (2007) 
     9 * 
     10 *  @license 
     11 *  This program is free software; you can redistribute it and/or modify it under 
     12 *  the terms of the MPL General Public License as published by the Free Software 
     13 *  Foundation; either version 1.1 of the License, or (at your option) any later 
     14 *  version. 
     15 *  You should have received a copy of the MPL Mozilla Public License along with 
     16 *  this program; if not, write to the Open Source Initiative (OSI) 
     17 *  http://opensource.org | osi@opensource.org 
     18 * 
     19 **/ 
    1720 
    1821include '../include/vhcs-lib.php'; 
     
    6164                $domain_rows_per_page = 1; 
    6265        } else { 
    63  
    6466                setConfig_Value('LOSTPASSWORD', $lostpassword); 
    65  
    6667                setConfig_Value('LOSTPASSWORD_TIMEOUT', $lostpassword_timeout); 
    67  
    6868                setConfig_Value('BRUTEFORCE', $bruteforce); 
    69  
    7069                setConfig_Value('BRUTEFORCE_BETWEEN', $bruteforce_between); 
    71  
    7270                setConfig_Value('BRUTEFORCE_MAX_LOGIN', $bruteforce_max_login); 
    73  
    7471                setConfig_Value('BRUTEFORCE_BLOCK_TIME', $bruteforce_block_time); 
    75  
    7672                setConfig_Value('BRUTEFORCE_BETWEEN_TIME', $bruteforce_between_time); 
    77  
    7873                setConfig_Value('USER_INITIAL_LANG', $user_initial_lang); 
    79  
    8074                setConfig_Value('VHCS_SUPPORT_SYSTEM', $support_system); 
    81  
    8275                setConfig_Value('DOMAIN_ROWS_PER_PAGE', $domain_rows_per_page); 
    83  
    8476                set_page_message(tr('Settings saved !')); 
    85  
    8677        } 
    87  
    8878} 
    8979 
     
    10191 
    10292if ($cfg['LOSTPASSWORD'] == 1) { 
    103  
    10493        $tpl -> assign('LOSTPASSWORD_SELECTED_ON', 'selected'); 
    105  
     94        $tpl -> assign('LOSTPASSWORD_SELECTED_OFF', ''); 
    10695} else { 
    107  
     96        $tpl -> assign('LOSTPASSWORD_SELECTED_ON', ''); 
    10897        $tpl -> assign('LOSTPASSWORD_SELECTED_OFF', 'selected'); 
    109  
    11098} 
    11199 
    112100if ($cfg['BRUTEFORCE'] == 1) { 
    113  
    114101        $tpl -> assign('BRUTEFORCE_SELECTED_ON', 'selected'); 
    115  
     102        $tpl -> assign('BRUTEFORCE_SELECTED_OFF', ''); 
    116103} else { 
    117  
     104        $tpl -> assign('BRUTEFORCE_SELECTED_ON', ''); 
    118105        $tpl -> assign('BRUTEFORCE_SELECTED_OFF', 'selected'); 
    119  
    120106} 
    121107 
    122108if ($cfg['BRUTEFORCE_BETWEEN'] == 1) { 
    123  
    124109        $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_ON', 'selected'); 
    125  
     110        $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_OFF', ''); 
    126111} else { 
    127  
     112        $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_ON', ''); 
    128113        $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_OFF', 'selected'); 
    129  
    130114} 
    131115 
    132116if ($cfg['VHCS_SUPPORT_SYSTEM'] == 1) { 
    133  
    134117        $tpl -> assign('SUPPORT_SYSTEM_SELECTED_ON', 'selected'); 
    135  
     118        $tpl -> assign('SUPPORT_SYSTEM_SELECTED_OFF', ''); 
    136119} else { 
    137  
     120        $tpl -> assign('SUPPORT_SYSTEM_SELECTED_ON', ''); 
    138121        $tpl -> assign('SUPPORT_SYSTEM_SELECTED_OFF', 'selected'); 
    139  
    140122} 
    141123 
  • trunk/gui/admin/ss_closed.php

    r350 r411  
    11<?php 
    2 //   ------------------------------------------------------------------------------- 
    3 //  |             VHCS(tm) - Virtual Hosting Control System                         | 
    4 //  |              Copyright (c) 2001-2006 by moleSoftware                                      | 
    5 //  |                   http://vhcs.net | http://www.molesoftware.com                                   | 
    6 //  |                                                                               | 
    7 //  | This program is free software; you can redistribute it and/or                 | 
    8 //  | modify it under the terms of the MPL General Public License                   | 
    9 //  | as published by the Free Software Foundation; either version 1.1              | 
    10 //  | of the License, or (at your option) any later version.                        | 
    11 //  |                                                                               | 
    12 //  | You should have received a copy of the MPL Mozilla Public License             | 
    13 //  | along with this program; if not, write to the Open Source Initiative (OSI)    | 
    14 //  | http://opensource.org | osi@opensource.org                                                                    | 
    15 //  |                                                                               | 
    16 //   ------------------------------------------------------------------------------- 
    17  
     2/** 
     3 *  VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version 
     4 * 
     5 *  @copyright  2001-2006 by moleSoftware GmbH 
     6 *  @copyright  2006-2007 by ispCP | http://isp-control.net 
     7 *  @link               http://isp-control.net 
     8 *  @author             VHCS Team, Benedikt Heintel (2007) 
     9 * 
     10 *  @license 
     11 *  This program is free software; you can redistribute it and/or modify it under 
     12 *  the terms of the MPL General Public License as published by the Free Software 
     13 *  Foundation; either version 1.1 of the License, or (at your option) any later 
     14 *  version. 
     15 *  You should have received a copy of the MPL Mozilla Public License along with 
     16 *  this program; if not, write to the Open Source Initiative (OSI) 
     17 *  http://opensource.org | osi@opensource.org 
     18 * 
     19 **/ 
    1820 
    1921include '../include/vhcs-lib.php'; 
  • trunk/gui/admin/support_system.php

    r350 r411  
    11<?php 
    2 //   ------------------------------------------------------------------------------- 
    3 //  |             VHCS(tm) - Virtual Hosting Control System                         | 
    4 //  |              Copyright (c) 2001-2006 by moleSoftware                                      | 
    5 //  |                   http://vhcs.net | http://www.molesoftware.com                                   | 
    6 //  |                                                                               | 
    7 //  | This program is free software; you can redistribute it and/or                 | 
    8 //  | modify it under the terms of the MPL General Public License                   | 
    9 //  | as published by the Free Software Foundation; either version 1.1              | 
    10 //  | of the License, or (at your option) any later version.                        | 
    11 //  |                                                                               | 
    12 //  | You should have received a copy of the MPL Mozilla Public License             | 
    13 //  | along with this program; if not, write to the Open Source Initiative (OSI)    | 
    14 //  | http://opensource.org | osi@opensource.org                                                                    | 
    15 //  |                                                                               | 
    16 //   ------------------------------------------------------------------------------- 
    17  
     2/** 
     3 *  VHCS ω (OMEGA) - Virtual Hosting Control System | Omega Version 
     4 * 
     5 *  @copyright  2001-2006 by moleSoftware GmbH 
     6 *  @copyright  2006-2007 by ispCP | http://isp-control.net 
     7 *  @link               http://isp-control.net 
     8 *  @author             VHCS Team, Benedikt Heintel (2007) 
     9 * 
     10 *  @license 
     11 *  This program is free software; you can redistribute it and/or modify it under 
     12 *  the terms of the MPL General Public License as published by the Free Software 
     13 *  Foundation; either version 1.1 of the License, or (at your option) any later 
     14 *  version. 
     15 *  You should have received a copy of the MPL Mozilla Public License along with 
     16 *  this program; if not, write to the Open Source Initiative (OSI) 
     17 *  http://opensource.org | osi@opensource.org 
     18 * 
     19 **/ 
    1820 
    1921include '../include/vhcs-lib.php'; 
  • trunk/gui/errordocs/index.php

    r373 r411  
    1717        <table width="453" border="0" align="center" cellpadding="0" cellspacing="0"> 
    1818         <tr> 
    19           <td width="453" height="69" background="themes/omega_original/images/login/login_top.jpg">&nbsp;</td> 
     19          <td width="453" height="69" background="/vhcs2/themes/omega_original/images/login/login_top.jpg">&nbsp;</td> 
    2020         </tr> 
    2121         <tr> 
     
    2323           <table width="453" border="0" cellpadding="0" cellspacing="1"> 
    2424            <tr> 
    25                 <td align="center" valign="middle" bgcolor="#FFFFFF"></strong> 
    26                  <h2><font color="#FF0000">Error <?php print htmlspecialchars($_SERVER['REDIRECT_STATUS']);?>!</font></h2><br /> 
    27                  <b><?php print htmlspecialchars($_SERVER['REQUEST_URI']);?></b><br /> 
    28                  <?php 
     25             <td align="center" valign="middle" bgcolor="#FFFFFF"></strong> 
     26              <h2><font color="#FF0000">Error <?php print htmlspecialchars($_SERVER['REDIRECT_STATUS']);?>!</font></h2><br /> 
     27              <b><?php print htmlspecialchars($_SERVER['REQUEST_URI']);?></b><br /> 
     28              <?php 
    2929                                switch ($_SERVER['REDIRECT_STATUS']) { 
    3030                                        case 401: 
     
    4444                                                break; 
    4545                                } 
    46                     ?> 
     46             ?> 
    4747            </td> 
    4848           </tr> 
    4949          </table> 
    50             </td> 
     50         </td> 
    5151        </tr> 
    5252       </table> 
  • trunk/gui/themes/omega_original/css/vhcs.css

    r410 r411  
    152152        white-space:            nowrap; 
    153153        background:             #efefef; 
    154         white-space:            nowrap; 
    155154        height:                         22px; 
    156155        padding:                        2px; 
     
    162161        white-space:            nowrap; 
    163162        background:                     #efefef; 
    164         white-space:            nowrap; 
    165163        height:                         22px; 
    166164        padding:                        2px; 
     
    175173        height:                         30px; 
    176174        padding:                        2px; 
     175        border-bottom:          2px solid #000000; 
     176        border-right:           2px solid #000000; 
     177        border-top:                     2px solid #eeeeee; 
     178        border-left:            2px solid #eeeeee; 
     179        background-image:       url(../images/content/tableheader.jpg); 
     180        background-repeat:      repeat-x; 
    177181} 
    178182 
     
    182186        white-space:            nowrap; 
    183187        background:             #dddddd; 
    184         white-space:            nowrap; 
    185188        height:                         22px; 
    186189        padding:                        2px; 
     
    217220        background-image:       url(../images/button.jpg); 
    218221        background-repeat:      repeat-x; 
    219         border:                         1px solid #323232; 
     222        border-bottom:          1px solid #000000; 
     223        border-right:           1px solid #000000; 
     224        border-top:                     1px solid #eeeeee; 
     225        border-left:            1px solid #eeeeee; 
     226 
    220227} 
    221228