Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien <julien@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-03-18 22:27:54 +0300
committerjulien <julien@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-03-18 22:27:54 +0300
commit55d8a3ad0bcb68a5c0da0c0b81c873d3d317b41e (patch)
tree3582c7885fd2b774d196aa52f4a83e015f5b6cb7 /plugins/PluginsAdmin/templates/manage.tpl
parent29a8e2bbb4ba99657395ef51d7adedde77847fc1 (diff)
Commited some very good patch by Maciej ZawadziƄski :
-fix #106, #112 : Admin index and menu -fix #88 : nice login screen -fix #105 : nice plugin admin management, -fix #40 : outlink/download tracking, solves bugs and adds some options +Some code cleanup regarding new coding standard
Diffstat (limited to 'plugins/PluginsAdmin/templates/manage.tpl')
-rw-r--r--plugins/PluginsAdmin/templates/manage.tpl31
1 files changed, 19 insertions, 12 deletions
diff --git a/plugins/PluginsAdmin/templates/manage.tpl b/plugins/PluginsAdmin/templates/manage.tpl
index 11849fbe41..033c1793b9 100644
--- a/plugins/PluginsAdmin/templates/manage.tpl
+++ b/plugins/PluginsAdmin/templates/manage.tpl
@@ -1,24 +1,31 @@
-Test
+<link rel="stylesheet" href="themes/default/common-admin.css">
-<table border=1 cellpadding=5>
+<h2>Plugins</h2>
-<tr>
+<table id="plugins">
+
+<thead>
<th>Name</th>
<th>Description</th>
<th>Author</th>
<th>Version</th>
<th>Action</th>
-</tr>
-{foreach from=$pluginsName key=name item=plugin}
+</thead>
+
+<tbody>
+ {foreach from=$pluginsName key=name item=plugin}
-<tr>
+{if $plugin.activated}<tr class="activate">{else}<tr class="deactivate">{/if}
<td><b>{$name}</b></td>
<td>{$plugin.info.description}&nbsp;</td>
- <td><a href="{$plugin.info.homepage}">{$plugin.info.author}</a></td>
+ <td class="center"><a href="{$plugin.info.homepage}">{$plugin.info.author}</a></td>
<td>{$plugin.info.version}</td>
- <td>{if $plugin.activated}<a href=?module=PluginsAdmin&action=deactivate&pluginName={$name}>Deactivate</a>
- {else}<a href=?module=PluginsAdmin&action=activate&pluginName={$name}>Activate</a>{/if}</td>
-</tr>
-{/foreach}
+ <td class="switch">{if $plugin.activated}<a href=?module=PluginsAdmin&action=deactivate&pluginName={$name}>Deactivate</a>
+{else}<a href=?module=PluginsAdmin&action=activate&pluginName={$name}>Activate</a>{/if}</td>
+ </tr>
+{/foreach}
-</table> \ No newline at end of file
+</tbody>
+</table>
+
+<p><a href='?module=Home'>Back to Piwik homepage</a></p>