Permalink
Browse files

MDL-34573 Tag: update label for suggested tag

  • Loading branch information...
Rossiani Wijaya
Rossiani Wijaya committed Aug 13, 2012
1 parent 5c0c094 commit 2afda054e876d616f32f17d48500d5d6aa90761d
Showing with 10 additions and 2 deletions.
  1. +1 −0 blocks/tags/lang/en/block_tags.php
  2. +9 −2 tag/coursetags_edit.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
@@ -147,6 +147,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');
@@ -159,13 +160,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" />

0 comments on commit 2afda05

Please sign in to comment.