[Alba-desarrollo] SVN Alba r5071 - in prosistem/alba/trunk/alba: apps/principal/templates doc/manual

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Sep 5 23:00:57 CEST 2007


Author: josx
Date: 2007-09-05 18:00:56 -0300 (Wed, 05 Sep 2007)
New Revision: 5071

Modified:
   prosistem/alba/trunk/alba/apps/principal/templates/menu.php
   prosistem/alba/trunk/alba/doc/manual/Makefile
Log:
Agregue modificaciones al make para generar htmls desde docbook a un directorio particula web/manual que luego sera accedido desde el sistema. Ademas modifique el menu para que el indice de ayuda apunte al manual

Modified: prosistem/alba/trunk/alba/apps/principal/templates/menu.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/templates/menu.php	2007-09-05 20:58:19 UTC (rev 5070)
+++ prosistem/alba/trunk/alba/apps/principal/templates/menu.php	2007-09-05 21:00:56 UTC (rev 5071)
@@ -143,14 +143,13 @@
         </li>
 	    <li><span></span><a href="#">Ayuda</a>
             <ul>
-	            <li><span></span><?php echo link_to("Indice...","ayuda")?></li>
+	            <li><span></span><?php echo link_to("Indice...", "http://".sfContext::getInstance()->getRequest()->getHost().sfContext::getInstance()->getRequest()->getRelativeUrlRoot()."/manual/index.html", 'target=_blank')?></li>
 	            <li><span></span><?php echo link_to("Cr&eacute;ditos","creditos")?></li>
             </ul>
         </li>
 	    <li><span></span><?php echo link_to("Salir","seguridad/logout")?></li>
     </ul>
 </div>
-
 <SCRIPT LANGUAGE="JavaScript">                                                                                   
 <!--                                                                                                             
 cmDrawFromText ('menu', 'hbr', cm<?php echo sfConfig::get("app_alba_menutheme")?>, '<?php echo sfConfig::get("app_alba_menutheme")?>');                                      

Modified: prosistem/alba/trunk/alba/doc/manual/Makefile
===================================================================
--- prosistem/alba/trunk/alba/doc/manual/Makefile	2007-09-05 20:58:19 UTC (rev 5070)
+++ prosistem/alba/trunk/alba/doc/manual/Makefile	2007-09-05 21:00:56 UTC (rev 5071)
@@ -1,4 +1,4 @@
-all: pdf 
+all: pdf htmls
 
 pdf:
 	mkdir -p out/pdf
@@ -14,9 +14,8 @@
 	docbook2txt -V charset=utf-8 xml/manual.xml
 	mv manual.txt out/txt/
 htmls:
-	mkdir -p out/htmls
 	docbook2html xml/manual.xml
-	mv *.html out/htmls/
+	mv *.html ../../web/manual/
 
 clean:
 	rm -rf out




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