Changeset 454
- Timestamp:
- 04/04/07 00:46:32
(2 years ago)
- Author:
- rats
- Message:
- LANGUAGES:
- GUI:
- Updated translation strings
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r453 |
r454 |
|
| 11 | 11 | \_________________________________________________________________/ |
|---|
| 12 | 12 | |
|---|
| | 13 | 2007-04-04 Benedikt Heintel |
|---|
| | 14 | - LANGUAGES: |
|---|
| | 15 | * English: updates |
|---|
| | 16 | * Turkish: added missing strings |
|---|
| | 17 | - GUI: |
|---|
| | 18 | * Updated translation strings |
|---|
| | 19 | |
|---|
| 13 | 20 | 2007-04-03 Benedikt Heintel |
|---|
| 14 | 21 | - GUI: |
|---|
| 15 | 22 | * fixed: color of table header headlines in Firefox |
|---|
| 16 | | * fixed bug #148: alias domainname was false in adminlog |
|---|
| | 23 | * fixed bug #148: alias domainname was wrong in adminlog |
|---|
| 17 | 24 | * fixed: layout issues on add_mail_acc.tpl |
|---|
| 18 | 25 | |
|---|
| r402 |
r454 |
|
| 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 | **/ |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 348 | 349 | { |
|---|
| 349 | 350 | global $cfg; |
|---|
| 350 | | |
|---|
| | 351 | |
|---|
| 351 | 352 | $username = strtolower(clean_input($_POST['username'])); |
|---|
| 352 | 353 | $res_uname = preg_match("/\./", $username, $match); |
|---|
| … | … | |
| 355 | 356 | return; |
|---|
| 356 | 357 | } |
|---|
| 357 | | |
|---|
| | 358 | |
|---|
| 358 | 359 | if (chk_username($username)) { |
|---|
| 359 | 360 | set_page_message( tr("Incorrect username range or syntax!")); |
|---|
| 360 | 361 | return; |
|---|
| 361 | 362 | } |
|---|
| 362 | | |
|---|
| | 363 | |
|---|
| 363 | 364 | // Set default values ($ftp_home may be overriden if user |
|---|
| 364 | 365 | // has specified a mount point |
|---|
| … | … | |
| 369 | 370 | $ftp_home = $cfg['FTP_HOMEDIR']."/$dmn_name"; |
|---|
| 370 | 371 | break; |
|---|
| 371 | | |
|---|
| | 372 | |
|---|
| 372 | 373 | // Default mount point for an alias domain |
|---|
| 373 | 374 | case 'als': |
|---|
| … | … | |
| 376 | 377 | $ftp_home = $cfg['FTP_HOMEDIR']."/$dmn_name".$alias_mount_point; |
|---|
| 377 | 378 | break; |
|---|
| 378 | | |
|---|
| | 379 | |
|---|
| 379 | 380 | // Default mount point for a subdomain |
|---|
| 380 | 381 | case 'sub': |
|---|
| … | … | |
| 382 | 383 | $ftp_home = $cfg['FTP_HOMEDIR']."/$dmn_name/".clean_input($_POST['sub_id']); |
|---|
| 383 | 384 | break; |
|---|
| 384 | | |
|---|
| | 385 | |
|---|
| 385 | 386 | // Unknown domain type (?) |
|---|
| 386 | 387 | default: |
|---|
| … | … | |
| 389 | 390 | break; |
|---|
| 390 | 391 | } |
|---|
| 391 | | |
|---|
| | 392 | |
|---|
| 392 | 393 | // User-specified mount point |
|---|
| 393 | 394 | if ( isset($_POST['use_other_dir']) && $_POST['use_other_dir'] === 'on') { |
|---|
| 394 | | |
|---|
| | 395 | |
|---|
| 395 | 396 | $ftp_vhome = clean_input($_POST['other_dir']); |
|---|
| 396 | 397 | // Strip possible double-slashes |
|---|
| 397 | 398 | $ftp_vhome = str_replace('//', '/', $ftp_vhome); |
|---|
| 398 | | |
|---|
| 399 | | // Check for updirs ".." |
|---|
| | 399 | |
|---|
| | 400 | // Check for updirs ".." |
|---|
| 400 | 401 | $res = preg_match("/\.\./", $ftp_vhome); |
|---|
| 401 | 402 | if ($res !== 0) { |
|---|
| … | … | |
| 406 | 407 | // Strip possible double-slashes |
|---|
| 407 | 408 | $ftp_home = str_replace('//', '/', $ftp_home); |
|---|
| 408 | | |
|---|
| | 409 | |
|---|
| 409 | 410 | // Check for $ftp_vhome existance |
|---|
| 410 | 411 | // Create a virtual filesystem (it's important to use =&!) |
|---|
| … | … | |
| 412 | 413 | // Check for directory existance |
|---|
| 413 | 414 | $res = $vfs->exists($ftp_vhome); |
|---|
| 414 | | |
|---|
| | 415 | |
|---|
| 415 | 416 | if ( !$res ) { |
|---|
| 416 | | set_page_message($ftp_vhome." ".tr('do not exist')); |
|---|
| | 417 | set_page_message($ftp_vhome." ".tr('does not exist')); |
|---|
| 417 | 418 | return; |
|---|
| 418 | 419 | } |
|---|
| 419 | | |
|---|
| | 420 | |
|---|
| 420 | 421 | }// End of user-specified mount-point |
|---|
| 421 | 422 | |
|---|
| 422 | 423 | $ftp_gid = get_ftp_user_gid($sql, $dmn_name, $ftp_user); |
|---|
| 423 | 424 | $ftp_uid = get_ftp_user_uid($sql, $dmn_name, $ftp_user, $ftp_gid); |
|---|
| 424 | | |
|---|
| | 425 | |
|---|
| 425 | 426 | if ($ftp_uid == -1) return; |
|---|
| 426 | | |
|---|
| | 427 | |
|---|
| 427 | 428 | $ftp_shell = $cfg['FTP_SHELL']; |
|---|
| 428 | 429 | $ftp_passwd = crypt_user_ftp_pass($_POST['pass']); |
|---|
| 429 | | |
|---|
| | 430 | |
|---|
| 430 | 431 | $query = <<<SQL_QUERY |
|---|
| 431 | 432 | insert into ftp_users |
|---|
| r323 |
r454 |
|
| 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 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 131 | 131 | $res = preg_match("/\.\./", clean_input($_POST['other_dir']), $match); |
|---|
| 132 | 132 | if (!is_dir($other_dir) || $res !== 0) { |
|---|
| 133 | | set_page_message(clean_input($_POST['other_dir'])." ".tr('do not exist')); |
|---|
| | 133 | set_page_message(clean_input($_POST['other_dir'])." ".tr('does not exist')); |
|---|
| 134 | 134 | return; |
|---|
| 135 | 135 | } |
|---|
| r154 |
r454 |
|
| 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 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 44 | 44 | $ok_status = $cfg['ITEM_OK_STATUS']; |
|---|
| 45 | 45 | if ($status !== $ok_status) { |
|---|
| 46 | | set_page_message(tr('Protected area status should be OK if you wannt to delete it!')); |
|---|
| | 46 | set_page_message(tr('Protected area status should be OK if you want to delete it!')); |
|---|
| 47 | 47 | header( "Location: protected_areas.php"); |
|---|
| 48 | 48 | die(); |
|---|
| r402 |
r454 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2005 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 | **/ |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 58 | 59 | if (isset($_POST['uaction']) && $_POST['uaction'] === 'protect_it') { |
|---|
| 59 | 60 | |
|---|
| 60 | | |
|---|
| | 61 | |
|---|
| 61 | 62 | if ( !isset($_POST['users']) && !isset($_POST['groups']) ){ |
|---|
| 62 | 63 | set_page_message(tr('Please choose user or group')); |
|---|
| 63 | 64 | return; |
|---|
| 64 | 65 | } |
|---|
| 65 | | |
|---|
| | 66 | |
|---|
| 66 | 67 | if ( empty($_POST['paname']) ) { |
|---|
| 67 | 68 | set_page_message(tr('Please enter area name')); |
|---|
| 68 | 69 | return; |
|---|
| 69 | 70 | } |
|---|
| 70 | | |
|---|
| | 71 | |
|---|
| 71 | 72 | if ( empty($_POST['other_dir']) ) { |
|---|
| 72 | 73 | set_page_message(tr('Please enter area path')); |
|---|
| 73 | 74 | return; |
|---|
| 74 | 75 | } |
|---|
| 75 | | |
|---|
| | 76 | |
|---|
| 76 | 77 | // Check for existing directory |
|---|
| 77 | 78 | $path = clean_input($_POST['other_dir']); |
|---|
| … | … | |
| 247 | 248 | $ok_status = $cfg['ITEM_OK_STATUS']; |
|---|
| 248 | 249 | if ($status !== $ok_status) { |
|---|
| 249 | | set_page_message(tr('Protected area status should be OK if you wannt to edit it!')); |
|---|
| | 250 | set_page_message(tr('Protected area status should be OK if you want to edit it!')); |
|---|
| 250 | 251 | header( "Location: protected_areas.php"); |
|---|
| 251 | 252 | die(); |
|---|
| … | … | |
| 370 | 371 | array( |
|---|
| 371 | 372 | 'GROUP_VALUE' => "-1", |
|---|
| 372 | | 'GROUP_LEBEL' => tr('You have no groups !') |
|---|
| | 373 | 'GROUP_LEBEL' => tr('You have no groups!') |
|---|
| 373 | 374 | ) |
|---|
| 374 | 375 | ); |
|---|
| r441 |
r454 |
|
| 147 | 147 | if (!session_exists($sess_id)) { |
|---|
| 148 | 148 | |
|---|
| 149 | | write_log(htmlspecialchars($user_logged, ENT_QUOTES, "UTF-8") . " user session do not exist or killed"); |
|---|
| | 149 | write_log(htmlspecialchars($user_logged, ENT_QUOTES, "UTF-8") . " user session does not exist or killed"); |
|---|
| 150 | 150 | |
|---|
| 151 | 151 | return false; |
|---|
| r414 |
r454 |
|
| 1548 | 1548 | if ($dmn_max != 0) { |
|---|
| 1549 | 1549 | if ($dmn_current + 1 > $dmn_max) { |
|---|
| 1550 | | $err_msg = tr('You have been reached your domain limit.<br>You can not add more domains ! '); |
|---|
| | 1550 | $err_msg = tr('You have reached your domain limit.<br>You can not add more domains! '); |
|---|
| 1551 | 1551 | return; |
|---|
| 1552 | 1552 | } |
|---|
| r154 |
r454 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2005 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 | | |
|---|
| 19 | | |
|---|
| 20 | | |
|---|
| | 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 | **/ |
|---|
| 21 | 19 | |
|---|
| 22 | 20 | function check_for_lock_file() |
|---|
| … | … | |
| 41 | 39 | header( "Cache-Control: no-store, no-cache, must-revalidate" ); |
|---|
| 42 | 40 | } |
|---|
| 43 | | //system_message(tr('<b>Routine maintenance!</b><br><br>VHCS is not available for system changes<br><br>Pleas contact your hosting service provider for more information<br><br>We apologize for any inconvenience and thank you for understanding')); |
|---|
| 44 | 41 | } |
|---|
| 45 | 42 | |
|---|
| r154 |
r454 |
|
| 1 | | <?php |
|---|
| 2 | | // ----------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2005 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 | | |
|---|
| | 1 | <?php |
|---|
| | 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 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 39 | 39 | $dmn_name = strtolower($dmn_name); |
|---|
| 40 | 40 | $dmn_name = get_punny($dmn_name); |
|---|
| 41 | | |
|---|
| | 41 | |
|---|
| 42 | 42 | if (!vhcs_domain_check($dmn_name)) { |
|---|
| 43 | 43 | |
|---|
| … | … | |
| 51 | 51 | |
|---|
| 52 | 52 | } |
|---|
| 53 | | |
|---|
| | 53 | |
|---|
| 54 | 54 | $_SESSION['domainname'] = $dmn_name; |
|---|
| 55 | 55 | header( "Location: address.php" ); |
|---|
| … | … | |
| 75 | 75 | if (isset($_SESSION['user_id'])){ |
|---|
| 76 | 76 | $user_id = $_SESSION['user_id']; |
|---|
| 77 | | |
|---|
| | 77 | |
|---|
| 78 | 78 | if (isset($_SESSION['plan_id'])){ |
|---|
| 79 | 79 | $plan_id = $_SESSION['plan_id']; |
|---|
| … | … | |
| 106 | 106 | 'TR_DOMAIN_NAME' => tr('Domain name'), |
|---|
| 107 | 107 | 'TR_CONTINUE' => tr('Continue'), |
|---|
| 108 | | 'TR_EXAMPLE' => tr('(Ex. domain-of-your-choice.com)'), |
|---|
| | 108 | 'TR_EXAMPLE' => tr('(e.g. domain-of-your-choice.com)'), |
|---|
| 109 | 109 | |
|---|
| 110 | 110 | |
|---|
| r323 |
r454 |
|
| 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 | **/ |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 613 | 614 | if ($u > $data) { |
|---|
| 614 | 615 | |
|---|
| 615 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| | 616 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| 616 | 617 | |
|---|
| 617 | 618 | } else { |
|---|
| … | … | |
| 657 | 658 | if ($u > $data) { |
|---|
| 658 | 659 | |
|---|
| 659 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| | 660 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| 660 | 661 | |
|---|
| 661 | 662 | } else { |
|---|
| … | … | |
| 757 | 758 | if ($u > $data) { |
|---|
| 758 | 759 | |
|---|
| 759 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| | 760 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| 760 | 761 | |
|---|
| 761 | 762 | } else { |
|---|
| … | … | |
| 808 | 809 | if ($u > $data) { |
|---|
| 809 | 810 | |
|---|
| 810 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>specified number is smaller then <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| | 811 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| 811 | 812 | |
|---|
| 812 | 813 | } else { |
|---|
| … | … | |
| 836 | 837 | if ($u > $data) { |
|---|
| 837 | 838 | |
|---|
| 838 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| | 839 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| 839 | 840 | |
|---|
| 840 | 841 | } else { |
|---|
| … | … | |
| 888 | 889 | if ($u > $data) { |
|---|
| 889 | 890 | |
|---|
| 890 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| | 891 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| 891 | 892 | |
|---|
| 892 | 893 | } else { |
|---|
| r154 |
r454 |
|
| 1 | 1 | <?php |
|---|
| 2 | | // ------------------------------------------------------------------------------- |
|---|
| 3 | | // | VHCS(tm) - Virtual Hosting Control System | |
|---|
| 4 | | // | Copyright (c) 2001-2005 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 | include '../include/vhcs-lib.php'; |
|---|
| … | … | |
| 41 | 41 | where |
|---|
| 42 | 42 | id = ? |
|---|
| 43 | | and |
|---|
| | 43 | and |
|---|
| 44 | 44 | status = 'update' |
|---|
| 45 | 45 | SQL_QUERY; |
|---|
| … | … | |
| 47 | 47 | $rs = exec_query($sql, $query, array($order_id)); |
|---|
| 48 | 48 | } else { |
|---|
| 49 | | |
|---|
| | 49 | |
|---|
| 50 | 50 | $query = <<<SQL_QUERY |
|---|
| 51 | 51 | select |
|---|
| … | … | |
| 57 | 57 | and |
|---|
| 58 | 58 | user_id = ? |
|---|
| 59 | | and |
|---|
| | 59 | and |
|---|
| 60 | 60 | status = 'update' |
|---|
| 61 | 61 | SQL_QUERY; |
|---|
| … | … | |
| 88 | 88 | $data = $res -> FetchRow(); |
|---|
| 89 | 89 | $props = $data['props']; |
|---|
| 90 | | |
|---|
| | 90 | |
|---|
| 91 | 91 | $_SESSION["ch_hpprops"] = $props; |
|---|
| 92 | | |
|---|
| | 92 | |
|---|
| 93 | 93 | reseller_limits_check($sql, $err_msg, $reseller_id, $hpid); |
|---|
| 94 | 94 | if ($err_msg != '_off_') { |
|---|
| … | … | |
| 107 | 107 | $domain_php = preg_replace("/\_/", "", $domain_php); |
|---|
| 108 | 108 | $domain_cgi = preg_replace("/\_/", "", $domain_cgi); |
|---|
| 109 | | |
|---|
| | 109 | |
|---|
| 110 | 110 | $ed_error = '_off_'; |
|---|
| 111 | 111 | |
|---|
| … | … | |
| 266 | 266 | } |
|---|
| 267 | 267 | |
|---|
| 268 | | |
|---|
| | 268 | |
|---|
| 269 | 269 | $query = <<<SQL_QUERY |
|---|
| 270 | 270 | update |
|---|
| … | … | |
| 279 | 279 | header('Location: users.php'); |
|---|
| 280 | 280 | die(); |
|---|
| 281 | | |
|---|
| | 281 | |
|---|
| 282 | 282 | } else { |
|---|
| 283 | 283 | |
|---|
| … | … | |
| 346 | 346 | if ($u > $data) { |
|---|
| 347 | 347 | |
|---|
| 348 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| | 348 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| 349 | 349 | |
|---|
| 350 | 350 | } else { |
|---|
| … | … | |
| 390 | 390 | if ($u > $data) { |
|---|
| 391 | 391 | |
|---|
| 392 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| | 392 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| 393 | 393 | |
|---|
| 394 | 394 | } else { |
|---|
| … | … | |
| 490 | 490 | if ($u > $data) { |
|---|
| 491 | 491 | |
|---|
| 492 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| | 492 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> records, present on the system!'); |
|---|
| 493 | 493 | |
|---|
| 494 | 494 | } else { |
|---|
| … | … | |
| 542 | 542 | if ($u > $data) { |
|---|
| 543 | 543 | |
|---|
| 544 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>specified number is smaller then <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| | 544 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| 545 | 545 | |
|---|
| 546 | 546 | } else { |
|---|
| … | … | |
| 570 | 570 | if ($u > $data) { |
|---|
| 571 | 571 | |
|---|
| 572 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| | 572 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| 573 | 573 | |
|---|
| 574 | 574 | } else { |
|---|
| … | … | |
| 622 | 622 | if ($u > $data) { |
|---|
| 623 | 623 | |
|---|
| 624 | | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller then <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| | 624 | $err = '<b>'.$obj.tr('</b> Service can not be limited !<br>Specified number is smaller than <b>').$obj.tr('</b> amount, present on the system!'); |
|---|
| 625 | 625 | |
|---|
| 626 | 626 | } else { |
|---|
| r449 |
r454 |
|
| 3 | 3 | vhcs_languageSetlocaleValue = en_GB |
|---|
| 4 | 4 | encoding = UTF-8 |
|---|
| 5 | | do not exist = |
|---|
| 6 | | Has IP address that can not be managed from the destination reseller !<br>This user can not be moved! = |
|---|
| 7 | | Has unlimited rights for a <b> = |
|---|
| 8 | | is exceeding limits for a <b> = |
|---|
| 9 | | you are logged now as = |
|---|
| 10 | | (Ex. domain-of-your-choice.com) = (e.g. domain-of-your-choice.com) |
|---|
| | 5 | (e.g. domain-of-your-choice.com) = |
|---|
| 11 | 6 | (e.g. EUR) = |
|---|
| 12 | 7 | (usually named backup_YYY_MM_DD.tar) = |
|---|
| … | … | |
| 22 | 17 | </b> Service !<br> = |
|---|
| 23 | 18 | </b> Service can not be disabled !<br>There is <b> = |
|---|
| 24 | | </b> Service can not be limited !<br>specified number is smaller then <b> = </b> Service can not be limited !<br>specified number is smaller than <b> |
|---|
| 25 | | </b> Service can not be limited !<br>Specified number is smaller then <b> = </b> Service can not be limited !<br>Specified number is smaller than <b> |
|---|
| | 19 | </b> Service can not be limited !<br>Specified number is smaller than <b> = |
|---|
| 26 | 20 | </b> Service can not be limited !<br>You are exceeding reseller limits for the <b> = |
|---|
| 27 | 21 | </b> Service can not be unlimited !<br>There is reseller limits for the <b> = |
|---|
| 28 | 22 | </b> service! = |
|---|
| 29 | | <b>Routine maintenance!</b><br><br>VHCS is not available for system changes<br><br>Pleas contact your hosting service provider for more information<br><br>We apologize for any inconvenience and thank you for understanding = <b>Routine maintenance!</b><br><br>VHCS is not available for system changes<br><br>Please contact your hosting service provider for more information<br><br>We apologize for any inconvenience and thank you for understanding |
|---|
| 30 | 23 | <b>Thank You for purchasing</b><br>You will receive an email with more details and information = |
|---|
| 31 | 24 | <br>service in destination reseller!<br> = |
|---|
| 32 | | 0 = 0 |
|---|
| 33 | | 1 = 1 |
|---|
| 34 | | 2 = 2 |
|---|
| 35 | | 3 = 3 |
|---|
| 36 | | 4 = 4 |
|---|
| 37 | 25 | Access your files through the web interface = |
|---|
| 38 | 26 | Access your mail through the web interface = |
|---|
| … | … | |
| 234 | 222 | Disk limit [MB]<br><i>(0 unlimited)</i> = |
|---|
| 235 | 223 | Disk usage = |
|---|
| 236 | | Disk<br>usage = |
|---|
| | 224 | Disk<br>sage = |
|---|
| | 225 | does not exist = |
|---|
| 237 | 226 | Domain = |
|---|
| 238 | 227 | Domain account = |
|---|
| … | … | |
| 370 | 359 | Group name = |
|---|
| 371 | 360 | Groups = |
|---|
| | 361 | Has IP address that can not be managed from the destination reseller !<br>This user can not be moved! = |
|---|
| 372 | 362 | Has unlimited rights for a <b> = |
|---|
| 373 | | Havent you got more than one name? = Haven't you got more than one name? |
|---|
| 374 | 363 | HDD = |
|---|
| 375 | 364 | Header = |
|---|
| … | … | |
| 442 | 431 | IP = |
|---|
| 443 | 432 | IP was deleted! = |
|---|
| | 433 | is exceeding limits for a <b> = |
|---|
| 444 | 434 | JSP = |
|---|
| 445 | 435 | Kernel = |
|---|
| … | … | |
| 685 | 675 | Protected area created successfully! = |
|---|
| 686 | 676 | Protected area deleted successfully! = |
|---|
| 687 | | Protected area status should be OK if you wannt to delete it! = Protected area status should be OK if you want to delete it! |
|---|
| 688 | | Protected area status should be OK if you wannt to edit it! = Protected area status should be OK if you want to edit it! |
|---|
| | 677 | Protected area status should be OK if you want to delete it! = |
|---|
| | 678 | Protected area status should be OK if you want to edit it! = |
|---|
| 689 | 679 | Protected area updated successfully! = |
|---|
| 690 | 680 | Protected area was deleted successful! = |
|---|
| … | … | |
| 1077 | 1067 | You do not have permission to access this interface! = |
|---|
| 1078 | 1068 | You do not have protected areas = |
|---|
| | 1069 | you are logged now as = |
|---|
| 1079 | 1070 | You have = |
|---|
| 1080 | 1071 | You have alias limit!<br>You can Not Add User With Unlimited Alias Number! = |
|---|
| 1081 | 1072 | You have been blocked for = |
|---|
| 1082 | | You have been reached your domain limit.<br>You can not add more domains ! = You have reached your domain limit.<br>You can not add more domains ! |
|---|
| | 1073 | You have reached your domain limit.<br>You can not add more domains! = |
|---|
| 1083 | 1074 | You have disabled SQL databases for this user!<br>You can not have SQL users here! = |
|---|
| 1084 | 1075 | You have disk limit!<br>You can not add user with unlimited disk number! = |
|---|
| … | … | |
| 1087 | 1078 | You have no alias records. = |
|---|
| 1088 | 1079 | You have no custom menus. = |
|---|
|