Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8afdd6a7
Commit
8afdd6a7
authored
Feb 01, 2007
by
Penny Leach
Browse files
more changes to the individual plugin installer
parent
11640b54
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/admin/extensions/plugins.php
View file @
8afdd6a7
...
...
@@ -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('\.');
...
...
htdocs/theme/default/templates/admin/extensions/plugins.tpl
View file @
8afdd6a7
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment