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

@@ -4,10 +4,10 @@ $header
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="none" rowspan="4"><img src="images/Classic/changelanguage.gif" alt="" /></td>
<td class="none" rowspan="4"><img src="templates/{$theme}/assets/img/changelanguage.gif" alt="" /></td>
</tr>
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changelanguage']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changelanguage']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['language']}</td>
@@ -20,4 +20,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -4,10 +4,10 @@ $header
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="none" rowspan="8"><img src="images/Classic/logininternal.gif" alt="" /></td>
<td class="none" rowspan="8"><img src="templates/{$theme}/assets/img/logininternal.gif" alt="" /></td>
</tr>
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changepassword']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changepassword']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['changepassword']['old_password']}:</td>
@@ -34,4 +34,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -4,10 +4,10 @@ $header
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="none" rowspan="4"><img src="images/Classic/changetheme.png" alt="" /></td>
<td class="none" rowspan="4"><img src="templates/{$theme}/assets/img/changetheme.png" alt="" /></td>
</tr>
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changetheme']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changetheme']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['panel']['theme']}</td>

View File

@@ -2,7 +2,7 @@ $header
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable" xmlns="http://www.w3.org/1999/html"
xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['index']['customerdetails']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['index']['customerdetails']}</b></td>
</tr>
<if $userinfo['customernumber'] >
<tr>
@@ -41,7 +41,7 @@ $header
</tr>
</if>
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['index']['accountdetails']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['index']['accountdetails']}</b></td>
</tr>
<tr>
<td class="field_name_border_left">{$lng['login']['username']}:</td>