mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-9823 Disclaimer HRef is repeated twice in the Link - Policy.php for some urls; merged from MOODLE_18_STABLE
This commit is contained in:
parent
7bf579b243
commit
e61c34cfe5
@ -45,8 +45,8 @@
|
||||
|
||||
echo '<div class="noticebox">';
|
||||
echo '<object id="policyframe" data="'.$CFG->sitepolicy.'" type="'.$mimetype.'">';
|
||||
echo link_to_popup_window ($CFG->sitepolicy, 'agreement', $strpolicyagreementclick,
|
||||
500, 500, 'Popup window', 'none', true);
|
||||
// we can not use our popups here, because the url may be arbitrary, see MDL-9823
|
||||
echo '<a href="'.$CFG->sitepolicy.'" onclick="this.target=\'_blank\'">'.$strpolicyagreementclick.'</a>';
|
||||
echo '</object></div>';
|
||||
|
||||
// see MDL-9798
|
||||
|
Loading…
x
Reference in New Issue
Block a user