Commit 8cc060e3 authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Journal: Change to switchboxes (Bug 1431569)



Change checkboxes to switchboxes

Change-Id: I4339d7c861ea690a4dacbb6e37c7c2edc2577b30
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 389df353
......@@ -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