[Alba-desarrollo] SVN Alba r6129 - in prosistem/alba/trunk/alba/apps/principal/modules: legajopedagogico/templates relDivisionActividadDocente/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Vie Abr 24 23:22:40 CEST 2009


Author: hsanchez
Date: 2009-04-24 18:22:40 -0300 (Fri, 24 Apr 2009)
New Revision: 6129

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/editSuccess.php
   prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php
Log:
Quitando errores y agregando request

Modified: prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/editSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/editSuccess.php	2009-04-24 21:22:21 UTC (rev 6128)
+++ prosistem/alba/trunk/alba/apps/principal/modules/legajopedagogico/templates/editSuccess.php	2009-04-24 21:22:40 UTC (rev 6129)
@@ -3,16 +3,7 @@
 
 <div id="sf_admin_container">
 
-<?php if ($sf_request->hasErrors()): ?>
-<div class="form-errors">
-<h2><?php echo __('There are some errors that prevent the form to validate') ?></h2>
-<ul>
-<?php foreach ($sf_request->getErrorNames() as $name): ?>
-  <li><?php echo $sf_request->getError($name) ?></li>
-<?php endforeach; ?>
-</ul>
-</div>
-<?php elseif ($sf_user->hasFlash('notice')): ?>
+<?php if ($sf_user->hasFlash('notice')): ?>
 <div class="save-ok">
 <h2><?php echo __($sf_user->getFlash('notice')) ?></h2>
 </div>

Modified: prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php	2009-04-24 21:22:21 UTC (rev 6128)
+++ prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php	2009-04-24 21:22:40 UTC (rev 6129)
@@ -32,7 +32,7 @@
  */
 class relDivisionActividadDocenteActions extends autorelDivisionActividadDocenteActions
 {
-    public function executeEdit() {
+    public function executeEdit($request) {
         $evento_generico = new miEvento(new sfEventDispatcher());
 
         $this->rel_division_actividad_docente = $this->getRelDivisionActividadDocenteOrCreate();




Más información sobre la lista de distribución Alba-desarrollo