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
integration
prechecker
Commits
15737f3d
Commit
15737f3d
authored
Aug 31, 2015
by
David Monllaó
Browse files
Merge branch 'MDL-51084-28' of
git://github.com/marinaglancy/moodle
into MOODLE_28_STABLE
parents
4750b137
e564027d
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin/tool/customlang/edit.php
View file @
15737f3d
...
...
@@ -63,7 +63,7 @@ if ($translatorsubmitted) {
$checkin
=
optional_param
(
'savecheckin'
,
false
,
PARAM_RAW
);
if
(
$checkin
===
false
)
{
$nexturl
=
$PAGE
->
url
;
$nexturl
=
new
moodle_url
(
$PAGE
->
url
,
array
(
'p'
=>
$currentpage
))
;
}
else
{
$nexturl
=
new
moodle_url
(
'/admin/tool/customlang/index.php'
,
array
(
'action'
=>
'checkin'
,
'lng'
=>
$lng
,
'sesskey'
=>
sesskey
()));
}
...
...
admin/tool/customlang/renderer.php
View file @
15737f3d
...
...
@@ -133,6 +133,7 @@ class tool_customlang_renderer extends plugin_renderer_base {
$output
.
=
html_writer
::
start_tag
(
'div'
);
$output
.
=
html_writer
::
empty_tag
(
'input'
,
array
(
'type'
=>
'hidden'
,
'name'
=>
'translatorsubmitted'
,
'value'
=>
1
));
$output
.
=
html_writer
::
empty_tag
(
'input'
,
array
(
'type'
=>
'hidden'
,
'name'
=>
'sesskey'
,
'value'
=>
sesskey
()));
$output
.
=
html_writer
::
empty_tag
(
'input'
,
array
(
'type'
=>
'hidden'
,
'name'
=>
'p'
,
'value'
=>
$translator
->
currentpage
));
$save1
=
html_writer
::
empty_tag
(
'input'
,
array
(
'type'
=>
'submit'
,
'name'
=>
'savecontinue'
,
'value'
=>
get_string
(
'savecontinue'
,
'tool_customlang'
)));
$save2
=
html_writer
::
empty_tag
(
'input'
,
array
(
'type'
=>
'submit'
,
'name'
=>
'savecheckin'
,
'value'
=>
get_string
(
'savecheckin'
,
'tool_customlang'
)));
$output
.
=
html_writer
::
tag
(
'fieldset'
,
$save1
.
$save2
,
array
(
'class'
=>
'buttonsbar'
));
...
...
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