Show
Ignore:
Timestamp:
07/02/08 18:44:15 (5 months ago)
Author:
aarkerio
Message:

In spanish please

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/news/admin_add.ctp

    r546 r620  
    33   echo $javascript->link('fckeditor/fckeditor');  
    44 
    5    echo $html->addCrumb('Control Tools', '/admin/entries/start');  
    6    echo $html->addCrumb('News', '/admin/news/listing'); 
     5   echo $html->addCrumb('Control Panel', '/admin/entries/start');  
     6   echo $html->addCrumb(__('News', true), '/admin/news/listing'); 
    77   echo $html->getCrumbs(' / '); 
    88   echo $form->create('News', array('onsubmit'=>'return validateNew()'));  
    99 
    10    echo $html->div('title_section', 'Add new'); 
     10   echo $html->div('title_section', __('Add new', true)); 
    1111?> 
    1212<table> 
    1313<tr> 
    1414<td> 
    15   <?php  
    16       echo $form->input('News.title', array("size" => 40, "maxlength" => 120)); 
     15 <?php  
     16      echo $form->input('News.title', array('size' => 40, 'maxlength' => 120)); 
    1717      echo $form->error('News.title', 'Title is required.');  
    18   ?> 
    19 </td> 
    20 <td> 
    21   <?php  
    22     echo $form->label('News.theme_id', 'Theme:'); 
     18 ?> 
     19</td><td> 
     20 <?php  
     21    echo $form->label('News.theme_id', __('Theme', true)); 
    2322    echo $form->select('News.theme_id', $themes, null, null, null, false, false);       
    2423  ?> 
    25 </td> 
    26 <td> 
     24</td><td> 
    2725<?php  
    2826   echo $form->input('News.reference', array('size'=> 30, 'maxlength'=> 250, 'value'=>'http://'));  
    2927 ?> 
    30 </td> 
    31 <td> 
    32   <?php echo $html->link($html->image('admin/myimages.jpg', array("alt"=>"My Images", "title"=>"My Images")), '#', array("onclick"=>"javascript:window.open('/admin/images/listing/set', 'blank', 'toolbar=no, scrollbars=yes,width=700,height=500')"), null, false) ?></p> 
     28</td><td> 
     29 <?php echo $html->link($html->image('admin/myimages.jpg', array("alt"=>"My Images", "title"=>"My Images")), '#', array("onclick"=>"javascript:window.open('/admin/images/listing/set', 'blank', 'toolbar=no, scrollbars=yes,width=700,height=500')"), null, false) ?></p> 
    3330</td></tr> 
    3431 
     
    4037  ?> 
    4138</td></tr> 
    42 <tr><td colspan="2"> 
     39<tr><td> 
    4340  <?php  
    4441     echo $form->label('News.status', 'Published:' ); 
    4542     echo $form->checkbox('News.status', array('value'=>1));  
    4643  ?> 
    47 </td> 
    48  <td> 
     44</td><td> 
    4945  <?php  
    5046     echo $form->label('News.comments', 'Comments actived:' ); 
     
    5248  ?> 
    5349</td> 
    54 <td> 
     50<td  colspan="2"> 
    5551   <?php  
    5652     echo $form->label('News.end', 'Finish editing:'); 
     
    6056</tr> 
    6157   
    62 <tr><td colspan="4">  <?php echo $form->end('Save'); ?> </td></tr> 
     58<tr><td colspan="4">  <?php echo $form->end(__('Save', true)); ?> </td></tr> 
    6359 
    6460</table>