Commit 7e6e8c05 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Journal: Change to switchboxes (Bug 1431569)"

parents cb64bea3 8cc060e3
......@@ -148,14 +148,14 @@ $form = pieform(array(
'unselectcallback' => 'delete_attachment',
),
'draft' => array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('draft', 'artefact.blog'),
'description' => get_string('thisisdraftdesc', 'artefact.blog'),
'defaultvalue' => $checked,
'help' => true,
),
'allowcomments' => array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('allowcomments','artefact.comment'),
'description' => get_string('allowcommentsonpost','artefact.blog'),
'defaultvalue' => $blogpost ? $blogpostobj->get('allowcomments') : 1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment