Changeset 454

Show
Ignore:
Timestamp:
04/04/07 00:46:32 (2 years ago)
Author:
rats
Message:

- LANGUAGES:

  • English: updates

- GUI:

  • Updated translation strings
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r453 r454  
    1111\_________________________________________________________________/ 
    1212 
     132007-04-04 Benedikt Heintel 
     14        - LANGUAGES: 
     15                * English: updates 
     16                * Turkish: added missing strings 
     17        - GUI: 
     18                * Updated translation strings 
     19 
    13202007-04-03 Benedikt Heintel 
    1421        - GUI: 
    1522                * 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 
    1724                * fixed: layout issues on add_mail_acc.tpl 
    1825 
  • trunk/gui/client/add_ftp_acc.php

    r402 r454  
    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 **/ 
    1819 
    1920include '../include/vhcs-lib.php'; 
     
    348349{ 
    349350        global $cfg; 
    350          
     351 
    351352        $username = strtolower(clean_input($_POST['username'])); 
    352353        $res_uname = preg_match("/\./", $username, $match); 
     
    355356        return; 
    356357        } 
    357          
     358 
    358359        if (chk_username($username)) { 
    359360                set_page_message( tr("Incorrect username range or syntax!")); 
    360361                return; 
    361362        } 
    362          
     363 
    363364        // Set default values ($ftp_home may be overriden if user 
    364365        // has specified a mount point 
     
    369370                        $ftp_home = $cfg['FTP_HOMEDIR']."/$dmn_name"; 
    370371                        break; 
    371                  
     372 
    372373                // Default mount point for an alias domain 
    373374                case 'als': 
     
    376377                        $ftp_home = $cfg['FTP_HOMEDIR']."/$dmn_name".$alias_mount_point; 
    377378                        break; 
    378                  
     379 
    379380                // Default mount point for a subdomain 
    380381                case 'sub': 
     
    382383                        $ftp_home = $cfg['FTP_HOMEDIR']."/$dmn_name/".clean_input($_POST['sub_id']); 
    383384                        break; 
    384                  
     385 
    385386                // Unknown domain type (?) 
    386387                default: 
     
    389390                        break; 
    390391        } 
    391    
     392 
    392393        // User-specified mount point 
    393394        if ( isset($_POST['use_other_dir']) && $_POST['use_other_dir'] === 'on') { 
    394                  
     395 
    395396                $ftp_vhome = clean_input($_POST['other_dir']); 
    396397                // Strip possible double-slashes 
    397398                $ftp_vhome = str_replace('//', '/', $ftp_vhome); 
    398                  
    399                 // Check for updirs ".."  
     399 
     400                // Check for updirs ".." 
    400401                $res = preg_match("/\.\./", $ftp_vhome); 
    401402                if ($res !== 0) { 
     
    406407                // Strip possible double-slashes 
    407408                $ftp_home = str_replace('//', '/', $ftp_home); 
    408                  
     409 
    409410                // Check for $ftp_vhome existance 
    410411                // Create a virtual filesystem (it's important to use =&!) 
     
    412413                // Check for directory existance 
    413414                $res = $vfs->exists($ftp_vhome); 
    414                  
     415 
    415416                if ( !$res ) { 
    416                         set_page_message($ftp_vhome." ".tr('do not exist')); 
     417                        set_page_message($ftp_vhome." ".tr('does not exist')); 
    417418                        return; 
    418419                } 
    419          
     420 
    420421        }// End of user-specified mount-point 
    421422 
    422423        $ftp_gid = get_ftp_user_gid($sql, $dmn_name, $ftp_user); 
    423424        $ftp_uid = get_ftp_user_uid($sql, $dmn_name, $ftp_user, $ftp_gid); 
    424          
     425 
    425426        if ($ftp_uid == -1) return; 
    426          
     427 
    427428        $ftp_shell = $cfg['FTP_SHELL']; 
    428429        $ftp_passwd = crypt_user_ftp_pass($_POST['pass']); 
    429          
     430 
    430431        $query = <<<SQL_QUERY 
    431432        insert into ftp_users 
  • trunk/gui/client/edit_ftp_acc.php

    r323 r454  
    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 **/ 
    1919 
    2020include '../include/vhcs-lib.php'; 
     
    131131                $res = preg_match("/\.\./", clean_input($_POST['other_dir']), $match); 
    132132                 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')); 
    134134                                return; 
    135135                } 
  • trunk/gui/client/protect_delete.php

    r154 r454  
    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 **/ 
    1919 
    2020include '../include/vhcs-lib.php'; 
     
    4444        $ok_status = $cfg['ITEM_OK_STATUS']; 
    4545        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!')); 
    4747                header( "Location: protected_areas.php"); 
    4848                die(); 
  • trunk/gui/client/protect_it.php

    r402 r454  
    11<?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 **/ 
    1819 
    1920include '../include/vhcs-lib.php'; 
     
    5859        if (isset($_POST['uaction']) && $_POST['uaction'] === 'protect_it')  { 
    5960 
    60                  
     61 
    6162                if ( !isset($_POST['users']) && !isset($_POST['groups']) ){ 
    6263                        set_page_message(tr('Please choose user or group')); 
    6364                        return; 
    6465                } 
    65                  
     66 
    6667                if ( empty($_POST['paname']) ) { 
    6768                        set_page_message(tr('Please enter area name')); 
    6869                        return; 
    6970                } 
    70                  
     71 
    7172                if ( empty($_POST['other_dir']) ) { 
    7273                        set_page_message(tr('Please enter area path')); 
    7374                        return; 
    7475                } 
    75                  
     76 
    7677                // Check for existing directory 
    7778                $path   = clean_input($_POST['other_dir']); 
     
    247248        $ok_status = $cfg['ITEM_OK_STATUS']; 
    248249        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!')); 
    250251                header( "Location: protected_areas.php"); 
    251252                die(); 
     
    370371                                                array( 
    371372                                                                'GROUP_VALUE' => "-1", 
    372                                                                 'GROUP_LEBEL' => tr('You have no groups !') 
     373                                                                'GROUP_LEBEL' => tr('You have no groups!') 
    373374                                                          ) 
    374375                                                ); 
  • trunk/gui/include/login.php

    r441 r454  
    147147        if (!session_exists($sess_id)) { 
    148148 
    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"); 
    150150 
    151151    return false; 
  • trunk/gui/include/reseller-functions.php

    r414 r454  
    15481548    if ($dmn_max != 0) { 
    15491549        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! '); 
    15511551            return; 
    15521552        } 
  • trunk/gui/include/vhcs-2-0.php

    r154 r454  
    11<?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 **/ 
    2119 
    2220function check_for_lock_file() 
     
    4139        header( "Cache-Control: no-store, no-cache, must-revalidate" ); 
    4240    } 
    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')); 
    4441} 
    4542 
  • trunk/gui/orderpanel/addon.php

    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 **/ 
    1919 
    2020include '../include/vhcs-lib.php'; 
     
    3939        $dmn_name = strtolower($dmn_name); 
    4040        $dmn_name = get_punny($dmn_name); 
    41          
     41 
    4242        if (!vhcs_domain_check($dmn_name)) { 
    4343 
     
    5151 
    5252    } 
    53          
     53 
    5454        $_SESSION['domainname'] = $dmn_name; 
    5555        header( "Location: address.php" ); 
     
    7575if (isset($_SESSION['user_id'])){ 
    7676        $user_id = $_SESSION['user_id']; 
    77          
     77 
    7878        if (isset($_SESSION['plan_id'])){ 
    7979                $plan_id = $_SESSION['plan_id']; 
     
    106106                                                'TR_DOMAIN_NAME' => tr('Domain name'), 
    107107                                                '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)'), 
    109109 
    110110 
  • trunk/gui/reseller/edit_domain.php

    r323 r454  
    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 **/ 
    1819 
    1920include '../include/vhcs-lib.php'; 
     
    613614            if ($u > $data) { 
    614615 
    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!'); 
    616617 
    617618            } else { 
     
    657658            if ($u > $data) { 
    658659 
    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!'); 
    660661 
    661662            } else { 
     
    757758            if ($u > $data) { 
    758759 
    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!'); 
    760761 
    761762            } else { 
     
    808809            if ($u > $data) { 
    809810 
    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!'); 
    811812 
    812813            } else { 
     
    836837            if ($u > $data) { 
    837838 
    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!'); 
    839840 
    840841            } else { 
     
    888889            if ($u > $data) { 
    889890 
    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!'); 
    891892 
    892893            } else { 
  • trunk/gui/reseller/orders_update.php

    r154 r454  
    11<?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 **/ 
    1919 
    2020include '../include/vhcs-lib.php'; 
     
    4141        where 
    4242                        id = ? 
    43                 and  
     43                and 
    4444                        status = 'update' 
    4545SQL_QUERY; 
     
    4747        $rs = exec_query($sql, $query, array($order_id)); 
    4848} else { 
    49          
     49 
    5050$query = <<<SQL_QUERY 
    5151        select 
     
    5757                and 
    5858                        user_id = ? 
    59                 and  
     59                and 
    6060                        status = 'update' 
    6161SQL_QUERY; 
     
    8888    $data = $res -> FetchRow(); 
    8989    $props = $data['props']; 
    90          
     90 
    9191        $_SESSION["ch_hpprops"] = $props; 
    92          
     92 
    9393        reseller_limits_check($sql, $err_msg, $reseller_id, $hpid); 
    9494if ($err_msg != '_off_') { 
     
    107107        $domain_php = preg_replace("/\_/", "", $domain_php); 
    108108        $domain_cgi = preg_replace("/\_/", "", $domain_cgi); 
    109    
     109 
    110110    $ed_error = '_off_'; 
    111111 
     
    266266        } 
    267267 
    268          
     268 
    269269                $query = <<<SQL_QUERY 
    270270            update 
     
    279279        header('Location: users.php'); 
    280280        die(); 
    281      
     281 
    282282        } else { 
    283283 
     
    346346            if ($u > $data) { 
    347347 
    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!'); 
    349349 
    350350            } else { 
     
    390390            if ($u > $data) { 
    391391 
    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!'); 
    393393 
    394394            } else { 
     
    490490            if ($u > $data) { 
    491491 
    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!'); 
    493493 
    494494            } else { 
     
    542542            if ($u > $data) { 
    543543 
    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!'); 
    545545 
    546546            } else { 
     
    570570            if ($u > $data) { 
    571571 
    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!'); 
    573573 
    574574            } else { 
     
    622622            if ($u > $data) { 
    623623 
    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!'); 
    625625 
    626626            } else { 
  • trunk/language-files/english/english

    r449 r454  
    33vhcs_languageSetlocaleValue = en_GB 
    44encoding = 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) = 
    116(e.g. EUR) = 
    127(usually named backup_YYY_MM_DD.tar) = 
     
    2217</b> Service !<br> = 
    2318</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> = 
    2620</b> Service can not be limited !<br>You are exceeding reseller limits for the <b> = 
    2721</b> Service can not be unlimited !<br>There is reseller limits for the <b> = 
    2822</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 
    3023<b>Thank You for purchasing</b><br>You will receive an email with more details and information = 
    3124<br>service in destination reseller!<br> = 
    32 0 = 0 
    33 1 = 1 
    34 2 = 2 
    35 3 = 3 
    36 4 = 4 
    3725Access your files through the web interface = 
    3826Access your mail through the web interface = 
     
    234222Disk limit [MB]<br><i>(0 unlimited)</i> = 
    235223Disk usage = 
    236 Disk<br>usage = 
     224Disk<br>sage = 
     225does not exist = 
    237226Domain = 
    238227Domain account = 
     
    370359Group name = 
    371360Groups = 
     361Has IP address that can not be managed from the destination reseller !<br>This user can not be moved! = 
    372362Has unlimited rights for a <b> = 
    373 Havent you got more than one name? = Haven't you got more than one name? 
    374363HDD = 
    375364Header = 
     
    442431IP = 
    443432IP was deleted! = 
     433is exceeding limits for a <b> = 
    444434JSP = 
    445435Kernel = 
     
    685675Protected area created successfully! = 
    686676Protected 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! 
     677Protected area status should be OK if you want to delete it! = 
     678Protected area status should be OK if you want to edit it! = 
    689679Protected area updated successfully! = 
    690680Protected area was deleted successful! = 
     
    10771067You do not have permission to access this interface! = 
    10781068You do not have protected areas = 
     1069you are logged now as = 
    10791070You have = 
    10801071You have alias limit!<br>You can Not Add User With Unlimited Alias Number! = 
    10811072You 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 ! 
     1073You have reached your domain limit.<br>You can not add more domains! = 
    10831074You have disabled SQL databases for this user!<br>You can not have SQL users here! = 
    10841075You have disk limit!<br>You can not add user with unlimited disk number! = 
     
    10871078You have no alias records. = 
    10881079You have no custom menus. =