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
ec2a78f6
Commit
ec2a78f6
authored
Oct 25, 2007
by
Nigel McNie
Browse files
Source the language files for the blocktypes from the correct location.
parent
901e6d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/blocktype/lib.php
View file @
ec2a78f6
...
@@ -94,7 +94,7 @@ abstract class PluginBlocktype extends Plugin {
...
@@ -94,7 +94,7 @@ abstract class PluginBlocktype extends Plugin {
}
}
public
static
function
category_title_from_name
(
$name
)
{
public
static
function
category_title_from_name
(
$name
)
{
$title
=
get_string
(
'blocktypecategory.'
.
$name
);
$title
=
get_string
(
'blocktypecategory.'
.
$name
,
'view'
);
if
(
strpos
(
$title
,
'[['
)
!==
0
)
{
if
(
strpos
(
$title
,
'[['
)
!==
0
)
{
return
$title
;
return
$title
;
}
}
...
...
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