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:
skodak 2007-05-15 19:42:53 +00:00
parent 7bf579b243
commit e61c34cfe5

View File

@ -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