]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9798 workaround for handling of object tag in buggy IE; merged from MOODLE_18_STABLE
authorskodak <skodak>
Tue, 15 May 2007 08:33:22 +0000 (08:33 +0000)
committerskodak <skodak>
Tue, 15 May 2007 08:33:22 +0000 (08:33 +0000)
user/policy.php

index bc4c83f062bbd49f1442d0ce449ee95402aa4efa..f43a99f6083921ea8ba875e44e540ac62298bfaf 100644 (file)
                                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();