Commit Graph

135 Commits

Author SHA1 Message Date
nicolasconnault 7c08ef3653 Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.

Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
2007-02-28 05:36:13 +00:00
vyshane b304e7f770 Merged from 1.7. 2007-02-13 05:25:45 +00:00
skodak dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +00:00
skodak beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
vyshane 26d932b109 Merged from 1.7. 2007-01-12 05:05:09 +00:00
moodler c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
jamiesensei 1d284fbd85 fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43:47 +00:00
skodak 2840c21611 fixed timestart and timeend warning when adding new discussion 2006-12-10 18:33:07 +00:00
jamiesensei 11f260f4ee some changes to date_selector and date_time_selector. Now automatically disabledIf disable checkbox is checked. 'optional' option includes a disable checkbox. 2006-12-09 11:42:57 +00:00
vyshane 57f876b732 Merged from 1.7 2006-12-05 08:15:01 +00:00
vyshane ea3caf69cd Merged from 1.7. 2006-12-04 08:09:22 +00:00
vyshane 3d436d5974 Error message to use lang string nopostdiscussion 2006-11-13 07:38:51 +00:00
skodak c58efbf529 readded file uploads to forum post form, file processing was not updated because it would need a rewrite MDL-6961 2006-11-12 18:36:00 +00:00
skodak 0e52f01f0e coding style changes MDL-6961 2006-11-09 23:04:55 +00:00
jamiesensei bb40325e1b removed trusttext method from formslib which was unnecessary and revised trusttext use in mod/form/post.php 2006-11-08 06:22:58 +00:00
jamiesensei 2b63df96c3 migrated mod/forum/post.php to formslib and fixed a string in course/edit_form.php 2006-11-07 08:48:18 +00:00
sam_marshall 8bcf97e1f9 The 'Activity is currently hidden' check in mod/forum/post.php incorrectly used 'manageactivities' capability instead of 'viewhiddenactivities', fixing. 2006-10-26 14:15:46 +00:00
moodler a321d42bcd Better handling for guest in forums MDL-7125 2006-10-23 04:55:20 +00:00
skodak e80ca6c658 fixed undefined modcontext in forum; merged from MOODLE_17_STABLE 2006-10-21 20:30:27 +00:00
moodler bd4128e91f Merged enrolment-related fixes from stable 2006-10-20 17:53:50 +00:00
moodler 7b08a2ea3f Merged fixes for MDL-7116 from stable 2006-10-20 06:19:22 +00:00
toyomoyo 5f6fc25b43 merged fix for MDL-7066, users will replypost set to prohit can not edit own post 2006-10-18 07:50:22 +00:00
moodler 352b8da86a Merged two recent checkins from Moodle 1.7, stripslashes and navbar fixes 2006-10-17 09:10:15 +00:00
vyshane cef1ce6abf Fixes for MDL-3975
Changes to discuss.php and post.php so that the single discussion type forums are handled more consistently.
2006-09-28 07:29:50 +00:00
vyshane 77dc6d0b26 Discussions from a forum of type 'single' should not be splittable. Merge from 1.6 branch. 2006-09-25 05:12:01 +00:00
vyshane e51e3fcb34 Fixed notice 2006-09-18 12:48:00 +00:00
moodler 966620586e Better handling of forum id/object 2006-09-14 07:13:08 +00:00
vyshane 8d9a0ae64b Fix for MDL-6517. Patch by David Mudrak. 2006-09-14 03:18:37 +00:00
vyshane 6e89ca5527 Fix for MDL-6405 2006-09-11 03:13:52 +00:00
skodak f2b5d7e3b7 trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes 2006-08-27 20:45:04 +00:00
vyshane e40a7a3c8b Fixing notices 2006-08-16 03:24:43 +00:00
vyshane 951e1073da Added has_capability calls. Reverted forum_search to pre-roles until the
function is totally converted to work with roles.
2006-08-14 07:37:53 +00:00
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
vyshane 0fa18d5a27 Bug fixes + updated capabilities. 2006-08-09 06:59:28 +00:00
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak 1322b7199a fixed warning when no referer available; merged from MOODLE_16_STABLE 2006-07-31 10:05:23 +00:00
toyomoyo 92998e94bd merged fix for 5551 2006-05-22 02:39:14 +00:00
skodak 9b7bff2699 submission in post.php cleanup, fixes for bugs #5530, #5484 and SC#252; merged from MOODLE_16_STABLE 2006-05-19 20:18:05 +00:00
skodak 2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
skodak 3b25960385 better cleaning of post title SC#251 revisited; merged from MOODLE_16_STABLE 2006-05-15 14:48:11 +00:00
skodak 62b504d20b better cleaning of post title SC#251; merged from MOODLE_16_STABLE 2006-05-15 14:32:14 +00:00
moodler 9bdedea400 Changed how the "edited by" message appears in the posts edited by admin 2006-04-05 02:15:10 +00:00
moodler da077b9a7a Change of function name, no actual change 2006-03-21 09:08:57 +00:00
mjollnir_ 41547057cc Merged Patrick's mailnow patch. This allows admin users the ability to override maxediting time and have forum posts mailed out immediately. 2006-01-19 23:52:08 +00:00
patrickslee 3c622ced98 Removed some mailnow related patches -- mailnow feature is not merged yet 2006-01-19 22:45:59 +00:00
patrickslee cc86131d78 Fixed embargoed time settings is not kept in the form when re-editing by error 2006-01-18 04:14:50 +00:00
mjollnir_ a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
mjollnir_ 098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
patrickslee 8b116048fd Fixed a problem that unable to post a new discussion related to mailnow 2005-12-01 20:50:22 +00:00
moodler afa3507ca2 fix for bug #4314 2005-11-25 07:11:20 +00:00