Skip to content

Commit

Permalink
MDL-9798 workaround for handling of object tag in buggy IE; merged fr…
Browse files Browse the repository at this point in the history
…om MOODLE_18_STABLE
  • Loading branch information
skodak committed May 15, 2007
1 parent ae3e06d commit 28b2891
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions user/policy.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,20 @@
500, 500, 'Popup window', 'none', true);
echo '</object></div>';

$linkyes = 'policy.php';
// see MDL-9798
/* $linkyes = 'policy.php';
$optionsyes = array('agree'=>1, 'sesskey'=>sesskey());
$linkno = $CFG->wwwroot.'/login/logout.php';
$optionsno = array('sesskey'=>sesskey());
notice_yesno($strpolicyagree, $linkyes, $linkno, $optionsyes, $optionsno);
notice_yesno($strpolicyagree, $linkyes, $linkno, $optionsyes, $optionsno);*/

print_box_start('generalbox', 'notice');
echo '<p>'. $strpolicyagree .'</p>';
echo '<div class="buttons">';
echo '<div class="singlebutton"><a href="policy.php?agree=1&amp;sesskey='.sesskey().'">'.get_string('yes').'</a></div>';
echo '<div class="singlebutton"><a href="../login/logout.php?sesskey='.sesskey().'">'.get_string('no').'</a></div>';
echo '</div>';
print_box_end();

print_footer();

Expand Down

0 comments on commit 28b2891

Please sign in to comment.