Changeset 246
- Timestamp:
- 03/17/09 23:09:06 (3 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
-
config/core.php (modified) (1 diff)
-
views/layouts/portal.ctp (modified) (3 diffs)
-
views/polls/admin_add.ctp (modified) (2 diffs)
-
views/waydings/admin_edit.ctp (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/core.php
r224 r246 15 15 */ 16 16 17 Configure::write('debug', 1);17 Configure::write('debug', 0); 18 18 /** 19 19 * To configure CakePHP *not* to use mod_rewrite and to -
trunk/views/layouts/portal.ctp
r239 r246 60 60 echo $this->element('login', array('cache' => True)); 61 61 endif; 62 63 62 echo $this->element('lastentries'); 64 63 echo $this->element('lastdownloads', array('cache' => True)); … … 66 65 echo $this->element('sections', array('cache' => True)); 67 66 echo $this->element('banner'); 68 69 67 ?> 70 68 </div> … … 83 81 <td id="tdright"> 84 82 <?php 85 if ( !$session->check('Auth.User') ):86 echo $html->link(87 $html->image('admin/mn-nuevo.gif', array('alt'=>'Nuevo?', 'title'=>'Nuevo?')), '#',88 array("onclick"=>"window.open('/helps/tour','mywindow','width=600,height=600')"), null, null, false89 );90 endif;91 92 83 echo $this->element('waydings'); 93 84 #echo $gags->tla_ads(); // text links ads 94 85 echo $html->para('menumain', 'e-Learning Platform'); 95 86 echo $html->div('menumain', $html->link( 96 $html->image('static/banner_karamelo.jpg', 97 array('alt'=>'e-Learning Solution', 'title'=>'e-Learning solution', 87 $html->image('static/banner_karamelo.jpg',array('alt'=>'e-Learning Solution', 'title'=>'e-Learning solution', 98 88 'style'=>'border:1px solid black')), 99 'http://www.chipotle-software.com', null, null, false));89 'http://www.chipotle-software.com', null, null, false)); 100 90 101 91 echo $this->element('poll'); -
trunk/views/polls/admin_add.ctp
r202 r246 4 4 <?php echo $form->input('Poll.question', array('size' => 60, 'maxlength'=>130)); ?> 5 5 6 <div style="margin:15px auto 15px auto;border:1px dotted gray;padding-left:40px;width:80%;"> 7 6 <div style="margin:15px auto 15px auto;border:1px dotted gray;padding-left:40px;width:80%;"> 7 <?php 8 for ($i=1;$i<7;$i++): 9 echo $form->input('Row.answer'.$i, array('size' => 50, "maxlenght"=>100)); 10 endfor; 11 ?> 12 </div> 8 13 <?php 9 for ($i=1;$i<7;$i++) { 10 echo $form->label('Row.answer'.$i, 'Answer ' . $i . ':') . "<br />"; 11 echo $form->input('Row.answer'.$i, array('size' => 50, "maxlenght"=>100)); 12 } 13 ?> 14 </div> 15 16 <?php 17 echo $form->label('Poll.status', 'Published:') . "<br />"; 14 echo $form->label('Poll.status', 'Published') . "<br />"; 18 15 echo $form->checkbox('Poll.status'); 19 16 ?> … … 21 18 <?php echo $form->end('Save'); ?> 22 19 </fieldset> 23
Note: See TracChangeset
for help on using the changeset viewer.
