[Alba-desarrollo] SVN Alba r4105 - in prosistem/alba/trunk/alba/apps/principal: config templates

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Ene 29 20:38:15 CET 2007


Author: josx
Date: 2007-01-29 16:37:54 -0300 (Mon, 29 Jan 2007)
New Revision: 4105

Modified:
   prosistem/alba/trunk/alba/apps/principal/config/view.yml
   prosistem/alba/trunk/alba/apps/principal/templates/layout.php
   prosistem/alba/trunk/alba/apps/principal/templates/menu.php
Log:
Se sumo a la vista de impresion para todas las pantallas los css (igual n=
o se si sirve para algo ya que no salen en la impresion)=20

Modified: prosistem/alba/trunk/alba/apps/principal/config/view.yml
=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/config/view.yml	2007-01-29 1=
9:12:13 UTC (rev 4104)
+++ prosistem/alba/trunk/alba/apps/principal/config/view.yml	2007-01-29 1=
9:37:54 UTC (rev 4105)
@@ -5,7 +5,7 @@
   metas:
     title:        Proyecto ALBA
     robots:       index, follow
-    description:  Proyecto de Gesti=F3n Educativa ALBA
+    description:  Proyecto de Gesti=C3=B3n Educativa ALBA
     keywords:     alba, proyecto, software libre, educacion
     language:     es
=20

Modified: prosistem/alba/trunk/alba/apps/principal/templates/layout.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/templates/layout.php	2007-01=
-29 19:12:13 UTC (rev 4104)
+++ prosistem/alba/trunk/alba/apps/principal/templates/layout.php	2007-01=
-29 19:37:54 UTC (rev 4105)
@@ -3,15 +3,24 @@
      $vista=3D"";
 }
=20
-if($vista =3D=3D "noMuestraMenu") {=20
-echo $content;
-} else { ?>
=20
+switch($vista) {
+
+    case 'noMuestraMenu': echo $content; break;
+    case 'imprimir':   =20
+                        echo include_http_metas();
+                        echo include_metas();
+?><link rel=3D"stylesheet" type=3D"text/css" media=3D"screen" href=3D"/~=
josx/alba/sf/css/sf_web_debug/main.css" />
+<link rel=3D"stylesheet" type=3D"text/css" media=3D"screen" href=3D"/~jo=
sx/alba/sf/css/sf_admin/main.css" />
+<link rel=3D"stylesheet" type=3D"text/css" media=3D"screen" href=3D"/~jo=
sx/alba/css/main.css" /><?
+                        echo $content;
+                        break;
+    default:   ?>
+
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://w=
ww.w3.org/TR/2000/REC-xhtml1-200000126/DTD/xhtml1-transitional.dtd">
 <html xmlns=3D"http://www.w3.org/1999/xhtml" xml:lang=3D"en" lang=3D"en"=
>
 <head>
=20
-
 <?php echo include_http_metas() ?>
 <?php echo include_metas() ?>
 <?php echo include_title() ?>
@@ -50,9 +59,8 @@
     background-image: url(<?=3DsfContext::getInstance()->getRequest()->g=
etRelativeUrlRoot()."/images/gui/fder.png"?>);
 }
 </style>
+</head>
=20
-
-</head>
 <body>
     <table width=3D"100%" border=3D"0" cellpadding=3D"0" cellspacing=3D"=
0">
         <tr valign=3D"top">=20
@@ -107,7 +115,7 @@
           ?>
             <div id=3D"menu" align=3D"right">
                 <?  $uri =3D sfRouting::getInstance()->getCurrentInterna=
lUri();
-                    $vista_var =3D "vista=3DnoMuestraMenu";
+                    $vista_var =3D "vista=3Dimprimir";
                     $separador =3D (strstr($uri,'?'))?'&':'?';
                     $vista_var =3D $separador.$vista_var;
                     echo link_to(image_tag(sfContext::getInstance()->get=
Request()->getRelativeUrlRoot().'/images/small/print.png'),$uri.$vista_va=
r,'popup=3Dtrue');
@@ -147,4 +155,5 @@
 </body>
 <? echo javascript_include_tag('varios/wz_tooltip.js'); ?>
 </html>
+
 <?}?>
\ No newline at end of file

Modified: prosistem/alba/trunk/alba/apps/principal/templates/menu.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/templates/menu.php	2007-01-2=
9 19:12:13 UTC (rev 4104)
+++ prosistem/alba/trunk/alba/apps/principal/templates/menu.php	2007-01-2=
9 19:37:54 UTC (rev 4105)
@@ -22,8 +22,8 @@
  * menu
  *
  * @package    alba
- * @author     Jos=E9 Luis Di Biase <josx en interorganic.com.ar>
- * @author     H=E9ctor Sanchez <hsanchez en pressenter.com.ar>
+ * @author     Jos=C3=A9 Luis Di Biase <josx en interorganic.com.ar>
+ * @author     H=C3=A9ctor Sanchez <hsanchez en pressenter.com.ar>
  * @author     Fernando Toledo <ftoledo en pressenter.com.ar>
  * @version    SVN: $Id$
  * @filesource




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