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']['froxlorclient_settings']}&nbsp;"{$client->Get('name')}"</b>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['froxlorclient_settings']}&nbsp;"{$client->Get('name')}"</b>
[<a href="$filename?page=clients&amp;action=settings&amp;part=&amp;s=$s&amp;id={$id}">{$lng['admin']['configfiles']['compactoverview']}</a>]</td>
</tr>
$fields

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']}&nbsp;"{$client->Get('name')}"</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['configfiles']['serverconfiguration']}&nbsp;"{$client->Get('name')}"</b>
[<a href="$filename?page=clients&amp;action=settings&amp;part=all&amp;s=$s&amp;id={$id}">{$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

@@ -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" colspan="3"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['multiserver']['clients']}</b></td>
<td class="maintitle_search_left" colspan="3"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['menue']['multiserver']['clients']}</b></td>
<td class="maintitle_search_right" colspan="1">{$searchcode}</td>
</tr>
<tr>

View File

@@ -5,7 +5,7 @@ $header
<input type="hidden" name="action" value="$action" />
<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="" />&nbsp;{$lng['admin']['froxlorclients']['add']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['froxlorclients']['add']}</b></td>
</tr>
<tr>
<td class="main_field_name" colspan="2">
@@ -15,7 +15,7 @@ $header
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['admin']['froxlorclients']['client']}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['froxlorclients']['client']}</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,17 +1,17 @@
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
<td class="field_name_border_left">
<img src="images/Classic/multiserver/server.png" alt="Client #{$row['id']}" /></td>
<img src="templates/{$theme}/assets/img/multiserver/server.png" alt="Client #{$row['id']}" /></td>
<td class="field_name">{$row['name']}<br /><span style="font-size:80%">{$row['desc']}</span></td>
<td class="field_name">
<if $row['enabled'] == 1 >
<img src="images/Classic/multiserver/tick.png" alt="{$lng['panel']['yes']}" />
<img src="templates/{$theme}/assets/img/multiserver/tick.png" alt="{$lng['panel']['yes']}" />
<else>
<img src="images/Classic/multiserver/no.png" alt="{$lng['panel']['no']}" />
<img src="templates/{$theme}/assets/img/multiserver/no.png" alt="{$lng['panel']['no']}" />
</if>
</td>
<td class="field_name">
<a href="$filename?s=$s&amp;page=$page&amp;action=view&amp;id={$row['id']}">
<img src="images/Classic/multiserver/view.png" alt="{$lng['admin']['froxlorclients']['view']}" style="border:0;" />
<img src="templates/{$theme}/assets/img/multiserver/view.png" alt="{$lng['admin']['froxlorclients']['view']}" style="border:0;" />
</a>
</td>
</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="" />&nbsp;{$lng['admin']['froxlorclients']['edit']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['froxlorclients']['edit']}</b></td>
</tr>
<tr>
<td class="main_field_name" colspan="2">
@@ -17,7 +17,7 @@ $header
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['admin']['froxlorclients']['client']}</b>
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['admin']['froxlorclients']['client']}</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

@@ -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" colspan="4"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['multiserver']['clients']}&nbsp;"{$client->Get('name')}"</b></td>
<td class="maintitle_search_left" colspan="4"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['menue']['multiserver']['clients']}&nbsp;"{$client->Get('name')}"</b></td>
</tr>
<tr>
<td colspan="4">@TODO infos about client "{$client->Get('name')}"</td>