Changeset 1290
- Timestamp:
- 08/02/08 20:56:42
(4 months ago)
- Author:
- rats
- Message:
* Fixed #846: Wrong german text format of "Are you sure you want to delete" and other remarks to manage_domains.php
* Fixed #1445: Mysql username/password exposed if database is down!
* Updated Chinese
* Updated Dutch
* Updated Spanish
* Added Swedish
* Fixed #1441: lost password link leads to an incorrect page
* Fixed #1440: (CentOS) lsb_release not installed on CentOS
* Fixed #1435: Update FreeBSD Doc
* Fixed #1426: webmail: bookmarks doesn't work
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1289 |
r1290 |
|
| 1 | 1 | ispCP ω 1.0.0 Changelog |
|---|
| 2 | 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| | 3 | |
|---|
| | 4 | 2008-08-02 Benedikt Heintel |
|---|
| | 5 | - GUI: |
|---|
| | 6 | * Fixed #846: Wrong german text format of "Are you sure you want to delete" and other remarks to manage_domains.php |
|---|
| | 7 | * Fixed #1445: Mysql username/password exposed if database is down! |
|---|
| | 8 | - LANGUAGES: |
|---|
| | 9 | * Updated Chinese |
|---|
| | 10 | * Updated Dutch |
|---|
| | 11 | * Updated Spanish |
|---|
| | 12 | * Added Swedish |
|---|
| | 13 | |
|---|
| | 14 | 2008-07-29 Benedikt Heintel |
|---|
| | 15 | - GUI: |
|---|
| | 16 | * Fixed #1441: lost password link leads to an incorrect page |
|---|
| | 17 | - DISTS: |
|---|
| | 18 | * Fixed #1440: (CentOS) lsb_release not installed on CentOS |
|---|
| 3 | 19 | |
|---|
| 4 | 20 | 2008-07-25 Benedikt Heintel |
|---|
| r1269 |
r1290 |
|
| 26 | 26 | libmcrypt |
|---|
| 27 | 27 | libtool-ltdl |
|---|
| | 28 | lsb-readhat |
|---|
| 28 | 29 | mod_perl |
|---|
| 29 | 30 | mod_ssl |
|---|
| r1241 |
r1290 |
|
| 59 | 59 | 'LINK' => $menu_link, |
|---|
| 60 | 60 | 'CONTENT' => ($i % 2 == 0) ? 'content' : 'content2', |
|---|
| 61 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete'), |
|---|
| | 61 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true), |
|---|
| 62 | 62 | |
|---|
| 63 | 63 | ) |
|---|
| r1265 |
r1290 |
|
| 67 | 67 | 'TR_BACK' => tr('Back'), |
|---|
| 68 | 68 | 'TR_TITLE_BACK' => tr('Return to previous menu'), |
|---|
| 69 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete') |
|---|
| | 69 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 70 | 70 | ) |
|---|
| 71 | 71 | ); |
|---|
| r1243 |
r1290 |
|
| 241 | 241 | 'TR_ADD' => tr('Add'), |
|---|
| 242 | 242 | 'TR_ADD_NEW_IP' => tr('Add new IP'), |
|---|
| 243 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete this IP: ') |
|---|
| | 243 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete this IP: %s?', '%s', true) |
|---|
| 244 | 244 | ) |
|---|
| 245 | 245 | ); |
|---|
| r1264 |
r1290 |
|
| 323 | 323 | 'TR_INSTALL' => tr('Install'), |
|---|
| 324 | 324 | 'TR_EXPORT' => tr('Export'), |
|---|
| 325 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true), |
|---|
| | 325 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true), |
|---|
| 326 | 326 | ) |
|---|
| 327 | 327 | ); |
|---|
| r1252 |
r1290 |
|
| 277 | 277 | 'TR_DELETE' => tr('Delete'), |
|---|
| 278 | 278 | 'TR_ADD' => tr('Add'), |
|---|
| 279 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) |
|---|
| | 279 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 280 | 280 | ) |
|---|
| 281 | 281 | ); |
|---|
| r1265 |
r1290 |
|
| 305 | 305 | 'TR_CLOSED_TICKETS' => tr('Closed tickets'), |
|---|
| 306 | 306 | 'TR_DELETE' => tr('Delete'), |
|---|
| 307 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) , |
|---|
| | 307 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) , |
|---|
| 308 | 308 | ) |
|---|
| 309 | 309 | ); |
|---|
| r1265 |
r1290 |
|
| 297 | 297 | 'TR_CLOSED_TICKETS' => tr('Closed tickets'), |
|---|
| 298 | 298 | 'TR_DELETE' => tr('Delete'), |
|---|
| 299 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) , |
|---|
| | 299 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) , |
|---|
| 300 | 300 | ) |
|---|
| 301 | 301 | ); |
|---|
| r1241 |
r1290 |
|
| 65 | 65 | $tpl->assign( |
|---|
| 66 | 66 | array('TR_CRON_MANAGER' => tr('Cronjob Manager'), |
|---|
| 67 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true), |
|---|
| | 67 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true), |
|---|
| 68 | 68 | 'TR_CRONJOBS' => tr('Cronjobs'), |
|---|
| 69 | 69 | 'TR_ACTIVE' => tr('Active'), |
|---|
| r1266 |
r1290 |
|
| 215 | 215 | 'TR_SUB_STATUS' => tr('Status'), |
|---|
| 216 | 216 | 'TR_SUB_ACTION' => tr('Actions'), |
|---|
| 217 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) |
|---|
| | 217 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 218 | 218 | ) |
|---|
| 219 | 219 | ); |
|---|
| r1241 |
r1290 |
|
| 157 | 157 | 'TR_EDIT' => tr('Edit'), |
|---|
| 158 | 158 | 'TR_DELETE' => tr('Delete'), |
|---|
| 159 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true), |
|---|
| | 159 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 160 | 160 | ) |
|---|
| 161 | 161 | ); |
|---|
| r1287 |
r1290 |
|
| 402 | 402 | 'TR_TOTAL_MAIL_ACCOUNTS' => tr('Mails total'), |
|---|
| 403 | 403 | 'TR_DELETE' => tr('Delete'), |
|---|
| 404 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true), |
|---|
| | 404 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 405 | 405 | ) |
|---|
| 406 | 406 | ); |
|---|
| r1266 |
r1290 |
|
| 346 | 346 | 'TR_EDIT' => tr('Edit'), |
|---|
| 347 | 347 | 'TR_DELETE' => tr('Delete'), |
|---|
| 348 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true), |
|---|
| | 348 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 349 | 349 | ) |
|---|
| 350 | 350 | ); |
|---|
| r1266 |
r1290 |
|
| 167 | 167 | 'TR_CHANGE_PASSWORD' => tr('Change password'), |
|---|
| 168 | 168 | 'TR_LOGIN_PMA' => tr('Login phpMyAdmin'), |
|---|
| 169 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) |
|---|
| | 169 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 170 | 170 | ) |
|---|
| 171 | 171 | ); |
|---|
| r1265 |
r1290 |
|
| 189 | 189 | 'TR_CLOSED_TICKETS' => tr('Closed tickets'), |
|---|
| 190 | 190 | 'TR_DELETE' => tr('Delete'), |
|---|
| 191 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) |
|---|
| | 191 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 192 | 192 | ) |
|---|
| 193 | 193 | ); |
|---|
| r1265 |
r1290 |
|
| 178 | 178 | $tpl->assign(array( |
|---|
| 179 | 179 | 'TR_SUPPORT_SYSTEM' => tr('Support system'), |
|---|
| 180 | | 'TR_SUPPORT_TICKETS' => tr('Support tickets'), |
|---|
| 181 | | 'TR_STATUS' => tr('Status'), |
|---|
| 182 | | 'TR_NEW' => ' ', |
|---|
| 183 | | 'TR_ACTION' => tr('Action'), |
|---|
| | 180 | 'TR_SUPPORT_TICKETS'=> tr('Support tickets'), |
|---|
| | 181 | 'TR_STATUS' => tr('Status'), |
|---|
| | 182 | 'TR_NEW' => ' ', |
|---|
| | 183 | 'TR_ACTION' => tr('Action'), |
|---|
| 184 | 184 | 'TR_URGENCY' => tr('Priority'), |
|---|
| 185 | 185 | 'TR_SUBJECT' => tr('Subject'), |
|---|
| … | … | |
| 188 | 188 | 'TR_OPEN_TICKETS' => tr('Open tickets'), |
|---|
| 189 | 189 | 'TR_CLOSED_TICKETS' => tr('Closed tickets'), |
|---|
| 190 | | 'TR_DELETE' => tr('Delete'), |
|---|
| 191 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) |
|---|
| | 190 | 'TR_DELETE' => tr('Delete'), |
|---|
| | 191 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 192 | 192 | )); |
|---|
| 193 | 193 | |
|---|
| r1287 |
r1290 |
|
| 764 | 764 | 'URL_EDIT_USR' => "admin_edit.php?edit_id=" . $rs->fields['domain_admin_id'], |
|---|
| 765 | 765 | 'TR_MESSAGE_CHANGE_STATUS' => tr('Are you sure you want to change the status of domain account?'), |
|---|
| 766 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete this account?'), |
|---|
| | 766 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete this account?', null, true), |
|---|
| 767 | 767 | ) |
|---|
| 768 | 768 | ); |
|---|
| … | … | |
| 790 | 790 | 'TR_SEARCH' => tr('Search'), |
|---|
| 791 | 791 | 'TR_CREATED_ON' => tr('Creation date'), |
|---|
| 792 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete'), |
|---|
| | 792 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true), |
|---|
| 793 | 793 | 'TR_EDIT' => tr("Edit") |
|---|
| 794 | 794 | ) |
|---|
| … | … | |
| 1993 | 1993 | function rm_rf_user_account($id_user) { |
|---|
| 1994 | 1994 | $sql = Database::getInstance(); |
|---|
| 1995 | | |
|---|
| | 1995 | |
|---|
| 1996 | 1996 | // get domain user data |
|---|
| 1997 | 1997 | $query = " |
|---|
| … | … | |
| 2023 | 2023 | $query = "DELETE FROM `ftp_group` WHERE `gid` = ?"; |
|---|
| 2024 | 2024 | $rs = exec_query($sql, $query, array($domain_gid)); |
|---|
| 2025 | | |
|---|
| | 2025 | |
|---|
| 2026 | 2026 | // let's delete all Subdomains for this user |
|---|
| 2027 | 2027 | $delete_status = Config::get('ITEM_DELETE_STATUS'); |
|---|
| 2028 | 2028 | $query = "UPDATE `subdomain` SET `subdomain_status` = ? WHERE `domain_id` = ?"; |
|---|
| 2029 | 2029 | $rs = exec_query($sql, $query, array($delete_status, $domain_id)); |
|---|
| 2030 | | |
|---|
| | 2030 | |
|---|
| 2031 | 2031 | // let's delete all domain aliases for this user |
|---|
| 2032 | 2032 | $query = "UPDATE `domain_aliasses` SET `alias_status` = ? WHERE `domain_id` = ?"; |
|---|
| … | … | |
| 2036 | 2036 | $query = "UPDATE `mail_users` SET `status` = ? WHERE `domain_id` = ?"; |
|---|
| 2037 | 2037 | $rs = exec_query($sql, $query, array($delete_status, $domain_id)); |
|---|
| 2038 | | |
|---|
| | 2038 | |
|---|
| 2039 | 2039 | // delete all htaccess entries for this user |
|---|
| 2040 | 2040 | $query = "DELETE FROM `htaccess` WHERE `dmn_id` = ?"; |
|---|
| … | … | |
| 2051 | 2051 | $query = "DELETE FROM `domain_traffic` WHERE `domain_id` = ?"; |
|---|
| 2052 | 2052 | $rs = exec_query($sql, $query, array($domain_id)); |
|---|
| 2053 | | |
|---|
| | 2053 | |
|---|
| 2054 | 2054 | //delete error pages |
|---|
| 2055 | 2055 | $query = "DELETE FROM `error_pages` WHERE `user_id` = ?"; |
|---|
| 2056 | 2056 | $rs = exec_query($sql, $query, array($id_user)); |
|---|
| 2057 | | |
|---|
| | 2057 | |
|---|
| 2058 | 2058 | //delete quotalimits |
|---|
| 2059 | 2059 | $query = "DELETE FROM `quotalimits` WHERE `name` = ?"; |
|---|
| 2060 | 2060 | $rs = exec_query($sql, $query, array($domain_name)); |
|---|
| 2061 | | |
|---|
| | 2061 | |
|---|
| 2062 | 2062 | //delete quotatallies |
|---|
| 2063 | 2063 | $query = "DELETE FROM `quotatallies` WHERE `name` = ?"; |
|---|
| 2064 | 2064 | $rs = exec_query($sql, $query, array($domain_name)); |
|---|
| 2065 | | |
|---|
| | 2065 | |
|---|
| 2066 | 2066 | // Lets Delete SQL DBs and Users |
|---|
| 2067 | 2067 | $query = "SELECT `sqld_id` FROM `sql_database` WHERE `domain_id` = ?"; |
|---|
| 2068 | 2068 | $rs = exec_query($sql, $query, array($domain_id)); |
|---|
| 2069 | | |
|---|
| | 2069 | |
|---|
| 2070 | 2070 | while (!$rs->EOF) { |
|---|
| 2071 | 2071 | $db_id = $rs->fields['sqld_id']; |
|---|
| … | … | |
| 2077 | 2077 | // BEGIN - DELETE ALL GUI ENTRIES FOR THIS USER |
|---|
| 2078 | 2078 | // delete the layout settings |
|---|
| 2079 | | |
|---|
| | 2079 | |
|---|
| 2080 | 2080 | // delete all tickets for this user |
|---|
| 2081 | 2081 | $query = "DELETE FROM `tickets` WHERE `ticket_from` = ? OR `ticket_to` = ?"; |
|---|
| 2082 | 2082 | $rs = exec_query($sql, $query, array($id_user, $id_user)); |
|---|
| 2083 | | |
|---|
| | 2083 | |
|---|
| 2084 | 2084 | // let's delete the main domain for this user |
|---|
| 2085 | 2085 | $query = "UPDATE `domain` SET `domain_status` = ? WHERE `domain_admin_id` = ?"; |
|---|
| 2086 | 2086 | $rs = exec_query($sql, $query, array($delete_status, $id_user)); |
|---|
| 2087 | | |
|---|
| | 2087 | |
|---|
| 2088 | 2088 | remove_users_common_properties($id_user); |
|---|
| 2089 | 2089 | } |
|---|
| … | … | |
| 2091 | 2091 | function remove_users_common_properties($id_user) { |
|---|
| 2092 | 2092 | $sql = Database::getInstance(); |
|---|
| 2093 | | |
|---|
| | 2093 | |
|---|
| 2094 | 2094 | $query = "DELETE FROM `admin` WHERE `admin_id` = ?"; |
|---|
| 2095 | 2095 | $rs = exec_query($sql, $query, array($id_user)); |
|---|
| r1263 |
r1290 |
|
| 8 | 8 | |
|---|
| 9 | 9 | private function __construct($user, $pass, $type, $host, $name) { |
|---|
| 10 | | $this->_db = new PDO($type . ':host=' . $host . ';dbname=' . $name, $user, $pass); |
|---|
| | 10 | // Avoid stacktrace and revelation of DB Password with try-catch block |
|---|
| | 11 | try { |
|---|
| | 12 | $this->_db = new PDO($type . ':host=' . $host . ';dbname=' . $name, $user, $pass); |
|---|
| | 13 | } catch (PDOException $e) { |
|---|
| | 14 | echo 'Connection failed: ' . $e->getMessage(); |
|---|
| | 15 | } |
|---|
| 11 | 16 | $this->_db->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|---|
| 12 | 17 | } |
|---|
| r1264 |
r1290 |
|
| 112 | 112 | array( |
|---|
| 113 | 113 | 'TR_MESSAGE' => tr('ERROR: Unknown user'), |
|---|
| 114 | | 'TR_LINK' => "<a class=\"link\" href=\"settings_lostpassword.php\">" . tr('Retry') . "</a>" |
|---|
| | 114 | 'TR_LINK' => "<a class=\"link\" href=\"lostpassword.php\">" . tr('Retry') . "</a>" |
|---|
| 115 | 115 | ) |
|---|
| 116 | 116 | ); |
|---|
| … | … | |
| 120 | 120 | array( |
|---|
| 121 | 121 | 'TR_MESSAGE' => tr('ERROR: Security code was not correct!') . ' ' . $_SESSION['image'], |
|---|
| 122 | | 'TR_LINK' => "<a class=\"link\" href=\"settings_lostpassword.php\">" . tr('Retry') . "</a>" |
|---|
| | 122 | 'TR_LINK' => "<a class=\"link\" href=\"lostpassword.php\">" . tr('Retry') . "</a>" |
|---|
| 123 | 123 | ) |
|---|
| 124 | 124 | ); |
|---|
| r1265 |
r1290 |
|
| 71 | 71 | 'TR_ACTION' => tr('Action'), |
|---|
| 72 | 72 | 'TR_ADD_ALIAS' => tr('Add alias'), |
|---|
| 73 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete'), |
|---|
| | 73 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 74 | 74 | ) |
|---|
| 75 | 75 | ); |
|---|
| r1265 |
r1290 |
|
| 67 | 67 | 'TR_BACK' => tr('Back'), |
|---|
| 68 | 68 | 'TR_TITLE_BACK' => tr('Return to previous menu'), |
|---|
| 69 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete') |
|---|
| | 69 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 70 | 70 | ) |
|---|
| 71 | 71 | ); |
|---|
| r1241 |
r1290 |
|
| 200 | 200 | 'TR_DETAILS' => tr('Details'), |
|---|
| 201 | 201 | 'TR_HP' => tr('Hosting plan'), |
|---|
| 202 | | 'TR_MESSAGE_DELETE_ACCOUNT' => tr('Are you sure you want to delete this order?'), |
|---|
| | 202 | 'TR_MESSAGE_DELETE_ACCOUNT' => tr('Are you sure you want to delete this order?', null, true), |
|---|
| 203 | 203 | 'TR_ADD' => tr('Add/Details'))); |
|---|
| 204 | 204 | |
|---|
| r1241 |
r1290 |
|
| 223 | 223 | 'TR_DMN_IP' => tr('Domain IP'), |
|---|
| 224 | 224 | 'TR_CUSTOMER_ID' => tr('Customer ID'), |
|---|
| 225 | | 'TR_MESSAGE_DELETE_ACCOUNT' => tr('Are you sure you want to delete this order?'), |
|---|
| | 225 | 'TR_MESSAGE_DELETE_ACCOUNT' => tr('Are you sure you want to delete this order?', null, true), |
|---|
| 226 | 226 | 'TR_ADD' => tr('Add to the system'))); |
|---|
| 227 | 227 | |
|---|
| r1265 |
r1290 |
|
| 194 | 194 | 'TR_CLOSED_TICKETS' => tr('Closed tickets'), |
|---|
| 195 | 195 | 'TR_DELETE' => tr('Delete'), |
|---|
| 196 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) , |
|---|
| | 196 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) , |
|---|
| 197 | 197 | ) |
|---|
| 198 | 198 | ); |
|---|
| r1265 |
r1290 |
|
| 246 | 246 | 'TR_CLOSED_TICKETS' => tr('Closed tickets'), |
|---|
| 247 | 247 | 'TR_DELETE' => tr('Delete'), |
|---|
| 248 | | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete', true) , |
|---|
| | 248 | 'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', '%s', true) |
|---|
| 249 | 249 | ) |
|---|
| 250 | 250 | ); |
|---|
| r1265 |
r1290 |
|
| 111 | 111 | 'TR_TITLE_BACK' => tr('Return to previous menu'), |
|---|
| 112 | 112 | 'TR_TABLE_NAME' => tr('Users list'), |
|---|
| 113 | | 'TR_MESSAGE_CHANGE_STATUS' => tr('Are you sure you want to change the status of domain account?', true), |
|---|
| 114 | | 'TR_MESSAGE_DELETE_ACCOUNT' => tr('Are you sure you want to delete this account?', true), |
|---|
| | 113 | 'TR_MESSAGE_CHANGE_STATUS' => tr('Are you sure you want to change the status of %s?', '%s', true), |
|---|
| | 114 | 'TR_MESSAGE_DELETE_ACCOUNT' => tr('Are you sure you want to delete %s?', '%s', true), |
|---|
| 115 | 115 | 'TR_STAT' => tr('Stats'), |
|---|
| 116 | 116 | 'VL_MONTH' => $crnt_month, |
|---|
| r1248 |
r1290 |
|
| 9 | 9 | <script type="text/javascript"> |
|---|
| 10 | 10 | <!-- |
|---|
| 11 | | function action_delete(url) { |
|---|
| 12 | | if (!confirm("{TR_MESSAGE_DELETE}")) |
|---|
| | 11 | function action_delete(url, link_name) { |
|---|
| | 12 | if (!confirm(sprintf("{TR_MESSAGE_DELETE}", link_name))) |
|---|
| 13 | 13 | return false; |
|---|
| 14 | 14 | location = url; |
|---|
| … | … | |
| 69 | 69 | <td class="{CONTENT}" align="center">{LEVEL}</td> |
|---|
| 70 | 70 | <td width="100" class="{CONTENT}" align="center"><img src="{THEME_COLOR_PATH}/images/icons/edit.png" width="16" height="16" border="0" align="absmiddle"> <a href="custom_menus.php?edit_id={BUTONN_ID}" class="link">{TR_EDIT}</a></td> |
|---|
| 71 | | <td width="100" class="{CONTENT}" align="center"><img src="{THEME_COLOR_PATH}/images/icons/delete.png" width="16" height="16" border="0" align="absmiddle"> <a href="#" onclick="action_delete('custom_menus.php?delete_id={BUTONN_ID}')" class="link">{TR_DELETE}</a></td> |
|---|
| | 71 | <td width="100" class="{CONTENT}" align="center"><img src="{THEME_COLOR_PATH}/images/icons/delete.png" width="16" height="16" border="0" align="absmiddle"> <a href="#" onclick="action_delete('custom_menus.php?delete_id={BUTONN_ID}', '{MENU_NAME}')" class="link">{TR_DELETE}</a></td> |
|---|
| 72 | 72 | </tr> |
|---|
| 73 | 73 | <!-- EDP: button_list --> |
|---|
| r1248 |
r1290 |
|
| 7 | 7 | <link href="{THEME_COLOR_PATH}/css/ispcp.css" rel="stylesheet" type="text/css"> |
|---|
| 8 | 8 | <script type="text/javascript" src="{THEME_COLOR_PATH}/css/ispcp.js"></script> |
|---|
| 9 | | <script type="text/javascript"> |
|---|
| 10 | | <!-- |
|---|
| 11 | | function action_status(url) { |
|---|
| 12 | | if (!confirm("{TR_MESSAGE_CHANGE_STATUS}")) |
|---|
| 13 | | return false; |
|---|
| 14 | | location = url; |
|---|
| 15 | | } |
|---|
| 16 | | |
|---|
| 17 | | function action_delete(url) { |
|---|
| 18 | | if (!confirm("{TR_MESSAGE_DELETE}")) |
|---|
| 19 | | return false; |
|---|
| 20 | | location = url; |
|---|
| 21 | | } |
|---|
| 22 | | //--> |
|---|
| 23 | | </script> |
|---|
| 24 | 9 | </head> |
|---|
| 25 | 10 | |
|---|
| r1265 |
r1290 |
|
| 7 | 7 | <link href="{THEME_COLOR_PATH}/css/ispcp.css" rel="stylesheet" type="text/css"> |
|---|
| 8 | 8 | <script type="text/javascript" src="{THEME_COLOR_PATH}/css/ispcp.js"></script> |
|---|
| 9 | | <script type="text/javascript"> |
|---|
| 10 | | <!-- |
|---|
| 11 | | function change_status(dom_id) { |
|---|
| 12 | | if (!confirm("{TR_MESSAGE_CHANGE_STATUS}")) |
|---|
| 13 | | return false; |
|---|
| 14 | | location = ('domain_status_change.php?domain_id=' + dom_id); |
|---|
| 15 | | } |
|---|
| 16 | | |
|---|
| 17 | | function delete_account(url) { |
|---|
| 18 | | if (!confirm("{TR_MESSAGE_DELETE_ACCOUNT}")) |
|---|
| 19 | | return false; |
|---|
| 20 | | location = url; |
|---|
| 21 | | } |
|---|
| 22 | | //--> |
|---|
| 23 | | </script> |
|---|
| 24 | 9 | </head> |
|---|
| 25 | 10 | |
|---|
| … | … | |
| 73 | 58 | <!-- |
|---|
| 74 | 59 | <select name="domain_ip"> |
|---|
| 75 | | |
|---|
| | 60 | |
|---|
| 76 | 61 | <option value="{IP_VALUE}" {IP_SELECTED}>{IP_NUM} ({IP_NAME})</option> |
|---|
| 77 | | |
|---|
| | 62 | |
|---|
| 78 | 63 | </select> |
|---|
| 79 | 64 | --> |
|---|
| r1265 |
r1290 |
|
| 9 | 9 | <script type="text/javascript"> |
|---|
| 10 | 10 | <!-- |
|---|
| 11 | | function delete_account(url) { |
|---|
| 12 | | if (!confirm("{TR_MESSAGE_DELETE}")) |
|---|
| | 11 | function delete_account(url, plan) { |
|---|
| | 12 | if (!confirm(sprintf("{TR_MESSAGE_DELETE}", plan))) |
|---|
| 13 | 13 | return false; |
|---|
| 14 | 14 | location = url; |
|---|
| … | … | |
| 67 | 67 | <td class="{CLASS_TYPE_ROW}" align="center"><img src="{THEME_COLOR_PATH}/images/icons/edit.png" width="16" height="16" border="0" align="absmiddle"> <a href="hosting_plan_edit.php?hpid={HP_ID}" class="link">{TR_EDIT}</a></td> |
|---|
| 68 | 68 | <!-- BDP: hp_delete --> |
|---|
| 69 | | <td class="{CLASS_TYPE_ROW}" align="center"><img src="{THEME_COLOR_PATH}/images/icons/delete.png" width="16" height="16" border="0" align="absmiddle"> <a href="#" onclick="delete_account('hosting_plan_delete.php?hpid={HP_ID}')" class="link">{PLAN_ACTION}</a></td> |
|---|
| | 69 | <td class="{CLASS_TYPE_ROW}" align="center"><img src="{THEME_COLOR_PATH}/images/icons/delete.png" width="16" height="16" border="0" align="absmiddle"> <a href="#" onclick="delete_account('hosting_plan_delete.php?hpid={HP_ID}', '{PLAN_NAME}')" class="link">{PLAN_ACTION}</a></td> |
|---|
| 70 | 70 | <!-- EDP: hp_delete --> |
|---|
| 71 | 71 | </tr> |
|---|
| r1265 |
r1290 |
|
| 7 | 7 | <link href="{THEME_COLOR_PATH}/css/ispcp.css" rel="stylesheet" type="text/css"> |
|---|
| 8 | 8 | <script type="text/javascript" src="{THEME_COLOR_PATH}/css/ispcp.js"></script> |
|---|
| 9 | | <script type="text/javascript"> |
|---|
| 10 | | <!-- |
|---|
| 11 | | function change_status(dom_id) { |
|---|
| 12 | | if (!confirm("{TR_MESSAGE_CHANGE_STATUS}")) |
|---|
| 13 | | return false; |
|---|
| 14 | | location = ('domain_status_change.php?domain_id=' + dom_id); |
|---|
| 15 | | } |
|---|
| | 9 | </head> |
|---|
| 16 | 10 | |
|---|
| 17 | | function delete_account(url) { |
|---|
| 18 | | if (!confirm("{TR_MESSAGE_DELETE_ACCOUNT}")) |
|---|
| 19 | | return false; |
|---|
| 20 | | location = url; |
|---|
| 21 | | } |
|---|
| 22 | | //--> |
|---|
| 23 | | </script> |
|---|
| 24 | | |
|---|
| 25 | | </head> |
|---|
| 26 | 11 | <body onload="MM_preloadImages('{THEME_COLOR_PATH}/images/icons/database_a.gif','{THEME_COLOR_PATH}/images/icons/hosting_plans_a.gif','{THEME_COLOR_PATH}/images/icons/domains_a.gif','{THEME_COLOR_PATH}/images/icons/general_a.gif' ,'{THEME_COLOR_PATH}/images/icons/manage_users_a.gif','{THEME_COLOR_PATH}/images/icons/webtools_a.gif','{THEME_COLOR_PATH}/images/icons/statistics_a.gif','{THEME_COLOR_PATH}/images/icons/support_a.gif')"> |
|---|
| 27 | 12 | <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" style="border-collapse: collapse;padding:0;margin:0;"> |
|---|
| r1265 |
r1290 |
|
| 7 | 7 | <link href="{THEME_COLOR_PATH}/css/ispcp.css" rel="stylesheet" type="text/css"> |
|---|
| 8 | 8 | <script type="text/javascript" src="{THEME_COLOR_PATH}/css/ispcp.js"></script> |
|---|
| 9 | | <script type="text/javascript"> |
|---|
| 10 | | <!-- |
|---|
| 11 | | function delete_account(url) { |
|---|
| 12 | | if (!confirm("{TR_MESSAGE_DELETE}")) |
|---|
| 13 | | return false; |
|---|
| 14 | | location = url; |
|---|
| 15 | | } |
|---|
| 16 | | //--> |
|---|
| 17 | | </script> |
|---|
| | 9 | </head> |
|---|
| 18 | 10 | |
|---|
| 19 | | </head> |
|---|
| 20 | 11 | <body onload="MM_preloadImages('{THEME_COLOR_PATH}/images/icons/database_a.gif','{THEME_COLOR_PATH}/images/icons/hosting_plans_a.gif','{THEME_COLOR_PATH}/images/icons/domains_a.gif','{THEME_COLOR_PATH}/images/icons/general_a.gif' ,'{THEME_COLOR_PATH}/images/icons/manage_users_a.gif','{THEME_COLOR_PATH}/images/icons/webtools_a.gif','{THEME_COLOR_PATH}/images/icons/statistics_a.gif','{THEME_COLOR_PATH}/images/icons/support_a.gif')"> |
|---|
| 21 | 12 | <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" style="border-collapse: collapse;padding:0;margin:0;"> |
|---|
| r1263 |
r1290 |
|
| 10 | 10 | <!-- |
|---|
| 11 | 11 | function action_delete(url, ip) { |
|---|
| 12 | | if (!confirm("{TR_MESSAGE_DELETE} " + ip)) |
|---|
| | 12 | if (!confirm(sprintf("{TR_MESSAGE_DELETE} ", ip))) |
|---|
| 13 | 13 | return false; |
|---|
| 14 | 14 | location = url; |
|---|
|