[moodle] / moodle / course / edit_form.php Repository:

Log of /moodle/course/edit_form.php

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Thu Jan 28 15:00:16 2010 WST (7 weeks, 1 day ago) by samhemelryk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.72: +4 -1 lines
Diff to previous 1.72
course-edit MDL-20204 Fixed recent regression get_list_of_themes returns array of themes now not strings

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 16:11:03 2009 WST (4 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 14:14:07 2009 WST (4 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.70: +18 -17 lines
Diff to previous 1.70
files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Fri Oct 2 15:05:02 2009 WST (5 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.69: +10 -1 lines
Diff to previous 1.69
MDL-15262 Added a two capabilities to prevent certain users from changing a course's fullname and shortname. merged from MOODLE_19_STABLE

Revision 1.37.2.19 - (view) (download) (annotate) - [select for diffs]
Thu Oct 1 15:47:28 2009 WST (5 months, 2 weeks ago) by nicolasconnault
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_196, MOODLE_197, MOODLE_19_MERGED, MOODLE_19_WEEKLY
Changes since 1.37.2.18: +10 -1 lines
Diff to previous 1.37.2.18 , to branch point 1.37 , to next main 1.73
MDL-15262 Applied patch

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Sun Sep 27 01:07:09 2009 WST (5 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.68: +4 -1 lines
Diff to previous 1.68
MDL-20353 adding missing data types of hidden form fields

Revision 1.37.2.18 - (view) (download) (annotate) - [select for diffs]
Sun Sep 27 00:23:34 2009 WST (5 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.37.2.17: +7 -1 lines
Diff to previous 1.37.2.17 , to branch point 1.37
MDL-20353 adding missing data types of hidden form fields

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Fri Jun 19 22:26:03 2009 WST (8 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.67: +4 -4 lines
Diff to previous 1.67
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Thu Mar 19 12:14:11 2009 WST (12 months ago) by tjhunt
Branch: MAIN
Changes since 1.66: +4 -5 lines
Diff to previous 1.66
course settings: MDL-18595: Fix regression caused by switching the course settings form to use the new date selector.

The bad commit was http://cvs.moodle.org/moodle/course/edit_form.php?r1=1.65&r2=1.66

Sorry everyone who was inconvenienced by this.

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Mar 16 15:09:43 2009 WST (12 months ago) by tjhunt
Branch: MAIN
Changes since 1.65: +6 -20 lines
Diff to previous 1.65
course settings: use the optional option on date selectors, rather than a manua disabled checkbox. Also use new duration element.

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Fri Feb 13 19:04:26 2009 WST (13 months ago) by stronk7
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64
MDL-12846 course defaults - grrr I forgot to re-add the original setDefault()

Revision 1.37.2.17 - (view) (download) (annotate) - [select for diffs]
Fri Feb 13 19:01:15 2009 WST (13 months ago) by stronk7
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_195
Changes since 1.37.2.16: +2 -6 lines
Diff to previous 1.37.2.16 , to branch point 1.37
MDL-12846 course defaults - don't apply coursedefaults->category anymore. Backported from HEAD

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Fri Feb 13 18:55:40 2009 WST (13 months ago) by stronk7
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63
MDL-12846 don't apply coursedefaults->category anymore.

Revision 1.37.2.16 - (view) (download) (annotate) - [select for diffs]
Thu Feb 12 03:00:05 2009 WST (13 months ago) by stronk7
Branch: MOODLE_19_STABLE
Changes since 1.37.2.15: +15 -9 lines
Diff to previous 1.37.2.15 , to branch point 1.37
MDL-17074 course settings - new defaults to be applied on interactive course creation

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Mon Dec 8 11:31:05 2008 WST (15 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.62: +5 -1 lines
Diff to previous 1.62
course settings: MDL-17501 check for moodle/course:visibility in the course settings form.

1. If a user does not have that capability, don't let them change whether the course is visible.
2. Give teachers that capability by default.
3. To avoid regressions, on upgrade, give moodle/course:visibility to any role that has moodle/course:update.

Revision 1.37.2.15 - (view) (download) (annotate) - [select for diffs]
Mon Dec 8 11:30:57 2008 WST (15 months, 1 week ago) by tjhunt
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_194
Changes since 1.37.2.14: +5 -1 lines
Diff to previous 1.37.2.14 , to branch point 1.37
course settings: MDL-17501 check for moodle/course:visibility in the course settings form.

1. If a user does not have that capability, don't let them change whether the course is visible.
2. Give teachers that capability by default.
3. To avoid regressions, on upgrade, give moodle/course:visibility to any role that has moodle/course:update.

Revision 1.37.2.14 - (view) (download) (annotate) - [select for diffs]
Sun Dec 7 06:21:55 2008 WST (15 months, 1 week ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.37.2.13: +21 -1 lines
Diff to previous 1.37.2.13 , to branch point 1.37
MDL-15785 new options for enforcing of  enrolment key commplexity and requirements; backported from HEAD

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sun Dec 7 06:20:42 2008 WST (15 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.61: +20 -2 lines
Diff to previous 1.61
MDL-15785 new options for enforcing of  enrolment key commplexity and requirements

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 17:53:10 2008 WST (15 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.60: +3 -8 lines
Diff to previous 1.60
course categories: Fix many bugs with category editing and permissions. Clean up code.

Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Merged from MOODLE_19_STABLE.

Revision 1.37.2.13 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 17:49:49 2008 WST (15 months, 2 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.37.2.12: +3 -8 lines
Diff to previous 1.37.2.12 , to branch point 1.37
course categories: Fix many bugs with category editing and permissions. Clean up code.

Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Wed Nov 26 18:05:04 2008 WST (15 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.59: +17 -7 lines
Diff to previous 1.59
MDL-15262 fixing previous incorrect merging

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu Nov 13 17:40:59 2008 WST (16 months ago) by tjhunt
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.

For something that has been deprecated for over two years, they were still used in a lot of places!

Revision 1.37.2.12 - (view) (download) (annotate) - [select for diffs]
Thu Nov 13 17:21:47 2008 WST (16 months ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.37.2.11: +2 -1 lines
Diff to previous 1.37.2.11 , to branch point 1.37
course settings: MDL-16327 when creating a course, the role renames were not saved.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Thu Nov 13 17:11:10 2008 WST (16 months ago) by tjhunt
Branch: MAIN
Changes since 1.57: +13 -13 lines
Diff to previous 1.57
course settings: MDL-16327 when creating a course, the role renames were not saved.

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Tue Oct 14 03:39:27 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.56: +4 -1 lines
Diff to previous 1.56
MDL-16839 forms:  workaround for problematic hard frozen values; merged from MOODLE_19_STABLE

Revision 1.37.2.11 - (view) (download) (annotate) - [select for diffs]
Tue Oct 14 03:38:49 2008 WST (17 months ago) by skodak
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_193
Changes since 1.37.2.10: +4 -1 lines
Diff to previous 1.37.2.10 , to branch point 1.37
MDL-16839 forms:  workaround for problematic hard frozen values

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Oct 13 20:47:57 2008 WST (17 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.55: +7 -17 lines
Diff to previous 1.55
MDL-15262 Merging from MOODLE_19_STABLE

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu Oct 9 04:56:38 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.54: +20 -23 lines
Diff to previous 1.54
MDL-15262 using hardFreeze instead of static, because we need this info to b returned from form; the new change* caps are not in effect when adding new courses - merged from MOODLE_19_STABLE + fixed regression in coursename/shortname automatic numbering

Revision 1.37.2.10 - (view) (download) (annotate) - [select for diffs]
Thu Oct 9 04:48:23 2008 WST (17 months, 1 week ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.37.2.9: +19 -24 lines
Diff to previous 1.37.2.9 , to branch point 1.37
MDL-15262 using hardFreeze instead of static, because we need this info to b returned from form; the new change* caps are not in effect when adding new courses

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Wed Oct 8 21:40:42 2008 WST (17 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.53: +11 -3 lines
Diff to previous 1.53
MDL-15262 Instead of removing these form fields entirely, rendering them as static form elements. Merging from MOODLE_19_STABLE

Revision 1.37.2.9 - (view) (download) (annotate) - [select for diffs]
Wed Oct 8 21:40:26 2008 WST (17 months, 1 week ago) by nicolasconnault
Branch: MOODLE_19_STABLE
Changes since 1.37.2.8: +11 -3 lines
Diff to previous 1.37.2.8 , to branch point 1.37
MDL-15262 Instead of removing these form fields entirely, rendering them as static form elements

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Wed Oct 8 21:23:35 2008 WST (17 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.52: +27 -22 lines
Diff to previous 1.52
MDL-15262 Added 3 new capabilities without changing defaults, as suggested by Matt. Merged from MOODLE_19_STABLE

Revision 1.37.2.8 - (view) (download) (annotate) - [select for diffs]
Wed Oct 8 21:15:27 2008 WST (17 months, 1 week ago) by nicolasconnault
Branch: MOODLE_19_STABLE
Changes since 1.37.2.7: +26 -20 lines
Diff to previous 1.37.2.7 , to branch point 1.37
MDL-15262 Added 3 new capabilities without changing defaults, as suggested by Matt.

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 15:33:22 2008 WST (17 months, 3 weeks ago) by jerome
Branch: MAIN
Changes since 1.51: +24 -23 lines
Diff to previous 1.51
MDL-12846: move course default settings into config_plugin table

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 15:12:46 2008 WST (17 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 10:31:26 2008 WST (17 months, 3 weeks ago) by jerome
Branch: MAIN
Changes since 1.49: +23 -19 lines
Diff to previous 1.49
MDL-12846: add course default settings page

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon Jul 28 20:31:31 2008 WST (19 months, 3 weeks ago) by sam_marshall
Branch: MAIN
Changes since 1.48: +13 -1 lines
Diff to previous 1.48
MDL-15498: Completion system

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Jun 1 23:44:59 2008 WST (21 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
MDL-14679 removed all instances of get_records_menu()

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sat May 31 00:47:22 2008 WST (21 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.46: +22 -11 lines
Diff to previous 1.46
MDL-14679 datalib conversion completed

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Fri May 16 05:40:13 2008 WST (22 months ago) by skodak
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue May 13 14:16:51 2008 WST (22 months ago) by moodler
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44
MDL-14738 Merged.   Roles section on course settings is now "Role renaming", with help.

Revision 1.37.2.7 - (view) (download) (annotate) - [select for diffs]
Tue May 13 14:16:12 2008 WST (22 months ago) by moodler
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_191, MOODLE_192
Changes since 1.37.2.6: +3 -2 lines
Diff to previous 1.37.2.6 , to branch point 1.37
MDL-14738 Roles section on course settings is now "Role renaming", with help.

Revision 1.25.2.6 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 11:51:43 2008 WST (22 months, 2 weeks ago) by jerome
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_1810, MOODLE_1811, MOODLE_186, MOODLE_187, MOODLE_188, MOODLE_189, MOODLE_18_MERGED, MOODLE_18_WEEKLY
Changes since 1.25.2.5: +1 -3 lines
Diff to previous 1.25.2.5 , to branch point 1.25 , to next main 1.73
MDL-13815 - Course summary text is optional and empty by default now

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 10:36:34 2008 WST (22 months, 2 weeks ago) by jerome
Branch: MAIN
Changes since 1.43: +1 -3 lines
Diff to previous 1.43
MDL-13815 - Course summary text is optional and empty by default now

Revision 1.37.2.6 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 10:20:58 2008 WST (22 months, 2 weeks ago) by jerome
Branch: MOODLE_19_STABLE
Changes since 1.37.2.5: +1 -3 lines
Diff to previous 1.37.2.5 , to branch point 1.37
MDL-13815 - Course summary text is optional and empty by default now

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Tue Apr 8 07:44:42 2008 WST (23 months, 1 week ago) by stronk7
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42
Respect inherited default enrol method when deciding to display the course cost. MDL-14096 ; merged from 19_STABLE

Revision 1.37.2.5 - (view) (download) (annotate) - [select for diffs]
Tue Apr 8 07:42:54 2008 WST (23 months, 1 week ago) by stronk7
Branch: MOODLE_19_STABLE
Changes since 1.37.2.4: +3 -2 lines
Diff to previous 1.37.2.4 , to branch point 1.37
Respect inherited default enrol method when deciding to display the course cost. MDL-14096

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Wed Mar 19 17:49:23 2008 WST (2 years ago) by dongsheng
Branch: MAIN
Changes since 1.41: +5 -5 lines
Diff to previous 1.41
MDL-13481, Distinguish between course fullname and user fullname

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Feb 29 17:44:23 2008 WST (2 years ago) by moodler
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
Merged MDL-13676:  last-minute field change to fix an Oracle problem

Revision 1.37.2.4 - (view) (download) (annotate) - [select for diffs]
Fri Feb 29 17:40:40 2008 WST (2 years ago) by moodler
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_19
Changes since 1.37.2.3: +2 -2 lines
Diff to previous 1.37.2.3 , to branch point 1.37
MDL-13676  Changed a field so that Oracle can cope with a COALESCE statement.  :-(
           I hate doing this at this late stage, but without it Oracle fails.

           On the way I also fixed the profile page so it displays role aliases if they exist

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun Feb 24 04:22:23 2008 WST (2 years ago) by skodak
Branch: MAIN
Changes since 1.39: +16 -5 lines
Diff to previous 1.39
MDL-13615 course edit settings - improved metacourse compatible detection; merged from MOODLE_19_STABLE

Revision 1.37.2.3 - (view) (download) (annotate) - [select for diffs]
Sun Feb 24 04:21:32 2008 WST (2 years ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.37.2.2: +16 -5 lines
Diff to previous 1.37.2.2 , to branch point 1.37
MDL-13615 course edit settings - improved metacourse compatible detection

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 07:15:09 2007 WST (2 years, 3 months ago) by skodak
Branch: MAIN
Changes since 1.38: +4 -8 lines
Diff to previous 1.38
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE

Revision 1.37.2.2 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 07:12:35 2007 WST (2 years, 3 months ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.37.2.1: +4 -8 lines
Diff to previous 1.37.2.1 , to branch point 1.37
MDL-12133 validate() method tidying up

Revision 1.25.2.5 - (view) (download) (annotate) - [select for diffs]
Mon Oct 29 18:49:53 2007 WST (2 years, 4 months ago) by poltawski
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_184, MOODLE_185
Changes since 1.25.2.4: +4 -4 lines
Diff to previous 1.25.2.4 , to branch point 1.25
MDL-11813 - Use existing group setting strings on course edit form so can be
better translated. Patch from Daniel Miksik

Merged from MOODLE_19_STABLE

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Mon Oct 29 18:47:13 2007 WST (2 years, 4 months ago) by poltawski
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37
MDL-11813 - Use existing group setting strings on course edit form so can be
better translated. Patch from Daniel Miksik

merged from MOODLE_19_STABLE

Revision 1.37.2.1 - (view) (download) (annotate) - [select for diffs]
Mon Oct 29 18:45:38 2007 WST (2 years, 4 months ago) by poltawski
Branch: MOODLE_19_STABLE
Changes since 1.37: +4 -4 lines
Diff to previous 1.37
MDL-11813 - Use existing group setting strings on course edit form so can be
better translated. Patch from Daniel Miksik

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Aug 17 16:05:05 2007 WST (2 years, 7 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_19_BETA
Branch point for: MOODLE_19_STABLE
Changes since 1.36: +26 -1 lines
Diff to previous 1.36
MDL-10383 - adding UI for new grouping settings into course and mod edit forms + fixed section handling on mod edit page + other minor cleanup

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu Aug 9 20:26:43 2007 WST (2 years, 7 months ago) by stronk7
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35
Increasing the displayed size of course->shortinfo to 20. MDL-10026
(bigger but enough smaller than the fullname field)

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu Jul 26 10:30:18 2007 WST (2 years, 7 months ago) by toyomoyo
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
merged fix for MDL_9804, course shortname limited to 15 chars on forms

Revision 1.25.2.4 - (view) (download) (annotate) - [select for diffs]
Thu Jul 26 10:28:43 2007 WST (2 years, 7 months ago) by toyomoyo
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_183
Changes since 1.25.2.3: +2 -2 lines
Diff to previous 1.25.2.3 , to branch point 1.25
fix for MDL-9804, shortname on forms are limited to 15 chars

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Jul 18 16:57:28 2007 WST (2 years, 8 months ago) by moodler
Branch: MAIN
Changes since 1.33: +21 -18 lines
Diff to previous 1.33
Move the "default role" into enrolments section  MDL-10511

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Jul 14 04:31:26 2007 WST (2 years, 8 months ago) by mchurch
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
Tracker #MDL-9353 - Paypal cost of course not visible in course settings.

Revision 1.25.2.3 - (view) (download) (annotate) - [select for diffs]
Sat Jul 14 04:12:32 2007 WST (2 years, 8 months ago) by mchurch
Branch: MOODLE_18_STABLE
Changes since 1.25.2.2: +2 -2 lines
Diff to previous 1.25.2.2 , to branch point 1.25
Tracker #MDL-9353 - Paypal cost of course not visible in course settings.

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Jun 23 18:25:54 2007 WST (2 years, 8 months ago) by wildgirl
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
improved help file - MDL-7073 fix

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Jun 11 04:43:43 2007 WST (2 years, 9 months ago) by skodak
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30
MDL-9929 we need some other name for password field in course edit page

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue May 1 02:03:27 2007 WST (2 years, 10 months ago) by skodak
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
MDL-9652 rename new password reveal to unmask

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sat Apr 7 00:23:48 2007 WST (2 years, 11 months ago) by skodak
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
MDL-9181 Use new password field with reveal option in editadvanced and enrolment, group and quiz keys

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 15:58:15 2007 WST (2 years, 11 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.27: +9 -4 lines
Diff to previous 1.27
MDL-8537 Added $CFG as the object to check for enrol method when the course is being created.

Revision 1.25.2.2 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 15:57:19 2007 WST (2 years, 11 months ago) by nicolasconnault
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_181, MOODLE_182
Changes since 1.25.2.1: +9 -4 lines
Diff to previous 1.25.2.1 , to branch point 1.25
MDL-8537 Added $CFG as the object to check for enrol method when the course is being created.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 11:56:50 2007 WST (2 years, 11 months ago) by toyomoyo
Branch: MAIN
Changes since 1.26: +7 -1 lines
Diff to previous 1.26
fix for MDL-9197. multilang filter is not applied to default role in course settings

Revision 1.25.2.1 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 11:56:22 2007 WST (2 years, 11 months ago) by toyomoyo
Branch: MOODLE_18_STABLE
Changes since 1.25: +7 -1 lines
Diff to previous 1.25
fix for MDL-9197, multilang filter is not applied to default role in course settings

Revision 1.8.2.3 - (view) (download) (annotate) - [select for diffs]
Mon Apr 2 13:29:33 2007 WST (2 years, 11 months ago) by moodler
Branch: MOODLE_17_STABLE
CVS Tags: MOODLE_173, MOODLE_174, MOODLE_175, MOODLE_176, MOODLE_177, MOODLE_17_MERGED, MOODLE_17_WEEKLY
Changes since 1.8.2.2: +0 -0 lines
Diff to previous 1.8.2.2 , to branch point 1.8 , to next main 1.73
Removed conflicts

Revision 1.8.2.2 - (view) (download) (annotate) - [select for diffs]
Mon Apr 2 13:26:04 2007 WST (2 years, 11 months ago) by moodler
Branch: MOODLE_17_STABLE
Changes since 1.8.2.1: +350 -360 lines
Diff to previous 1.8.2.1 , to branch point 1.8
Complete port of Moodle 1.8 formslib.php back into 1.7 to aid development of any modules that may use formslib in 1.7

MDL-9159

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Thu Mar 22 17:11:31 2007 WST (2 years, 11 months ago) by toyomoyo
Branch: MAIN
Changes since 1.25: +16 -1 lines
Diff to previous 1.25
fix for MDL-8966, customizable role names

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Jan 21 18:26:33 2007 WST (3 years, 1 month ago) by jamiesensei
Branch: MAIN
CVS Tags: MOODLE_18, MOODLE_18_BETA
Branch point for: MOODLE_18_STABLE
Changes since 1.24: +4 -26 lines
Diff to previous 1.24
some small changes

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 20:10:09 2007 WST (3 years, 1 month ago) by jamiesensei
Branch: MAIN
Changes since 1.23: +6 -6 lines
Diff to previous 1.23
fixes for 'Choose legend/header text carefully - short and non-repeated' MDL-7780

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Fri Jan 12 14:07:22 2007 WST (3 years, 2 months ago) by jamiesensei
Branch: MAIN
Changes since 1.22: +1 -8 lines
Diff to previous 1.22
moved set_defaults to main script out of definition method.

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 16:03:09 2006 WST (3 years, 3 months ago) by jamiesensei
Branch: MAIN
CVS Tags: MOODLE_18_GROUPS_PRE_MERGE
Changes since 1.21: +3 -6 lines
Diff to previous 1.21
* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform  - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 00:47:24 2006 WST (3 years, 3 months ago) by sam_marshall
Branch: MAIN
Changes since 1.20: +5 -2 lines
Diff to previous 1.20
MDL-7401 Course format database/backup/lang/stylesheet/capability support

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Nov 28 18:55:12 2006 WST (3 years, 3 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_18_GROUPS_PRE
Branch point for: MOODLE_18_GROUPS
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
fixed addStopFieldsetElements of submitbutton

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Tue Nov 28 16:04:00 2006 WST (3 years, 3 months ago) by jamiesensei
Branch: MAIN
Changes since 1.18: +11 -21 lines
Diff to previous 1.18
some fixes for disabledIf and using disabledIf in course/edit_form.php

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Nov 16 03:06:49 2006 WST (3 years, 4 months ago) by skodak
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17
MDL-6949 fixed enrolment choice in course edit form

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Nov 10 06:08:30 2006 WST (3 years, 4 months ago) by skodak
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16
coding style fixes MDL-6949

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Fri Nov 10 05:22:49 2006 WST (3 years, 4 months ago) by skodak
Branch: MAIN
Changes since 1.15: +7 -5 lines
Diff to previous 1.15
fixed metacourse issues in course/edit2.php MDL-6949

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Nov 7 16:48:18 2006 WST (3 years, 4 months ago) by jamiesensei
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
migrated mod/forum/post.php to formslib and fixed a string in course/edit_form.php

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Oct 19 15:12:11 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.13: +12 -11 lines
Diff to previous 1.13
fix for :
$this->_form->getElement('allowedmods')->
                        updateAttributes(array('disabled' => 'disabled')) ;
 that didn't work in PHP 4. (calling a method on a returned object)

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Oct 16 20:07:44 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.12: +14 -4 lines
Diff to previous 1.12
added new dummy function to moodleform to allow some defintion to be done for the form dependent on data values.

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Oct 14 20:32:31 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.11: +8 -3 lines
Diff to previous 1.11
Fixed a bug with client side validation of form fields.

Added some default error messages for rules specified in lang pack as err_{rulename} Use the default by setting the rule message to null.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Oct 13 17:58:53 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
Changes since 1.10: +368 -360 lines
Diff to previous 1.10
refactored course/edit2.php and edit_form MDL-6914 ; set $CFG->use_new_forms=1; in config.php if you want to test it ;-)

Revision 1.8.2.1 - (view) (download) (annotate) - [select for diffs]
Wed Oct 11 13:32:35 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MOODLE_17_STABLE
CVS Tags: MOODLE_17, MOODLE_171, MOODLE_172, MOODLE_17_BETA2
Changes since 1.8: +103 -8 lines
Diff to previous 1.8
*** empty log message ***

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Oct 10 15:16:05 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.9: +67 -67 lines
Diff to previous 1.9
changed $default to $toform - more meaningful

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Oct 10 15:05:19 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.8: +99 -4 lines
Diff to previous 1.8
moved setting of defaults from edit2.php to edit_form.php

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Oct 9 19:23:23 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
CVS Tags: MOODLE_17_BETA
Branch point for: MOODLE_17_STABLE
Changes since 1.7: +3 -1 lines
Diff to previous 1.7
fix for bug that value of restrictmodules field wasn't available which breaks disabling of allowedmods multiple select

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Oct 9 16:32:30 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
added 2 new methods to form class data_submitted and setDefault

Fixed bug in id generation

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Sep 28 03:12:52 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5
changes to html structure for rendering of forms in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Sep 27 23:58:45 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.4: +4 -6 lines
Diff to previous 1.4
modifications made to demo new security features

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Sep 27 00:40:35 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
modified api to create an htmleditor element

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Sep 26 19:13:51 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
changed some assignments to assignment by reference when instantiating objects.

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Sep 26 17:42:42 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
* added error message for setHelpButton method not existing
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Sep 25 01:14:44 2006 WST (3 years, 5 months ago) by jamiesensei
Branch: MAIN
This is a demo of the experimental formslib. It is used here to print and process the course settings form.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.10