diff --git a/mod/forum/index.php b/mod/forum/index.php
index fd91cc5fb6b..8c334ad3a51 100644
--- a/mod/forum/index.php
+++ b/mod/forum/index.php
@@ -208,7 +208,7 @@ if ($generalforums) {
} else if ($unread = forum_tp_count_forum_unread_posts($cm, $course)) {
$unreadlink = ''.$unread.'';
$unreadlink .= '
';
+ $forum->id.'&mark=read">
';
} else {
$unreadlink = '0';
}
@@ -335,7 +335,7 @@ if ($course->id != SITEID) { // Only real courses have learning forums
} else if ($unread = forum_tp_count_forum_unread_posts($cm, $course)) {
$unreadlink = ''.$unread.'';
$unreadlink .= '
';
+ $forum->id.'&mark=read">
';
} else {
$unreadlink = '0';
}
diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index 42a15351c37..bc54e2217f7 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -3727,7 +3727,7 @@ function forum_print_discussion_header(&$post, $forum, $group=-1, $datestring=""
echo '';
echo '' .
- '
';
+ '
';
echo '';
} else {
echo '';
@@ -5608,10 +5608,10 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=-1, $di
if ($cantrack) {
echo '
';
}
diff --git a/mod/forum/styles.css b/mod/forum/styles.css
index ab25041379b..ab4b080f586 100644
--- a/mod/forum/styles.css
+++ b/mod/forum/styles.css
@@ -88,6 +88,8 @@
#page-mod-forum-view .unread a:first-child {padding-right: 10px;}
#page-mod-forum-index .unread img,
#page-mod-forum-view .unread img {margin-left: 5px;}
+#page-mod-forum-view .unread img {margin-left: 5px;}
+.dir-rtl#page-mod-forum-view .unread img {margin-right: 5px; margin-left: 0; }
/** Unknown Styles ??? */
#email .unsubscribelink {margin-top:20px;}
diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php
index 17666596baf..dccfcf4ae61 100644
--- a/mod/lti/locallib.php
+++ b/mod/lti/locallib.php
@@ -325,7 +325,7 @@ function lti_build_request($instance, $typeconfig, $course) {
}
function lti_get_tool_table($tools, $id) {
- global $CFG, $USER;
+ global $CFG, $OUTPUT, $USER;
$html = '';
$typename = get_string('typename', 'lti');
diff --git a/pix/t/check.png b/pix/t/check.png
new file mode 100644
index 00000000000..43540a5d823
Binary files /dev/null and b/pix/t/check.png differ
diff --git a/pix/t/check.svg b/pix/t/check.svg
new file mode 100644
index 00000000000..b29d965c734
--- /dev/null
+++ b/pix/t/check.svg
@@ -0,0 +1,14 @@
+
+
+
+]>
+
diff --git a/pix/t/markasread.png b/pix/t/markasread.png
new file mode 100644
index 00000000000..43540a5d823
Binary files /dev/null and b/pix/t/markasread.png differ
diff --git a/pix/t/markasread.svg b/pix/t/markasread.svg
new file mode 100644
index 00000000000..b29d965c734
--- /dev/null
+++ b/pix/t/markasread.svg
@@ -0,0 +1,14 @@
+
+
+
+]>
+
diff --git a/theme/upgrade.txt b/theme/upgrade.txt
index 833e94334b4..8a6daee760b 100644
--- a/theme/upgrade.txt
+++ b/theme/upgrade.txt
@@ -16,6 +16,7 @@ deprecation:
* c/group: Use i/groupevent instead
* c/site: Use i/siteevent instead
* c/user: Use i/userevent instead
+* t/clear: Use t/check instead
optional changes:
* new optional boolean parameter $withlinks for public function login_info() in lib/outputrenderers.php (MDL-31365)
@@ -33,6 +34,8 @@ optional changes:
* new icons t/addcontact, t/removecontact and t/messages, previously t/addgreen, t/delete and t/log were used in messaging.
* new icons t/unblock and i/twoway.
* new icons i/courseevent, i/groupevent, i/siteevent and i/userevent (16x16) instead of c/* for calendar events.
+* new icon t/markasread (12x12) to replace t/clear used in forums.
+* new icon t/check (12x12) to replace t/clear which name does not reflect the icon meaning.
=== 2.3 ===