Implementing the whole template system using Smarty. This commit includes movements of ROOT/js, ROOT/images, etc. to theme specific directories like templates/<THEME>/. If you are attemping to use your own templates you won't need to modify Froxlor's core files. This commit may require additional work.

Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
This commit is contained in:
Arnold Bechtoldt
2012-08-14 23:08:25 +02:00
parent 6d0d1ae015
commit 601bf68d09
618 changed files with 15381 additions and 643 deletions

View File

@@ -19,7 +19,7 @@
function awstatsDoSingleDomain($domain, $outputdir)
{
global $cronlog, $settings;
global $cronlog, $settings, $theme;
$returnval = 0;
$domainconfig = makeCorrectFile($settings['system']['awstats_conf'].'/awstats.' . $domain . '.conf');
@@ -104,7 +104,7 @@ function awstatsDoSingleDomain($domain, $outputdir)
function callAwstatsGetTraffic($customerid, $outputdir, $usersdomainlist)
{
global $settings, $db, $cronlog;
global $settings, $db, $cronlog, $theme;
$returnval = 0;
foreach($usersdomainlist as $domainid => $singledomain)
@@ -156,7 +156,7 @@ function callAwstatsGetTraffic($customerid, $outputdir, $usersdomainlist)
function callWebalizerGetTraffic($logfile, $outputdir, $caption, $usersdomainlist)
{
global $settings, $cronlog;
global $settings, $cronlog, $theme;
$returnval = 0;
if(file_exists($settings['system']['logfiles_directory'] . $logfile . '-access.log'))
@@ -305,7 +305,7 @@ function callWebalizerGetTraffic($logfile, $outputdir, $caption, $usersdomainlis
function safeSQLLogfile($domains, $loginname)
{
global $db, $settings;
global $db, $settings, $theme;
$sql = "SELECT * FROM access_log ";
$where = "WHERE virtual_host = ";