Log of /moodle/course/edit_form.php
Parent Directory
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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.