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

@@ -7,11 +7,11 @@ $header
<input type="hidden" name="send" value="send" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="$title" />&nbsp;{$title}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="$title" />&nbsp;{$title}</b></td>
</tr>
{$account_add_form}
</table>
</form>
<br />
<br />
$footer
$footer

View File

@@ -7,11 +7,11 @@ $header
<input type="hidden" name="send" value="send" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$account_changepw_form}
</table>
</form>
<br />
<br />
$footer
$footer

View File

@@ -7,11 +7,11 @@ $header
<input type="hidden" name="send" value="send" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$quota_edit}
</table>
</form>
<br />
<br />
$footer
$footer

View File

@@ -1,7 +1,7 @@
$header
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
<tr>
<td class="maintitle"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['email']['email']}</b></td>
<td class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['menue']['email']['email']}</b></td>
</tr>
<tr>
<td class="field_name_border_left">{$lng['emails']['description']}</td>
@@ -9,4 +9,4 @@ $header
</table>
<br />
<br />
$footer
$footer

View File

@@ -4,7 +4,7 @@ $header
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
<tr>
<td class="maintitle_search_left"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['email']['emails']}</b>&nbsp;({$emailscount})</td>
<td class="maintitle_search_left"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['menue']['email']['emails']}</b>&nbsp;({$emailscount})</td>
<td class="maintitle_search_right" colspan="6">{$searchcode}</td>
</tr>
<if ($userinfo['emails_used'] < $userinfo['emails'] || $userinfo['emails'] == '-1') && 15 < $emails_count && $emaildomains_count !=0 >
@@ -35,4 +35,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -6,11 +6,11 @@ $header
<input type="hidden" name="send" value="send" />
<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="$title" />&nbsp;{$title}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="$title" />&nbsp;{$title}</b></td>
</tr>
{$email_add_form}
</table>
</form>
<br />
<br />
$footer
$footer

View File

@@ -2,7 +2,7 @@ $header
<form method="post" action="{$linker->getLink(array('section' => 'email'))}">
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="$title" />&nbsp;{$title}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="$title" />&nbsp;{$title}</b></td>
</tr>
{$email_edit_form}
<tr>

View File

@@ -7,7 +7,7 @@ $header
<input type="hidden" name="send" value="send" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$forwarder_add_form}
</table>