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:
@@ -2,7 +2,7 @@
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/icons/domains.png" alt="" />
|
||||
<img src="templates/{$theme}/assets/img/icons/domains.png" alt="" />
|
||||
{$lng['admin']['domains']} ({$domainscount})
|
||||
</h2>
|
||||
</header>
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
<if ($userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1') && 15 < $count && 0 < $countcustomers >
|
||||
<div class="overviewadd">
|
||||
<img src="images/Froxlor/icons/domain_add.png" alt="" />
|
||||
<img src="templates/{$theme}/assets/img/icons/domain_add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'domains', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['domain_add']}</a>
|
||||
</div>
|
||||
</if>
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
<if ($userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1') && $countcustomers !=0 >
|
||||
<div class="overviewadd">
|
||||
<img src="images/Froxlor/icons/domain_add.png" alt="" />
|
||||
<img src="templates/{$theme}/assets/img/icons/domain_add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'domains', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['domain_add']}</a>
|
||||
</div>
|
||||
</if>
|
||||
|
||||
@@ -2,7 +2,7 @@ $header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/{$image}" alt="{$title}" />
|
||||
<img src="templates/{$theme}/assets/img/{$image}" alt="{$title}" />
|
||||
{$title}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<a href="{$linker->getLink(array('section' => 'domains', 'page' => $page, 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
<if !(isset($row['domainaliasid']) && $row['domainaliasid'] != 0)>
|
||||
<if !(isset($row['standardsubdomain']) && $row['standardsubdomain'] == $row['id'])>
|
||||
<a href="{$linker->getLink(array('section' => 'domains', 'page' => $page, 'action' => 'delete', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<img src="images/Froxlor/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
</if>
|
||||
</if>
|
||||
|
||||
@@ -2,7 +2,7 @@ $header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/{$image}" alt="{$title}" />
|
||||
<img src="templates/{$theme}/assets/img/{$image}" alt="{$title}" />
|
||||
{$title}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user