Commit Graph

57 Commits

Author SHA1 Message Date
skodak
d857e8b627 MDL-16223, MDL-16222 - module context now available in xxx_add_instance() module method and $mform is passed as second parameter; $cm is updated/inserted before the activity insert/update hook; other related refactoring and cleanup; error string improvements 2008-08-27 16:33:50 +00:00
sam_marshall
9ddbd44598 MDL-15869: Fixed bug in saving module settings when completion is not enabled 2008-07-29 09:13:25 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
tjhunt
9824e56707 MDL-15731 Removed default grouping for modules which do not support grouping - Commiting the merge to head on behalf of sam. 2008-07-21 13:00:41 +00:00
dongsheng
535a6fa0b5 "MDL-14129, fix print_error" 2008-06-15 11:34:42 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
2cbd725cf7 MDL-14679 towards modform conversion - fixed regressions 2008-06-01 21:51:13 +00:00
skodak
cb141e5a67 MDL-14679 towards modform conversion - fixed regressions 2008-06-01 21:40:56 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
681cf96530 MDL-14679 cleaned up mod.php 2008-06-01 20:15:50 +00:00
dongsheng
ba6018a902 "MDL-14129, fix print_error call under course/, see tracker" 2008-05-07 06:02:51 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
b45d83916f MDL-13269 fixed regrading of activity raw grades; merged from MOODLE_19_STABLE 2008-02-17 16:01:24 +00:00
skodak
d19f47709f MDL-13375 fix for duplicate itemnumbers in outcome items; merged from MOODLE_19_STABLE 2008-02-13 09:48:46 +00:00
nicolasconnault
8c1c197e43 MDL-13375 Fixed the bug in modedit.php; Merging from MOODLE_19_STABLE 2008-02-13 08:15:31 +00:00
nicolasconnault
de6f158f2b MDL-6826 Removed the optional_param lines at the top, and set the submit buttons to PARAM_RAW. Also changed !empty() to isset(); Merging from 1.9 2008-02-06 10:25:45 +00:00
moodler
55da5e81b5 Cleaning up logic from MDL-6826 2008-02-05 03:16:07 +00:00
nicolasconnault
0b19ec1e95 MDL-6826 merging from 1.9 2008-02-04 13:02:07 +00:00
moodler
2deffacca5 MDL-13260 Fixing misplaced variable (notice) 2008-01-31 07:04:23 +00:00
nicolasconnault
6b4671097b MDL-6826 New button added! 2008-01-23 12:56:13 +00:00
skodak
4b86bb0827 MDL-12773, MDL-12144 grade category selection on modedit page; merged from MOODLE_19_STABLE 2008-01-21 18:42:03 +00:00
nicolasconnault
6ca117e27f Misplaced variable definition 2008-01-08 06:07:56 +00:00
moodler
21090e447a Merged from 1.9
Improvements to the tabs for assigning and overriding roles.   MDL-12120

Tabs are now all on the top row
Tabs have clearer titles
Other help texts improved
2007-11-19 07:13:02 +00:00
skodak
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
skodak
97928ddf00 MDL-11003 adding of first activity on frontpage does not work - incorrect section 2007-08-26 15:30:51 +00:00
skodak
273eb2f5aa MDL-10999 Cannot Insert or Edit a Label 2007-08-26 07:44:14 +00:00
skodak
e04ff2d559 MDL-10383 adding new standard elements method - modules now must specify what they support (groups/groupings/groupmembersonly); by default only groupmode selector is enabled 2007-08-20 07:27:04 +00:00
skodak
24f41672ba MDL-10383 - adding UI for new grouping settings into course and mod edit forms + fixed section handling on mod edit page + other minor cleanup 2007-08-17 08:05:04 +00:00
skodak
e79541a3b7 fixed updating of idnumbers 2007-08-03 14:12:38 +00:00
nicolasconnault
6d762c249c MDL-10109 Completing unfinished refactoring. Thanks Petr :-) 2007-08-02 15:13:09 +00:00
nicolasconnault
2d6df44f7f MDL-10109 Only creating new category when at least 2 grade_items (inc. outcome or normal grade) 2007-08-02 14:33:29 +00:00
nicolasconnault
61defed9f2 MDL-10109 New category gets created without problem, and the outcomes are created and added as children of that category. The normal grade_item, if present, is also added before the outcomes.
There is only one issue which is probably not directly related to this issue: When these new objects are created, the changes take a few page loads to appear correctly in the grader report. Sometimes I even had to open the Category and item edit page and then the grader report again before the correct changes would appear and remain that way afterwards
2007-08-02 14:22:20 +00:00
skodak
602433133e MDL-10105 idnumber uniqueness tested before insert in UI now - both modedit and item edit pages 2007-08-02 10:38:18 +00:00
skodak
71ee4471ac MDL-10544 outcome adding from modedit 2007-07-31 14:34:11 +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
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
skodak
2d11be3b33 MDL-9484 cm-idnumber implementation is incorrect 2007-04-21 13:15:34 +00:00
mattc-catalyst
e1d2eb00e2 Breadcrumbs: course admin changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 22:02:22 +00:00
toyomoyo
177d4abf11 adding idnumber field for course modules and modedit form 2007-04-11 09:19:24 +00:00
toyomoyo
217a8ee950 made some changes so that if a user has any roles assigned in context_module or context_block with moodle/site:manageblocks or moodle/course:manageactivities, he will see the "turn editting on" button without needing to have a role assigned at context_course with moodle/course:manageactivies capability. Of course this user would not be able to edit any blocks or modules he/she is not supposed to edit. Ajax for these users with partial editing privilages are locked. Please report bugs asap as we are looking at backporting this change to 1.8. Cheers. 2007-02-16 07:57:19 +00:00
moodler
522737665c Fixed page path (docs and css) for module editing MDL-8452 2007-02-14 14:08:50 +00:00
stronk7
c327e15031 This was throwing duplicate declaration errors in my PHP5 box
since some hours ago. Not sure why it worked before, but...
2007-02-09 20:51:56 +00:00
skodak
beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
vyshane
2429e177a2 Removed align attribute from img tag. Related to MDL-7861. 2007-01-08 01:27:22 +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
jamiesensei
f07b9627b6 changes to how we generate the id attribute of forms and the naming convention of forms
migrate blog edit to formslib
2006-12-28 09:32:45 +00:00
sam_marshall
ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +00:00
jamiesensei
0b82f5b913 fix for error in logic about where to redirect to after a cancel or after activity mod is successfully added or update. 2006-12-05 13:23:18 +00:00