Changeset 764
- Timestamp:
- 08/22/07 04:00:38
(1 year ago)
- Author:
- raphael
- Message:
Fixed #582: FIXME: /var/www/ispcp/gui/include/calc-functions.php:61
Fixed an error where system information was not displayed correctly in admin/server_statistic.php
Improved passwords generator
Fixed #584: $main::db{'CONF_DIR'} is not read by vhcs2ispcp.pl Line 200
Fixed #583: missing semicolon in vhcs2ispcp.sql
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r762 |
r764 |
|
| 1 | | ispCP Ï 1.0.0 Changelog |
|---|
| | 1 | ispCP ω 1.0.0 Changelog |
|---|
| 2 | 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 3 | 3 | _________________________________________________________________ |
|---|
| … | … | |
| 6 | 6 | | * gui: disable stats-alias in client menu | |
|---|
| 7 | 7 | \_________________________________________________________________/ |
|---|
| | 8 | |
|---|
| | 9 | 2007-08-21 Raphael Geissert |
|---|
| | 10 | - GUI: |
|---|
| | 11 | * Fixed #582: FIXME: /var/www/ispcp/gui/include/calc-functions.php:61 |
|---|
| | 12 | * Fixed an error where system information was not displayed correctly in admin/server_statistic.php |
|---|
| | 13 | * Improved passwords generator |
|---|
| | 14 | - SETUP: |
|---|
| | 15 | * Fixed #584: $main::db{'CONF_DIR'} is not read by vhcs2ispcp.pl Line 200 |
|---|
| | 16 | * Fixed #583: missing semicolon in vhcs2ispcp.sql |
|---|
| 8 | 17 | |
|---|
| 9 | 18 | 2007-08-20 Raphael Geissert |
|---|
| … | … | |
| 965 | 974 | - RELEASE: VHCS Ï Omega 1.0.0 RC1 |
|---|
| 966 | 975 | |
|---|
| 967 | | VHCS Ï 2.4.8 Changelog |
|---|
| | 976 | VHCS ω 2.4.8 Changelog |
|---|
| 968 | 977 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 969 | 978 | |
|---|
| r717 |
r764 |
|
| 47 | 47 | |
|---|
| 48 | 48 | } |
|---|
| 49 | | |
|---|
| | 49 | |
|---|
| 50 | 50 | print STDOUT "\t"; |
|---|
| 51 | | |
|---|
| | 51 | |
|---|
| 52 | 52 | if ( -e "/etc/init.d/vhcs2_daemon" ) { |
|---|
| 53 | | |
|---|
| | 53 | |
|---|
| 54 | 54 | sys_command("/etc/init.d/vhcs2_daemon stop"); |
|---|
| 55 | | |
|---|
| | 55 | |
|---|
| 56 | 56 | print STDOUT "\t"; |
|---|
| 57 | | |
|---|
| 58 | | } |
|---|
| 59 | | |
|---|
| | 57 | |
|---|
| | 58 | } |
|---|
| | 59 | |
|---|
| 60 | 60 | if ( -e "/etc/init.d/ispcp_daemon" ) { |
|---|
| 61 | | |
|---|
| | 61 | |
|---|
| 62 | 62 | sys_command("/etc/init.d/ispcp_daemon stop"); |
|---|
| 63 | | |
|---|
| | 63 | |
|---|
| 64 | 64 | print STDOUT "\t"; |
|---|
| 65 | | |
|---|
| 66 | | } |
|---|
| 67 | | |
|---|
| | 65 | |
|---|
| | 66 | } |
|---|
| | 67 | |
|---|
| 68 | 68 | if ( -e "/etc/init.d/ispcp_network" ) { |
|---|
| 69 | | |
|---|
| | 69 | |
|---|
| 70 | 70 | sys_command("/etc/init.d/ispcp_network stop"); |
|---|
| 71 | | |
|---|
| | 71 | |
|---|
| 72 | 72 | print STDOUT "\t"; |
|---|
| 73 | | |
|---|
| 74 | | } |
|---|
| 75 | | |
|---|
| | 73 | |
|---|
| | 74 | } |
|---|
| | 75 | |
|---|
| 76 | 76 | print STDOUT "\n\tBlocking access to /etc/vhcs2/vhcs2.conf..."; |
|---|
| 77 | | |
|---|
| | 77 | |
|---|
| 78 | 78 | if (sys_command("chmod a-r /etc/vhcs2/vhcs2.conf") != 0) { |
|---|
| 79 | 79 | print STDOUT "failed!\n"; |
|---|
| … | … | |
| 82 | 82 | |
|---|
| 83 | 83 | print STDOUT "done\n"; |
|---|
| 84 | | |
|---|
| | 84 | |
|---|
| 85 | 85 | return 0; |
|---|
| 86 | 86 | } |
|---|
| 87 | 87 | |
|---|
| 88 | 88 | sub start_services { |
|---|
| 89 | | |
|---|
| | 89 | |
|---|
| 90 | 90 | print STDOUT "\tAllowing access to /etc/vhcs2/vhcs2.conf ..."; |
|---|
| 91 | 91 | |
|---|
| … | … | |
| 95 | 95 | } |
|---|
| 96 | 96 | print STDOUT "done\n"; |
|---|
| 97 | | |
|---|
| | 97 | |
|---|
| 98 | 98 | sys_command("$main::cfg{'CMD_ISPCPD'} start"); |
|---|
| 99 | 99 | sys_command("$main::cfg{'CMD_ISPCPN'} start"); |
|---|
| 100 | 100 | sleep(2); |
|---|
| 101 | | |
|---|
| | 101 | |
|---|
| 102 | 102 | print STDOUT "\tDisabling vhcs2's apache2 sites ..."; |
|---|
| 103 | | |
|---|
| | 103 | |
|---|
| 104 | 104 | if (-e "/etc/apache2/sites-enabled/vhcs2.conf" && |
|---|
| 105 | 105 | sys_command("unlink /etc/apache2/sites-enabled/vhcs2.conf") != 0) { |
|---|
| … | … | |
| 108 | 108 | } |
|---|
| 109 | 109 | print STDOUT "done\n"; |
|---|
| 110 | | |
|---|
| | 110 | |
|---|
| 111 | 111 | #Restart servers to make them use the newly generated config |
|---|
| 112 | 112 | sys_command("$main::cfg{'CMD_HTTPD'} restart"); |
|---|
| … | … | |
| 131 | 131 | sleep(2); |
|---|
| 132 | 132 | sys_command("$main::cfg{'CMD_AUTHD'} restart"); |
|---|
| 133 | | |
|---|
| | 133 | |
|---|
| 134 | 134 | return 0; |
|---|
| 135 | 135 | } |
|---|
| … | … | |
| 138 | 138 | |
|---|
| 139 | 139 | my ($msg, $code) = @_; |
|---|
| 140 | | |
|---|
| | 140 | |
|---|
| 141 | 141 | if (!defined($code) || $code <= 0 ) { |
|---|
| 142 | 142 | $code = 1; |
|---|
| … | … | |
| 152 | 152 | |
|---|
| 153 | 153 | sub upgrade_database { |
|---|
| 154 | | |
|---|
| | 154 | |
|---|
| 155 | 155 | my ($rdata, $rs, $sql) = (undef, undef, undef); |
|---|
| 156 | | |
|---|
| | 156 | |
|---|
| 157 | 157 | print STDOUT "\tDropping ispcp table..."; |
|---|
| 158 | | |
|---|
| | 158 | |
|---|
| 159 | 159 | ($rs, $rdata) = doSQL("DROP DATABASE IF EXISTS `ispcp`;"); |
|---|
| 160 | | |
|---|
| | 160 | |
|---|
| 161 | 161 | if ($rs != 0) { |
|---|
| 162 | 162 | print STDOUT "failed!\n"; |
|---|
| … | … | |
| 167 | 167 | |
|---|
| 168 | 168 | print STDOUT "\tCreating new database..."; |
|---|
| 169 | | |
|---|
| | 169 | |
|---|
| 170 | 170 | if (sys_command("mysqladmin -u\'$main::cfg{'DATABASE_USER'}\' -p\'$main::db_pwd\' create ispcp ") != 0) { |
|---|
| 171 | 171 | print STDOUT "failed!\n"; |
|---|
| … | … | |
| 176 | 176 | |
|---|
| 177 | 177 | print STDOUT "\tCopying database..."; |
|---|
| 178 | | |
|---|
| | 178 | |
|---|
| 179 | 179 | if (sys_command("mysqldump --opt -u\'$main::cfg{'DATABASE_USER'}\' -p\'$main::db_pwd\' $main::cfg{'DATABASE_NAME'} | mysql -u\'$main::cfg{'DATABASE_USER'}\' -p\'$main::db_pwd\' ispcp") != 0) { |
|---|
| 180 | 180 | print STDOUT "failed!\n"; |
|---|
| … | … | |
| 185 | 185 | |
|---|
| 186 | 186 | print STDOUT "\tUpgrading database structure..."; |
|---|
| 187 | | |
|---|
| | 187 | |
|---|
| 188 | 188 | if (sys_command("mysql -u\'$main::cfg{'DATABASE_USER'}\' -p\'$main::db_pwd\' < vhcs2ispcp.sql") != 0) { |
|---|
| 189 | 189 | print STDOUT "failed!\n"; |
|---|
| … | … | |
| 197 | 197 | |
|---|
| 198 | 198 | sub install_language { |
|---|
| 199 | | |
|---|
| 200 | | if (sys_command("mysql -u\'$main::cfg{'DATABASE_USER'}\' -p\'$main::db_pwd\' ispcp < $main::db{'CONF_DIR'}/database/languages.sql") != 0) { |
|---|
| | 199 | |
|---|
| | 200 | if (sys_command("mysql -u\'$main::cfg{'DATABASE_USER'}\' -p\'$main::db_pwd\' ispcp < $main::cfg{'CONF_DIR'}/database/languages.sql") != 0) { |
|---|
| 201 | 201 | print STDOUT "failed!\n"; |
|---|
| 202 | 202 | exit_werror(); |
|---|
| … | … | |
| 215 | 215 | |
|---|
| 216 | 216 | |
|---|
| 217 | | \tNOTE: During the migration process some or all the services might require to be |
|---|
| | 217 | \tNOTE: During the migration process some or all the services might require to be |
|---|
| 218 | 218 | \t shutdown or restarted. |
|---|
| 219 | 219 | MSG |
|---|
| … | … | |
| 319 | 319 | \tHave a nice day |
|---|
| 320 | 320 | -- |
|---|
| 321 | | \tVHCS 2.4.7.1 to ispCP Omega migration script |
|---|
| | 321 | \tVHCS 2.4.7.1 to ispCP Omega migration script |
|---|
| 322 | 322 | \t\t- Copyright (C) 2007 Raphael Geissert |
|---|
| 323 | 323 | This program makes use of software copyrighted by moleSoftware GmbH, and isp Control Panel. |
|---|
| r729 |
r764 |
|
| 66 | 66 | ALTER TABLE `login` ADD `captcha_count` TINYINT( 1 ) default '0'; |
|---|
| 67 | 67 | ALTER TABLE `login` ADD `login_count` TINYINT( 1 ) default '0'; |
|---|
| 68 | | ALTER TABLE `login` ADD PRIMARY KEY ( `session_id` ) |
|---|
| | 68 | ALTER TABLE `login` ADD PRIMARY KEY ( `session_id` ); |
|---|
| 69 | 69 | |
|---|
| 70 | | ALTER TABLE `quotalimits` ADD PRIMARY KEY ( `name` ) |
|---|
| 71 | | ALTER TABLE `quotatallies` ADD PRIMARY KEY ( `name` ) |
|---|
| | 70 | ALTER TABLE `quotalimits` ADD PRIMARY KEY ( `name` ); |
|---|
| | 71 | ALTER TABLE `quotatallies` ADD PRIMARY KEY ( `name` ); |
|---|
| 72 | 72 | |
|---|
| 73 | 73 | -- Drop existing languages (they are outdated anyways) |
|---|
| … | … | |
| 104 | 104 | UPDATE `subdomain` SET `subdomain_status` = 'change' WHERE `subdomain_status` = 'ok'; |
|---|
| 105 | 105 | UPDATE `domain_aliasses` SET `alias_status` = 'change' WHERE `alias_status` = 'ok'; |
|---|
| | 106 | UPDATE `mail_users` SET `status` = 'change' WHERE `status` = 'ok'; |
|---|
| 106 | 107 | -- END: Regenerate config files |
|---|
| 107 | 108 | |
|---|
| 108 | 109 | -- Change charset: |
|---|
| 109 | 110 | |
|---|
| 110 | | ALTER DATABASE `ispcp` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci |
|---|
| | 111 | ALTER DATABASE `ispcp` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; |
|---|
| 111 | 112 | |
|---|
| 112 | 113 | COMMIT; |
|---|
| r679 |
r764 |
|
| 205 | 205 | |
|---|
| 206 | 206 | $query = null; |
|---|
| | 207 | $msg = ''; |
|---|
| 207 | 208 | |
|---|
| 208 | 209 | switch ($_POST['uaction_clear']) { |
|---|
| … | … | |
| 214 | 215 | log |
|---|
| 215 | 216 | SQL_QUERY; |
|---|
| | 217 | $msg = tr('%s deleted the full admin log!', $_SESSION['user_logged']); |
|---|
| 216 | 218 | break; |
|---|
| 217 | 219 | |
|---|
| … | … | |
| 228 | 230 | |
|---|
| 229 | 231 | SQL_QUERY; |
|---|
| | 232 | $msg = tr('%s deleted the admin log older than two weeks!', $_SESSION['user_logged']); |
|---|
| 230 | 233 | |
|---|
| 231 | 234 | break; |
|---|
| … | … | |
| 240 | 243 | >= log_time |
|---|
| 241 | 244 | SQL_QUERY; |
|---|
| | 245 | $msg = tr('%s deleted the admin log older than one month!', $_SESSION['user_logged']); |
|---|
| 242 | 246 | |
|---|
| 243 | 247 | break; |
|---|
| … | … | |
| 252 | 256 | >= log_time |
|---|
| 253 | 257 | SQL_QUERY; |
|---|
| | 258 | $msg = tr('%s deleted the admin log older than three months!', $_SESSION['user_logged']); |
|---|
| 254 | 259 | break; |
|---|
| 255 | 260 | |
|---|
| … | … | |
| 263 | 268 | >= log_time |
|---|
| 264 | 269 | SQL_QUERY; |
|---|
| | 270 | $msg = tr('%s deleted the admin log older than six months!', $_SESSION['user_logged']); |
|---|
| 265 | 271 | break; |
|---|
| 266 | 272 | |
|---|
| … | … | |
| 274 | 280 | >= log_time |
|---|
| 275 | 281 | SQL_QUERY; |
|---|
| | 282 | $msg = tr('%s deleted the admin log older than one year!', $_SESSION['user_logged']); |
|---|
| 276 | 283 | |
|---|
| 277 | 284 | break; |
|---|
| … | … | |
| 282 | 289 | } |
|---|
| 283 | 290 | |
|---|
| 284 | | $rs = exec_query($sql, $query, array()); |
|---|
| | 291 | $rs = execute_query($sql, $query); |
|---|
| | 292 | write_log($msg); |
|---|
| 285 | 293 | |
|---|
| 286 | 294 | } |
|---|
| r730 |
r764 |
|
| 21 | 21 | |
|---|
| 22 | 22 | check_login(__FILE__); |
|---|
| 23 | | goto_user_location(); |
|---|
| | 23 | redirect_to_level_page(); |
|---|
| 24 | 24 | |
|---|
| 25 | 25 | $query = <<<SQL_QUERY |
|---|
| r762 |
r764 |
|
| 109 | 109 | // add lang pack now ! |
|---|
| 110 | 110 | $file_type = $_FILES['lang_file']['type']; |
|---|
| 111 | | |
|---|
| 112 | | if (empty($_FILES['lang_file']['name'])) { |
|---|
| | 111 | $file = $_FILES['lang_file']['tmp_name']; |
|---|
| | 112 | |
|---|
| | 113 | if (empty($_FILES['lang_file']['name']) || !file_exists($file) || is_readable($file)) { |
|---|
| 113 | 114 | set_page_message(tr('Upload file error!')); |
|---|
| 114 | 115 | return; |
|---|
| 115 | 116 | } |
|---|
| 116 | 117 | |
|---|
| 117 | | if (!($file_type === "text/plain") && !($file_type === "application/octet-stream")){ |
|---|
| | 118 | if ($file_type !== "text/plain" && $file_type !== "application/octet-stream") { |
|---|
| 118 | 119 | set_page_message(tr('You can upload only text files!')); |
|---|
| 119 | 120 | return; |
|---|
| 120 | 121 | } else { |
|---|
| 121 | | $file = $_FILES['lang_file']['tmp_name']; |
|---|
| 122 | 122 | |
|---|
| 123 | 123 | $fp = fopen($file, 'r'); |
|---|
| … | … | |
| 155 | 155 | |
|---|
| 156 | 156 | if (empty($ab['ispcp_languageSetlocaleValue']) || empty($ab['ispcp_table']) || empty($ab['ispcp_language']) |
|---|
| 157 | | || !preg_match('/^[a-z]{2}(_[A-Z]{2}){0,1}$/Di',$ab['ispcp_languageSetlocaleValue']) |
|---|
| 158 | | || !preg_match('/^[a-z0-9]+$/Di',$ab['ispcp_table'])) { |
|---|
| | 157 | || !preg_match('/^[a-z]{2}(_[A-Z]{2}){0,1}$/Di', $ab['ispcp_languageSetlocaleValue']) |
|---|
| | 158 | || !preg_match('/^[a-z0-9]+$/Di', $ab['ispcp_table'])) { |
|---|
| 159 | 159 | |
|---|
| 160 | 160 | set_page_message(tr('Uploaded file does not contain the language information!')); |
|---|
| r743 |
r764 |
|
| 110 | 110 | array('CATCHALL_DOMAIN' => $show_dmn_name, |
|---|
| 111 | 111 | 'CATCHALL_ACC' => $show_mail_acc, |
|---|
| 112 | | 'CATCHALL_STATUS' => user_trans_item_status($mail_status), |
|---|
| | 112 | 'CATCHALL_STATUS' => translate_dmn_status($mail_status), |
|---|
| 113 | 113 | 'CATCHALL_ACTION' => $catchall_action, |
|---|
| 114 | 114 | 'CATCHALL_ACTION_SCRIPT' => $catchall_action_script |
|---|
| r730 |
r764 |
|
| 237 | 237 | 'MAIL_ACC' => $mail_acc."@".$show_sub_name.".".$show_dmn_name, |
|---|
| 238 | 238 | 'MAIL_TYPE' => user_trans_mail_type($rs -> fields['mail_type']), |
|---|
| 239 | | 'MAIL_STATUS' => user_trans_item_status($rs -> fields['status']), |
|---|
| | 239 | 'MAIL_STATUS' => translate_dmn_status($rs -> fields['status']), |
|---|
| 240 | 240 | 'MAIL_ACTION' => $mail_action, |
|---|
| 241 | 241 | 'MAIL_ACTION_SCRIPT' => $mail_action_script, |
|---|
| … | … | |
| 318 | 318 | 'MAIL_ACC' => $mail_acc."@".$show_als_name, |
|---|
| 319 | 319 | 'MAIL_TYPE' => user_trans_mail_type($rs -> fields['mail_type']), |
|---|
| 320 | | 'MAIL_STATUS' => user_trans_item_status($rs -> fields['status']), |
|---|
| | 320 | 'MAIL_STATUS' => translate_dmn_status($rs -> fields['status']), |
|---|
| 321 | 321 | 'MAIL_ACTION' => $mail_action, |
|---|
| 322 | 322 | 'MAIL_ACTION_SCRIPT' => $mail_action_script, |
|---|
| r741 |
r764 |
|
| 193 | 193 | $tpl -> assign(array('TR_CLIENT_MANAGE_DOMAINS_PAGE_TITLE' => tr('ISPCP - Client/Manage Domains'), |
|---|
| 194 | 194 | 'THEME_COLOR_PATH' => "../themes/$theme_color", |
|---|
| 195 | | 'THEME_CHARSET' => tr('encoding'), |
|---|
| | 195 | 'THEME_CHARSET' => tr('encoding'), |
|---|
| 196 | 196 | 'ISPCP_LICENSE' => $cfg['ISPCP_LICENSE'], |
|---|
| 197 | 197 | 'ISP_LOGO' => get_logo($_SESSION['user_id']))); |
|---|
| r731 |
r764 |
|
| 129 | 129 | |
|---|
| 130 | 130 | if ($_POST['sql_query'] === '') { |
|---|
| 131 | | set_page_message(tr('Please enter SQL query!')); |
|---|
| | 131 | set_page_message(tr('Please enter an SQL query!')); |
|---|
| 132 | 132 | $tpl->assign('SQL_RESULT', ''); |
|---|
| 133 | 133 | return; |
|---|
| … | … | |
| 158 | 158 | $db_user_pass = $rs->fields['sqlu_pass']; |
|---|
| 159 | 159 | $db_name = $rs->fields['sqld_name']; |
|---|
| 160 | | $sql_user = &ADONewConnection('mysql'); |
|---|
| | 160 | $sql_user = &ADONewConnection($cfg['DB_TYPE']); |
|---|
| 161 | 161 | |
|---|
| 162 | 162 | if (!@$sql_user->Connect($cfg['DB_HOST'], $db_user_name, $db_user_pass, $db_name)) { |
|---|
| 163 | | set_page_message(tr('Cannot connect as MySQL administrator!')); |
|---|
| | 163 | set_page_message(tr('Could not connect to the SQL server as %s!', $db_user_name)); |
|---|
| 164 | 164 | $tpl->assign('SQL_RESULT', ''); |
|---|
| 165 | 165 | return; |
|---|
| … | … | |
| 171 | 171 | |
|---|
| 172 | 172 | if (!$rs) { |
|---|
| 173 | | $tpl->assign(array('QUERY_STATUS' => tr('SQL query has error'), |
|---|
| | 173 | $tpl->assign(array('QUERY_STATUS' => tr('Execution of SQL query failed!'), |
|---|
| 174 | 174 | 'QUERY_RESULT' => $sql_user->ErrorMsg())); |
|---|
| 175 | 175 | } else { |
|---|
| 176 | 176 | write_log($_SESSION['user_logged'] . ": execute SQL query!"); |
|---|
| 177 | | $tpl->assign(array('QUERY_STATUS' => tr('SQL query is ok'), |
|---|
| | 177 | $tpl->assign(array('QUERY_STATUS' => tr('Execution of SQL query succeeded!'), |
|---|
| 178 | 178 | 'QUERY_RESULT' => sql_rs2html($rs))); |
|---|
| 179 | 179 | } |
|---|
| … | … | |
| 228 | 228 | 'TR_CLIENT_SQL_EXECUTE_QUERY_PAGE_TITLE' => tr('ISPCP - Client/Execute SQL Query'), |
|---|
| 229 | 229 | 'THEME_COLOR_PATH' => "../themes/$theme_color", |
|---|
| 230 | | 'THEME_CHARSET' => tr('encoding'), |
|---|
| | 230 | 'THEME_CHARSET' => tr('encoding'), |
|---|
| 231 | 231 | 'ISPCP_LICENSE' => $cfg['ISPCP_LICENSE'], |
|---|
| 232 | 232 | 'ISP_LOGO' => get_logo($_SESSION['user_id']) |
|---|
| r747 |
r764 |
|
| 1698 | 1698 | $client_ip = "unknown"; |
|---|
| 1699 | 1699 | } |
|---|
| 1700 | | $msg2 = $msg."<br><small>User IP: ".$client_ip."</small>"; |
|---|
| 1701 | | |
|---|
| 1702 | | $sql->Execute( "INSERT INTO log (log_time,log_message) VALUES(NOW(),'$msg2')" ); |
|---|
| | 1700 | $msg2 = htmlentities($msg) . "<br><small>User IP: ".$client_ip."</small>"; |
|---|
| | 1701 | |
|---|
| | 1702 | $query = "INSERT INTO log (log_time,log_message) VALUES(NOW(), ?)"; |
|---|
| | 1703 | |
|---|
| | 1704 | exec_query($sql, $query, $msg2, false); |
|---|
| 1703 | 1705 | |
|---|
| 1704 | 1706 | |
|---|
| … | … | |
| 1708 | 1710 | if ($send_log_to != '') { |
|---|
| 1709 | 1711 | |
|---|
| 1710 | | global $cfg, $default_hostname, $default_base_server_ip, $Version, $VersionH, $BuildDate, $admin_login; |
|---|
| | 1712 | global $default_hostname, $default_base_server_ip, $Version, $VersionH, $BuildDate, $admin_login; |
|---|
| 1711 | 1713 | |
|---|
| 1712 | 1714 | $admin_email = $cfg['DEFAULT_ADMIN_ADDRESS']; |
|---|
| … | … | |
| 1717 | 1719 | $BuildDate = $cfg['BuildDate']; |
|---|
| 1718 | 1720 | |
|---|
| 1719 | | $subject = "ISPCP $Version on $default_hostname ($default_base_server_ip)"; |
|---|
| | 1721 | $subject = "ispCP $Version on $default_hostname ($default_base_server_ip)"; |
|---|
| 1720 | 1722 | |
|---|
| 1721 | 1723 | $to = $send_log_to; |
|---|
| … | … | |
| 1741 | 1743 | $headers .= "MIME-Version: 1.0\nContent-Type: text/plain; charset=utf-8\nContent-Transfer-Encoding: 7bit\n"; |
|---|
| 1742 | 1744 | |
|---|
| 1743 | | $headers .= "X-Mailer: ISPCP $Version Logging Mailer"; |
|---|
| | 1745 | $headers .= "X-Mailer: ispCP $Version Logging Mailer"; |
|---|
| 1744 | 1746 | |
|---|
| 1745 | 1747 | $mail_result = mail($to, $subject, $message, $headers); |
|---|
| … | … | |
| 1749 | 1751 | $log_message = "$admin_login: Logging Daemon Mail To: |$to|, From: |$admin_email|, Status: |$mail_status|!"; |
|---|
| 1750 | 1752 | |
|---|
| 1751 | | $sql->Execute( "INSERT INTO log (log_time,log_message) VALUES(NOW(),'$log_message')" ); |
|---|
| | 1753 | exec_query($sql, "INSERT INTO log (log_time,log_message) VALUES(NOW(), ?)", $log_message, false); |
|---|
| 1752 | 1754 | |
|---|
| 1753 | 1755 | } |
|---|
| r762 |
r764 |
|
| 41 | 41 | |
|---|
| 42 | 42 | switch ($from) { |
|---|
| 43 | | case 'PiB': |
|---|
| | 43 | case 'PB': |
|---|
| 44 | 44 | $bytes = $bytes * pow(1024, 5); |
|---|
| 45 | 45 | break; |
|---|
| 46 | | case 'TiB': |
|---|
| | 46 | case 'TB': |
|---|
| 47 | 47 | $bytes = $bytes * pow(1024, 4); |
|---|
| 48 | 48 | break; |
|---|
| 49 | | case 'GiB': |
|---|
| | 49 | case 'GB': |
|---|
| 50 | 50 | $bytes = $bytes * pow(1024, 3); |
|---|
| 51 | 51 | break; |
|---|
| … | … | |
| 53 | 53 | $bytes = $bytes * pow(1024, 2); |
|---|
| 54 | 54 | break; |
|---|
| 55 | | case 'KiB': |
|---|
| | 55 | case 'KB': |
|---|
| 56 | 56 | $bytes = $bytes * pow(1024, 1); |
|---|
| 57 | 57 | break; |
|---|
| … | … | |
| 69 | 69 | if ($bytes > pow(1024, 5)) { |
|---|
| 70 | 70 | $bytes = $bytes/pow(1024, 5); |
|---|
| 71 | | $ret = tr('%.2f PB'); |
|---|
| | 71 | $ret = tr('%.2f PB', $bytes); |
|---|
| 72 | 72 | } else if ($bytes > pow(1024, 4)) { |
|---|
| 73 | 73 | $bytes = $bytes/pow(1024, 4); |
|---|
| 74 | | $ret = tr('%.2f TB'); |
|---|
| | 74 | $ret = tr('%.2f TB', $bytes); |
|---|
| 75 | 75 | } else if ($bytes > pow(1024, 3)) { |
|---|
| 76 | 76 | $bytes = $bytes/pow(1024, 3); |
|---|
| 77 | | $ret = tr('%.2f GB'); |
|---|
| | 77 | $ret = tr('%.2f GB', $bytes); |
|---|
| 78 | 78 | } else if ($bytes > pow(1024, 2) ) { |
|---|
| 79 | 79 | $bytes = $bytes/pow(1024, 2); |
|---|
| 80 | | $ret = tr('%.2f MB'); |
|---|
| | 80 | $ret = tr('%.2f MB', $bytes); |
|---|
| 81 | 81 | } else if ($bytes > pow(1024, 1)) { |
|---|
| 82 | 82 | $bytes = $bytes/pow(1024, 1); |
|---|
| 83 | | $ret = tr('%.2f KB'); |
|---|
| | 83 | $ret = tr('%.2f KB', $bytes); |
|---|
| 84 | 84 | } else { |
|---|
| 85 | 85 | $ret = tr('%d B', $bytes); |
|---|
| … | … | |
| 137 | 137 | } |
|---|
| 138 | 138 | |
|---|
| 139 | | function count_array($array) { |
|---|
| 140 | | |
|---|
| 141 | | $count = 0; |
|---|
| 142 | | reset($array); |
|---|
| 143 | | |
|---|
| 144 | | while(list($key, $val) = each($array)) $count += count($val); |
|---|
| 145 | | |
|---|
| 146 | | return $count - 1; |
|---|
| 147 | | |
|---|
| 148 | | } |
|---|
| 149 | | |
|---|
| 150 | 139 | function _passgen() { |
|---|
| 151 | 140 | |
|---|
| 152 | | global $cfg; |
|---|
| | 141 | global $cfg; |
|---|
| 153 | 142 | |
|---|
| 154 | | $pw = ''; |
|---|
| | 143 | $pw = ''; |
|---|
| 155 | 144 | |
|---|
| 156 | | $chars = "2,3,4,7,8,9,A,B,C,D,E,F,G,H,K,M,N,P,R,T,W,U,Y,a,b,c,d,e,f,g,h,k,m,n,p,q,r,t,w,u,y"; |
|---|
| | 145 | for($i = 0; $i <= $cfg['PASSWD_CHARS']; $i++) { |
|---|
| 157 | 146 | |
|---|
| 158 | | $chars_array = explode(",", $chars); |
|---|
| | 147 | $z = 0; |
|---|
| 159 | 148 | |
|---|
| 160 | | $chars_count = count_array($chars_array); |
|---|
| | 149 | do { |
|---|
| | 150 | $z = mt_rand(42, 123); |
|---|
| | 151 | } while($z >= 91 && $z <= 96); |
|---|
| 161 | 152 | |
|---|
| 162 | | for($i=0; $i < $cfg['PASSWD_CHARS']; $i++) { |
|---|
| | 153 | $pw .= chr($z); |
|---|
| 163 | 154 | |
|---|
| 164 | | mt_srand((double)microtime() * 1000000); |
|---|
| | 155 | } |
|---|
| 165 | 156 | |
|---|
| 166 | | $z = mt_rand(0, $chars_count); |
|---|
| 167 | | |
|---|
| 168 | | $pw .= "" . $chars_array[$z] . ""; |
|---|
| 169 | | |
|---|
| 170 | | } |
|---|
| 171 | | return $pw; |
|---|
| | 157 | return $pw; |
|---|
| 172 | 158 | |
|---|
| 173 | 159 | } |
|---|
| r747 |
r764 |
|
| 575 | 575 | } |
|---|
| 576 | 576 | |
|---|
| 577 | | function user_trans_item_status($item_status) { |
|---|
| 578 | | |
|---|
| 579 | | //DEPRECATED |
|---|
| 580 | | return translate_dmn_status($item_status); |
|---|
| 581 | | } |
|---|
| 582 | | |
|---|
| 583 | 577 | function user_trans_mail_type($mail_type) { |
|---|
| 584 | 578 | if ($mail_type === 'normal_mail') { |
|---|
| r743 |
r764 |
|
| 158 | 158 | |
|---|
| 159 | 159 | exec_query($sql, $query, array(time(), $sess_id)); |
|---|
| 160 | | goto_user_location(); |
|---|
| 161 | 160 | return true; |
|---|
| 162 | | } |
|---|
| 163 | | |
|---|
| 164 | | function goto_user_location() { |
|---|
| 165 | | |
|---|
| 166 | | $path = explode("/", $_SERVER['SCRIPT_NAME']); |
|---|
| 167 | | $found = false; |
|---|
| 168 | | |
|---|
| 169 | | for($i = count($path) - 2 ; $i < count($path); $i++) { |
|---|
| 170 | | if($path[$i] == $_SESSION['user_type']){ |
|---|
| 171 | | $found= true; |
|---|
| 172 | | } |
|---|
| 173 | | else if ($_SESSION['user_type'] == 'user' && $path[$i] == 'client') { |
|---|
| 174 | | $found= true; |
|---|
| 175 | | } |
|---|
| 176 | | } |
|---|
| 177 | | |
|---|
| 178 | | if(!$found) { |
|---|
| 179 | | if ($_SESSION['user_type'] == 'admin') { |
|---|
| 180 | | header("Location: ../admin/manage_users.php"); |
|---|
| 181 | | die(); |
|---|
| 182 | | } |
|---|
| 183 | | else if ($_SESSION['user_type'] == 'reseller') { |
|---|
| 184 | | header("Location: ../reseller/index.php"); |
|---|
| 185 | | die(); |
|---|
| 186 | | } |
|---|
| 187 | | else if ($_SESSION['user_type'] == 'user') { |
|---|
| 188 | | header("Location: ../client/index.php"); |
|---|
| 189 | | die(); |
|---|
| 190 | | } |
|---|
| 191 | | } |
|---|
| 192 | 161 | } |
|---|
| 193 | 162 | |
|---|
| … | … | |
| 211 | 180 | if ($level != $_SESSION['user_type']) { |
|---|
| 212 | 181 | write_log('Warning! user |'.$_SESSION['user_logged'].'| requested |'.$_SERVER["REQUEST_URI"].'| with REQUEST_METHOD |'.$_SERVER["REQUEST_METHOD"].'|'); |
|---|
| 213 | | header("Location: ../index.php"); |
|---|
| | 182 | header("Location: /index.php"); |
|---|
| 214 | 183 | die(); |
|---|
| 215 | 184 | } |
|---|
| … | … | |
| 369 | 338 | |
|---|
| 370 | 339 | function redirect_to_level_page() { |
|---|
| | 340 | |
|---|
| 371 | 341 | if (!isset($_SESSION['user_type'])) |
|---|
| 372 | 342 | return false; |
|---|
| r743 |
r764 |
|
| 33 | 33 | $cfg['DB_NAME'] = $cfg['DATABASE_NAME']; |
|---|
| 34 | 34 | |
|---|
| 35 | | $sql = &ADONewConnection('mysql'); |
|---|
| | 35 | $sql = &ADONewConnection($cfg['DB_TYPE']); |
|---|
| 36 | 36 | |
|---|
| 37 | 37 | @$sql -> Connect($cfg['DB_HOST'], $cfg['DB_USER'], $cfg['DB_PASS'], $cfg['DB_NAME']) OR |
|---|
| … | … | |
| 50 | 50 | } |
|---|
| 51 | 51 | |
|---|
| 52 | | function exec_query(&$sql, $query, $data = array()) { |
|---|
| | 52 | function exec_query(&$sql, $query, $data = array(), $failDie = true) { |
|---|
| 53 | 53 | $query = $sql->Prepare($query); |
|---|
| 54 | 54 | $rs = $sql->Execute($query, $data); |
|---|
| 55 | | if (!$rs) system_message($sql->ErrorMsg()); |
|---|
| | 55 | |
|---|
| | 56 | if (!$rs && $failDie) { |
|---|
| | 57 | system_message($sql->ErrorMsg()); |
|---|
| | 58 | } |
|---|
| | 59 | |
|---|
| 56 | 60 | return $rs; |
|---|
| 57 | 61 | } |
|---|
| r762 |
r764 |
|
| 5 | 5 | "Project-Id-Version: PACKAGE VERSION\n" |
|---|
| 6 | 6 | "Report-Msgid-Bugs-To: \n" |
|---|
| 7 | | "POT-Creation-Date: 2007-08-18 23:33-0500\n" |
|---|
| | 7 | "POT-Creation-Date: 2007-08-21 20:56-0500\n" |
|---|
| 8 | 8 | "PO-Revision-Date: 2007-07-06 16:02-0500\n" |
|---|
| 9 | 9 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|---|
| … | … | |
| 86 | 86 | msgstr "" |
|---|
| 87 | 87 | |
|---|
| 88 | | msgid "ispCP - Admin/Manage users/Add reseller" |
|---|
| 89 | | msgstr "" |
|---|
| 90 | | |
|---|
| 91 | | msgid "Reseller IP list is empty!" |
|---|
| 92 | | msgstr "" |
|---|
| 93 | | |
|---|
| 94 | | msgid "No." |
|---|
| 95 | | msgstr "" |
|---|
| 96 | | |
|---|
| 97 | | msgid "Assign" |
|---|
| 98 | | msgstr "Přiřadit" |
|---|
| 99 | | |
|---|
| 100 | | msgid "Label" |
|---|
| 101 | | msgstr "Popis" |
|---|
| 102 | | |
|---|
| 103 | | msgid "Number" |
|---|
| 104 | | msgstr "číslo" |
|---|
| 105 | | |
|---|
| 106 | | msgid "Reseller" |
|---|
| | 88 | msgid "ISPCP - Admin/Manage users/Add User" |
|---|
| | 89 | msgstr "ISPCP - Admin/Údržba uživatelů/Přidat uživatele" |
|---|
| | 90 | |
|---|
| | 91 | msgid "Administrator" |
|---|
| | 92 | msgstr "Administrátor" |
|---|
| | 93 | |
|---|
| | 94 | msgid "Incorrect username length or syntax!" |
|---|
| | 95 | msgstr "" |
|---|
| | 96 | |
|---|
| | 97 | msgid "Incorrect password length or syntax!" |
|---|
| | 98 | msgstr "" |
|---|
| | 99 | |
|---|
| | 100 | msgid "Entered passwords do not match!" |
|---|
| | 101 | msgstr "" |
|---|
| | 102 | |
|---|
| | 103 | msgid "Incorrect email length or syntax!" |
|---|
| 107 | 104 | msgstr "" |
|---|
| 108 | 105 | |
|---|
| … | … | |
| 110 | 107 | msgstr "" |
|---|
| 111 | 108 | |
|---|
| 112 | | msgid "Incorrect username length or syntax!" |
|---|
| 113 | | msgstr "" |
|---|
| 114 | | |
|---|
| 115 | | msgid "Incorrect password length or syntax!" |
|---|
| 116 | | msgstr "" |
|---|
| 117 | | |
|---|
| 118 | | msgid "Entered passwords do not match!" |
|---|
| 119 | | msgstr "" |
|---|
| 120 | | |
|---|
| 121 | | msgid "Incorrect email length or syntax!" |
|---|
| 122 | | msgstr "" |
|---|
| 123 | | |
|---|
| 124 | | msgid "Incorrect max domain count or syntax!" |
|---|
| 125 | | msgstr "Incorrect <i>max domain</i> count or syntax!" |
|---|
| 126 | | |
|---|
| 127 | | msgid "Incorrect max subdomain count or syntax!" |
|---|
| 128 | | msgstr "Incorrect <i>max subdomain</i> count or syntax!" |
|---|
| 129 | | |
|---|
| 130 | | msgid "Incorrect max alias count or syntax!" |
|---|
| 131 | | msgstr "Incorrect <i>max alias</i> count or syntax!" |
|---|
| 132 | | |
|---|
| 133 | | msgid "Incorrect max FTP count or syntax!" |
|---|
| 134 | | msgstr "Incorrect <i>max FTP</i> count or syntax!" |
|---|
| 135 | | |
|---|
| 136 | | msgid "Incorrect max mail count or syntax!" |
|---|
| 137 | | msgstr "Incorrect <i>max e-mail</i> count or syntax!" |
|---|
| 138 | | |
|---|
| 139 | | msgid "Incorrect max SQL databases count or syntax!" |
|---|
| 140 | | msgstr "Incorrect <i>max mySQL databases</i> count or syntax!" |
|---|
| 141 | | |
|---|
| 142 | | msgid "Incorrect max SQL users count or syntax!" |
|---|
| 143 | | msgstr "Incorrect <i>max mySQL users</i> count or syntax!" |
|---|
| 144 | | |
|---|
| 145 | | msgid "Incorrect max traffic amount or syntax!" |
|---|
| 146 | | msgstr "Incorrect <i>max traffic</i> amount or syntax!" |
|---|
| 147 | | |
|---|
| 148 | | msgid "Incorrect max disk amount or syntax!" |
|---|
| 149 | | msgstr "Incorrect <i>max disk</i> amount or syntax!" |
|---|
| 150 | | |
|---|
| 151 | | msgid "You must assign at least one IP number for a reseller!" |
|---|
| 152 | | msgstr "Musíte přiřadit alespoň jednu IP adresu pro prodejce." |
|---|
| 153 | | |
|---|
| 154 | | msgid "Add reseller" |
|---|
| 155 | | msgstr "Přidat prodejce" |
|---|
| | 109 | msgid "Empty data or wrong field!" |
|---|
| | 110 | msgstr "Nevyplněny údaje nebo chybné políčko!" |
|---|
| | 111 | |
|---|
| | 112 | msgid "Passwords don't match!" |
|---|
| | 113 | msgstr "" |
|---|
| | 114 | |
|---|
| | 115 | msgid "Add admin" |
|---|
| | 116 | msgstr "Přidat administrátora" |
|---|
| 156 | 117 | |
|---|
| 157 | 118 | msgid "Core data" |
|---|
| … | … | |
| 164 | 125 | msgstr "" |
|---|
| 165 | 126 | |
|---|
| 166 | | msgid "unlimited" |
|---|
| 167 | | msgstr "Bez omezení" |
|---|
| 168 | | |
|---|
| 169 | | msgid "Domains limit" |
|---|
| 170 | | msgstr "" |
|---|
| 171 | | |
|---|
| 172 | | msgid "Subdomains limit" |
|---|
| 173 | | msgstr "" |
|---|
| 174 | | |
|---|
| 175 | | msgid "Aliases limit" |
|---|
| 176 | | msgstr "" |
|---|
| 177 | | |
|---|
| 178 | | msgid "Mail accounts limit" |
|---|
| 179 | | msgstr "" |
|---|
| 180 | | |
|---|
| 181 | | msgid "FTP accounts limit" |
|---|
| 182 | | msgstr "" |
|---|
| 183 | | |
|---|
| 184 | | msgid "SQL databases limit" |
|---|
| 185 | | msgstr "" |
|---|
| 186 | | |
|---|
| 187 | | msgid "SQL users limit" |
|---|
| 188 | | msgstr "" |
|---|
| 189 | | |
|---|
| 190 | | msgid "Traffic limit [MB]" |
|---|
| 191 | | msgstr "" |
|---|
| 192 | | |
|---|
| 193 | | msgid "Disk limit [MB]" |
|---|
| 194 | | msgstr "" |
|---|
| 195 | | |
|---|
| 196 | | msgid "PHP" |
|---|
| 197 | | msgstr "péhápé" |
|---|
| 198 | | |
|---|
| 199 | | msgid "CGI / Perl" |
|---|
| 200 | | msgstr "CGI/PERL" |
|---|
| 201 | | |
|---|
| 202 | | msgid "JSP" |
|---|
| 203 | | msgstr "Java Server Pages" |
|---|
| 204 | | |
|---|
| 205 | | msgid "SSI" |
|---|
| 206 | | msgstr "" |
|---|
| 207 | | |
|---|
| 208 | | msgid "Frontpage extensions" |
|---|
| 209 | | msgstr "" |
|---|
| 210 | | |
|---|
| 211 | | msgid "Backup and restore" |
|---|
| 212 | | msgstr "Záloha a obnovení" |
|---|
| 213 | | |
|---|
| 214 | | msgid "Custom error pages" |
|---|
| 215 | | msgstr "Uživatelské chybové stránky" |
|---|
| 216 | | |
|---|
| 217 | | msgid "Protected areas" |
|---|
| 218 | | msgstr "" |
|---|
| 219 | | |
|---|
| 220 | | msgid "Webmail" |
|---|
| 221 | | msgstr "Webový přístup k mailu" |
|---|
| 222 | | |
|---|
| 223 | | msgid "Directory listing" |
|---|
| 224 | | msgstr "Výpis adresáře" |
|---|
| 225 | | |
|---|
| 226 | | msgid "Apache logfiles" |
|---|
| 227 | | msgstr "Soubory protokolů Apache" |
|---|
| 228 | | |
|---|
| 229 | | msgid "AwStats" |
|---|
| 230 | | msgstr "" |
|---|
| 231 | | |
|---|
| 232 | | msgid "Logo upload" |
|---|
| 233 | | msgstr "Uložení loga" |
|---|
| 234 | | |
|---|
| 235 | | msgid "yes" |
|---|
| 236 | | msgstr "ano" |
|---|
| 237 | | |
|---|
| 238 | | msgid "no" |
|---|
| 239 | | msgstr "ne" |
|---|
| 240 | | |
|---|
| 241 | | msgid "Reseller IPs" |
|---|
| 242 | | msgstr "" |
|---|
| 243 | | |
|---|
| 244 | 127 | msgid "Additional data" |
|---|
| 245 | 128 | msgstr "Doplňující údaje" |
|---|
| 246 | | |
|---|
| 247 | | msgid "Customer ID" |
|---|
| 248 | | msgstr "ID zákazníka" |
|---|
| 249 | 129 | |
|---|
| 250 | 130 | msgid "First name" |
|---|
| … | … | |
| 293 | 173 | msgstr "Přidat" |
|---|
| 294 | 174 | |
|---|
| 295 | | msgid "ISPCP - Admin/Manage users/Add User" |
|---|
| 296 | | msgstr "ISPCP - Admin/Údržba uživatelů/Přidat uživatele" |
|---|
| 297 | | |
|---|
| 298 | | msgid "Administrator" |
|---|
| 299 | | msgstr "Administrátor" |
|---|
| 300 | | |
|---|
| 301 | | msgid "Empty data or wrong field!" |
|---|
| 302 | | msgstr "Nevyplněny údaje nebo chybné políčko!" |
|---|
| 303 | | |
|---|
| 304 | | msgid "Passwords don't match!" |
|---|
| 305 | | msgstr "" |
|---|
| 306 | | |
|---|
| 307 | | msgid "Add admin" |
|---|
| 308 | | msgstr "Přidat administrátora" |
|---|
| | 175 | msgid "ispCP - Admin/Manage users/Add reseller" |
|---|
| | 176 | msgstr "" |
|---|
| | 177 | |
|---|
| | 178 | msgid "Reseller IP list is empty!" |
|---|
| | 179 | msgstr "" |
|---|
| | 180 | |
|---|
| | 181 | msgid "No." |
|---|
| | 182 | msgstr "" |
|---|
| | 183 | |
|---|
| | 184 | msgid "Assign" |
|---|
| | 185 | msgstr "Přiřadit" |
|---|
| | 186 | |
|---|
| | 187 | msgid "Label" |
|---|
| | 188 | msgstr "Popis" |
|---|
| | 189 | |
|---|
| | 190 | msgid "Number" |
|---|
| | 191 | msgstr "číslo" |
|---|
| | 192 | |
|---|
| | 193 | msgid "Reseller" |
|---|
| | 194 | msgstr "" |
|---|
| | 195 | |
|---|
| | 196 | msgid "Incorrect max domain count or syntax!" |
|---|
| | 197 | msgstr "Incorrect <i>max domain</i> count or syntax!" |
|---|
| | 198 | |
|---|
| | 199 | msgid "Incorrect max subdomain count or syntax!" |
|---|
| | 200 | msgstr "Incorrect <i>max subdomain</i> count or syntax!" |
|---|
| | 201 | |
|---|
| | 202 | msgid "Incorrect max alias count or syntax!" |
|---|
| | 203 | msgstr "Incorrect <i>max alias</i> count or syntax!" |
|---|
| | 204 | |
|---|
| | 205 | msgid "Incorrect max FTP count or syntax!" |
|---|
| | 206 | msgstr "Incorrect <i>max FTP</i> count or syntax!" |
|---|
| | 207 | |
|---|
| | 208 | msgid "Incorrect max mail count or syntax!" |
|---|
| | 209 | msgstr "Incorrect <i>max e-mail</i> count or syntax!" |
|---|
| | 210 | |
|---|
| | 211 | msgid "Incorrect max SQL databases count or syntax!" |
|---|
| | 212 | msgstr "Incorrect <i>max mySQL databases</i> count or syntax!" |
|---|
| | 213 | |
|---|
| | 214 | msgid "Incorrect max SQL users count or syntax!" |
|---|
| | 215 | msgstr "Incorrect <i>max mySQL users</i> count or syntax!" |
|---|
| | 216 | |
|---|
| | 217 | msgid "Incorrect max traffic amount or syntax!" |
|---|
| | 218 | msgstr "Incorrect <i>max traffic</i> amount or syntax!" |
|---|
| | 219 | |
|---|
| | 220 | msgid "Incorrect max disk amount or syntax!" |
|---|
| | 221 | msgstr "Incorrect <i>max disk</i> amount or syntax!" |
|---|
| | 222 | |
|---|
| | 223 | msgid "You must assign at least one IP number for a reseller!" |
|---|
| | 224 | msgstr "Musíte přiřadit alespoň jednu IP adresu pro prodejce." |
|---|
| | 225 | |
|---|
| | 226 | msgid "Add reseller" |
|---|
| | 227 | msgstr "Přidat prodejce" |
|---|
| | 228 | |
|---|
| | 229 | msgid "unlimited" |
|---|
| | 230 | msgstr "Bez omezení" |
|---|
| | 231 | |
|---|
| | 232 | msgid "Domains limit" |
|---|
| | 233 | msgstr "" |
|---|
| | 234 | |
|---|
| | 235 | msgid "Subdomains limit" |
|---|
| | 236 | msgstr "" |
|---|
| | 237 | |
|---|
| | 238 | msgid "Aliases limit" |
|---|
| | 239 | msgstr "" |
|---|
| | 240 | |
|---|
| | 241 | msgid "Mail accounts limit" |
|---|
| | 242 | msgstr "" |
|---|
| | 243 | |
|---|
| | 244 | msgid "FTP accounts limit" |
|---|
| | 245 | msgstr "" |
|---|
| | 246 | |
|---|
| | 247 | msgid "SQL databases limit" |
|---|
| | 248 | msgstr "" |
|---|
| | 249 | |
|---|
| | 250 | msgid "SQL users limit" |
|---|
| | 251 | msgstr "" |
|---|
| | 252 | |
|---|
| | 253 | msgid "Traffic limit [MB]" |
|---|
| | 254 | msgstr "" |
|---|
| | 255 | |
|---|
| | 256 | msgid "Disk limit [MB]" |
|---|
| | 257 | msgstr "" |
|---|
| | 258 | |
|---|
| | 259 | msgid "PHP" |
|---|
| | 260 | msgstr "péhápé" |
|---|
| | 261 | |
|---|
| | 262 | msgid "CGI / Perl" |
|---|
| | 263 | msgstr "CGI/PERL" |
|---|
| |
|---|
|