Commit 26c076e0 authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Tagged journal entries block: Change to switchbox (Bug #1431569)



Change the "Show items in full" checkbox to a
switchbox.

Change-Id: I8b93da39b60df192026d7b4d7239fdadf5df78ba
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 8192fc41
......@@ -35,5 +35,5 @@ $string['postedon'] = 'on';
$string['itemstoshow'] = 'Items to show';
$string['configerror'] = 'Error during block configuration';
$string['showjournalitemsinfull'] = 'Show journal entries in full';
$string['showjournalitemsinfulldesc'] = 'If checked, the journal entries will be displayed. Otherwise only the titles of the journal entries will be shown.';
$string['showjournalitemsinfulldesc1'] = 'Switch this setting on to display the journal entries. Otherwise only the titles of the journal entries will be shown.';
$string['tag'] = 'Tag';
......@@ -372,9 +372,9 @@ EOF;
'rules' => array('integer' => true, 'minvalue' => 1, 'maxvalue' => 999),
);
$elements['full'] = array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('showjournalitemsinfull', 'blocktype.blog/taggedposts'),
'description' => get_string('showjournalitemsinfulldesc', 'blocktype.blog/taggedposts'),
'description' => get_string('showjournalitemsinfulldesc1', 'blocktype.blog/taggedposts'),
'defaultvalue' => isset($configdata['full']) ? $configdata['full'] : false,
);
......
Markdown is supported
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