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

@@ -1,6 +1,6 @@
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['admin']['serversettings']}</b>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['serversettings']}</b>
[<a href="$filename?page=overview&amp;part=&amp;s=$s">{$lng['admin']['configfiles']['compactoverview']}</a>]</td>
</tr>
$fields

View File

@@ -1,6 +1,6 @@
<tr>
<td class="maintitle_apply_left">
<b><img src="images/Classic/title.gif" alt="" />&nbsp;{$groupdetails['title']}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$groupdetails['title']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />

View File

@@ -1,7 +1,7 @@
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" align="center" colspan="3">
<b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['admin']['configfiles']['serverconfiguration']}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['configfiles']['serverconfiguration']}</b>
[<a href="$filename?page=overview&amp;part=all&amp;s=$s">{$lng['admin']['configfiles']['overview']}</a>]
</td>
</tr>

View File

@@ -1,6 +1,6 @@
<tr>
<td class="maintitle_apply_left">
<b><img src="images/Classic/title.gif" alt="" />&nbsp;{$title}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$title}</b>
</td>
<td class="main_field_display_small" nowrap="nowrap">{$option}</td>
<td class="main_field_display_small" nowrap="nowrap">

View File

@@ -2,13 +2,13 @@ $header
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
<tr>
<td class="maintitle" colspan="2">
<b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['admin']['updatecounters']}: {$lng['admin']['customers']}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['updatecounters']}: {$lng['admin']['customers']}</b>
</td>
</tr>
{$customers}
<tr>
<td class="maintitle" colspan="2">
<b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['admin']['updatecounters']}: {$lng['admin']['admins']}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['updatecounters']}: {$lng['admin']['admins']}</b>
</td>
</tr>
{$admins}