Changeset 695 for trunk/app/views
- Timestamp:
- 08/04/08 21:29:32 (4 months ago)
- Location:
- trunk/app/views
- Files:
-
- 2 modified
-
subjects/admin_edit.ctp (modified) (1 diff)
-
treasures/admin_listing.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/subjects/admin_edit.ctp
r413 r695 1 1 <div class="spaced"> 2 <?php 3 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 4 echo $html->addCrumb(__('Subjects', true), '/admin/acquaintances/listing'); 5 echo $html->getCrumbs(' / '); 2 6 3 <?php 4 echo $form->create('Subject'); 5 echo $form->hidden('Subject.id'); 7 echo $form->create('Subject'); 8 echo $form->hidden('Subject.id'); 6 9 ?> 7 10 <fieldset> 8 <legend> New Subject</legend>11 <legend><?php __('Edit Subject'); ?></legend> 9 12 <?php 10 echo $form->input('Subject.code', array( "size" => 8, "maxlength"=> 8));11 echo $form->input('Subject.title', array( "size" => 40, "maxlength"=> 80));13 echo $form->input('Subject.code', array('size' => 8, 'maxlength' => 8)); 14 echo $form->input('Subject.title', array('size' => 40, 'maxlength' => 80)); 12 15 ?> 13 16 <br /> 14 <?php echo $form->end('Save'); ?></fieldset> 17 <?php echo $form->end(__('Save', true)); ?> 18 </fieldset> 15 19 </div> -
trunk/app/views/treasures/admin_listing.ctp
r691 r695 15 15 16 16 if ( count($val['Vclassroom']) < 1 ): 17 18 echo $html->para(null, $html->link($html->image('admin/vgroups-gray.gif',array('alt' => 'No class assigned for this treasure',19 'title'=> 'No class assigned for this treasure')17 18 echo $html->para(null, $html->link($html->image('admin/vgroups-gray.gif',array('alt' =>__('No class assigned for this treasure', true), 19 'title'=>__('No class assigned for this treasure', true)) 20 20 ), '/admin/treasures/vclassrooms/'.$val['Treasure']['id'], null, null, false)); 21 21 else: 22 22 23 echo $html->para(null, $html->link($html->image('static/vgroups.gif', array('alt' => 'Assign this treasure to new class',24 'title'=> 'Assign this treasure to new class')),23 echo $html->para(null, $html->link($html->image('static/vgroups.gif', array('alt' =>__('Assign this treasure to new class', true), 24 'title'=>__('Assign this treasure to new class', true))), 25 25 '/admin/treasures/vclassrooms/'.$val['Treasure']['id'], null, null, false)); 26 26
