diff --git a/blocks/tags/lang/en/block_tags.php b/blocks/tags/lang/en/block_tags.php index 0643b911d66..265cd5aeec0 100644 --- a/blocks/tags/lang/en/block_tags.php +++ b/blocks/tags/lang/en/block_tags.php @@ -82,6 +82,7 @@ $string['pluginname'] = 'Tags'; $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'; diff --git a/tag/coursetags_edit.php b/tag/coursetags_edit.php index 8dbc285dffa..85ae6036b83 100644 --- a/tag/coursetags_edit.php +++ b/tag/coursetags_edit.php @@ -147,6 +147,7 @@ echo $OUTPUT->header(); // 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,12 +160,19 @@ echo $OUTPUT->header();
- $edittagthisunit +
- +
+
+
+
+
+ +
+
@@ -182,10 +190,12 @@ EOT; $outstr .= <<
- $editdeletemytag +
- $selectoptions
diff --git a/tag/locallib.php b/tag/locallib.php index 589b6dcca14..a5ff7041204 100644 --- a/tag/locallib.php +++ b/tag/locallib.php @@ -233,6 +233,7 @@ function tag_print_search_box($return=false) { $output = $OUTPUT->box_start('','tag-search-box'); $output .= '
'; $output .= '
'; + $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; diff --git a/tag/manage.php b/tag/manage.php index e0edeb94bf5..d63b09d3f9a 100644 --- a/tag/manage.php +++ b/tag/manage.php @@ -260,8 +260,10 @@ if ($tagrecords = $DB->get_records_sql($query, $params, $table->get_page_start() $flag = $tag->flag; $timemodified = format_time(time() - $tag->timemodified); $checkbox = ''; - $text = ''; - $tagtype = html_writer::select($existing_tagtypes, 'tagtypes['.$tag->id.']', $tag->tagtype, false); + $text = html_writer::label(get_string('newname', 'tag'), 'newname_' . $tag->id, false, array('class' => 'accesshide')); + $text .= ''; + $tagtype = html_writer::label(get_string('tagtype', 'tag'), 'menutagtypes'. $tag->id, false, array('class' => 'accesshide')); + $tagtype .= html_writer::select($existing_tagtypes, 'tagtypes['.$tag->id.']', $tag->tagtype, false, array('id' => 'menutagtypes'. $tag->id)); //if the tag if flagged, highlight it if ($tag->flag > 0) { @@ -283,6 +285,7 @@ if ($tagrecords = $DB->get_records_sql($query, $params, $table->get_page_start() echo ' '; echo ' '; echo '

'; + echo html_writer::label(get_string('withselectedtags', 'tag'), 'menuformaction', false, array('class' => 'accesshide')); echo '