Moved links fpr adding stuff to top of table, fixed position of search

This commit is contained in:
BNoiZe
2013-10-30 14:56:41 +01:00
parent 5d8906f1d8
commit 2852589598
17 changed files with 98 additions and 97 deletions

View File

@@ -8,6 +8,13 @@ $header
</header>
<section>
<if $add>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/templates_add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'templates', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['templates']['template_add']}</a>
</div>
</if>
<table class="bradius">
<thead>
<tr>
@@ -20,14 +27,6 @@ $header
{$templates}
</tbody>
</table>
<if $add>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/templates_add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'templates', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['templates']['template_add']}</a>
</div>
</if>
</section>
</article>
@@ -41,6 +40,13 @@ $header
</header>
<section>
<if $filetemplateadd>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/templates_add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'templates', 'page' => $page, 'action' => 'add', 'files' => 'files'))}">{$lng['admin']['templates']['template_add']}</a>
</div>
</if>
<table class="bradius">
<thead>
<tr>
@@ -52,13 +58,6 @@ $header
{$filetemplates}
</tbody>
</table>
<if $filetemplateadd>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/templates_add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'templates', 'page' => $page, 'action' => 'add', 'files' => 'files'))}">{$lng['admin']['templates']['template_add']}</a>
</div>
</if>
</section>
</article>