[Alba-desarrollo] SVN Alba r5129 - prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Sep 19 23:52:24 CEST 2007


Author: sabino
Date: 2007-09-19 18:52:24 -0300 (Wed, 19 Sep 2007)
New Revision: 5129

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php
Log:


Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php	2007-09-19 21:33:29 UTC (rev 5128)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php	2007-09-19 21:52:24 UTC (rev 5129)
@@ -127,15 +127,16 @@
             $this->date_component = "";
         }
 
-        if($this->getRequestParameter('view')) {
-            switch($this->getRequestParameter('view')) {
-                case 'week': $this->view = 'verPorSemana'; break;
-                case 'day': $this->view = 'verPorDia'; break;
-                default: $this->view = 'verPorDia';
-            }
-        } else {
-            $this->view = "verPorDia";
-        }
+	$this->view = $this->getRequestParameter('view','verPorDia');
+//         if($this->getRequestParameter('view')) {
+//             switch($this->getRequestParameter('view')) {
+//                 case 'week': $this->view = 'verPorSemana'; break;
+//                 case 'day': $this->view = 'verPorDia'; break;
+//                 default: $this->view = 'verPorDia';
+//             }
+//         } else {
+//             $this->view = "verPorDia";
+//         }
     }
 
 




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