Merge branch 'MDL-36782-master' of git://github.com/FMCorz/moodle
This commit is contained in:
+2
-2
@@ -208,7 +208,7 @@ if ($generalforums) {
|
||||
} else if ($unread = forum_tp_count_forum_unread_posts($cm, $course)) {
|
||||
$unreadlink = '<span class="unread"><a href="view.php?f='.$forum->id.'">'.$unread.'</a>';
|
||||
$unreadlink .= '<a title="'.$strmarkallread.'" href="markposts.php?f='.
|
||||
$forum->id.'&mark=read"><img src="'.$OUTPUT->pix_url('t/clear') . '" alt="'.$strmarkallread.'" /></a></span>';
|
||||
$forum->id.'&mark=read"><img src="'.$OUTPUT->pix_url('t/markasread') . '" alt="'.$strmarkallread.'" class="iconsmall" /></a></span>';
|
||||
} else {
|
||||
$unreadlink = '<span class="read">0</span>';
|
||||
}
|
||||
@@ -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 = '<span class="unread"><a href="view.php?f='.$forum->id.'">'.$unread.'</a>';
|
||||
$unreadlink .= '<a title="'.$strmarkallread.'" href="markposts.php?f='.
|
||||
$forum->id.'&mark=read"><img src="'.$OUTPUT->pix_url('t/clear') . '" alt="'.$strmarkallread.'" /></a></span>';
|
||||
$forum->id.'&mark=read"><img src="'.$OUTPUT->pix_url('t/markasread') . '" alt="'.$strmarkallread.'" class="iconsmall" /></a></span>';
|
||||
} else {
|
||||
$unreadlink = '<span class="read">0</span>';
|
||||
}
|
||||
|
||||
+3
-3
@@ -3727,7 +3727,7 @@ function forum_print_discussion_header(&$post, $forum, $group=-1, $datestring=""
|
||||
echo '</a>';
|
||||
echo '<a title="'.$strmarkalldread.'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
|
||||
$forum->id.'&d='.$post->discussion.'&mark=read&returnpage=view.php">' .
|
||||
'<img src="'.$OUTPUT->pix_url('t/clear') . '" class="iconsmall" alt="'.$strmarkalldread.'" /></a>';
|
||||
'<img src="'.$OUTPUT->pix_url('t/markasread') . '" class="iconsmall" alt="'.$strmarkalldread.'" /></a>';
|
||||
echo '</span>';
|
||||
} else {
|
||||
echo '<span class="read">';
|
||||
@@ -5608,10 +5608,10 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=-1, $di
|
||||
if ($cantrack) {
|
||||
echo '<th class="header replies" scope="col">'.get_string('unread', 'forum');
|
||||
if ($forumtracked) {
|
||||
echo ' <a title="'.get_string('markallread', 'forum').
|
||||
echo '<a title="'.get_string('markallread', 'forum').
|
||||
'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
|
||||
$forum->id.'&mark=read&returnpage=view.php">'.
|
||||
'<img src="'.$OUTPUT->pix_url('t/clear') . '" class="iconsmall" alt="'.get_string('markallread', 'forum').'" /></a>';
|
||||
'<img src="'.$OUTPUT->pix_url('t/markasread') . '" class="iconsmall" alt="'.get_string('markallread', 'forum').'" /></a>';
|
||||
}
|
||||
echo '</th>';
|
||||
}
|
||||
|
||||
@@ -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;}
|
||||
|
||||
@@ -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');
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 266 B |
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="overflow:visible;enable-background:new 0 0 12 12;"
|
||||
xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M11.4,0.6l-0.9-0.5C10.1-0.1,9.5,0,9.2,0.5L4.7,8.2L2,6.6C1.5,6.3,0.9,6.5,0.6,7L0.1,7.8
|
||||
C-0.1,8.3,0,8.9,0.5,9.2L5,11.8c0.1,0.1,0.3,0.1,0.4,0.1c0.4,0.1,0.8-0.1,1-0.5L11.8,2C12.1,1.5,11.9,0.9,11.4,0.6z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 836 B |
Binary file not shown.
|
After Width: | Height: | Size: 266 B |
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="overflow:visible;enable-background:new 0 0 12 12;"
|
||||
xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M11.4,0.6l-0.9-0.5C10.1-0.1,9.5,0,9.2,0.5L4.7,8.2L2,6.6C1.5,6.3,0.9,6.5,0.6,7L0.1,7.8
|
||||
C-0.1,8.3,0,8.9,0.5,9.2L5,11.8c0.1,0.1,0.3,0.1,0.4,0.1c0.4,0.1,0.8-0.1,1-0.5L11.8,2C12.1,1.5,11.9,0.9,11.4,0.6z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 836 B |
@@ -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 ===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user