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="0" border="0" align="center" class="maintable" style="border: solid 1px #B7B7B7;">
<tr>
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="images/Classic/info.png" alt="" /></td>
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="templates/{$theme}/assets/img/info.png" alt="" /></td>
<td>
$Message
<form name="continue" action="$filename" method="post">

View File

@@ -1,6 +1,6 @@
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable" style="border: solid 1px #B7B7B7;">
<tr>
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="images/Classic/info.png" alt="" /></td>
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="templates/{$theme}/assets/img/info.png" alt="" /></td>
<td>$Message</td>
</tr>
</table>

View File

@@ -7,7 +7,7 @@
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
<tr>
<td class="maintitle" colspan="3"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$Xml->name}</b></td>
<td class="maintitle" colspan="3"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$Xml->name}</b></td>
</tr>
<tr>
<td class="field_name_border_left" colspan="2" valign="top" width="99%"><strong>{$lng['aps']['install_wizard']}</strong>
@@ -24,4 +24,4 @@
</td>
</tr>
</table>
</form>
</form>

View File

@@ -1,6 +1,6 @@
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
<tr>
<td class="maintitle" colspan="3"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$Xml->name}</b></td>
<td class="maintitle" colspan="3"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$Xml->name}</b></td>
</tr>
<tr>
<td class="field_name_border_left" colspan="2" valign="top" width="99%"><strong>$Summary</strong></td>

View File

@@ -1,6 +1,6 @@
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
<tr>
<td class="maintitle" colspan="3"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$Xml->name}</b></td>
<td class="maintitle" colspan="3"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$Xml->name}</b></td>
</tr>
<tr>
<td class="field_name_border_left" colspan="2" valign="top" width="99%"><strong>$Summary</strong></td>
@@ -45,4 +45,4 @@
</td>
</tr>
</table>
<br/>
<br/>

View File

@@ -4,7 +4,7 @@
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['aps']['search']}</b></td>
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" />&nbsp;{$lng['aps']['search']}</b></td>
</tr>
<tr>
<td class="field_name_border_left" nowrap="nowrap" valign="top">{$lng['aps']['search_description']}</td>
@@ -15,4 +15,4 @@
</tr>
</table>
<br/>
</form>
</form>