Commit 172fbdf0 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1781278: Adjusting field desciption and field display if only one tag

For the 'Create via tags' field in page settings


Change-Id: Ibb2be9d1a644384979c070438204799ef1c1ad6d
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent f1b582d9
......@@ -49,7 +49,7 @@ $string['allowcommentsonview1'] = 'Allow users to leave comments.';
$string['ownerformat'] = 'Name display format';
$string['ownerformatdescription'] = 'How do you want people who look at your page to see your name?';
$string['createtags'] = 'Create via tags';
$string['createtagsdesc'] = 'Search for or enter tags that you want to use for pulling existing content into your page. If you have a lot of content tagged, this may take a little bit. You can then re-arrange and delete blocks from your page.';
$string['createtagsdesc1'] = 'Search for or enter tags to pull content into your page automatically. If you enter more than one tag, only content that is tagged with all these tags will appear on the page. You can then re-arrange and delete blocks.';
$string['anonymise'] = 'Anonymise';
$string['anonymisedescription'] = 'Hide your name as the author of the page from other users. Administrators will still be able to see your name if they so desire.';
$string['Locked'] = 'Locked';
......@@ -289,12 +289,13 @@ function get_basic_elements() {
$elements['createtags'] = array(
'type' => 'select',
'title' => get_string('createtags', 'view'),
'description' => get_string('createtagsdesc', 'view'),
'description' => get_string('createtagsdesc1', 'view'),
'options' => $createtagsoptions,
'isSelect2' => true,
'class' => 'js-select2',
'multiple' => true,
'defaultvalue' => null,
'collapseifoneoption' => false,
'width' => '280px',
'help' => true,
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