]> git.mjollnir.org Git - moodle.git/commit
This is a first attempt to make moodle frame safe.
authorgregb_cc <gregb_cc>
Tue, 11 Mar 2003 21:35:12 +0000 (21:35 +0000)
committergregb_cc <gregb_cc>
Tue, 11 Mar 2003 21:35:12 +0000 (21:35 +0000)
commit08b3606390af575d7aa9b9684d01a7ef7cf88160
tree44a7617d8981a72a80c4d264c9bc4ac40dd23821
parent754b76fe65405d4f811812e6e1766235184c319c
This is a first attempt to make moodle frame safe.

I've added the variable CFG->main_frame to config-dist.php, and replaced _top
targets with the variable in all the php files.  HTML files, like those in the
documentation, have not been modified, as they are not (yet) parsed.

The variable should probably get moved into the config table, and get some
documentation.

I've also included, but commented out, a slight change in weblib.php, which
would guarantee that messages would be seen before redirecting the user (unless
delay intentionally set to 0 when redirect is used).
admin/auth.php
config-dist.php
lib/weblib.php
mod/resource/view.php
mod/survey/report.php
theme/oceanblue/header.html_logo
theme/poweraid/header.html