Changeset 1168

Show
Ignore:
Timestamp:
05/24/08 16:53:37 (6 months ago)
Author:
zothos
Message:

Fixed #1284 and #1275.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r1167 r1168  
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    33 
     42008-05-24 Jochen Manz 
     5        - GUI: 
     6                * Fixed #1284: Some HTML, JS fixes, removed ugly/useless whitespace removed useles height="*" - Part 4 
     7                * Fixed #1275: TR_PHP_YES, TR_PHP_NO, TR_CGI_YES, TR_CGI_NO and TR_STATUS_YES aren't replaced correctly 
     8                 
    492008-05-23 Jochen Manz 
    510        - GUI: 
     
    12172008-05-22 Benedikt Heintel 
    1318        - GUI: 
     19                * Fixed #1275: Some HTML and CSS fixes in the HTML templates and some PHP files - Part 2  
    1420                * Fixed #1273: some HTML fixes in the HTML templates - Part 1 
    1521                * Fixed #1274: remove Disallow /ispcp/ from robots.txt 
     
    3844                * Fixed #1260: Syntaxerror in ispcp-als-mngr 
    3945        - GUI: 
    40                 * Fixed #1144: Show all support tickets to adminShow all support tickets to admin 
     46                * Fixed #1144: Show all support tickets to admin 
    4147                * Fixed #1226: Logging Deamon (Mail) 
    4248                * Fixed #1258: possible XSS - Cross Site Scripting in some GUI-files 
  • trunk/gui/reseller/ahp.php

    r1152 r1168  
    1 <?php 
     1<?php 
    22/** 
    33 * ispCP ω (OMEGA) a Virtual Hosting Control System 
     
    108108// Generate empty form 
    109109function gen_empty_ahp_page(&$tpl) { 
    110         $tpl->assign( 
    111                         array( 
    112                                 'HP_NAME_VALUE' => '', 
    113                                 'TR_MAX_SUB_LIMITS' => '', 
    114                                 'TR_MAX_ALS_VALUES' => '', 
    115                                 'HP_MAIL_VALUE' => '', 
    116                                 'HP_FTP_VALUE' => '', 
    117                                 'HP_SQL_DB_VALUE' => '', 
    118                                 'HP_SQL_USER_VALUE' => '', 
    119                                 'HP_TRAFF_VALUE' => '', 
    120                                 'HP_PRICE' => '', 
    121                                 'HP_SETUPFEE' => '', 
    122                                 'HP_VELUE' => '', 
    123                                 'HP_PAYMENT' => '', 
    124                                 'HP_DESCRIPTION_VALUE' => '', 
    125                                 'TR_STATUS_NO' => 'checked', 
    126                                 'HP_DISK_VALUE' => '' 
    127                                 ) 
    128                         ); 
     110        $tpl->assign(array( 
     111                'HP_NAME_VALUE'                 => '', 
     112                'TR_MAX_SUB_LIMITS'             => '', 
     113                'TR_MAX_ALS_VALUES'             => '', 
     114                'HP_MAIL_VALUE'                 => '', 
     115                'HP_FTP_VALUE'                  => '', 
     116                'HP_SQL_DB_VALUE'               => '', 
     117                'HP_SQL_USER_VALUE'             => '', 
     118                'HP_TRAFF_VALUE'                => '', 
     119                'HP_PRICE'                              => '', 
     120                'HP_SETUPFEE'                   => '', 
     121                'HP_VELUE'                              => '', 
     122                'HP_PAYMENT'                    => '', 
     123                'HP_DESCRIPTION_VALUE'  => '', 
     124                'TR_STATUS_YES'                 => '', 
     125                'TR_STATUS_NO'                  => 'checked',            
     126                'TR_PHP_YES'                    => '', 
     127                'TR_PHP_NO'                             => 'checked', 
     128                'TR_CGI_YES'                    => '', 
     129                'TR_CGI_NO'                             => 'checked', 
     130                'HP_DISK_VALUE'                 => '' 
     131        )); 
    129132        $tpl->assign('MESSAGE', ''); 
    130133} // End of gen_empty_hp_page() 
  • trunk/gui/themes/omega_original/admin/add_admin.tpl

    r1165 r1168  
    2323                                        <td style="padding:0;margin:0;text-align: right; width: 73px;vertical-align: top;"><img src="{THEME_COLOR_PATH}/images/top/middle_right.jpg" border="0"></td> 
    2424                                </tr> 
    25                                 <tr height="*"
     25                                <tr
    2626                                  <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    2727                    <tr> 
     
    6666                                <td width="25">&nbsp;</td> 
    6767                                <td width="200" class="content2">{TR_EMAIL}</td> 
    68                                 <td class="content"><input type="text" name="email" value="{EMAIL}" style="width:210px" class="textinput"> 
    69                                 </td> 
     68                                <td class="content"><input type="text" name="email" value="{EMAIL}" style="width:210px" class="textinput"></td> 
    7069                              </tr> 
    7170                              <tr> 
     
    8685                                <td width="25">&nbsp;</td> 
    8786                                <td width="200" class="content2">{TR_GENDER}</td> 
    88                                 <td class="content"> 
    89                                     <select name="gender" size="1"> 
     87                                <td class="content"><select name="gender" size="1"> 
    9088                                      <option value="M" {VL_MALE}>{TR_MALE}</option> 
    9189                                      <option value="F" {VL_FEMALE}>{TR_FEMALE}</option> 
    9290                                      <option value="U" {VL_UNKNOWN}>{TR_UNKNOWN}</option> 
    93                                     </select> 
    94                                 </td> 
     91                                    </select></td> 
    9592                               </tr> 
    9693                              <tr> 
    9794                                <td width="25">&nbsp;</td> 
    9895                                <td width="200" class="content2">{TR_COMPANY}</td> 
    99                                 <td class="content"><input type="text" name="firm" value="{FIRM}" style="width:210px" class="textinput"> 
    100                                 </td> 
     96                                <td class="content"><input type="text" name="firm" value="{FIRM}" style="width:210px" class="textinput"></td> 
    10197                              </tr> 
    10298                              <tr> 
    10399                                <td width="25">&nbsp;</td> 
    104100                                <td width="200" class="content2">{TR_ZIP_POSTAL_CODE}</td> 
    105                                 <td class="content"><input type="text" name="zip" value="{ZIP}" style="width:80px" class="textinput"> 
    106                                 </td> 
     101                                <td class="content"><input type="text" name="zip" value="{ZIP}" style="width:80px" class="textinput"></td> 
    107102                              </tr> 
    108103                              <tr> 
    109104                                <td width="25">&nbsp;</td> 
    110105                                <td width="200" class="content2">{TR_CITY}</td> 
    111                                 <td class="content"><input type="text" name="city" value="{CITY}" style="width:210px" class="textinput"> 
    112                                 </td> 
     106                                <td class="content"><input type="text" name="city" value="{CITY}" style="width:210px" class="textinput"></td> 
    113107                              </tr> 
    114108                              <tr> 
    115109                                <td width="25">&nbsp;</td> 
    116110                                <td width="200" class="content2">{TR_COUNTRY}</td> 
    117                                 <td class="content"><input type="text" name="country" value="{COUNTRY}" style="width:210px" class="textinput"> 
    118                                 </td> 
     111                                <td class="content"><input type="text" name="country" value="{COUNTRY}" style="width:210px" class="textinput"></td> 
    119112                              </tr> 
    120113                              <tr> 
    121114                                <td width="25">&nbsp;</td> 
    122115                                <td width="200" class="content2">{TR_STREET_1}</td> 
    123                                 <td class="content"><input type="text" name="street1" value="{STREET_1}" style="width:210px" class="textinput"> 
    124                                 </td> 
     116                                <td class="content"><input type="text" name="street1" value="{STREET_1}" style="width:210px" class="textinput"></td> 
    125117                              </tr> 
    126118                              <tr> 
    127119                                <td width="25">&nbsp;</td> 
    128120                                <td width="200" class="content2">{TR_STREET_2}</td> 
    129                                 <td class="content"><input type="text" name="street2" value="{STREET_2}" style="width:210px" class="textinput"> 
    130                                 </td> 
     121                                <td class="content"><input type="text" name="street2" value="{STREET_2}" style="width:210px" class="textinput"></td> 
    131122                              </tr> 
    132123                              <tr> 
    133124                                <td width="25">&nbsp;</td> 
    134125                                <td width="200" class="content2">{TR_PHONE}</td> 
    135                                 <td class="content"><input type="text" name="phone" value="{PHONE}" style="width:210px" class="textinput"> 
    136                                 </td> 
     126                                <td class="content"><input type="text" name="phone" value="{PHONE}" style="width:210px" class="textinput"></td> 
    137127                              </tr> 
    138128                              <tr> 
    139129                                <td width="25">&nbsp;</td> 
    140130                                <td width="200" class="content2">{TR_FAX}</td> 
    141                                 <td class="content"><input type="text" name="fax" value="{FAX}" style="width:210px" class="textinput"> 
    142                                 </td> 
     131                                <td class="content"><input type="text" name="fax" value="{FAX}" style="width:210px" class="textinput"></td> 
    143132                              </tr> 
    144133                              <tr> 
     
    162151                  </table></td> 
    163152                                </tr> 
    164                         </table> 
    165                 </td> 
     153                        </table></td> 
    166154        </tr> 
    167155</table> 
  • trunk/gui/themes/omega_original/admin/add_reseller.tpl

    r1165 r1168  
    2323                                        <td style="padding:0;margin:0;text-align: right; width: 73px;vertical-align: top;"><img src="{THEME_COLOR_PATH}/images/top/middle_right.jpg" border="0"></td> 
    2424                                </tr> 
    25                                 <tr height="*"
     25                                <tr
    2626                                  <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    2727                    <tr> 
     
    129129                <td class="content2" width="175">{TR_PHP}</td> 
    130130                <td class="content" class="content3"> 
    131                   <input type="radio" name="php" value="yes" checked
     131                  <input type="radio" name="php" value="yes" checked="checked"
    132132                  {TR_YES} 
    133133                  <input type="radio" name="php" value="no"> 
     
    137137                <td class="content2" width="175">{TR_PERL_CGI}</td> 
    138138                <td class="content" class="content3"> 
    139                   <input type="radio" name="cgi" value="yes" checked
     139                  <input type="radio" name="cgi" value="yes" checked="checked"
    140140                  {TR_YES} 
    141141                  <input type="radio" name="cgi" value="no"> 
     
    145145                <td class="content2" width="175" height="23">{TR_JSP}</td> 
    146146                <td class="content" class="content3" height="23"> 
    147                   <input type="radio" name="jsp" value="yes" checked
     147                  <input type="radio" name="jsp" value="yes" checked="checked"
    148148                  {TR_YES} 
    149149                  <input type="radio" name="jsp" value="no"> 
     
    153153                <td class="content2" width="175" height="23">{TR_SSI}</td> 
    154154                <td class="content" class="content3" height="23"> 
    155                   <input type="radio" name="ssi" value="yes" checked
     155                  <input type="radio" name="ssi" value="yes" checked="checked"
    156156                  {TR_YES} 
    157157                  <input type="radio" name="ssi" value="no"> 
     
    161161                <td class="content2" width="175">{TR_FRONTPAGE_EXT}</td> 
    162162                <td class="content" class="content3"> 
    163                   <input type="radio" name="fp" value="yes" checked
     163                  <input type="radio" name="fp" value="yes" checked="checked"
    164164                  {TR_YES} 
    165165                  <input type="radio" name="fp" value="no"> 
     
    169169                <td class="content2" width="175">{TR_BACKUP_RESTORE}</td> 
    170170                <td class="content" class="content3"> 
    171                   <input type="radio" name="backup_restore" value="yes" checked
     171                  <input type="radio" name="backup_restore" value="yes" checked="checked"
    172172                  {TR_YES} 
    173173                  <input type="radio" name="backup_restore" value="no"> 
     
    177177                <td class="content2" width="175">{TR_CUSTOM_ERROR_PAGES}</td> 
    178178                <td class="content" class="content3"> 
    179                   <input type="radio" name="error_pages" value="yes" checked
     179                  <input type="radio" name="error_pages" value="yes" checked="checked"
    180180                  {TR_YES} 
    181181                  <input type="radio" name="error_pages" value="no"> 
     
    185185                <td class="content2" width="175">{TR_PROTECTED_AREAS}</td> 
    186186                <td class="content" class="content3"> 
    187                   <input type="radio" name="protected_areas" value="yes" checked
     187                  <input type="radio" name="protected_areas" value="yes" checked="checked"
    188188                  {TR_YES} 
    189189                  <input type="radio" name="protected_areas" value="no"> 
     
    193193                <td class="content2" width="175">{TR_WEBMAIL}</td> 
    194194                <td class="content" class="content3"> 
    195                   <input type="radio" name="webmail" value="yes" checked
     195                  <input type="radio" name="webmail" value="yes" checked="checked"
    196196                  {TR_YES} 
    197197                  <input type="radio" name="webmail" value="no"> 
     
    201201                <td class="content2" width="175">{TR_DIR_LIST}</td> 
    202202                <td class="content" class="content3"> 
    203                   <input type="radio" name="directorylisting" value="yes" checked
     203                  <input type="radio" name="directorylisting" value="yes" checked="checked"
    204204                  {TR_YES} 
    205205                  <input type="radio" name="directorylisting" value="no"> 
     
    209209                <td class="content2" width="175">{TR_APACHE_LOGFILES}</td> 
    210210                <td class="content" class="content3"> 
    211                   <input type="radio" name="apachelogfiles" value="yes" checked
     211                  <input type="radio" name="apachelogfiles" value="yes" checked="checked"
    212212                  {TR_YES} 
    213213                  <input type="radio" name="apachelogfiles" value="no"> 
     
    217217                <td class="content2" width="175">{TR_AWSTATS}</td> 
    218218                <td class="content" class="content3"> 
    219                   <input type="radio" name="awstats" value="yes" checked
     219                  <input type="radio" name="awstats" value="yes" checked="checked"
    220220                  {TR_YES} 
    221221                  <input type="radio" name="awstats" value="no"> 
     
    225225                <td class="content2" width="175">{TR_LOGO_UPLOAD}</td> 
    226226                <td class="content" class="content3"> 
    227                   <input type="radio" name="logo_upload" value="yes" checked
     227                  <input type="radio" name="logo_upload" value="yes" checked="checked"
    228228                  {TR_YES} 
    229229                  <input type="radio" name="logo_upload" value="no"> 
     
    252252                                  <tr> 
    253253                                    <td width="10%" align="center" class="{RSL_IP_CLASS}">{RSL_IP_NUMBER}</td> 
    254                                     <td width="20%" align="center" class="{RSL_IP_CLASS}"><input type="checkbox" name="{RSL_IP_CKB_NAME}" value="{RSL_IP_CKB_VALUE}" {RSL_IP_ITEM_ASSIGNED}> 
    255                                     </td> 
     254                                    <td width="20%" align="center" class="{RSL_IP_CLASS}"><input type="checkbox" name="{RSL_IP_CKB_NAME}" value="{RSL_IP_CKB_VALUE}" {RSL_IP_ITEM_ASSIGNED}></td> 
    256255                                    <td width="35%" class="{RSL_IP_CLASS}">{RSL_IP_LABEL}</td> 
    257256                                    <td width="35%" class="{RSL_IP_CLASS}">{RSL_IP_IP}</td> 
     
    268267                              <td width="25">&nbsp;</td> 
    269268                              <td width="200" class="content2">{TR_CUSTOMER_ID}</td> 
    270                               <td class="content"><input type="text" name="customer_id" value="{CUSTOMER_ID}" style="width:210px" class="textinput"> 
    271                               </td> 
     269                              <td class="content"><input type="text" name="customer_id" value="{CUSTOMER_ID}" style="width:210px" class="textinput"></td> 
    272270                            </tr> 
    273271                            <tr> 
    274272                              <td width="25">&nbsp;</td> 
    275273                              <td width="200" class="content2">{TR_FIRST_NAME}</td> 
    276                               <td class="content"><input type="text" name="fname" value="{FIRST_NAME}" style="width:210px" class="textinput"> 
    277                               </td> 
     274                              <td class="content"><input type="text" name="fname" value="{FIRST_NAME}" style="width:210px" class="textinput"></td> 
    278275                            </tr> 
    279276                            <tr> 
    280277                              <td width="25">&nbsp;</td> 
    281278                              <td width="200" class="content2">{TR_LAST_NAME}</td> 
    282                               <td class="content"><input type="text" name="lname" value="{LAST_NAME}" style="width:210px" class="textinput"> 
    283                               </td> 
     279                              <td class="content"><input type="text" name="lname" value="{LAST_NAME}" style="width:210px" class="textinput"></td> 
    284280                            </tr> 
    285281                            <tr> 
    286282                              <td width="25">&nbsp;</td> 
    287283                              <td width="200" class="content2">{TR_GENDER}</td> 
    288                               <td class="content"> 
    289                                     <select name="gender" size="1"> 
     284                              <td class="content"><select name="gender" size="1"> 
    290285                                      <option value="M" {VL_MALE}>{TR_MALE}</option> 
    291286                                      <option value="F" {VL_FEMALE}>{TR_FEMALE}</option> 
    292287                                      <option value="U" {VL_UNKNOWN}>{TR_UNKNOWN}</option> 
    293                                     </select> 
    294                               </td> 
     288                                    </select></td> 
    295289                            </tr> 
    296290                            <tr> 
    297291                              <td width="25">&nbsp;</td> 
    298292                              <td width="200" class="content2">{TR_COMPANY}</td> 
    299                               <td class="content"><input type="text" name="firm" value="{FIRM}" style="width:210px" class="textinput"> 
    300                               </td> 
     293                              <td class="content"><input type="text" name="firm" value="{FIRM}" style="width:210px" class="textinput"></td> 
    301294                            </tr> 
    302295                            <tr> 
    303296                              <td width="25">&nbsp;</td> 
    304297                              <td width="200" class="content2">{TR_ZIP_POSTAL_CODE}</td> 
    305                               <td class="content"><input type="text" name="zip" value="{ZIP}" style="width:80px" class="textinput"> 
    306                               </td> 
     298                              <td class="content"><input type="text" name="zip" value="{ZIP}" style="width:80px" class="textinput"></td> 
    307299                            </tr> 
    308300                            <tr> 
    309301                              <td width="25">&nbsp;</td> 
    310302                              <td width="200" class="content2">{TR_CITY}</td> 
    311                               <td class="content"><input type="text" name="city" value="{CITY}" style="width:210px" class="textinput"> 
    312                               </td> 
     303                              <td class="content"><input type="text" name="city" value="{CITY}" style="width:210px" class="textinput"></td> 
    313304                            </tr> 
    314305                            <tr> 
    315306                              <td width="25">&nbsp;</td> 
    316307                              <td width="200" class="content2">{TR_COUNTRY}</td> 
    317                               <td class="content"><input type="text" name="country" value="{COUNTRY}" style="width:210px" class="textinput"> 
    318                               </td> 
     308                              <td class="content"><input type="text" name="country" value="{COUNTRY}" style="width:210px" class="textinput"></td> 
    319309                            </tr> 
    320310                            <tr> 
    321311                              <td width="25">&nbsp;</td> 
    322312                              <td width="200" class="content2">{TR_STREET_1}</td> 
    323                               <td class="content"><input type="text" name="stree