[Alba-desarrollo] SVN Alba r4154 - prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Vie Feb 2 22:24:29 CET 2007


Author: ftoledo
Date: 2007-02-02 18:24:27 -0300 (Fri, 02 Feb 2007)
New Revision: 4154

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/ac=
tions.class.php
Log:
fix de error de asignacion directa desde php 5.2


Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/act=
ions/actions.class.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/a=
ctions.class.php	2007-02-02 21:20:17 UTC (rev 4153)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/a=
ctions.class.php	2007-02-02 21:24:27 UTC (rev 4154)
@@ -22,8 +22,8 @@
  * calendario actions
  *
  * @package    alba
- * @author     Jos=C3=A9 Luis Di Biase <josx en interorganic.com.ar>
- * @author     H=C3=A9ctor Sanchez <hsanchez en pressenter.com.ar>
+ * @author     Jos=E9 Luis Di Biase <josx en interorganic.com.ar>
+ * @author     H=E9ctor Sanchez <hsanchez en pressenter.com.ar>
  * @author     Fernando Toledo <ftoledo en pressenter.com.ar>
  * @version    SVN: $Id$
  * @filesource
@@ -233,20 +233,9 @@
         Misc::use_helper('Misc');      =20
         $aSemana =3D diasDeLaSemana(1);
=20
-        $this->aDayNames =3D array();
-        $this->aDayNames[] =3D "Lunes";
-        $this->aDayNames[] =3D "Martes";
-        $this->aDayNames[] =3D "Miercoles";
-        $this->aDayNames[] =3D "Jueves";
-        $this->aDayNames[] =3D "Viernes";
+        $this->aDayNames =3D array("Lunes","Martes","Miercoles","Jueves"=
,"Viernes");
=20
-        $this->aDay =3D array();
-        $this->aDay[] =3D strtotime("2006-09-11");
-        $this->aDay[] =3D strtotime("2006-09-12");
-        $this->aDay[] =3D strtotime("2006-09-13");
-        $this->aDay[] =3D strtotime("2006-09-14");
-        $this->aDay[] =3D strtotime("2006-09-15");
-       =20
+        $this->aDay=3D array(strtotime("2006-09-11"), strtotime("2006-09=
-12"), strtotime("2006-09-13"), strtotime("2006-09-14"), strtotime("2006-=
09-15"));
=20
         $this->optionsDivision =3D array();
=20
@@ -298,8 +287,7 @@
             $this->getUser()->setAttribute('anio_id', $aAnio[$this->divi=
sion_id]);=20
             $this->getUser()->setAttribute('division_id', $this->divisio=
n_id);
         } else {
-            $this->aHour[] =3D strtotime("8:00");
-            $this->aHour[] =3D strtotime("17:00");
+            $this->aHour =3D array(strtotime("8:00"), strtotime("17:00")=
);
             $this->time_interval =3D 15;
         }
        =20




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