forked from qwerty/milfs
organizando cerrado automático al hacer click en el menu_milfs
This commit is contained in:
parent
3706a62db6
commit
b45da7a15d
@ -12522,7 +12522,7 @@ function configuracion($accion) {
|
||||
$div='contenido';
|
||||
|
||||
if($accion =='') {
|
||||
$link ="<a title='Configuración' href='#' onclick=\"xajax_configuracion('mostrar') \"><i class='glyphicon glyphicon-cog'></i></a>";
|
||||
$link ="<a data-toggle='collapse' data-target='.navbar-collapse' title='Configuración' href='#' onclick=\"xajax_configuracion('mostrar') \"><i class='glyphicon glyphicon-cog'></i></a>";
|
||||
|
||||
return $link;
|
||||
}elseif($accion=='mostrar') {
|
||||
@ -15270,7 +15270,7 @@ return $respuesta;
|
||||
if(isset($_SESSION['id_empresa'])) {$id_empresa= $_SESSION['id_empresa'];} if($div==''){
|
||||
$div = "contenido";
|
||||
if(isset($_SESSION['grupo_formularios'])) { $sesion_grupo_formularios = $_SESSION['grupo_formularios'];}else { $sesion_grupo_formularios = "";}
|
||||
$resultado = "<li id='link_formulario'><a href='#' onclick=\"xajax_formulario_listado('$sesion_grupo_formularios','$div',''); \"><i class='glyphicon glyphicon-list'></i> Formularios</a></li> ";
|
||||
$resultado = "<li data-toggle='collapse' data-target='.navbar-collapse' id='link_formulario'><a href='#' onclick=\"xajax_formulario_listado('$sesion_grupo_formularios','$div',''); \"><i class='glyphicon glyphicon-list'></i> Formularios</a></li> ";
|
||||
|
||||
return $resultado;;
|
||||
}
|
||||
@ -17725,20 +17725,20 @@ function milfs(){
|
||||
$login = login_boton('');
|
||||
$usuarios = "
|
||||
<li>
|
||||
<a title='agregar usuarios' class='btn link pull-left' onclick=\"xajax_registro_express(xajax.getFormValues('login'),'nuevo');\">
|
||||
<a data-toggle='collapse' data-target='.navbar-collapse' title='agregar usuarios' class='btn link pull-left' onclick=\"xajax_registro_express(xajax.getFormValues('login'),'nuevo');\">
|
||||
<i class='glyphicon glyphicon-user'></i> Gestión de usuarios</a>
|
||||
</li>";
|
||||
$menu =
|
||||
" <!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class='collapse navbar-collapse' id='bs-example-navbar-collapse-1'>
|
||||
<div class='collapse navbar-collapse' id='.navbar-collapse'>
|
||||
<ul class='nav navbar-nav' id='menu_milfs'>
|
||||
|
||||
<li><a href='https://$url_home' target='web'><i class='glyphicon glyphicon-home'></i></a></li>
|
||||
<li>$crear_campos</li>
|
||||
<li><a href='https://$url_home' data-toggle='collapse' data-target='.navbar-collapse' target='web'><i class='glyphicon glyphicon-home'></i></a></li>
|
||||
<li data-toggle='collapse' data-target='.navbar-collapse'>$crear_campos</li>
|
||||
|
||||
$listado
|
||||
$usuarios
|
||||
<li >$configuracion</li>
|
||||
<li style='float: right;'>$configuracion</li>
|
||||
|
||||
</ul>
|
||||
<ul class='nav navbar-nav navbar-right'>
|
||||
|
@ -203,7 +203,7 @@ else{}
|
||||
<div class="container-fluid">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">MILFS</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
Loading…
Reference in New Issue
Block a user