Changeset 352 for trunk/app/views/images

Show
Ignore:
Timestamp:
03/28/08 10:03:54 (8 months ago)
Author:
aarkerio
Message:

Improvs on Lessons and Images

Files:
1 modified

Legend:

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

    r292 r352  
    66   echo $html->addCrumb('Images', '#');  
    77   echo $html->getCrumbs(' / '); 
    8    echo '<div class="title_section">Images</div>'; 
     8   echo $html->div('title_section', 'Images'); 
    99   $return = null; 
    1010 }  
     
    2929           echo $form->error('Image.file', 'Title is required.');  
    3030           echo '</fieldset>'; 
    31            echo $form->end('Upload'); ?> 
    32  
     31           echo $form->end('Upload');  
     32      ?> 
    3333</td> 
    3434</tr> 
     
    6262 { 
    6363        echo  $form->create('Image', array('action'=>'admin_delete')); 
    64         echo  $form->hidden('Image.return', array('value' => '/admin/images/listing')); 
     64        echo $form->hidden('Image.return', array('value'=>'/admin/images/listing/'.$return));  
    6565        echo  $form->hidden('Image.id', array('value' => $val['Image']['id'])); 
    6666        echo  $form->end('Delete');