correccion vista favorita

This commit is contained in:
humano 2018-10-30 10:59:25 -05:00
parent 4029728e1f
commit a38f633d21
2 changed files with 50 additions and 21 deletions

View File

@ -1,8 +1,6 @@
<?php session_start();
if(isset($_REQUEST['debug'])) {
print_r( $_SESSION );
ini_set('display_errors', 'On');}
require ('milfs/xajax/xajax.inc.php');
//$xajax = new xajax();
$xajax = new xajax("");
@ -35,7 +33,7 @@ if(isset($_REQUEST['debug'])) {
<meta name='apple-mobile-web-app-capable' content='yes'/>
<meta name='apple-mobile-web-app-status-bar-style' content='black-translucent'/>
<!-- Chrome, Firefox OS y Opera -->
<link rel='stylesheet' href='./librerias/animate/animate.min.css'>
<script type="text/javascript">
window.addEventListener("load",function() {
setTimeout(function(){
@ -134,8 +132,10 @@ if ($v[0] =='e') {
$pagina_inicio_definida = remplacetas('form_parametrizacion','id_empresa',$v[1],'descripcion'," tabla='empresa' AND opcion='pagina_inicio'") ;
$vista_favorita = vista_favorita($pagina_inicio_definida[0]);
// $onload = "<script type=\"text/javascript\">window.location.href='$vista_favorita';</script> ";
if($vista_favorita[0] !=""){
$variable = $vista_favorita;//"e".$_REQUEST['empresa'];
}
}
}
$v = decodifica_parametro($variable);
@ -709,20 +709,30 @@ if('serviceWorker' in navigator) {
$footer="
<nav class='navbar navbar-inverse navbar-fixed-bottom'>
<nav class='navbar navbar-default navbar-fixed-bottom'>
<div class='container-fluid'>
<!-- Brand/logo -->
<div class='navbar-header'>
<button type='button' class='navbar-toggle collapsed' data-toggle='collapse' data-target='#example-1' aria-expanded='false'>
<span class='sr-only'>Toggle navigation</span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</button>
<a class='navbar-brand' href='#'></a>
</div>
<div id='navbar' class='' aria-expanded='false' style='height: 1px;'>
<ul class='nav navbar-nav center-block' style='
float:none;
margin:0 auto;
display: block;
text-align: center;'>
$acciones
</ul>
</div>
<!-- Collapsible Navbar -->
<div class='collapse navbar-collapse' id='example-1'>
<ul class='nav navbar-nav'>
</nav>";
$acciones
</ul>
</div>
</div>
</nav>";
@ -1412,7 +1422,13 @@ document.oncopy = addLink;
</head>
<body data-spy="scroll" data-target="#toc" onload="revisarSession()"; >
<?php
if(isset($_REQUEST['debug'])) {
print_r( $_SESSION );
print_r( $_REQUEST );
echo "$variable ($pagina_inicio_definida[2])";
ini_set('display_errors', 'On');}
?>
<?php
@ -1561,7 +1577,7 @@ echo $css_adicional;
<!-- </div> -->
<!-- Modal -->
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div class='modal fade animated bounceIn' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div id="modal_landing" class='modal-dialog modal-lg' >
<div class='modal-content'>
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'><i class='fa fa-times-circle'></i> </button>
@ -1723,7 +1739,7 @@ echo $css_adicional;
<?php echo $menu; ?>
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div class='modal fade animated bounceIn' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div <div id="modal_landing" class='modal-dialog modal-lg' >
<div class='modal-content'>
<div class='modal-header' >
@ -1805,6 +1821,7 @@ $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
<span class='input-group-addon'><a href='#' onclick="location.reload();" title='Renovar'> <i class='fa fa-refresh' aria-hidden='true'></i></a></span>
</div>
</form>
</body>
</html>

12
librerias/animate/animate.min.css vendored Normal file

File diff suppressed because one or more lines are too long