Changeset 617 for trunk/app/views/vclassrooms/admin_add.ctp
- Timestamp:
- 07/01/08 19:06:58 (5 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/vclassrooms/admin_add.ctp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/vclassrooms/admin_add.ctp
r591 r617 4 4 echo $javascript->link('fckeditor/fckeditor'); 5 5 6 echo $html->addCrumb('Control Tools', '/admin/entries/start');6 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 7 7 echo $html->addCrumb('vGroups', '/admin/ecourses/vclassrooms/'.$this->data['Ecourse']['id']); 8 8 echo $html->getCrumbs(' / '); … … 14 14 <legend>New Group for e-Course: <?php echo $this->data['Ecourse']['title']; ?></legend> 15 15 <?php 16 echo $form->input('Vclassroom.name', array( "size" => 40, "maxlength"=> 60));16 echo $form->input('Vclassroom.name', array('size' => 40, 'maxlength' => 60)); 17 17 18 18 echo $form->label('Vclassroom.status', 'Enabled:'); 19 echo $form->checkbox('Vclassroom.status', array( "value"=>1));19 echo $form->checkbox('Vclassroom.status', array('value'=>1)); 20 20 21 21 22 echo $form->input('Vclassroom.secret', array( "size" => 7, "maxlength"=> 6));22 echo $form->input('Vclassroom.secret', array('size' => 7, 'maxlength' => 6)); 23 23 echo $form->end('Save'); 24 24 ?> … … 54 54 } 55 55 56 if (access.checked == true) 56 57 if (secret.value.length < 5) 57 58 { 58 if (secret.value.length < 5) 59 { 60 alert('You must type a secret code larger than 5 characters'); 61 secret.focus(); 62 return false; 63 } 59 alert('You must type a secret code larger than 5 characters'); 60 secret.focus(); 61 return false; 64 62 } 63 65 64 return true; 66 65 }
