Commit 8afdd6a7 authored by Penny Leach's avatar Penny Leach
Browse files

more changes to the individual plugin installer

parent 11640b54
......@@ -109,6 +109,7 @@ function installplugin(name) {
if (!data.error) {
var message = '{$successstring}' + data.newversion;
$(name + '.message').innerHTML = '<img src="{$successicon}" alt=":)" /> ' + message;
$(name + '.install').innerHTML = '';
// move the whole thing into the list of installed plugins
// new parent node
var bits = name.split('\.');
......
......@@ -32,9 +32,9 @@
<ul id="{$plugintype}.notinstalled">
{foreach from=$notinstalled key='plugin' item='data'}
<li id="{$plugintype}.{$plugin}">{$plugin} {if $data.notinstallable} {str tag='notinstallable'} {$data.notinstallable}
{else} (<a href="" onClick="{$installlink}('{$plugintype}.{$plugin}'); return false;">{str tag='install' section='admin'}</a>)
{else} <span id="{$plugintype}.{$plugin}.install">(<a href="" onClick="{$installlink}('{$plugintype}.{$plugin}'); return false;">{str tag='install' section='admin'}</a>)</span>
{/if}
<div id="{$plugintype}.{$plugin}.message"></div>
<span id="{$plugintype}.{$plugin}.message"></span>
</li>
{/foreach}
</ul>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment