aboutsummaryrefslogtreecommitdiffstats
path: root/view/admin_plugins_details.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-14 14:21:43 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-14 14:21:43 +0200
commit00e142e4f753005a8b4003585c6a88548f006315 (patch)
tree95ff3c0c6a7ad53be0d4e0042a93b8720f5c9941 /view/admin_plugins_details.tpl
parent283160901fcb5670b48c7897ccce615872cb956e (diff)
downloadvolse-hubzilla-00e142e4f753005a8b4003585c6a88548f006315.tar.gz
volse-hubzilla-00e142e4f753005a8b4003585c6a88548f006315.tar.bz2
volse-hubzilla-00e142e4f753005a8b4003585c6a88548f006315.zip
Load plugin info from plugin file. Show README.md or README from plugin dir in plugin details page
Diffstat (limited to 'view/admin_plugins_details.tpl')
-rw-r--r--view/admin_plugins_details.tpl16
1 files changed, 14 insertions, 2 deletions
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>