[Alba-desarrollo] SVN Alba r6221 - in prosistem/alba/trunk/alba: apps/principal/modules/boletin/templates lib/model plugins/albaToolsPlugin/modules/albaTools/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Mar Jun 2 00:34:27 CEST 2009


Author: josx
Date: 2009-06-01 19:34:27 -0300 (Mon, 01 Jun 2009)
New Revision: 6221

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php
   prosistem/alba/trunk/alba/lib/model/Alumno.php
   prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php
Log:
Agregando con plugin de palabras a imagen, imagenes en boletin

Modified: prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php	2009-06-01 22:27:15 UTC (rev 6220)
+++ prosistem/alba/trunk/alba/apps/principal/modules/boletin/templates/mostrarSuccess.php	2009-06-01 22:34:27 UTC (rev 6221)
@@ -1,3 +1,4 @@
+<?php use_helper("AlbaTools")?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
@@ -63,17 +64,17 @@
     <tr>
 <td></td>
       <?php foreach($optionsActividad as $actividad) { ?> 
-      <td><div class="etiquetas"><?php echo $actividad?></div></td>
+      <td><div class="etiquetas"><?php echo text2img($actividad);?></div></td>
       <?php } ?>
 
       <?php foreach($optionsConcepto as $concepto) { ?> 
-      <td><div class="etiquetas"><?php echo $concepto?></div></td>
+      <td><div class="etiquetas"><?php echo text2img($concepto);?></div></td>
       <?php } ?>
 
 <?php 
         if(count($aAsistencia)>0) { 
             foreach( current($aAsistencia) as $grupo => $valor) { ?> 
-      <td><div class="etiquetas"><?php echo $grupo?></div></td>
+      <td><div class="etiquetas"><?php echo text2img($grupo);?></div></td>
       <?php
             }
         } ?>

Modified: prosistem/alba/trunk/alba/lib/model/Alumno.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/Alumno.php	2009-06-01 22:27:15 UTC (rev 6220)
+++ prosistem/alba/trunk/alba/lib/model/Alumno.php	2009-06-01 22:34:27 UTC (rev 6221)
@@ -127,8 +127,8 @@
         }
         if($rsValor) {
             while($res = $rsValor->fetch()) {
-                // indice: nombre del Grupo, contenido: sumatoria de valor
-                $aAsistencia[$res[0]] = $res[1];
+               // indice: nombre del Grupo, contenido: sumatoria de valor
+              $aAsistencia[$res[0]] = $res[1];
             }
         }
 

Modified: prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php	2009-06-01 22:27:15 UTC (rev 6220)
+++ prosistem/alba/trunk/alba/plugins/albaToolsPlugin/modules/albaTools/actions/actions.class.php	2009-06-01 22:34:27 UTC (rev 6221)
@@ -11,7 +11,7 @@
     	//fuente por defecto
     	$this->font = 2;
     	//obtengo el texto
-    	$texto = $request->getParameter('texto', 'null');
+    	$texto = utf8_decode($request->getParameter('texto', 'null'));
 		//seteo el header
         header("Content-type: image/png");
 
@@ -37,4 +37,4 @@
     }
 
 }
-?>
\ No newline at end of file
+?>




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