Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-34573 Tag: update label for suggested tag

  • Loading branch information...
commit b9b2d119602c9917980bb230cd68eb35deb61637 1 parent 5da3e35
@rwijaya rwijaya authored
Showing with 10 additions and 2 deletions.
  1. +1 −0  blocks/tags/lang/en/block_tags.php
  2. +9 −2 tag/coursetags_edit.php
View
1  blocks/tags/lang/en/block_tags.php
@@ -82,6 +82,7 @@
$string['select'] = 'Select...';
$string['showcoursetags'] = 'Show course tags';
$string['showcoursetagsdef'] = 'Display the course tagging features in the tags block, allowing students to tag courses.';
+$string['suggestedtagthisunit'] = 'Suggested tag to this course:';
$string['tags'] = 'tags';
$string['tagthisunit'] = 'Tag this course:';
$string['tagunits'] = 'to tag your favourite courses';
View
11 tag/coursetags_edit.php
@@ -129,6 +129,7 @@
// Print the add and delete form
coursetag_get_jscript();
$edittagthisunit = get_string('edittagthisunit', $tagslang);
+ $suggestedtagthisunit = get_string('suggestedtagthisunit', $tagslang);
$arrowtitle = get_string('arrowtitle', $tagslang);
$sesskey = sesskey();
$leftarrow = $OUTPUT->pix_url('t/arrow_left');
@@ -141,13 +142,19 @@
<div class="coursetag_edit_centered">
<div class="coursetag_edit_row">
<div class="coursetag_edit_left">
- <label for="coursetag_new_tag">$edittagthisunit</label>
+ <label for="coursetag_sug_tag">$suggestedtagthisunit</label>
</div>
<div class="coursetag_edit_right">
<div class="coursetag_form_input1">
- <label clas="accesshide" for="coursetag_sug_keyword">$edittagthisunit</label>
<input type="text" name="coursetag_sug_keyword" id="coursetag_sug_keyword" class="coursetag_form_input1a" disabled="disabled" />
</div>
+ </div>
+ </div>
+ <div class="coursetag_edit_row">
+ <div class="coursetag_edit_left">
+ <label for="coursetag_new_tag">$edittagthisunit</label>
+ </div>
+ <div class="coursetag_edit_right">
<div class="coursetag_form_input2">
<input type="text" name="coursetag_new_tag" id="coursetag_new_tag" class="coursetag_form_input2a"
onfocus="ctags_getKeywords()" onkeyup="ctags_getKeywords()" maxlength="50" />
Please sign in to comment.
Something went wrong with that request. Please try again.