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
4a1381a8
Commit
4a1381a8
authored
Feb 14, 2007
by
Martyn Smith
Committed by
Martyn Smith
Feb 14, 2007
Browse files
Changes to deal with sendjsonrequest for contextualhelp
parent
16340ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/json/help.php
View file @
4a1381a8
...
...
@@ -63,9 +63,9 @@ else if (!empty($form) && empty($element)) {
}
else
{
if
(
$page
)
{
json_reply
(
true
,
get_string
(
'nohelpfoundpage'
));
json_reply
(
'local'
,
get_string
(
'nohelpfoundpage'
));
}
json_reply
(
true
,
get_string
(
'nohelpfound'
));
json_reply
(
'local'
,
get_string
(
'nohelpfound'
));
}
// now we have to try and locate the help file
...
...
@@ -106,7 +106,7 @@ if (empty($data) && empty($trieden)) {
}
if
(
empty
(
$data
))
{
json_reply
(
true
,
get_string
(
'nohelpfound'
));
json_reply
(
'local'
,
get_string
(
'nohelpfound'
));
}
$json
=
array
(
'error'
=>
false
,
'content'
=>
$data
);
...
...
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