|
But again the old version of user/policy.php with iframes works with IE as well:
<?php // $Id: policy.php,v 1.7 2006/09/02 11:44:07 skodak Exp $ require_once("../config.php"); $agree = optional_param('agree', 0, PARAM_INT); define('MESSAGE_WINDOW', true); // This prevents the message window coming up if (empty($USER->id)) { require_login(); } if ($agree == 1 and confirm_sesskey()) { // User has agreed if (!empty($SESSION->wantsurl)) {
$wantsurl = $SESSION->wantsurl;
unset($SESSION->wantsurl);
redirect($wantsurl);
} else {
redirect($CFG->wwwroot.'/');
} $strpolicyagree = get_string('policyagree'); print_header($strpolicyagreement, $SITE->fullname, $strpolicyagreement); print_heading($strpolicyagreement); echo '<center>'; notice_yesno($strpolicyagree, "policy.php?agree=1&sesskey=$USER->sesskey", $CFG->wwwroot); print_footer(); ?> workaround for both issues committed into cvs
thanks for cooperation! Not fixed here. In IE7 (don't have IE6 to test with at this location).
Policy displayed OK. Click on Yes to accept. Browser hangs. Script taing too long warning message, Click on "Yes" to cancel script. Acess is then allowed o site. Petr this is the same site that I sent you details of on Sunday. I have committed a new workaround into ufo.js and reverted the previous one
Thanks. How long before this hits the anonymous cvs?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
one problem is that if given path to site policy file (like http://someserver/somefolder/
As soon as some file is given (index.htm, mypolicy.php etc) object is found.
But still IE stops responding...and that doubleaddress in http://tracker.moodle.org/browse/MDL-9809
is strange (I had it too when I tested this)