Changeset 4259

Show
Ignore:
Timestamp:
Thu Dec 29 22:32:22 2005
Author:
paul
Message:

Fixed for ticket:1604 - eliminate CODEPAGE field from language screens.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/campsite/implementation/management/priv/languages/add_modify.php

    r4116 r4259  
    90 90 </TR>  
    91 91 <TR>  
    92       <TD ALIGN="RIGHT" ><?php  putGS("Code page"); ?>:</TD>  
    93       <TD>  
    94       <INPUT TYPE="TEXT" class="input_text" NAME="cCodePage" SIZE="32" MAXLENGTH="32" alt="blank" emsg="<?php  putGS('You must complete the $1 field.', getGS('Code page')); ?>" value="<?php p($languageObj->getProperty('CodePage')); ?>">  
    95       </TD>  
    96   </TR>  
    97   <TR>  
    98 92     <TD COLSPAN="2"><?php  putGS('Please enter the translation for month names.'); ?></TD>  
    99 93 </TR>  
  • trunk/campsite/implementation/management/priv/languages/do_add_modify.php

    r4209 r4259  
    23 23 $editMode = ($cLang != 0);  
    24 24 $cName = Input::Get('cName');  
    25   $cCodePage = Input::Get('cCodePage');  
    26 25 $cOrigName = Input::Get('cOrigName');  
    27 26 $cCode = Input::Get('cCode');  
     
    53 52 $correct = 1;  
    54 53 $created = 0;  
    55   if (($cName == "") || ($cOrigName == "") || ($cCodePage == "") || ($cCode == "") ) {  
      54 if (($cName == "") || ($cOrigName == "") || ($cCode == "") ) {  
    55 54     $correct = 0;  
    56 55 }  
     
    63 62 if ($correct) {  
    64 63     $columns = array('Name' => $cName,  
    65                        'CodePage' => $cCodePage,  
    66 64                      'Code' => $cCode,  
    67 65                      'OrigName' => $cOrigName,  
    130 128             <?php  
    131 129         }  
    132           if ($cCodePage == "") { ?>  
    133               <LI><?php  putGS('You must complete the $1 field.','<B>'.getGS('Code page').'</B>'); ?></LI>  
    134               <?php   
    135           }  
    136 130         if ($cCode == "") { ?>  
    137 131             <LI><?php  putGS('You must complete the $1 field.','<B>'.getGS('Code').'</B>'); ?></LI>