Commit graph

20 commits

Author SHA1 Message Date
nicolasconnault
8fc5a75c11 MDL-6826 Removed the optional_param lines at the top, and set the submit buttons to PARAM_RAW. Also changed !empty() to isset() 2008-02-06 10:24:26 +00:00
moodler
88540a03e6 Merged logic fix for MDL-6826 from 1.9 2008-02-05 03:19:06 +00:00
nicolasconnault
c0d26d69f8 MDL-6826 Removed "changes" from both buttons, and implemented Tatsuya's patch 2008-02-04 12:57:32 +00:00
nicolasconnault
24ab562c73 MDL-6826 backporting new "save changes and return to course" button for all modules' edit and add forms. 2008-01-24 19:23:10 +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
jamiesensei
19110c573d added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method.
also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php
2006-12-04 09:36:30 +00:00
jamiesensei
67906614ad now using disabledIf method in course/edit 2006-11-30 08:47:52 +00:00
jamiesensei
e24b7f851a some restructuring of formslib - moving moodleform_mod definition to new file course\moodleform_mod.php and some changes to moodleform_mod standard elements setup and moodleform disabledIf API 2006-11-24 06:39:15 +00:00
jamiesensei
145dbd7cee added action to redirect back to course page or to url in session var if cancel has been pressed. 2006-11-15 07:34:34 +00:00
jamiesensei
df56998ab1 need to pass course as customdata to form definition 2006-11-10 01:27:51 +00:00
jamiesensei
3cd7940b0c moved the inclusion of mod/{modname}/lib.php to before form definition so that constants in there can be used in form defintion 2006-11-09 19:22:38 +00:00
jamiesensei
264867fdeb add code to redirect to modedit.php from course/mod.php for activities adding / updating using new formslib
migrated chat/mod.html to formslib definition of form is in chat/mod_form.php
2006-11-09 18:25:58 +00:00