Changeset 393

Show
Ignore:
Timestamp:
04/12/08 14:43:12 (9 months ago)
Author:
aarkerio
Message:

Fixed test controller

Location:
trunk/app
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/acquaintances_controller.php

    r363 r393  
    11<?php 
    22/** 
    3 *  Karamelo eLearning Platform 
    4 *  Chipotle Software 2002-2008  
    5 *  GPL manuel<arroba>mononeurona<punto>org 
    6 */  
     3*  Karamelo e-Learning Platform 
     4*  Chipotle Software TM 2002-2008 
     5*  GPLv3  
     6*  @author Manuel Montoya manuel<arroba>mononeurona<punto>org 
     7*  @version 0.2 
     8*  @package Karamelo 
     9*/ 
     10 
    711uses('sanitize'); 
    812 
  • trunk/app/controllers/answers_controller.php

    r365 r393  
    11<?php 
    22/** 
    3 *  Karamelo E-Learning Platform 
    4 *  Chipotle Software 2002-2008  
    5 *  GPLv3 manuel<arroba>mononeurona<punto>org 
    6 */  
    7 //File: /app/controllers/quotes_controller.php 
     3*  Karamelo e-Learning Platform 
     4*  Chipotle Software TM 2002-2008 
     5*  GPLv3  
     6*  @author Manuel Montoya manuel<arroba>mononeurona<punto>org 
     7*  @version 0.2 
     8*  @package Karamelo 
     9*/ 
     10//File: /app/controllers/answers_controller.php 
    811 
    912uses('Sanitize'); 
  • trunk/app/controllers/categories_controller.php

    r328 r393  
    11<?php 
    22/** 
    3 *  Karamelo E-Learning Platform 
    4 *  Chipotle Software 2002-2008  
    5 *  GPL manuel<at>mononeurona.org 
    6 */  
    7   
     3*  Karamelo e-Learning Platform 
     4*  Chipotle Software TM 2002-2008 
     5*  GPLv3  
     6*  @author Manuel Montoya  --  manuel<arroba>mononeurona<punto>org 
     7*  @version 0.2 
     8*  @package Karamelo 
     9*/ 
     10//File: /app/controllers/categories_controller.php  
    811uses('sanitize'); 
    912 
  • trunk/app/controllers/catfaqs_controller.php

    r351 r393  
    11<?php 
    22/** 
    3 *  Karamelo E-Learning Platform 
    4 *  Chipotle Software 2002-2008 
    5 *  GPLv3  manuel<at>mononeurona<punto>org 
    6 */  
     3*  Karamelo e-Learning Platform 
     4*  Chipotle Software TM 2002-2008 
     5*  GPLv3  
     6*  @author Manuel Montoya  --  manuel<arroba>mononeurona<punto>org 
     7*  @version 0.2 
     8*  @package Karamelo 
     9*/ 
     10//File: /app/controllers/categories_controller.php  
    711  
    812uses('sanitize'); 
  • trunk/app/controllers/catforums_controller.php

    r325 r393  
    11<?php 
    2 /**   
    3 *  Chipotle Software TM 
    4 *  Manuel Montoya 2002-2008 
    5 *  GPL v3 manuel<arroba>mononeurona<punto>org 
    6 */  
     2/** 
     3*  Karamelo e-Learning Platform 
     4*  Chipotle Software TM 2002-2008 
     5*  GPLv3  
     6*  @author Manuel Montoya  --  manuel<arroba>mononeurona<punto>org 
     7*  @version 0.2 
     8*  @package Karamelo 
     9*/ 
     10//File: /app/controllers/catforums_controller.php  
     11 
    712  
    813uses('sanitize');   
  • trunk/app/controllers/vclassrooms_controller.php

    r386 r393  
    11<?php 
    22/** 
    3 *  Karamelo eLearning Platform 
    4 *  Manuel Montoya 2002-2008 
    5 *  GPLv3 manuel<arroba>mononeurona<punto>org 
     3*  Karamelo e-Learning Platform 
     4*  Chipotle Software TM 2002-2008 
     5*  GPLv3  
     6*  @author Manuel Montoya manuel<arroba>mononeurona<punto>org 
     7*  @version 0.2 
     8*  @package Karamelo 
    69*/  
    710  
  • trunk/app/views/catforums/admin_listing.ctp

    r325 r393  
    1 <?php // exit(print_r($data));?> 
    2 <div class="title_section">Categories Forums</div> 
    3  
     1<?php  
     2 // exit(debug($data)); 
     3?> 
    44<script type="text/javascript">  
    55<!--  
     
    1818</script> 
    1919 
    20 <?php echo $html->link($html->image('actions/new.png', array("alt"=>"Add new forum", "title"=>"Add new forum")), '#', array("onclick"=>"hU()"), false, false) ?> 
     20<?php  
     21 echo $html->div('title_section', 'Categories Forums'); 
     22 
     23 echo $html->link($html->image('actions/new.png', array("alt"=>"Add new forum", "title"=>"Add new forum")), '#', array("onclick"=>"hU()"), false, false);  
     24?> 
    2125 
    2226<table class="tbadmin" id="tbl"> 
     
    2731     <legend>Add new Category Forum</legend> 
    2832     <?php  
    29            echo $form->input('Catforum.title', array("size"=>50, "maxlength"=>150));   
    30            echo $form->input('Catforum.description', array("size"=>70, "maxlength"=>150)); 
    31            echo $form->label('Catforum.status', 'Actived:') . $form->checkbox('Catforum.status'); 
     33           echo $form->input('Catforum.title', array('size'=>50, 'maxlength'=>150));   
     34           echo $form->input('Catforum.description', array('size'=>70, 'maxlength'=>150)); 
     35           echo $form->label('Catforum.status', 'Enabled:') . $form->checkbox('Catforum.status', array('value'=>1)); 
    3236           echo '<div style="clear:both"></div></fieldset>'; 
    3337           echo $form->end('Save');  
     
    5862      foreach ( $val['Forum'] as $v)  // forum in catforums 
    5963      { 
    60          echo '<tr><td>&nbsp;</td> <td> '.  $gags->sendEdit($v["id"], 'forums') .'</td>'; 
     64         echo '<tr><td>&nbsp;</td> <td>' .  $gags->sendEdit($v["id"], 'forums') .'</td>'; 
    6165         echo '<td>' . $html->link($v["title"], '/admin/forums/topics/'.$v['id']) .'</td>  <td colspan="2"> '. $v["description"] .' </td>'; 
    6266         echo '<td>' . $html->link($gags->setStatus($v['status']), '/admin/forums/change/'.$v['status'].'/'.$v['id']).'</td>  <td> ' .  $gags->confirmDel($v['id'], 'forums') . '</td> </tr>'; 
  • trunk/app/views/forums/admin_add.ctp

    r388 r393  
    1616?> 
    1717<fieldset> 
    18   <legend>New Forum</legend> 
    19    
     18   <legend><?php __('New Forum'); ?></legend> 
    2019<?php  
    21   echo $form->label('Forum.vclassroom_id', 'Subject:'); 
     20  echo $form->label('Forum.vclassroom_id',  'Class:'); 
    2221  echo $form->select('Forum.vclassroom_id', $vclassrooms, null, null, false); 
    2322  echo $form->input('Forum.title', array("size" => 40, "maxlength" => 60));