Changeset 411
- 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
| r410 |
r411 |
|
| 14 | 14 | 2007-03-12 Benedikt Heintel |
|---|
| 15 | 15 | - 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 |
|---|
| 18 | 19 | * modified: layout of some functions |
|---|
| 19 | 20 | |
|---|
| r369 |
r411 |
|
| 1 | 1 | <?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 | **/ |
|---|
| 19 | 20 | |
|---|
| 20 | 21 | function save_layout(&$sql) |
|---|
| r323 |
r411 |
|
| 1 | 1 | <?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 | **/ |
|---|
| 17 | 20 | |
|---|
| 18 | 21 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 61 | 64 | $domain_rows_per_page = 1; |
|---|
| 62 | 65 | } else { |
|---|
| 63 | | |
|---|
| 64 | 66 | setConfig_Value('LOSTPASSWORD', $lostpassword); |
|---|
| 65 | | |
|---|
| 66 | 67 | setConfig_Value('LOSTPASSWORD_TIMEOUT', $lostpassword_timeout); |
|---|
| 67 | | |
|---|
| 68 | 68 | setConfig_Value('BRUTEFORCE', $bruteforce); |
|---|
| 69 | | |
|---|
| 70 | 69 | setConfig_Value('BRUTEFORCE_BETWEEN', $bruteforce_between); |
|---|
| 71 | | |
|---|
| 72 | 70 | setConfig_Value('BRUTEFORCE_MAX_LOGIN', $bruteforce_max_login); |
|---|
| 73 | | |
|---|
| 74 | 71 | setConfig_Value('BRUTEFORCE_BLOCK_TIME', $bruteforce_block_time); |
|---|
| 75 | | |
|---|
| 76 | 72 | setConfig_Value('BRUTEFORCE_BETWEEN_TIME', $bruteforce_between_time); |
|---|
| 77 | | |
|---|
| 78 | 73 | setConfig_Value('USER_INITIAL_LANG', $user_initial_lang); |
|---|
| 79 | | |
|---|
| 80 | 74 | setConfig_Value('VHCS_SUPPORT_SYSTEM', $support_system); |
|---|
| 81 | | |
|---|
| 82 | 75 | setConfig_Value('DOMAIN_ROWS_PER_PAGE', $domain_rows_per_page); |
|---|
| 83 | | |
|---|
| 84 | 76 | set_page_message(tr('Settings saved !')); |
|---|
| 85 | | |
|---|
| 86 | 77 | } |
|---|
| 87 | | |
|---|
| 88 | 78 | } |
|---|
| 89 | 79 | |
|---|
| … | … | |
| 101 | 91 | |
|---|
| 102 | 92 | if ($cfg['LOSTPASSWORD'] == 1) { |
|---|
| 103 | | |
|---|
| 104 | 93 | $tpl -> assign('LOSTPASSWORD_SELECTED_ON', 'selected'); |
|---|
| 105 | | |
|---|
| | 94 | $tpl -> assign('LOSTPASSWORD_SELECTED_OFF', ''); |
|---|
| 106 | 95 | } else { |
|---|
| 107 | | |
|---|
| | 96 | $tpl -> assign('LOSTPASSWORD_SELECTED_ON', ''); |
|---|
| 108 | 97 | $tpl -> assign('LOSTPASSWORD_SELECTED_OFF', 'selected'); |
|---|
| 109 | | |
|---|
| 110 | 98 | } |
|---|
| 111 | 99 | |
|---|
| 112 | 100 | if ($cfg['BRUTEFORCE'] == 1) { |
|---|
| 113 | | |
|---|
| 114 | 101 | $tpl -> assign('BRUTEFORCE_SELECTED_ON', 'selected'); |
|---|
| 115 | | |
|---|
| | 102 | $tpl -> assign('BRUTEFORCE_SELECTED_OFF', ''); |
|---|
| 116 | 103 | } else { |
|---|
| 117 | | |
|---|
| | 104 | $tpl -> assign('BRUTEFORCE_SELECTED_ON', ''); |
|---|
| 118 | 105 | $tpl -> assign('BRUTEFORCE_SELECTED_OFF', 'selected'); |
|---|
| 119 | | |
|---|
| 120 | 106 | } |
|---|
| 121 | 107 | |
|---|
| 122 | 108 | if ($cfg['BRUTEFORCE_BETWEEN'] == 1) { |
|---|
| 123 | | |
|---|
| 124 | 109 | $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_ON', 'selected'); |
|---|
| 125 | | |
|---|
| | 110 | $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_OFF', ''); |
|---|
| 126 | 111 | } else { |
|---|
| 127 | | |
|---|
| | 112 | $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_ON', ''); |
|---|
| 128 | 113 | $tpl -> assign('BRUTEFORCE_BETWEEN_SELECTED_OFF', 'selected'); |
|---|
| 129 | | |
|---|
| 130 | 114 | } |
|---|
| 131 | 115 | |
|---|
| 132 | 116 | if ($cfg['VHCS_SUPPORT_SYSTEM'] == 1) { |
|---|
| 133 | | |
|---|
| 134 | 117 | $tpl -> assign('SUPPORT_SYSTEM_SELECTED_ON', 'selected'); |
|---|
| 135 | | |
|---|
| | 118 | $tpl -> assign('SUPPORT_SYSTEM_SELECTED_OFF', ''); |
|---|
| 136 | 119 | } else { |
|---|
| 137 | | |
|---|
| | 120 | $tpl -> assign('SUPPORT_SYSTEM_SELECTED_ON', ''); |
|---|
| 138 | 121 | $tpl -> assign('SUPPORT_SYSTEM_SELECTED_OFF', 'selected'); |
|---|
| 139 | | |
|---|
| 140 | 122 | } |
|---|
| 141 | 123 | |
|---|
| r350 |
r411 |
|
| 1 | 1 | <?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 | **/ |
|---|
| 18 | 20 | |
|---|
| 19 | 21 | include '../include/vhcs-lib.php'; |
|---|
| r350 |
r411 |
|
| 1 | 1 | <?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 | **/ |
|---|
| 18 | 20 | |
|---|
| 19 | 21 | include '../include/vhcs-lib.php'; |
|---|
| r373 |
r411 |
|
| 17 | 17 | <table width="453" border="0" align="center" cellpadding="0" cellspacing="0"> |
|---|
| 18 | 18 | <tr> |
|---|
| 19 | | <td width="453" height="69" background="themes/omega_original/images/login/login_top.jpg"> </td> |
|---|
| | 19 | <td width="453" height="69" background="/vhcs2/themes/omega_original/images/login/login_top.jpg"> </td> |
|---|
| 20 | 20 | </tr> |
|---|
| 21 | 21 | <tr> |
|---|
| … | … | |
| 23 | 23 | <table width="453" border="0" cellpadding="0" cellspacing="1"> |
|---|
| 24 | 24 | <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 |
|---|
| 29 | 29 | switch ($_SERVER['REDIRECT_STATUS']) { |
|---|
| 30 | 30 | case 401: |
|---|
| … | … | |
| 44 | 44 | break; |
|---|
| 45 | 45 | } |
|---|
| 46 | | ?> |
|---|
| | 46 | ?> |
|---|
| 47 | 47 | </td> |
|---|
| 48 | 48 | </tr> |
|---|
| 49 | 49 | </table> |
|---|
| 50 | | </td> |
|---|
| | 50 | </td> |
|---|
| 51 | 51 | </tr> |
|---|
| 52 | 52 | </table> |
|---|
| r410 |
r411 |
|
| 152 | 152 | white-space: nowrap; |
|---|
| 153 | 153 | background: #efefef; |
|---|
| 154 | | white-space: nowrap; |
|---|
| 155 | 154 | height: 22px; |
|---|
| 156 | 155 | padding: 2px; |
|---|
| … | … | |
| 162 | 161 | white-space: nowrap; |
|---|
| 163 | 162 | background: #efefef; |
|---|
| 164 | | white-space: nowrap; |
|---|
| 165 | 163 | height: 22px; |
|---|
| 166 | 164 | padding: 2px; |
|---|
| … | … | |
| 175 | 173 | height: 30px; |
|---|
| 176 | 174 | 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; |
|---|
| 177 | 181 | } |
|---|
| 178 | 182 | |
|---|
| … | … | |
| 182 | 186 | white-space: nowrap; |
|---|
| 183 | 187 | background: #dddddd; |
|---|
| 184 | | white-space: nowrap; |
|---|
| 185 | 188 | height: 22px; |
|---|
| 186 | 189 | padding: 2px; |
|---|
| … | … | |
| 217 | 220 | background-image: url(../images/button.jpg); |
|---|
| 218 | 221 | 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 | |
|---|
| 220 | 227 | } |
|---|
| 221 | 228 | |
|---|
|