Changeset 701 for trunk/app/views/quotes

Show
Ignore:
Timestamp:
08/08/08 16:03:49 (4 months ago)
Author:
aarkerio
Message:

New validates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/quotes/admin_listing.ctp

    r610 r701  
    11<?php  
    2   echo $html->addCrumb('Control Panel', '/admin/entries/start');  
    3   echo $html->getCrumbs(' / ');  
     2 echo $html->addCrumb('Control Panel', '/admin/entries/start');  
     3 echo $html->getCrumbs(' / ');  
    44 
    5   echo $html->div('title_section', __('Quotes', true)); 
     5 echo $html->div('title_section', __('Quotes', true)); 
    66 
    7 echo $html->para(null, $html->link($html->image('actions/new.png', array('alt'=>'Add new quote','title'=>'Add new quote')), '#', array("onclick"=>"hU()"), false, false)); ?> 
     7 echo $html->para(null, $html->link($html->image('actions/new.png', array('alt'=>__('Add new', true),'title'=>__('Add new', true))), '#', array("onclick"=>"hU()"), false, false)); ?> 
    88 
    99<div id="trh" style="margin:0;padding:0;padding-left:40px;width:80%;display:none;"> 
     
    1212 <legend><?php __('New quote'); ?></legend> 
    1313   <?php  
    14    echo $form->input('Quote.quote', array("size" => 60, "maxlength"=>130)); 
     14   echo $form->input('Quote.quote', array('size'=> 60, 'maxlength'=>130)); 
    1515   echo $form->error('Quote.quote', 'A quote is required.');  
    1616    
     
    2121   <div style="clear:both"></div> 
    2222</fieldset> 
    23   <?php echo $form->end('Save'); ?> 
     23  <?php echo $form->end(__('Save', true)); ?> 
    2424 
    2525</div>