summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/varios
diff options
context:
space:
mode:
authoralonso <alonso@us.es>2009-11-18 11:45:25 +0000
committeralonso <alonso@us.es>2009-11-18 11:45:25 +0000
commit71e333d27012ca4011126a008ae0499e27e3099e (patch)
tree5b3e9012c58122c214043242c01f81cad7f13c4e /admin/WebConsole/varios
parentc904e40615eb37fa6ce1a594940a2350152c9ec8 (diff)
git-svn-id: https://opengnsys.es/svn/trunk@574 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/varios')
-rw-r--r--admin/WebConsole/varios/menucliente.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/WebConsole/varios/menucliente.php b/admin/WebConsole/varios/menucliente.php
index 36c3d626..fd8acf1f 100644
--- a/admin/WebConsole/varios/menucliente.php
+++ b/admin/WebConsole/varios/menucliente.php
@@ -31,7 +31,9 @@ $ITEMS_PUBLICOS=1;
$ITEMS_PRIVADOS=2;
if(!empty($rsmenu)){
- $codeHtml=GeneraMenu($rsmenu,$ITEMS_PUBLICOS,$iph); // Genera men pblico
+
+ $_SESSION["widcentro"]=$rsmenu->campos["idcentro"];
+ $codeHtml=GeneraMenu($rsmenu,$ITEMS_PUBLICOS,$iph); // Genera men pblico
echo $codeHtml;
}
else
@@ -46,7 +48,7 @@ else
//___________________________________________________________________________________________________
function RecuperaMenu($cmd,$iph){
$rs=new Recordset;
- $cmd->texto="SELECT menus.resolucion,menus.titulo,menus.coorx,menus.coory,menus.modalidad,
+ $cmd->texto="SELECT menus.idcentro,menus.resolucion,menus.titulo,menus.coorx,menus.coory,menus.modalidad,
menus.scoorx,menus.scoory,menus.smodalidad,menus.htmlmenupub,menus.htmlmenupri,
acciones_menus.tipoaccion,acciones_menus.idaccionmenu,acciones_menus.idtipoaccion,
acciones_menus.tipoitem,acciones_menus.descripitem,iconos.urlicono