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
db24d6e9
Commit
db24d6e9
authored
Jun 09, 2014
by
Son Nguyen
Committed by
Gerrit Code Review
Jun 09, 2014
Browse files
Merge "Making the links on Extensions page more accessible (Bug #1285896)"
parents
9fb58c57
6c720ec0
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/lang/en.utf8/mahara.php
View file @
db24d6e9
...
...
@@ -31,6 +31,7 @@ $string['update'] = 'Update';
$string
[
'change'
]
=
'Change'
;
$string
[
'send'
]
=
'Send'
;
$string
[
'go'
]
=
'Go'
;
$string
[
'configfor'
]
=
'Configuration for'
;
$string
[
'default'
]
=
'Default'
;
$string
[
'upload'
]
=
'Upload'
;
$string
[
'complete'
]
=
'Complete'
;
...
...
htdocs/lib/upgrade.php
View file @
db24d6e9
...
...
@@ -1362,6 +1362,8 @@ function activate_plugin_form($plugintype, $plugin) {
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'linkbtn'
,
'title'
=>
(
$plugin
->
active
?
get_string
(
'hide'
)
:
get_string
(
'show'
))
.
' '
.
$plugintype
.
' '
.
$plugin
->
name
,
'hiddenlabel'
=>
true
,
'value'
=>
$plugin
->
active
?
get_string
(
'hide'
)
:
get_string
(
'show'
)
),
),
...
...
htdocs/theme/raw/templates/admin/extensions/plugins.tpl
View file @
db24d6e9
...
...
@@ -17,7 +17,7 @@
{
if
$data.notinstallable
}
{
str
tag
=
'notinstallable'
}
:
{
$data.notinstallable
}
{
else
}
<span
id=
"
{
$plugintype
}
.
{
$plugin
}
.install"
>
(
<a
href=
""
onClick=
"
{
$installlink
}
('
{
$plugintype
}
.
{
$plugin
}
'); return false;"
>
{
str
tag
=
'install'
section
=
'admin'
}
</a>
)
</span>
<span
id=
"
{
$plugintype
}
.
{
$plugin
}
.install"
>
(
<a
href=
""
onClick=
"
{
$installlink
}
('
{
$plugintype
}
.
{
$plugin
}
'); return false;"
>
{
str
tag
=
'install'
section
=
'admin'
}
<span
class=
"accessible-hidden "
>
{
$plugintype
}
{
$plugin
}
</span>
</a>
)
</span>
{/
if
}
<span
id=
"
{
$plugintype
}
.
{
$plugin
}
.message"
></span>
</li>
...
...
@@ -35,7 +35,7 @@
{/
if
}
{
if
$data.config
}
{
if
!
$data.activateform
}
[
{
else
}
|
{/
if
}
<a
href=
"pluginconfig.php?plugintype=
{
$plugintype
}
&pluginname=
{
$plugin
}
"
>
{
str
tag
=
'config'
}
</a>
<a
href=
"pluginconfig.php?plugintype=
{
$plugintype
}
&pluginname=
{
$plugin
}
"
>
{
str
tag
=
'config'
}
<span
class=
"accessible-hidden "
>
{
str
tag
=
'configfor'
}
{
$plugintype
}
{
$plugin
}
</span>
</a>
{/
if
}
{
if
$data.config
||
$data.activateform
}
]
{/
if
}
</li>
...
...
@@ -44,7 +44,7 @@
<ul>
{
foreach
from
=
$data.types
key
=
'type'
item
=
'config'
}
<li>
{
$type
}
{
if
$config
}
[
<a
href=
"pluginconfig.php?plugintype=
{
$plugintype
}
&pluginname=
{
$plugin
}
&type=
{
$type
}
"
>
{
str
tag
=
'config'
}
</a>
]
{/
if
}
</li>
{
if
$config
}
[
<a
href=
"pluginconfig.php?plugintype=
{
$plugintype
}
&pluginname=
{
$plugin
}
&type=
{
$type
}
"
>
{
str
tag
=
'config'
}
<span
class=
"accessible-hidden "
>
{
str
tag
=
'configfor'
}
{
$plugintype
}
{
$plugin
}
</span>
</a>
]
{/
if
}
</li>
{/
foreach
}
</ul>
</li>
...
...
Write
Preview
Markdown
is supported
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