Show
Ignore:
Timestamp:
05/21/08 15:27:00 (6 months ago)
Author:
aarkerio
Message:

New Try

Location:
trunk/app/views/colleges
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/colleges/admin_edit.ctp

    r415 r541  
    66 
    77echo $form->create('College'); 
    8  
    98echo $form->hidden('College.id'); 
    109 
     
    2221echo $form->label('College.end', 'End:'); 
    2322echo $form->checkbox('College.end', array('value' => 1)); 
    24 ?>   
    2523 
    26 <div class="submit"> 
    27     <?php echo $form->end('Save'); ?> 
    28 </div> 
     24echo $html->div('submit', $form->end('Save'));  
     25?> 
     26 
    2927</fieldset> 
  • trunk/app/views/colleges/view.ctp

    r274 r541  
    11<?php 
     2echo $html->div(null,$data['College']['name'],array('style'=>'font-size:16pt;padding-top:10px;color:olive;font-weight:bold;border-bottom:2px solid olive')); 
    23 
    3 echo '<div style="font-size:16pt;padding-top:10px;color:olive;font-weight:bold;border-bottom:2px solid olive;">'. $data['College']['name']     .'</div>'; 
     4echo $html->div(null,  $data['College']['description'], array('style'=>'padding:5px')); 
    45 
    5 echo '<div style="padding:5px;">'. $data['College']['description'] .'</div>'; 
    6  
    7 echo '<p>'. $html->link('Contact us',  'mailto:'.$data['College']['email'])          .'</p>'; 
     6echo $html->para(null, $html->link('Contact us',  'mailto:'.$data['College']['email'])); 
    87 
    98?>