[Alba-desarrollo] SVN Alba r6158 - in prosistem/alba/trunk/alba/apps/principal: modules/creditos/templates templates

commits en pressenter.com.ar commits en pressenter.com.ar
Mar Mayo 5 02:41:27 CEST 2009


Author: ftoledo
Date: 2009-05-04 21:41:26 -0300 (Mon, 04 May 2009)
New Revision: 6158

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/creditos/templates/indexSuccess.php
   prosistem/alba/trunk/alba/apps/principal/templates/layout.php
   prosistem/alba/trunk/alba/apps/principal/templates/menu.php
Log:
fix menu (opciones de modulo y permisos no estan mas)


Modified: prosistem/alba/trunk/alba/apps/principal/modules/creditos/templates/indexSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/creditos/templates/indexSuccess.php	2009-05-05 00:21:09 UTC (rev 6157)
+++ prosistem/alba/trunk/alba/apps/principal/modules/creditos/templates/indexSuccess.php	2009-05-05 00:41:26 UTC (rev 6158)
@@ -1,11 +1,11 @@
 <style>
 
-h2 { 
-    font: bold 140% Arial, Sans-Serif; 
-    letter-spacing: -1px; 
+h2 {
+    font: bold 140% Arial, Sans-Serif;
+    letter-spacing: -1px;
     margin: 0 0 2px 0;
-    padding: 0; 
-    color: #494949; 
+    padding: 0;
+    color: #494949;
 }
 
 h3.spip {
@@ -19,7 +19,7 @@
 }
 
 
-p { 
+p {
     margin: 0 0 5px 0;
     padding: 0;
 }
@@ -35,19 +35,19 @@
 
 /* content */
 
-.content { 
+.content {
     margin: 20px auto;
-    width: 760px; 
+    width: 760px;
     background: #fff;
     color: #565656;
 }
 
 /* lists styling */
 
-ul { 
-    margin: 0; 
-    padding : 0; 
-    list-style : none; 
+ul {
+    margin: 0;
+    padding : 0;
+    list-style : none;
 }
 
 .chapo, .articleContent, p.spip {
@@ -328,4 +328,4 @@
 <p class="spip"><a href="#top" class="spip_in">regresar al listado</a></p>
 
 <hr class="spip" />
-</div>
\ No newline at end of file
+</div>

Modified: prosistem/alba/trunk/alba/apps/principal/templates/layout.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/templates/layout.php	2009-05-05 00:21:09 UTC (rev 6157)
+++ prosistem/alba/trunk/alba/apps/principal/templates/layout.php	2009-05-05 00:41:26 UTC (rev 6158)
@@ -12,9 +12,9 @@
     </head>
     <body>
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
-            <tr valign="top"> 
+            <tr valign="top">
                 <td colspan="2" class="fmedio">
-            <div id="logo"> 
+            <div id="logo">
                 <table cellpadding="0" cellspacing="0" width="100%">
                     <tr>
                         <td class="fmedio"><?php echo image_tag("gui/index_1x1.png", array ( 'width' => '758' , 'heigth' => '77' ) )?></td>
@@ -53,7 +53,7 @@
                 </td>
                 <td id="marco_derecha"><?php echo image_tag("gui/index_1x2.png", array ( 'width' => '17' , 'heigth' => '77' ) )?></td>
             </tr>
-            <tr valign="top"> 
+            <tr valign="top">
                 <td class="fizq-menu" width="1%">&nbsp;</td>
                 <td colspan="1" class="fmenu"><?php
                     if($sf_user->isAuthenticated() == true)  {
@@ -66,11 +66,11 @@
                 </td>
                 <td id="marco_derecha"><?php echo image_tag("gui/index_2x2.png", array ( 'width' => '17' , 'heigth' => '35' ) )?></td>
             </tr>
-            <tr valign="top"> 
+            <tr valign="top">
                 <td width="33" class="fizq">&nbsp;</td>
                 <td width="959">
                     <div id="cabecera" align="center">
-                    <?php 
+                    <?php
                         if($sf_user->isAuthenticated() != true)  {
                             if ($sf_params->get('module') != 'seguridad' && $sf_params->get('action') !='login') {
                                include_partial('seguridad/login', array('sf_params' => $sf_params, 'error_inicio_sesion' => @$error_inicio_sesion));
@@ -98,7 +98,7 @@
                 </td>
                 <td width="17" class="fder">&nbsp;</td>
             </tr>
-            <tr id="marco_pie" valign="top"> 
+            <tr id="marco_pie" valign="top">
                 <td><?php echo image_tag("gui/index3_5x1.png", array ( 'width' => '33' , 'heigth' => '22' ) )?></td>
                 <td class="fdown">&nbsp;</td>
                 <td><?php echo image_tag("gui/index3_5x3.png", array ( 'width' => '17' , 'heigth' => '20' ) )?></td>

Modified: prosistem/alba/trunk/alba/apps/principal/templates/menu.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/templates/menu.php	2009-05-05 00:21:09 UTC (rev 6157)
+++ prosistem/alba/trunk/alba/apps/principal/templates/menu.php	2009-05-05 00:41:26 UTC (rev 6158)
@@ -1,171 +1,155 @@
-<script>                                                                                                         
+<script>
 	var my<?php echo sfConfig::get("app_alba_menutheme")?>Base = "<?php echo sfContext::getInstance()->getRequest()->getRelativeUrlRoot() . '/js/jsmenu/themes/' .sfConfig::get("app_alba_menutheme"). '/'?>";
-</script>                                                                                                        
+</script>
 <script src="<?php echo sfContext::getInstance()->getRequest()->getRelativeUrlRoot() . '/js/jsmenu/themes/'.sfConfig::get("app_alba_menutheme").'/theme.js'?>">
 </script>
 
 <div id="menu" align="center">
 	<ul>
-	    <li><span></span><a href="#">Administraci&oacute;n</a>
+    <li><span></span><a href="#">Administraci&oacute;n</a>
+        <ul>
+          <li><span></span><a href="#">General</a>
+              <ul>
+                <li><span></span><?php echo link_to("Definir Organizaci&oacute;n","organizacion/edit?id=1")?></li>
+                <li><span></span><?php echo link_to("Definir Establecimiento","establecimiento/index")?></li>
+              </ul>
+          </li>
+          <li><span></span><a href="#">Configuraciones Previas</a>
             <ul>
-	            <li><span></span><a href="#">General</a>
-                    <ul>
-	                    <li><span></span><?php echo link_to("Definir Organizaci&oacute;n","organizacion/edit?id=1")?></li>
-	                    <li><span></span><?php echo link_to("Definir Establecimiento","establecimiento/index")?></li>
-                    </ul>
-                </li>
-	            <li><span></span><a href="#">Configuraciones Previas</a>
-                    <ul>
-	                    <li><span></span><a href="#">Generales</a>
-                            <ul>
-	                            <li><span></span><?php echo link_to("Definir Pa&iacute;ses","pais/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir Provincias",'provincia/index')?></li>
-	                            <li><span></span><?php echo link_to("Definir Distritos Escolares","distritoescolar/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir Categor&iacute;a de IVA","tipoiva/index")?></li>
-	                            <li><span></span><?php echo link_to("Tipo Documento","tipodocumento/index")?></li>
-	                            <li><span></span><?php echo link_to("Tipo Nivel","tiponivel/index")?></li>
-                            </ul>
-                        </li>
-	                    <li><span></span><a href="#">Alumnos</a>
-                            <ul>
-                                <li><span></span><?php echo link_to("Definir Roles de responsables","rolResponsable/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir tipo de bajas","conceptobaja/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir tipo de asistencia","tipoasistencia/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir Escala de notas","escalanota/index")?></li>
-	                            <li><span></span><?php echo link_to("Tipos de entrada al legajo pedag&oacute;gico","legajocategoria/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir Categor&iacute;as del Bolet&iacute;n de Concepto","concepto/index")?></li>
-                            </ul>
-                        </li>
-	                    <li><span></span><a href="#">Docentes</a>
-                            <ul>
-	                            <li><span></span><?php echo link_to("Tipos de docentes",'tipodocente/index')?></li>
-	                            <li><span></span><?php echo link_to("Motivos de baja", "cargobaja/index")?></li>
-                            </ul>
-                        </li>
-	                    <li><span></span><a href="#">Calendarios y Horarios</a>
-                            <ul>
-	                            <li><span></span><?php echo link_to("Definir Ciclos Lectivos","ciclolectivo/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir Períodos","ciclolectivo/agregarTurnosYPeriodos/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir turnos","turno/index")?></li>
-	                            <li><span></span><?php echo link_to("Tipos de intevalos de horario escolar","horarioescolartipo/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir feriados del a&ntilde;o","feriado/index")?></li>
-	                            <li><span></span><?php echo link_to("Calendario de vacunas","calendariovacunacion/index")?></li>
-                            </ul>
-                        </li>
-	                    <li><span></span><a href="#">Gesti&oacute;n de Espacios</a>
-                            <ul>
-	                            <li><span></span><?php echo link_to("Definir tipos de Locaciones","tipolocacion/index")?></li>
-	                            <li><span></span><?php echo link_to("Definir tipos de Espacios","tipoespacio/index")?></li>
-                            </ul>
-                        </li>
-                    </ul>
-                </li>
-<!--	            <li><span></span><?php echo link_to("Preferencias Generales","preferencia/index")?></li> -->
-	            <li><span></span><a href="#">Seguridad</a>
-                    <ul>
-	                    <li><span></span><?php echo link_to("Usuario","usuario/index")?></li>
-	                    <li><span></span><?php echo link_to("Rol","rol/index")?></li>
-	                    <li><span></span><?php echo link_to("Permiso","permiso/index")?></li>
-	                    <li><span></span><?php echo link_to("M&oacute;dulo","modulo/index")?></li>
-                    </ul>
-                </li>
+              <li><span></span><a href="#">Generales</a>
+                <ul>
+                  <li><span></span><?php echo link_to("Definir Pa&iacute;ses","pais/index")?></li>
+                  <li><span></span><?php echo link_to("Definir Provincias",'provincia/index')?></li>
+                  <li><span></span><?php echo link_to("Definir Distritos Escolares","distritoescolar/index")?></li>
+                  <li><span></span><?php echo link_to("Definir Categor&iacute;a de IVA","tipoiva/index")?></li>
+                  <li><span></span><?php echo link_to("Tipo Documento","tipodocumento/index")?></li>
+                  <li><span></span><?php echo link_to("Tipo Nivel","tiponivel/index")?></li>
+                </ul>
+              </li>
+              <li><span></span><a href="#">Alumnos</a>
+                <ul>
+                  <li><span></span><?php echo link_to("Definir Roles de responsables","rolResponsable/index")?></li>
+                  <li><span></span><?php echo link_to("Definir tipo de bajas","conceptobaja/index")?></li>
+                  <li><span></span><?php echo link_to("Definir tipo de asistencia","tipoasistencia/index")?></li>
+                  <li><span></span><?php echo link_to("Definir Escala de notas","escalanota/index")?></li>
+                  <li><span></span><?php echo link_to("Tipos de entrada al legajo pedag&oacute;gico","legajocategoria/index")?></li>
+                  <li><span></span><?php echo link_to("Definir Categor&iacute;as del Bolet&iacute;n de Concepto","concepto/index")?></li>
+                </ul>
+              </li>
+              <li><span></span><a href="#">Docentes</a>
+                <ul>
+                  <li><span></span><?php echo link_to("Tipos de docentes",'tipodocente/index')?></li>
+                  <li><span></span><?php echo link_to("Motivos de baja", "cargobaja/index")?></li>
+                </ul>
+              </li>
+              <li><span></span><a href="#">Calendarios y Horarios</a>
+                <ul>
+                  <li><span></span><?php echo link_to("Definir Ciclos Lectivos","ciclolectivo/index")?></li>
+                  <li><span></span><?php echo link_to("Definir Períodos","ciclolectivo/agregarTurnosYPeriodos/index")?></li>
+                  <li><span></span><?php echo link_to("Definir turnos","turno/index")?></li>
+                  <li><span></span><?php echo link_to("Tipos de intevalos de horario escolar","horarioescolartipo/index")?></li>
+                  <li><span></span><?php echo link_to("Definir feriados del a&ntilde;o","feriado/index")?></li>
+                  <li><span></span><?php echo link_to("Calendario de vacunas","calendariovacunacion/index")?></li>
+                </ul>
+              </li>
+              <li><span></span><a href="#">Gesti&oacute;n de Espacios</a>
+                <ul>
+                  <li><span></span><?php echo link_to("Definir tipos de Locaciones","tipolocacion/index")?></li>
+                  <li><span></span><?php echo link_to("Definir tipos de Espacios","tipoespacio/index")?></li>
+                </ul>
+              </li>
             </ul>
-        </li>
-	    <li><span></span><a href="#">Cuentas</a>
+          </li>
+          <li><span></span><a href="#">Seguridad</a>
             <ul>
-	            <li><span></span><?php echo link_to("Administrar","cuenta/index")?></li>
-	            <li><span></span><?php echo link_to("Listar Responsables","responsable/index")?></li>
+              <li><span></span><?php echo link_to("Usuarios","usuario/index")?></li>
+              <li><span></span><?php echo link_to("Roles","rol/index")?></li>
             </ul>
+          </li>
+      </ul>
+    </li>
+    <li><span></span><a href="#">Cuentas</a>
+      <ul>
+        <li><span></span><?php echo link_to("Administrar","cuenta/index")?></li>
+        <li><span></span><?php echo link_to("Listar Responsables","responsable/index")?></li>
+      </ul>
+    </li>
+    <li><span></span><a href="#">Alumnos</a>
+      <ul>
+        <li><span></span><?php echo link_to("Ingresar Nuevo","alumno/create")?></li>
+        <li><span></span><?php echo link_to("Listar Todos","alumno/list")?></li>
+        <li><span></span><?php echo link_to("Buscar Alumno para...","legajopedagogico/index")?></li>
+        <li><span></span><?php echo link_to("Gestionar Asistencias","asistencia/index")?></li>
+        <li><span></span><a href="#">Cargar Boletines</a>
+          <ul>
+            <li><span></span><?php echo link_to("Concepto","boletin/listConcepto")?></li>
+            <li><span></span><?php echo link_to("Notas","boletin/list")?></li>
+          </ul>
         </li>
-	    <li><span></span><a href="#">Alumnos</a>
-            <ul>
-	            <li><span></span><?php echo link_to("Ingresar Nuevo","alumno/create")?></li>
-	            <li><span></span><?php echo link_to("Listar Todos","alumno/list")?></li>
-	            <li><span></span><?php echo link_to("Buscar Alumno para...","legajopedagogico/index")?></li>
-	            <li><span></span><?php echo link_to("Gestionar Asistencias","asistencia/index")?></li>
-	            <li><span></span><a href="#">Cargar Boletines</a>
-                    <ul>
-	                    <li><span></span><?php echo link_to("Concepto","boletin/listConcepto")?></li>
-	                    <li><span></span><?php echo link_to("Notas","boletin/list")?></li>
-                    </ul>
-
-
-                </li>
-            </ul>
+      </ul>
+    </li>
+    <li><span></span><a href="#">Docentes</a>
+      <ul>
+        <li><span></span><?php echo link_to("Administrar","docente/index")?></li>
+      </ul>
+    </li>
+    <li><span></span><a href="#">Gesti&oacute;n Escolar</a>
+      <ul>
+        <li><span></span><?php echo link_to("Definir Carrera","carrera/index")?></li>
+        <li><span></span><?php echo link_to("Definir Grados/A&ntilde;os","anio/index")?></li>
+        <li><span></span><?php echo link_to("Definir Orientaciones","orientacion/index")?></li>
+        <li><span></span><?php echo link_to("Definir Secciones/Divisiones","division/index")?></li>
+        <li><span></span><?php echo link_to("Asignar Alumno a Secci&oacute;n/Divisi&oacute;n","relAlumnoDivision/create")?></li>
+        <li><span></span><?php echo link_to("Ingresar Materias/Actividades","actividad/index")?></li>
+        <li><span></span><?php echo link_to("Listar Actividades por Grado/A&ntilde;o","relAnioActividad/index")?></li>
+      </ul>
+    </li>
+    <li><span></span><a href="#">Horarios</a>
+      <ul>
+        <li><span></span><?php echo link_to("Ir a Ciclo Lectivo Actual","ciclolectivo/agregarTurnosYPeriodos")?></li>
+        <li><span></span><a href="#">Gestionar Horario Escolar</a>
+          <ul>
+            <li><span></span><?php echo link_to("Definir horario de clases","horarioescolar/index")?></li>
+            <li><span></span><?php echo link_to("Generar Horario por secci&oacute;n/divisi&oacute;n","relDivisionActividadDocente/index")?></li>
+          </ul>
         </li>
-	    <li><span></span><a href="#">Docentes</a>
-            <ul>
-	            <li><span></span><?php echo link_to("Administrar","docente/index")?></li>
-            </ul>
+        <li><span></span><a href="#">Ver Horario seg&uacute;n:</a>
+          <ul>
+            <li><span></span><?php echo link_to("...docentes","calendario/busquedaDocente")?></li>
+            <li><span></span><?php echo link_to ("...secci&oacute;n/divisi&oacute;n","calendario/busquedaDivision")?></li>
+          </ul>
         </li>
-	    <li><span></span><a href="#">Gesti&oacute;n Escolar</a>
-            <ul>
-                <li><span></span><?php echo link_to("Definir Carrera","carrera/index")?></li>
-                <li><span></span><?php echo link_to("Definir Grados/A&ntilde;os","anio/index")?></li>
-                <li><span></span><?php echo link_to("Definir Orientaciones","orientacion/index")?></li>
-	            <li><span></span><?php echo link_to("Definir Secciones/Divisiones","division/index")?></li>
-	            <li><span></span><?php echo link_to("Asignar Alumno a Secci&oacute;n/Divisi&oacute;n","relAlumnoDivision/create")?></li>
-	            <li><span></span><?php echo link_to("Ingresar Materias/Actividades","actividad/index")?></li>
-	            <li><span></span><?php echo link_to("Listar Actividades por Grado/A&ntilde;o","relAnioActividad/index")?></li>
-            </ul>
-        </li>
-	    <li><span></span><a href="#">Horarios</a>
-            <ul>
-	            <li><span></span><?php echo link_to("Ir a Ciclo Lectivo Actual","ciclolectivo/agregarTurnosYPeriodos")?></li>
-	            <li><span></span><a href="#">Gestionar Horario Escolar</a>
-                    <ul>
-	                    <li><span></span><?php echo link_to("Definir horario de clases","horarioescolar/index")?></li>
-	                    <li><span></span><?php echo link_to("Generar Horario por secci&oacute;n/divisi&oacute;n","relDivisionActividadDocente/index")?></li>
-                    </ul>
-                </li>
-	            <li><span></span><a href="#">Ver Horario seg&uacute;n:</a>
-                    <ul>
-	                    <li><span></span><?php echo link_to("...docentes","calendario/busquedaDocente")?></li>
-	                    <li><span></span><?php echo link_to ("...secci&oacute;n/divisi&oacute;n","calendario/busquedaDivision")?></li>
-                    </ul>
-                </li>
-            </ul>
-        </li>
-	    <li><span></span><a href="#">Gesti&oacute;n de Espacios</a>
-            <ul>
-	            <li><span></span><?php echo link_to("Listar Locaciones","locacion/index")?></li>
-	            <li><span></span><?php echo link_to("Listar Espacios x Locaci&oacute;n","espacios/index")?></li>
-            </ul>
-        </li>
-	    <li><span></span><a href="#">Informes</a>
-            <ul>
-                <li><span></span><?php echo link_to("Listar informes","informes/index")?></li>
-<?php
-    $informes = InformePeer::doSelect(new Criteria());
-    foreach($informes as $informe) {
-?>
-    <li><span></span><?php echo link_to("- ".$informe->getNombre(),"informes/busqueda?id=".$informe->getId()) ?></li>
-<?php
-    }
-?>
-	            <li><span></span><?php echo link_to("Boletines","informes/boletinFormulario","target=_blank")?></li>
-            </ul>
-        </li>
-
-        <li><span></span><?php echo link_to("Archivos","sfMediaLibrary/index")?></li>
-
-	    <li><span></span><a href="#">Ayuda</a>
-            <ul>
-	            <li><span></span><?php echo link_to("Manual", "http://".sfContext::getInstance()->getRequest()->getHost().sfContext::getInstance()->getRequest()->getRelativeUrlRoot()."/manual/index.html", 'target=_blank')?></li>
-                <li><span></span><?php echo link_to("Ayuda v&iacute;a IRC","http://chat.proyectoalba.com.ar")?></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>
+      </ul>
+    </li>
+    <li><span></span><a href="#">Gesti&oacute;n de Espacios</a>
+      <ul>
+        <li><span></span><?php echo link_to("Listar Locaciones","locacion/index")?></li>
+        <li><span></span><?php echo link_to("Listar Espacios x Locaci&oacute;n","espacios/index")?></li>
+      </ul>
+    </li>
+    <li><span></span><a href="#">Informes</a>
+      <ul>
+        <li><span></span><?php echo link_to("Listar informes","informes/index")?></li>
+        <?php $informes = InformePeer::doSelect(new Criteria()); ?>
+        <?php foreach($informes as $informe): ?>
+          <li><span></span><?php echo link_to("- ".$informe->getNombre(),"informes/busqueda?id=".$informe->getId()) ?></li>
+        <?php endforeach;?>
+        <li><span></span><?php echo link_to("Boletines","informes/boletinFormulario","target=_blank")?></li>
+      </ul>
+    </li>
+    <li><span></span><?php echo link_to("Archivos","sfMediaLibrary/index")?></li>
+    <li><span></span><a href="#">Ayuda</a>
+      <ul>
+        <li><span></span><?php echo link_to("Manual", "http://".sfContext::getInstance()->getRequest()->getHost().sfContext::getInstance()->getRequest()->getRelativeUrlRoot()."/manual/index.html", 'target=_blank')?></li>
+          <li><span></span><?php echo link_to("Ayuda v&iacute;a IRC","http://chat.proyectoalba.com.ar")?></li>
+        <li><span></span><?php echo link_to("Cr&eacute;ditos","creditos/index")?></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")?>');                                      
--->                                                                                                              
-</SCRIPT> 
+<SCRIPT LANGUAGE="JavaScript">
+<!--
+cmDrawFromText ('menu', 'hbr', cm<?php echo sfConfig::get("app_alba_menutheme")?>, '<?php echo sfConfig::get("app_alba_menutheme")?>');
+-->
+</SCRIPT>




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