summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/idiomas/php/esp/clases/Almanaque_esp.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/idiomas/php/esp/clases/Almanaque_esp.php')
-rw-r--r--admin/WebConsole/idiomas/php/esp/clases/Almanaque_esp.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/WebConsole/idiomas/php/esp/clases/Almanaque_esp.php b/admin/WebConsole/idiomas/php/esp/clases/Almanaque_esp.php
index 54a33fe8..a13aa14d 100644
--- a/admin/WebConsole/idiomas/php/esp/clases/Almanaque_esp.php
+++ b/admin/WebConsole/idiomas/php/esp/clases/Almanaque_esp.php
@@ -23,8 +23,10 @@ class Almanaque{
var $dias_meses=array();
var $semanas=array();
var $numero_annos=array();
+ var $numero_dias=array();
+ var $numero_horas=array();
- function Almanaque($pclase="",$ponmouseover="sobre(this)",$ponmouseout="fuera(this)",$ponclick="clic(this)"){ //Constructor
+ function __construct($pclase="", $ponmouseover="sobre(this)", $ponmouseout="fuera(this)", $ponclick="clic(this)"){ //Constructor
$this->clase=$pclase;
$this->onmouseover=$ponmouseover;
$this->onmouseout=$ponmouseout;
@@ -188,7 +190,7 @@ class Almanaque{
$HTML_calendario.='<TR>'.chr(13);
$HTML_calendario.='<TH style="cursor:pointer" onclick="TH_'.$this->onclick.'">Años</TH></TR>'.chr(13); // Literal años
for ($i=$ano_desde; $i<=$ano_hasta; $i++){
- $HTML_calendario.='<TR><TD align="center" id="'.$i.'"
+ $HTML_calendario.='<TR><TD align="center" id="'.$i.'"
value="'.$this->numero_annos[$i].'" style="cursor:pointer"
onmouseover="'.$this->onmouseover.'" onmouseout="'.$this->onmouseout.'"
onclick="'.$this->onclick.'">'.$i.'</TD></TR>'.chr(13);