mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-48960-master' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
4b408c3afe
@ -991,7 +991,7 @@ function calendar_filter_controls_element(moodle_url $url, $type) {
|
||||
$str = get_string('show'.$typeforhumans.'events', 'calendar');
|
||||
}
|
||||
$content = html_writer::start_tag('li', array('class' => 'calendar_event'));
|
||||
$content .= html_writer::start_tag('a', array('href' => $url));
|
||||
$content .= html_writer::start_tag('a', array('href' => $url, 'rel' => 'nofollow'));
|
||||
$content .= html_writer::tag('span', $icon, array('class' => $class));
|
||||
$content .= html_writer::tag('span', $str, array('class' => 'eventname'));
|
||||
$content .= html_writer::end_tag('a');
|
||||
|
@ -3399,7 +3399,7 @@ EOD;
|
||||
$linkurl = new moodle_url('/theme/switchdevice.php', array('url' => $this->page->url, 'device' => $devicetype, 'sesskey' => sesskey()));
|
||||
|
||||
$content = html_writer::start_tag('div', array('id' => 'theme_switch_link'));
|
||||
$content .= html_writer::link($linkurl, $linktext);
|
||||
$content .= html_writer::link($linkurl, $linktext, array('rel' => 'nofollow'));
|
||||
$content .= html_writer::end_tag('div');
|
||||
|
||||
return $content;
|
||||
|
Loading…
x
Reference in New Issue
Block a user