Changeset 1239

Show
Ignore:
Timestamp:
06/23/08 12:35:44 (4 months ago)
Author:
rats
Message:

* Fixed: Missing icons
* Fixed: Message shown on same page on "forward error"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r1238 r1239  
    33 
    442008-06-23 Benedikt Heintel 
     5        - RELEASE ispCP ω Omega 1.0.0 RC5a (GUI Update) 
     6        - GUI: 
     7                * Fixed: Missing icons 
     8                * Fixed: Message shown on same page on "forward error" 
    59        - DISTS: 
    610                * Fixed #1362: (Ubuntu) User creation fails 
  • trunk/gui/client/edit_mail_acc.php

    r1236 r1239  
    168168        if (preg_match('/update_forward/', $_POST['uaction']) == 1 || isset($_POST['mail_forward'])) { 
    169169                // The user only wants to update the forward list, not the password 
    170                 if ($_POST['pass'] === '' || $_POST['pass_rep'] === '') { 
     170                if ($_POST['pass'] === '' && $_POST['pass_rep'] === '') { 
    171171                        return true; 
    172172                } 
     
    184184                set_page_message(tr('Entered passwords differ!')); 
    185185                return false; 
    186         } else if (preg_match("/[`\xB4'\"\\|<>^\x00-\x1f]/i", $pass)) { // Not permitted chars 
     186        } else if (preg_match("/[`\xb4'\"\\\\\x01-\x1f\015\012|<>^]/i", $pass)) { // Not permitted chars 
    187187                set_page_message(tr('Password data includes not valid signs!')); 
    188188                return false; 
     
    303303 
    304304edit_mail_account($tpl, $sql); 
    305 $ok  = update_email_pass($sql); 
    306 $ok2 = update_email_forward($tpl, $sql); 
    307  
    308 if ($ok && $ok2) { 
     305 
     306if (update_email_pass($sql) && update_email_forward($tpl, $sql)) { 
    309307        set_page_message(tr("Mail were updated successfully!")); 
    310 } 
    311 if ($ok || $ok2) { 
    312308        send_request(); 
    313309        header("Location: email_accounts.php"); 
  • trunk/gui/themes/omega_original/admin/language.tpl

    r1235 r1239  
    1313  <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1414      <tr> 
    15         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    1616      </tr> 
    1717    </table> 
  • trunk/gui/themes/omega_original/admin/lostpassword.tpl

    r1235 r1239  
    1212        <!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1313      <tr> 
    14         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     14        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    1515      </tr> 
    1616    </table> 
  • trunk/gui/themes/omega_original/client/add_alias.tpl

    r1235 r1239  
    4242<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    4343      <tr> 
    44         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     44        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    4545      </tr> 
    4646    </table> 
  • trunk/gui/themes/omega_original/client/add_ftp_acc.tpl

    r1235 r1239  
    124124<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    125125      <tr> 
    126         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     126        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    127127      </tr> 
    128128    </table> 
  • trunk/gui/themes/omega_original/client/add_mail_acc.tpl

    r1235 r1239  
    136136     <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    137137      <tr> 
    138         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     138        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    139139      </tr> 
    140140    </table> 
  • trunk/gui/themes/omega_original/client/add_sql_database.tpl

    r1235 r1239  
    2121<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    2222      <tr> 
    23         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     23        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    2424      </tr> 
    2525    </table> 
  • trunk/gui/themes/omega_original/client/add_subdomain.tpl

    r1235 r1239  
    2222<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    2323      <tr> 
    24         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     24        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    2525      </tr> 
    2626    </table> 
  • trunk/gui/themes/omega_original/client/backup.tpl

    r1235 r1239  
    1212<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1313      <tr> 
    14         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     14        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    1515      </tr> 
    1616    </table> 
  • trunk/gui/themes/omega_original/client/catchall.tpl

    r1235 r1239  
    2727<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    2828      <tr> 
    29         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     29        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    3030      </tr> 
    3131    </table> 
  • trunk/gui/themes/omega_original/client/change_password.tpl

    r1235 r1239  
    1212<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1313      <tr> 
    14         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     14        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    1515      </tr> 
    1616    </table> 
  • trunk/gui/themes/omega_original/client/change_personal.tpl

    r1235 r1239  
    1212<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1313      <tr> 
    14         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     14        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    1515      </tr> 
    1616    </table> 
  • trunk/gui/themes/omega_original/client/create_catchall.tpl

    r1235 r1239  
    5353<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    5454      <tr> 
    55         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     55        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    5656      </tr> 
    5757    </table> 
  • trunk/gui/themes/omega_original/client/cronjobs_add.tpl

    r1235 r1239  
    1212<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1313      <tr> 
    14         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     14        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    1515      </tr> 
    1616    </table> 
  • trunk/gui/themes/omega_original/client/cronjobs_edit.tpl

    r1235 r1239  
    1212<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1313      <tr> 
    14         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     14        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    1515      </tr> 
    1616    </table> 
  • trunk/gui/themes/omega_original/client/cronjobs_overview.tpl

    r1235 r1239  
    2121<!-- BDP: logged_from --><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    2222      <tr> 
    23         <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<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> 
     23        <td height="20" nowrap="nowrap" class="backButton">&nbsp;&nbsp;&nbsp;<a href="change_user_interface.php?action=go_back"><img src="{THEME_COLOR_PATH}/images/icons/close_interface.png" width="16" height="16" border="0" align="absmiddle"></a> {YOU_ARE_LOGGED_AS}</td> 
    2424      </tr> 
    2525    </table>