aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/admin_plugins.tpl7
-rw-r--r--view/admin_plugins_details.tpl16
2 files changed, 17 insertions, 6 deletions
diff --git a/view/admin_plugins.tpl b/view/admin_plugins.tpl
index d29665a06..ee0fa67e6 100644
--- a/view/admin_plugins.tpl
+++ b/view/admin_plugins.tpl
@@ -4,10 +4,9 @@
<ul id='pluginslist'>
{{ for $plugins as $p }}
<li class='plugin $p.1'>
- <a class='toggle' href='$baseurl/admin/plugins/$p.0?a=t'><span class='icon $p.1'></span></a>
- <a href='$baseurl/admin/plugins/$p.0'>
- <span class='name'>$p.0</span>
- </a>
+ <a class='toggleplugin' href='$baseurl/admin/plugins/$p.0?a=t'><span class='icon $p.1'></span></a>
+ <a href='$baseurl/admin/plugins/$p.0'><span class='name'>$p.2.name</span></a> - <span class="version">$p.2.version</span>
+ <div class='desc'>$p.2.description</div>
</li>
{{ endfor }}
</ul>
diff --git a/view/admin_plugins_details.tpl b/view/admin_plugins_details.tpl
index 7e2e95521..acb3d2862 100644
--- a/view/admin_plugins_details.tpl
+++ b/view/admin_plugins_details.tpl
@@ -1,7 +1,19 @@
<div id='adminpage'>
<h1>$title - $page</h1>
- <p><span class='icon $status'></span> $plugin</p>
+ <p><span class='toggleplugin icon $status'></span> $info.name - $info.version : <a href="$baseurl/admin/plugins/$plugin/?a=t">$action</a></p>
+ <p>$info.description</p>
+ <p>
+ {{ for $info.author as $a }}
+ <a href="$a.link">$a.name</a>
+ {{ endfor }}
+ </p>
- <p><a href="$baseurl/admin/plugins/$plugin/?a=t">$action</a></p>
+
+ {{ if $readme }}
+ <h3>Readme</h3>
+ <div id="plugin_readme">
+ $readme
+ </div>
+ {{ endif }}
</div>