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:
@@ -189,7 +189,7 @@ class db
|
||||
function query($query_str, $unbuffered = false, $suppress_error = false)
|
||||
{
|
||||
|
||||
global $numbqueries;
|
||||
global $numbqueries, $theme;
|
||||
|
||||
if (!mysql_ping($this->link_id))
|
||||
{
|
||||
@@ -349,7 +349,7 @@ class db
|
||||
|
||||
function showerror($errormsg, $mysqlActive = true)
|
||||
{
|
||||
global $filename;
|
||||
global $filename, $theme;
|
||||
|
||||
$text = 'MySQL - Error: ' . str_replace("\n", "\t", $errormsg);
|
||||
if($mysqlActive)
|
||||
|
||||
Reference in New Issue
Block a user