Tema: generar tabs
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/01/2012, 10:21
miguelcalla
(Desactivado)
 
Fecha de Ingreso: octubre-2011
Mensajes: 164
Antigüedad: 12 años, 6 meses
Puntos: 1
Respuesta: generar tabs

y en kumbiaphp por ejemplo:



Código PHP:
Ver original
  1. <div id="scaffold">
  2.     <h1>Persona del Proyecto</h1>
  3.     <div id="mensajes_flash" >        
  4.         <?php View::content() ?>
  5. </div>
  6. <?php
  7. Table::headers('id', 'Rut', 'Nombre', 'Apellido P.', 'Apellido M.','Telefono','Celular','Correo Electronico','Cargo','Fecha de Nacimiento');
  8. Table::fields('id','rut','nombre','apaterno','amaterno','telefono','celular','email','cargo','fec_nac');
  9. echo Table::create(array($persona));
  10. ?>
  11. </div>
  12.  
  13. <div class="actions">
  14.  <?php echo Html::linkAction('', 'Volver', 'class="btn right"') ?>
  15.  </div>
  16. </br>
  17. <table>
  18.     <thead>
  19.         <tr>
  20.             <th colspan="<?php echo count($proyectosy) ?> ">Proyectos</th>
  21.         </tr>
  22.         <tr>   
  23.             <?php foreach ($proyectosy as $e) : ?>
  24.             <th style="text-align: center">
  25.                             <a href="#" id="check_rol_<?php eh($e->id) ?>" class="check_perfiles">                                
  26.                                 <?php eh($e->nom_proy) ?>
  27.                             </a>
  28.             </th>
  29.             <?php endforeach ?>
  30.         </tr>
  31.     <thead>
  32. </table>

Última edición por miguelcalla; 25/01/2012 a las 10:23 Razón: fw kumbia