-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
27 lines (21 loc) · 687 Bytes
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
if (!defined('TS_HEADER')) exit('No se permite el acceso directo al script');
/**
* El footer permite mostrar la plantilla
*
* @name footer.php
* @author Miguel92 & PHPost.es
*/
/*
* -------------------------------------------------------------------
* Realizamos tareas para mostrar la plantilla
* -------------------------------------------------------------------
*/
// Página solicitada
$smarty->assign("tsPage", $tsPage);
# Por si quieren cambiar la página de error
# Si no encuentra la plantilla t.$tsPage.tpl
# Mostrar esta página
$smarty->template_error = '404.html';
$smarty->loadAllTemplates(TS_TEMA, $tsPage);
$smarty->loadTemplate($tsPage);