aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_user.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 1d205414f..34697897f 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -271,11 +271,11 @@ function init_userprefs($userdata)
function setup_style($style)
{
- $template_path = 'template/' ;
- $template_name = $style ;
-
- $template = new Template(PHPWG_ROOT_PATH . $template_path . $template_name);
- return $template;
+ $template_path = 'template/' ;
+ $template_name = $style ;
+ include_once( PHPWG_ROOT_PATH . $template_path . $template_name.'/htmlfunctions.inc.php' );
+ $template = new Template(PHPWG_ROOT_PATH . $template_path . $template_name);
+ return $template;
}
function encode_ip($dotquad_ip)
@@ -289,4 +289,4 @@ function decode_ip($int_ip)
$hexipbang = explode('.', chunk_split($int_ip, 2, '.'));
return hexdec($hexipbang[0]). '.' . hexdec($hexipbang[1]) . '.' . hexdec($hexipbang[2]) . '.' . hexdec($hexipbang[3]);
}
-?> \ No newline at end of file
+?>