Show
Ignore:
Timestamp:
03/28/08 12:50:07 (10 months ago)
Author:
aarkerio
Message:

Improvs on Lessons and Images

Files:
1 modified

Legend:

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

    r352 r354  
    1717  <?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) ?> 
    1818</td> 
     19 <td> 
     20     <?php 
     21      echo $form->label('Lesson.subject_id', 'Subject:'); 
     22      echo $form->select('Lesson.subject_id', $subjects, null, null, false); 
     23     ?> 
     24  </td> 
    1925</tr> 
    2026<tr> 
    21   <td colspan="2"> 
     27  <td colspan="3"> 
    2228  <?php  
    23       echo $form->label('Lesson.subject_id', 'Subject:'); 
    24       echo $form->select('Lesson.subject_id', $subjects, null, null, false); 
    25  
    2629      echo $form->label('Lesson.body', 'Body:' ); 
    2730      echo $form->textarea('Lesson.body', array("cols"=>80, "rows"=>20)); 
     
    3538     echo $form->checkbox('Lesson.status', array('value'=>1));  
    3639  ?> 
    37   </td><td> 
     40  </td><td colspan="2"> 
    3841  <?Php  
    39       Echo $form->label('Lesson.disc', 'Comments allowed to this Lesson:' ); 
     42      Echo $form->label('Lesson.disc', 'Comments enabled:' ); 
    4043      echo $form->checkbox('Lesson.disc', array('value'=>1));  
    4144  ?> 
    4245  </td></tr> 
    43   <tr><td colspan="2"> </fieldset> 
     46  <tr><td colspan="3"> </fieldset> 
    4447  <?php echo $form->end('Save'); ?> 
    4548</td></tr>