Commit 0faa88d7 authored by Melissa Draper's avatar Melissa Draper
Browse files

Alter enable/disable plugin links on extensions page and add explanation



Bug #618634 Explanatory text explains what the enabling/disabling is
and explains that artefact plugin types stop the blockstypes showing.

Change-Id: I0e657ab965e66ab40fdf70676f2ef34161131ae8
Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
parent 7a121df6
......@@ -62,9 +62,13 @@ $string['All'] = 'All';
$string['enable'] = 'Enable';
$string['disable'] = 'Disable';
$string['pluginenabled'] = 'Plugin enabled';
$string['plugindisabled'] = 'Plugin disabled';
$string['pluginnotenabled'] = 'Plugin not enabled. You must enable the %s plugin first.';
$string['show'] = 'Show';
$string['hide'] = 'Hide';
$string['pluginenabled'] = 'The plugin has is now visible.';
$string['plugindisabled'] = 'The plugin has been hidden.';
$string['pluginnotenabled'] = 'Plugin is hidden. You must make the %s plugin visible first.';
$string['pluginexplainaddremove'] = 'Plugins in Mahara are always installed and can be accessed if users know the URLs and would otherwise have access. Rather than enabling and disabling the functionality, plugins are hidden or made visible by clicking on the \'Hide\' or \'Show\' links beside the plugins below.';
$string['pluginexplainartefactblocktypes'] = 'When hiding an \'artefact\' type plugin, the Mahara system also stops the display of the blocks related to it.';
$string['next'] = 'Next';
$string['nextpage'] = 'Next page';
......
{include file='header.tpl'}
<div id="adminplugin">
<b>{str tag='pluginexplainaddremove'}
<br/><br/>{str tag='pluginexplainartefactblocktypes'}<br/><br/></b>
<ul class="adminpluginstypes">
{foreach from=$plugins key='plugintype' item='plugins'}
<li><h4>{str tag='plugintype'}: {$plugintype}</h4>
......@@ -13,9 +15,9 @@
<li id="{$plugintype}.{$plugin}">{$plugin}
{if $data.disableable}
{if $data.active}
[ <a href="pluginconfig.php?plugintype={$plugintype}&amp;pluginname={$plugin}&amp;disable=1&amp;sesskey={$SESSKEY}">{str tag='disable'}</a>
[ <a href="pluginconfig.php?plugintype={$plugintype}&amp;pluginname={$plugin}&amp;disable=1&amp;sesskey={$SESSKEY}">{str tag='hide'}</a>
{else}
[ <a href="pluginconfig.php?plugintype={$plugintype}&amp;pluginname={$plugin}&amp;enable=1&amp;sesskey={$SESSKEY}">{str tag='enable'}</a>
[ <a href="pluginconfig.php?plugintype={$plugintype}&amp;pluginname={$plugin}&amp;enable=1&amp;sesskey={$SESSKEY}">{str tag='show'}</a>
{/if}
{/if}
{if $data.config}
......
Markdown is supported
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