Changeset 246


Ignore:
Timestamp:
03/17/09 23:09:06 (3 years ago)
Author:
aarkerio
Message:

New files

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/core.php

    r224 r246  
    1515 */ 
    1616 
    17         Configure::write('debug', 1); 
     17        Configure::write('debug', 0); 
    1818/** 
    1919 * To configure CakePHP *not* to use mod_rewrite and to 
  • trunk/views/layouts/portal.ctp

    r239 r246  
    6060      echo  $this->element('login', array('cache' => True)); 
    6161  endif; 
    62    
    6362  echo  $this->element('lastentries');   
    6463  echo  $this->element('lastdownloads', array('cache' => True)); 
     
    6665  echo  $this->element('sections', array('cache' => True)); 
    6766  echo  $this->element('banner'); 
    68   
    6967 ?> 
    7068</div> 
     
    8381 <td id="tdright"> 
    8482 <?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, false 
    89                           ); 
    90   endif; 
    91  
    9283  echo  $this->element('waydings'); 
    9384  #echo  $gags->tla_ads();   // text links ads 
    9485  echo  $html->para('menumain', 'e-Learning Platform'); 
    9586  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',  
    9888                                           'style'=>'border:1px solid black')),  
    99                                           'http://www.chipotle-software.com', null, null, false));  
     89                                                               'http://www.chipotle-software.com', null, null, false));  
    10090   
    10191  echo  $this->element('poll'); 
  • trunk/views/polls/admin_add.ctp

    r202 r246  
    44  <?php echo $form->input('Poll.question', array('size' => 60, 'maxlength'=>130)); ?> 
    55 
    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> 
    813<?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 />";  
    1815  echo $form->checkbox('Poll.status');  
    1916?> 
     
    2118<?php echo $form->end('Save'); ?> 
    2219</fieldset> 
    23  
Note: See TracChangeset for help on using the changeset viewer.