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,10 +1,10 @@
$header
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['error']['error']}</b></td>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['error']['error']}</b></td>
</tr>
<tr>
<td class="field_name_center_noborder"><img src="images/Classic/error.gif" alt="" /></td>
<td class="field_name_center_noborder"><img src="templates/{$theme}/assets/img/error.gif" alt="" /></td>
<td class="field_name">$error</td>
</tr>
<tr>
@@ -14,4 +14,4 @@ $header
</table>
<br />
<br />
$footer
$footer

View File

@@ -1,6 +1,6 @@
<tr>
<td class="maintitle_apply_left">
<b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" />&nbsp;{$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,6 +1,6 @@
<a href="{$baseurl}&amp;sortfield={$fieldname}&amp;sortorder=desc">
<img src="images/Classic/order_desc.gif" border="0" alt="" />
<img src="templates/{$theme}/assets/img/order_desc.gif" border="0" alt="" />
</a>
<a href="{$baseurl}&amp;sortfield={$fieldname}&amp;sortorder=asc">
<img src="images/Classic/order_asc.gif" border="0" alt="" />
<img src="templates/{$theme}/assets/img/order_asc.gif" border="0" alt="" />
</a>

View File

@@ -5,7 +5,7 @@ $header
$hiddenparams
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['question']['question']}</b></td>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['question']['question']}</b></td>
</tr>
<tr>
<td class="field_name_border_left">$text</td>
@@ -15,4 +15,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -5,7 +5,7 @@ $header
$hiddenparams
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['question']['question']}</b></td>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['question']['question']}</b></td>
</tr>
<tr>
<td class="field_name_center_noborder">$text</td>
@@ -18,4 +18,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -1,13 +1,13 @@
$header
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['success']['success']}</b></td>
<td class="maintitle" colspan="2"><b>&nbsp;<img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['success']['success']}</b></td>
</tr>
<tr>
<td class="field_name_center_noborder"><img src="images/Classic/info.png" alt="" /></td>
<td class="field_name_center_noborder"><img src="templates/{$theme}/assets/img/info.png" alt="" /></td>
<td class="field_name">$success_message<if $redirect_url != ''><br /><a href="{$redirect_url}">{$lng['success']['clickheretocontinue']}</a></if></td>
</tr>
</table>
<br />
<br />
$footer
$footer