]> git.llucax.com Git - z.facultad/75.43/tp1.git/blobdiff - src/lib/pagina.php
Bugfixing:
[z.facultad/75.43/tp1.git] / src / lib / pagina.php
index 883aa6380bf681469887add06de43a6529749679..c0e23ab63fb14628d74473245c178dbaef5b1929 100644 (file)
@@ -85,11 +85,18 @@ function menu_cabecera($titulo = '')
                         <li><a href="faq.ingresarPregunta.php">Ingresar Pregunta</a></li>
                     </ul>
                 </li>
-                <li>
-                    <h3>Sitios</h3>
+                               <li>
+                    <h3>Info</h3>
                     <ul>
-                        <li><a href="">Algo</a></li>
-                        <li><a href="">Otro</a></li>
+                                               <?php if ($_SESSION['user']->esAdmin()) { ?>
+                                                       <li><a href="info.ingresarTemas.php">Ingresar Tema</a></li>     
+                                               <?php } ?>
+                                               <?php if (!($_SESSION['user']->esAdmin())) { ?>
+                        <li><a href="info.ingresarInfo.php">Ingresar Info</a></li>
+                                               <?php } ?>
+                                               <li><a href="info.listarTemas.php">Listar Temas</a></li>
+                                               <li><a href="info.listarInfo.php">Listar Informacion</a></li>
+                                               <li><a href="info.mencionEspecial.php">MenciĆ³n Especial</a></li>
                     </ul>
                 </li>
                 <?php if ($_SESSION['user']->esAdmin()) { ?>