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:
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="templates/{$theme}/assets/js/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$.tablesorter.addParser( {
|
||||
id: 'filesize',
|
||||
@@ -28,7 +28,7 @@ $header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/icons/traffic_big.png" alt="{$lng['admin']['traffic']}" /> {$lng['admin']['traffic']}
|
||||
<img src="templates/{$theme}/assets/img/icons/traffic_big.png" alt="{$lng['admin']['traffic']}" /> {$lng['admin']['traffic']}
|
||||
</h2>
|
||||
</header>
|
||||
{$stats_tables}
|
||||
|
||||
Reference in New Issue
Block a user