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:
@@ -47,7 +47,7 @@ else
|
||||
|
||||
function read_directory($dir1 = null, $min_depth = 25, $htaccessfh = null)
|
||||
{
|
||||
global $htaccessfh;
|
||||
global $htaccessfh, $theme;
|
||||
|
||||
if(!is_string($dir1))
|
||||
{
|
||||
@@ -95,7 +95,7 @@ function read_directory($dir1 = null, $min_depth = 25, $htaccessfh = null)
|
||||
|
||||
function parseHtaccess($file = null)
|
||||
{
|
||||
global $debugHandler, $htaccessfh;
|
||||
global $debugHandler, $htaccessfh, $theme;
|
||||
$htacc = @file_get_contents($file);
|
||||
|
||||
if($htacc != "")
|
||||
|
||||
Reference in New Issue
Block a user