Commit Graph

154 Commits

Author SHA1 Message Date
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
skodak
8ce8fc85fc MDL-11304 remerging fixes 2007-10-07 13:31:41 +00:00
moodler
f88b7a4382 Fixed a bug checking context in groups 2007-08-30 16:18:35 +00:00
skodak
3a233b85c5 MDL-10947 https was replaced with httpss when wwwroot already is https credit goes to Tobias Marx 2007-08-22 19:36:24 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
poltawski
e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
e3f58dfb4e Breadcrumbs: mod/forum changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:12:29 +00:00
moodler
e1526d7792 Merged fix for MDL-9052 from 1.8 2007-03-27 05:15:46 +00:00
moodler
8dec2253cf Merged autofocus fixes for formslib to dev from stable 2007-03-16 01:46:17 +00:00
moodler
cbcd697bcb Merge post tag fixes (#123 > #p123) 2007-03-15 14:10:29 +00:00
nicolasconnault
3b73b15d37 MDL-8847 - Added a little 'p' :-) 2007-03-12 05:19:21 +00:00
moodler
c8135a3509 Merged notice fix from stable 2007-03-05 05:47:27 +00:00
skodak
c718dd57ba MDL-8578 new capability for adding and replying to news in forum 2007-03-02 19:41:31 +00:00
nicolasconnault
0af0271031 MDL-8629 - Outputting correct messages during redirection after forum posting with mail-now selected 2007-03-01 06:01:43 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +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