Changeset 1234
- Timestamp:
- 06/21/08 13:06:31
(3 months ago)
- Author:
- rats
- Message:
* Fixed #1359: two errors prevent installation on Ubuntu Hardy Heron and solution to both
* Fixed #1247: png icon is ugly scaled
* Updated phpMyAdmin to 2.11.7 RC2
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1233 |
r1234 |
|
| 1 | 1 | ispCP ω 1.0.0 Changelog |
|---|
| 2 | 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| | 3 | |
|---|
| | 4 | 2008-06-21 Benedikt Heintel |
|---|
| | 5 | - DOCS: |
|---|
| | 6 | * Fixed #1359: two errors prevent installation on Ubuntu Hardy Heron and solution to both |
|---|
| | 7 | - GUI: |
|---|
| | 8 | * Fixed #1247: png icon is ugly scaled |
|---|
| | 9 | - TOOLS: |
|---|
| | 10 | * Updated phpMyAdmin to 2.11.7 RC2 |
|---|
| 3 | 11 | |
|---|
| 4 | 12 | 2008-06-17 Benedikt Heintel |
|---|
| r1216 |
r1234 |
|
| 76 | 76 | # apt-get install $(cat ./docs/Ubuntu/ubuntu-packages-hardy) |
|---|
| 77 | 77 | |
|---|
| | 78 | If using Hardy, make sure you have added multiverse into your /etc/apt/sources.list |
|---|
| | 79 | |
|---|
| 78 | 80 | (when you get to the courier screen select 'no' to web directories) |
|---|
| 79 | 81 | (when you get to the postfix screen select 'internet site' and then type 'root' |
|---|
| r1176 |
r1234 |
|
| 37 | 37 | libnet-netmask-perl |
|---|
| 38 | 38 | libnet-smtp-server-perl |
|---|
| 39 | | libperl5.10 |
|---|
| | 39 | libperl5.8 |
|---|
| 40 | 40 | libsasl2-2 |
|---|
| 41 | 41 | libsasl2-modules |
|---|
| r1233 |
r1234 |
|
| 292 | 292 | |
|---|
| 293 | 293 | $mail_forward = $_POST['forward_list']; |
|---|
| 294 | | $farray = preg_split ("/[\n,]+/", $mail_forward); |
|---|
| | 294 | $farray = preg_split("/[\n,]+/", $mail_forward); |
|---|
| 295 | 295 | $mail_accs = array(); |
|---|
| 296 | 296 | |
|---|
| … | … | |
| 311 | 311 | |
|---|
| 312 | 312 | $mail_type = implode(',', $mail_type); |
|---|
| | 313 | list($dmn_type, $type) = split('_', $mail_type, 2); |
|---|
| 313 | 314 | |
|---|
| 314 | 315 | $check_acc_query = <<<SQL_QUERY |
|---|
| … | … | |
| 323 | 324 | AND |
|---|
| 324 | 325 | `sub_id` = ? |
|---|
| | 326 | AND |
|---|
| | 327 | LEFT (`mail_type`, LOCATE('_', `mail_type`)-1) = ? |
|---|
| 325 | 328 | SQL_QUERY; |
|---|
| 326 | 329 | |
|---|
| 327 | | $rs = exec_query($sql, $check_acc_query, array($mail_acc, $domain_id, $sub_id)); |
|---|
| | 330 | $rs = exec_query($sql, $check_acc_query, array($mail_acc, $domain_id, $sub_id, $dmn_type)); |
|---|
| 328 | 331 | } |
|---|
| 329 | 332 | |
|---|
| r1173 |
r1234 |
|
| 1596 | 1596 | } |
|---|
| 1597 | 1597 | |
|---|
| 1598 | | function send_alias_order_email($alias_name) |
|---|
| 1599 | | { |
|---|
| | 1598 | function send_alias_order_email($alias_name) { |
|---|
| 1600 | 1599 | global $cfg, $sql; |
|---|
| 1601 | 1600 | |
|---|
| … | … | |
| 1664 | 1663 | |
|---|
| 1665 | 1664 | // add the 3 mail accounts/forwardings to a new domain... |
|---|
| 1666 | | function client_mail_add_default_accounts($dmn_id, $user_email, $dmn_part, $dmn_type = 'domain', $sub_id = 0) |
|---|
| 1667 | | { |
|---|
| | 1665 | function client_mail_add_default_accounts($dmn_id, $user_email, $dmn_part, $dmn_type = 'domain', $sub_id = 0) { |
|---|
| 1668 | 1666 | global $cfg, $sql; |
|---|
| 1669 | 1667 | |
|---|
| 1670 | 1668 | if ($cfg['CREATE_DEFAULT_EMAIL_ADDRESSES']) { |
|---|
| 1671 | 1669 | |
|---|
| 1672 | | $forward_type = ($dmn_type == 'alias') ? 'alias_forward': 'normal_forward'; |
|---|
| | 1670 | $forward_type = ($dmn_type == 'alias') ? 'alias_forward' : 'normal_forward'; |
|---|
| 1673 | 1671 | |
|---|
| 1674 | 1672 | // prepare SQL |
|---|
| … | … | |
| 1690 | 1688 | |
|---|
| 1691 | 1689 | // create default forwarder for webmaster@domain.tld to the account's owner |
|---|
| 1692 | | $rs = exec_query($sql, $query, |
|---|
| | 1690 | $rs = exec_query($sql, $query, |
|---|
| 1693 | 1691 | array('webmaster', |
|---|
| 1694 | 1692 | '_no_', |
|---|
| … | … | |
| 1705 | 1703 | |
|---|
| 1706 | 1704 | // create default forwarder for postmaster@domain.tld to the account's reseller |
|---|
| 1707 | | $rs = exec_query($sql, $query, |
|---|
| | 1705 | $rs = exec_query($sql, $query, |
|---|
| 1708 | 1706 | array('postmaster', |
|---|
| 1709 | 1707 | '_no_', |
|---|
| … | … | |
| 1720 | 1718 | |
|---|
| 1721 | 1719 | // create default forwarder for abuse@domain.tld to the account's reseller |
|---|
| 1722 | | $rs = exec_query($sql, $query, |
|---|
| | 1720 | $rs = exec_query($sql, $query, |
|---|
| 1723 | 1721 | array('abuse', |
|---|
| 1724 | 1722 | '_no_', |
|---|
| … | … | |
| 1738 | 1736 | } // end client_mail_add_default_accounts |
|---|
| 1739 | 1737 | |
|---|
| 1740 | | |
|---|
| 1741 | 1738 | ?> |
|---|
| r1157 |
r1234 |
|
| 32 | 32 | |
|---|
| 33 | 33 | $tpl->assign( |
|---|
| 34 | | array('TR_ADD_USER_PAGE_TITLE' => tr('ispCP - User/Add user'), |
|---|
| | 34 | array( |
|---|
| | 35 | 'TR_ADD_USER_PAGE_TITLE' => tr('ispCP - User/Add user'), |
|---|
| 35 | 36 | 'THEME_COLOR_PATH' => "../themes/$theme_color", |
|---|
| 36 | 37 | 'THEME_CHARSET' => tr('encoding'), |
|---|
| … | … | |
| 334 | 335 | |
|---|
| 335 | 336 | // Create the 3 default addresses if wanted |
|---|
| 336 | | if ($cfg['CREATE_DEFAULT_EMAIL_ADDRESSES']) client_mail_add_default_accounts($dmn_id, $user_email, $dmn_name); // 'domain', 0 |
|---|
| 337 | | |
|---|
| 338 | | /* |
|---|
| 339 | | if ($cfg['CREATE_DEFAULT_EMAIL_ADDRESSES']) { |
|---|
| 340 | | $query = <<<SQL_QUERY |
|---|
| 341 | | INSERT INTO mail_users |
|---|
| 342 | | (mail_acc, |
|---|
| 343 | | mail_pass, |
|---|
| 344 | | mail_forward, |
|---|
| 345 | | domain_id, |
|---|
| 346 | | mail_type, |
|---|
| 347 | | sub_id, |
|---|
| 348 | | status, |
|---|
| 349 | | mail_auto_respond) |
|---|
| 350 | | VALUES |
|---|
| 351 | | (?, ?, ?, ?, ?, ?, ?, ?) |
|---|
| 352 | | SQL_QUERY; |
|---|
| 353 | | |
|---|
| 354 | | // create default forwarder for webmaster@domain.tld to the account's owner |
|---|
| 355 | | $rs = exec_query($sql, $query, array('webmaster', |
|---|
| 356 | | '_no_', |
|---|
| 357 | | $user_email, |
|---|
| 358 | | $dmn_id, |
|---|
| 359 | | 'normal_forward', |
|---|
| 360 | | 0, |
|---|
| 361 | | $cfg['ITEM_ADD_STATUS'], |
|---|
| 362 | | '_no_')); |
|---|
| 363 | | |
|---|
| 364 | | // create default forwarder for postmaster@domain.tld to the account's reseller |
|---|
| 365 | | $rs = exec_query($sql, $query, array('postmaster', |
|---|
| 366 | | '_no_', |
|---|
| 367 | | $_SESSION['user_email'], |
|---|
| 368 | | $dmn_id, |
|---|
| 369 | | 'normal_forward', |
|---|
| 370 | | 0, |
|---|
| 371 | | $cfg['ITEM_ADD_STATUS'], |
|---|
| 372 | | '_no_')); |
|---|
| 373 | | |
|---|
| 374 | | // create default forwarder for abuse@domain.tld to the account's reseller |
|---|
| 375 | | $rs = exec_query($sql, $query, array('abuse', |
|---|
| 376 | | '_no_', |
|---|
| 377 | | $_SESSION['user_email'], |
|---|
| 378 | | $dmn_id, |
|---|
| 379 | | 'normal_forward', |
|---|
| 380 | | 0, |
|---|
| 381 | | $cfg['ITEM_ADD_STATUS'], |
|---|
| 382 | | '_no_')); |
|---|
| 383 | | } |
|---|
| 384 | | */ |
|---|
| | 337 | if ($cfg['CREATE_DEFAULT_EMAIL_ADDRESSES']) |
|---|
| | 338 | client_mail_add_default_accounts($dmn_id, $user_email, $dmn_name); // 'domain', 0 |
|---|
| | 339 | |
|---|
| 385 | 340 | // add_domain_extras($dmn_id, $record_id, $sql); |
|---|
| 386 | 341 | // lets send mail to user |
|---|
| r1172 |
r1234 |
|
| 13 | 13 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|---|
| 14 | 14 | <tr> |
|---|
| 15 | | <td height="20" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="18" height="18" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| | 15 | <td height="24" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/" width="22" height="22" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| 16 | 16 | </tr> |
|---|
| 17 | 17 | </table> |
|---|
| r1179 |
r1234 |
|
| 12 | 12 | <!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|---|
| 13 | 13 | <tr> |
|---|
| 14 | | <td height="20" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="18" height="18" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| | 14 | <td height="24" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/" width="22" height="22" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| 15 | 15 | </tr> |
|---|
| 16 | 16 | </table> |
|---|
| r1168 |
r1234 |
|
| 59 | 59 | </tr> |
|---|
| 60 | 60 | <tr> |
|---|
| 61 | | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="18" width="18" /></a><a href="../index.php?logout" class="logout">{TR_MENU_LOGOUT}</a></td> |
|---|
| | 61 | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="24" width="24" />{TR_MENU_LOGOUT}</a></td> |
|---|
| 62 | 62 | </tr> |
|---|
| 63 | 63 | <tr> |
|---|
| r1168 |
r1234 |
|
| 35 | 35 | </tr> |
|---|
| 36 | 36 | <tr> |
|---|
| 37 | | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="18" width="18" /></a><a href="../index.php?logout" class="logout">{TR_MENU_LOGOUT}</a></td> |
|---|
| | 37 | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="24" width="24" />{TR_MENU_LOGOUT}</a></td> |
|---|
| 38 | 38 | </tr> |
|---|
| 39 | 39 | <tr> |
|---|
| r1168 |
r1234 |
|
| 65 | 65 | </tr> |
|---|
| 66 | 66 | <tr> |
|---|
| 67 | | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="18" width="18" /></a><a href="../index.php?logout" class="logout">{TR_MENU_LOGOUT}</a></td> |
|---|
| | 67 | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="24" width="24" />{TR_MENU_LOGOUT}</a></td> |
|---|
| 68 | 68 | </tr> |
|---|
| 69 | 69 | <tr> |
|---|
| r1168 |
r1234 |
|
| 77 | 77 | </tr> |
|---|
| 78 | 78 | <tr> |
|---|
| 79 | | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="18" width="18" /></a><a href="../index.php?logout" class="logout">{TR_MENU_LOGOUT}</a></td> |
|---|
| | 79 | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="24" width="24" />{TR_MENU_LOGOUT}</a></td> |
|---|
| 80 | 80 | </tr> |
|---|
| 81 | 81 | <tr> |
|---|
| r1168 |
r1234 |
|
| 35 | 35 | </tr> |
|---|
| 36 | 36 | <tr> |
|---|
| 37 | | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="18" width="18" /></a><a href="../index.php?logout" class="logout">{TR_MENU_LOGOUT}</a></td> |
|---|
| | 37 | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="24" width="24" />{TR_MENU_LOGOUT}</a></td> |
|---|
| 38 | 38 | </tr> |
|---|
| 39 | 39 | <tr> |
|---|
| r1168 |
r1234 |
|
| 35 | 35 | </tr> |
|---|
| 36 | 36 | <tr> |
|---|
| 37 | | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="18" width="18" /></a><a href="../index.php?logout" class="logout">{TR_MENU_LOGOUT}</a></td> |
|---|
| | 37 | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="24" width="24" />{TR_MENU_LOGOUT}</a></td> |
|---|
| 38 | 38 | </tr> |
|---|
| 39 | 39 | <tr> |
|---|
| r1168 |
r1234 |
|
| 59 | 59 | </tr> |
|---|
| 60 | 60 | <tr> |
|---|
| 61 | | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="18" width="18" /></a><a href="../index.php?logout" class="logout">{TR_MENU_LOGOUT}</a></td> |
|---|
| | 61 | <td class="logoutbutton"><a href="../index.php?logout"><img src="{THEME_COLOR_PATH}/images/icons/logout_interface.png" border="0" height="24" width="24" />{TR_MENU_LOGOUT}</a></td> |
|---|
| 62 | 62 | </tr> |
|---|
| 63 | 63 | <tr> |
|---|
| r1191 |
r1234 |
|
| 42 | 42 | <!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|---|
| 43 | 43 | <tr> |
|---|
| 44 | | <td height="20" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="18" height="18" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| | 44 | <td height="24" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/" width="22" height="22" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| 45 | 45 | </tr> |
|---|
| 46 | 46 | </table> |
|---|
| r1172 |
r1234 |
|
| 124 | 124 | <!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|---|
| 125 | 125 | <tr> |
|---|
| 126 | | <td height="20" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="18" height="18" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| | 126 | <td height="24" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/" width="22" height="22" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| 127 | 127 | </tr> |
|---|
| 128 | 128 | </table> |
|---|
| r1207 |
r1234 |
|
| 136 | 136 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|---|
| 137 | 137 | <tr> |
|---|
| 138 | | <td height="20" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="18" height="18" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| | 138 | <td height="24" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/" width="22" height="22" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| 139 | 139 | </tr> |
|---|
| 140 | 140 | </table> |
|---|
| r1172 |
r1234 |
|
| 21 | 21 | <!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|---|
| 22 | 22 | <tr> |
|---|
| 23 | | <td height="20" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="18" height="18" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> |
|---|
| | 23 | <td height="24" nowrap="nowrap" class="backButton"> <a href="change_user_interface.php?action=go_back"><img src="{THE |
|---|
|