$i += 1; ?> <td> <div id="<?php echo "alumno_" . $alumno->getId(); ?> " class="alumno"> <?php echo $alumno->__toString(); ?> <br> (<?php echo $alumno->getNroDocumento(); ?> ) </div><?php echo draggable_element('alumno_' . $alumno->getId(), array('revert' => true)); ?> </td> <?php } ?> </tr> </table> <?php } else { ?> No se encontraron coincidencias <?php }
<h1>Asignaturas</h1> <?php use_helper('Javascript'); ?> <div id="horarios_list"> <?php if (count($horasMaterias) > 0) { foreach ($horasMaterias as $idx => $oMateria) { ?> <?php echo image_tag('horasMaterias' . $idx, array('id' => 'horarioMaterias_' . $idx, 'alt' => $oMateria->nombre, 'class' => 'horarioMaterias-items')); echo "<br>(" . $oMateria->cantidad . " Horas)"; ?> <?php echo draggable_element('horarioMaterias_' . $idx, array('revert' => true)); ?> <br><br> <?php } } ?> </div> </td> <td> <?php use_helper("CalendarWeek"); echo loadCalendar($aDay, $aHour, $aEvent, $aDayNames, $time_interval, false, 110, 20); ?> </td> </tr>
<?php use_helper('Javascript'); if (!$sf_user->getAttribute('horarios_' . $name)) { } else { $aHorario = $sf_user->getAttribute('horarios_' . $name); foreach ($aHorario as $horarioMaterias_id => $quantity) { for ($i = 1; $i <= $quantity; $i++) { echo image_tag(sfConfig::get('sf_admin_web_dir') . '/images/tick.png', array('class' => 'horarioMaterias-items', 'id' => $name . '_' . $horarioMaterias_id . '_' . $i, 'style' => 'position:relative')); echo draggable_element($name . '_' . $horarioMaterias_id . '_' . $i, array('revert' => true)); } ?> <span class="title"><?php echo $horasMaterias[$horarioMaterias_id]->nombre; ?> </span><?php } } ?>
<?php if ($page_slug == $slug) { ?> <div class="current"><?php echo $page_name; ?> </div> <?php } else { ?> <?php echo link_to($page_name, sfSimpleCMSTools::urlForPage($page_slug, $query_string)); ?> <?php } ?> </li> <?php } ?> </ul> </div> </div> <?php use_javascript(sfConfig::get('sf_prototype_web_dir') . '/js/prototype'); use_javascript('/sfSimpleCMSPlugin/js/cookies_handler.js'); use_javascript('/sfSimpleCMSPlugin/js/editorTools.js'); echo draggable_element('editor_box', array('revert' => 'save_toolbar_state'));