[Alba-desarrollo] SVN Alba r5224 - in prosistem/alba/trunk/alba:
apps/principal/modules/informes/lib doc/patchs
commits en pressenter.com.ar
commits en pressenter.com.ar
Mie Oct 17 22:08:48 CEST 2007
Author: josx
Date: 2007-10-17 17:08:48 -0300 (Wed, 17 Oct 2007)
New Revision: 5224
Added:
prosistem/alba/trunk/alba/doc/patchs/reemplazar_mktime_por_time.patch
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/informes/lib/tbs_clas=
s_php5.php
prosistem/alba/trunk/alba/doc/patchs/LEEME
Log:
Parche para el TBS por los strict estandar cambiando los mktime por time
Modified: prosistem/alba/trunk/alba/apps/principal/modules/informes/lib/t=
bs_class_php5.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/informes/lib/tbs_cla=
ss_php5.php 2007-10-17 19:36:26 UTC (rev 5223)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/lib/tbs_cla=
ss_php5.php 2007-10-17 20:08:48 UTC (rev 5224)
@@ -1842,7 +1842,7 @@
$SubStart =3D false;
if (isset($Loc->SubLst[1])) {
switch ($Loc->SubLst[1]) {
- case 'now': $x =3D mktime(); break;
+ case 'now': $x =3D time(); break;
case 'version': $x =3D $this->Version; break;
case 'script_name': $x =3D basename(((isset($_SERVER)) ? $_SERVER['PHP=
_SELF'] : $GLOBALS['HTTP_SERVER_VARS']['PHP_SELF'] )); break;
case 'template_name': $x =3D $this->_LastFile; break;
@@ -2800,8 +2800,8 @@
$CheckChr =3D false;
if (($Chr=3D=3D=3D' ') or ($Chr=3D=3D=3D"\r") or ($Chr=3D=3D=3D"\n")=
) {
if ($Status=3D=3D=3D1) {
- $Status =3D 2;
- $PosNend =3D $Pos;
+ $Status =3D 2;
+ $PosNend =3D $Pos;
} elseif ($HtmlTag and ($Status=3D=3D=3D4)) {
tbs_Locator_PrmCompute($Txt,$Loc,$SubName,$Status,$HtmlTag,$DelimC=
hr,$DelimCnt,$PosName,$PosNend,$PosVal,$Pos);
$Status =3D 0;
Modified: prosistem/alba/trunk/alba/doc/patchs/LEEME
=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/doc/patchs/LEEME 2007-10-17 19:36:26 UTC (r=
ev 5223)
+++ prosistem/alba/trunk/alba/doc/patchs/LEEME 2007-10-17 20:08:48 UTC (r=
ev 5224)
@@ -9,4 +9,7 @@
ver situacion en http://trac.symfony-project.com/trac/ticket/1776
=20
newMimeTypes.pacth
-ver situacion en http://trac.symfony-project.com/ticket/2362
\ No newline at end of file
+ver situacion en http://trac.symfony-project.com/ticket/2362
+
+reemplazar_mktime_por_time.patch=20
+Parche para el tbs (tiny but strong) 3.0
\ No newline at end of file
Added: prosistem/alba/trunk/alba/doc/patchs/reemplazar_mktime_por_time.pa=
tch
=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/doc/patchs/reemplazar_mktime_por_time.patch=
(rev 0)
+++ prosistem/alba/trunk/alba/doc/patchs/reemplazar_mktime_por_time.patch=
2007-10-17 20:08:48 UTC (rev 5224)
@@ -0,0 +1,24 @@
+Index: lib/tbs_class_php5.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
+--- lib/tbs_class_php5.php (revision 5219)
++++ lib/tbs_class_php5.php (working copy)
+@@ -1842,7 +1842,7 @@
+ $SubStart =3D false;
+ if (isset($Loc->SubLst[1])) {
+ switch ($Loc->SubLst[1]) {
+- case 'now': $x =3D mktime(); break;
++ case 'now': $x =3D time(); break;
+ case 'version': $x =3D $this->Version; break;
+ case 'script_name': $x =3D basename(((isset($_SERVER)) ? $_SERVER['PH=
P_SELF'] : $GLOBALS['HTTP_SERVER_VARS']['PHP_SELF'] )); break;
+ case 'template_name': $x =3D $this->_LastFile; break;
+@@ -2800,8 +2800,8 @@
+ $CheckChr =3D false;
+ if (($Chr=3D=3D=3D' ') or ($Chr=3D=3D=3D"\r") or ($Chr=3D=3D=3D"\n"=
)) {
+ if ($Status=3D=3D=3D1) {
+- $Status =3D 2;
+- $PosNend =3D $Pos;
++ $Status =3D 2;
++ $PosNend =3D $Pos;
+ } elseif ($HtmlTag and ($Status=3D=3D=3D4)) {
+ tbs_Locator_PrmCompute($Txt,$Loc,$SubName,$Status,$HtmlTag,$Delim=
Chr,$DelimCnt,$PosName,$PosNend,$PosVal,$Pos);
+ $Status =3D 0;
--=20
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est=E1 limpio.
For all your IT requirements visit: http://www.transtec.co.uk
Más información sobre la lista de distribución Alba-desarrollo