forked from qwerty/tupali
manejo de tiempo de session
This commit is contained in:
parent
4e4f895acb
commit
ca568d38db
21
index.php
21
index.php
@ -1140,7 +1140,16 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
|
||||
|
||||
;}
|
||||
|
||||
|
||||
if(isset($_SESSION['id'])){
|
||||
$form_tiempo_session = "
|
||||
<li>
|
||||
<form name='form_session' class='navbar-form navbar-left'>
|
||||
<div class='input-group'>
|
||||
<input type='text' name='tiempo_session' size='30' class='form-control input-sm' readonly>
|
||||
<span class='input-group-addon'><a href='#' onclick=\"location.reload();\" title='Renovar'>Reload</a></span>
|
||||
</div>
|
||||
</form>
|
||||
</li> "; } else{ $form_tiempo_session = "";}
|
||||
if($tema=="") {
|
||||
|
||||
$barra="
|
||||
@ -1173,14 +1182,7 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
|
||||
".aplicaciones_listado("$id_empresa",'','nav','')."
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<form name='form_session' class='navbar-form navbar-left'>
|
||||
<div class='input-group'>
|
||||
<input type='text' name='tiempo_session' size='30' class='form-control input-sm' readonly>
|
||||
<span class='input-group-addon'><a href='#' onclick=\"location.reload();\" title='Renovar'><i class='fa fa-refresh'></i></a></span>
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
$form_tiempo_session
|
||||
</ul>
|
||||
<ul id='menu_social' class='nav navbar-nav navbar-right'>
|
||||
|
||||
@ -1273,6 +1275,7 @@ $menu_lateral = "
|
||||
$soporte
|
||||
<li><a href='https://twitter.com/$twitter[0]'><i class='icon-twitter'></i></a></li>
|
||||
<li><a href='https://www.facebook.com/$facebook[0]'><i class='icon-facebook'></i></a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user