librerias en index cuando hay tema

This commit is contained in:
humano 2018-11-22 18:49:24 -05:00
parent d9f62e61c4
commit 41e624004d
2 changed files with 10 additions and 3 deletions

View File

@ -330,7 +330,11 @@ if ($variable !=''){
elseif($v[0] =='p') { elseif($v[0] =='p') {
$set =$v[1]; $set =$v[1];
$form =$v[1]; $form =$v[1];
$librerias_cabeza='
<link rel="stylesheet" type="text/css" href="librerias/datatables/datatables.css">
<script type="text/javascript" charset="utf8" src="librerias/datatables/datatables.js"></script>
';
$empresa = remplacetas('form_id','id',$form,'id_empresa',"") ; $empresa = remplacetas('form_id','id',$form,'id_empresa',"") ;
$razon_social_portal = remplacetas('empresa','id',"$empresa[0]",'razon_social','') ; $razon_social_portal = remplacetas('empresa','id',"$empresa[0]",'razon_social','') ;
$titulo = remplacetas('empresa','id',"$empresa[0]",'razon_social','') ; $titulo = remplacetas('empresa','id',"$empresa[0]",'razon_social','') ;
@ -338,7 +342,9 @@ if ($variable !=''){
/// s= SET DE DATOS /// s= SET DE DATOS
$embebido = "1"; $embebido = "1";
if(isset($_REQUEST['print'])) { $print = "window.print()";} if(isset($_REQUEST['print'])) { $print = "window.print()";}
$onload = "".planilla("$set","$_REQUEST[registros]",'')." <script type=\"text/javascript\">$print</script> "; $onload = "".planilla("$set","$_REQUEST[registros]",'')." <script type=\"text/javascript\">$print</script>
";
} }
elseif($v[0] =='i') { elseif($v[0] =='i') {
@ -913,7 +919,7 @@ $aplicacion_pie="
<a href='#' class='dropdown-toggle ' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'> <a href='#' class='dropdown-toggle ' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'>
Secciones<span class='caret'></span> Secciones<span class='caret'></span>
</a> </a>
<ul class='dropdown-menu'> <ul class='dropdown-menu' id='listado_aplicaciones'>
$aplicaciones_listado $aplicaciones_listado
</ul> </ul>
</li> </li>
@ -1191,6 +1197,7 @@ else {
<meta name='apple-mobile-web-app-status-bar-style' content='black-translucent'/> <meta name='apple-mobile-web-app-status-bar-style' content='black-translucent'/>
"; ";
echo $librerias_cabeza;
include("temas/$tema/cabecera"); include("temas/$tema/cabecera");
include("temas/$tema/pie"); include("temas/$tema/pie");
$barra=" $barra="

2
milfs

@ -1 +1 @@
Subproject commit 45348b174e4fcf27dd19db83b3a4324d89d3b914 Subproject commit e331fbca0b0c21cef2148d4debdc7d508ff8bbf3