Skip to content

Commit

Permalink
MDL-9823 Disclaimer HRef is repeated twice in the Link - Policy.php f…
Browse files Browse the repository at this point in the history
…or some urls
  • Loading branch information
skodak committed May 15, 2007
1 parent 321097a commit 27cde34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/policy.php
Expand Up @@ -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
Expand Down

0 comments on commit 27cde34

Please sign in to comment.