Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mahara
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
mahara
mahara
Commits
04ff27b2
Commit
04ff27b2
authored
Apr 24, 2014
by
Aaron Wells
Committed by
Gerrit Code Review
Apr 24, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Allow the instconf form element to also use the ANY wildcard help file"
parents
e0de62d4
ca991261
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
htdocs/lib/mahara.php
htdocs/lib/mahara.php
+5
-0
No files found.
htdocs/lib/mahara.php
View file @
04ff27b2
...
...
@@ -414,6 +414,11 @@ function get_helpfile_location($plugintype, $pluginname, $form, $element, $page=
// if it's a form element, try the wildcard form name
if
(
!
empty
(
$form
)
&&
!
empty
(
$element
)
&&
$form
!==
'ANY'
)
{
// if it's a block instance config form element, try the wildcard form name
// and element without it's prefixes
if
(
preg_match
(
'/^instconf_/'
,
$element
))
{
$element
=
end
(
explode
(
'_'
,
$element
));
}
return
get_helpfile_location
(
'core'
,
''
,
'ANY'
,
$element
,
$page
,
$section
);
}
...
...
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