Commit d0e5823b authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

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

parents 6fd6f25d 26c076e0
......@@ -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