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:
@@ -28,7 +28,7 @@
|
||||
*/
|
||||
function openRootDB($debugHandler = false, $lockfile = false)
|
||||
{
|
||||
global $db_root;
|
||||
global $db_root, $theme;
|
||||
|
||||
require dirname(dirname(dirname(__FILE__))).'/userdata.inc.php';
|
||||
|
||||
@@ -68,6 +68,6 @@ function openRootDB($debugHandler = false, $lockfile = false)
|
||||
|
||||
function closeRootDB()
|
||||
{
|
||||
global $db_root;
|
||||
global $db_root, $theme;
|
||||
if(isset($db_root)) unset($db_root);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user