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
49eacbe328
added check to see if at least two choices have been entered when setting up or updating a choice activity.
2006-11-27 09:02:35 +00:00
jamiesensei
74e01e6281
changed name of submit buttons to submitbutton instead of sumbit as submit was conflicting with method form.submit()
2006-11-24 16:38:22 +00:00
jamiesensei
8e308b00c7
little bit of white space cleaning up
2006-11-24 12:49:32 +00:00
jamiesensei
ebd3c7ac94
added repeat_elements method to moodleform and used method for choice form
2006-11-24 12:20:26 +00:00
toyomoyo
33a893aa2b
merged, adding missing fields
2006-11-15 06:28:37 +00:00
toyomoyo
e1658dad73
merged, replacing deprecated functions
2006-11-15 06:23:28 +00:00
danmarsden
a337045d86
merged choice fix from Stable MDL-7171
2006-10-31 19:00:55 +00:00
stronk7
5d0fc5c33d
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0
Deprecating old "upgrade" files. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
b8a342d7ac
New upgrade.php file added for this module. MDL-7214
2006-10-26 17:33:40 +00:00
moodler
523e1a21ff
Merged choice fixes from stable
2006-10-23 07:01:18 +00:00
moodler
4e19d85bd9
Merged choice/guest fixes from stable MDL-7171
2006-10-23 03:00:30 +00:00
stronk7
b4c7bb78fc
Deleting some old oci8po files from CVS.
2006-10-21 18:28:28 +00:00
thompson697
cf0b1faded
Apply modularity to the creation of the log file during restore to a new course.
...
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
2006-10-17 10:05:41 +00:00
danmarsden
ff8d654f00
Fix for MDL-6550 - patch from Graeme Byrne thanks! :-)
...
+ remove a bit of unneeded space! :-)
2006-10-16 00:01:13 +00:00
toyomoyo
71cfb1043c
merged fix for warnings
2006-10-12 08:01:58 +00:00
moodler
2d5a4f255b
Merged fixes for MDL-6907 from stable
2006-10-11 06:21:58 +00:00
thompson697
eb87ac71c5
Change creation of restorelog file location to protected backupdata folder.
...
Reassign style and language links
2006-10-04 14:50:50 +00:00
skodak
eef868d17d
major whitespace cleanup - fixed trailng whitespace in new files and admin area
2006-09-20 21:00:45 +00:00
skodak
03f5a0f87c
major whitespace cleanup - fixed \r\n line-ending
2006-09-20 19:46:52 +00:00
moodler
fdb1cf2cc1
FIxed to use the new debugging function
2006-09-18 09:13:04 +00:00
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
0f9602085b
Small bump for guest role fix
2006-09-12 08:22:14 +00:00
moodler
8d158ed44f
Reload the guest role using new defaults
2006-09-12 07:10:49 +00:00
moodler
00adf177ad
Changed some default permissions for the guest role
2006-09-12 05:58:42 +00:00
toyomoyo
39b3e7dedf
adding capaility, fixing indenting and logic (could have broken things)
2006-09-11 07:17:10 +00:00
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
toyomoyo
f9a59efa64
adding some capabilities
2006-08-29 08:43:59 +00:00
moodler
0468976c9a
SWEEPING CLEANUP
...
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)
The $kill thing was removed. If you want to assert a capability
then use:
require_capability('capname', $context);
with optional variables to modify the error message
Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
dabfd0ed85
Removed tabs
2006-08-09 13:45:49 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
stronk7
305ebf6849
Initial XMLDB schema for choice tables. Using FKs where they are obvious.
2006-08-08 17:00:03 +00:00
moodler
bbbf2d4015
ROLES AND PERMISSIONS - FIRST CHECK-IN
...
=======================================
WARNING: DEV IS CURRENTLY VERY UNSTABLE.
This is a mega-checkin of the new Roles system. A lot of changes have
been made in core and modules.
Currently there are a lot of rough edges and known problems. We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).
Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
danmarsden
1e0c4d67fd
Fix for Bug 6119 - gives error when choice full, and user submits a choice they have already selected
2006-07-23 22:14:31 +00:00
skodak
f262874bbe
Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE
2006-07-03 21:11:17 +00:00
danmarsden
8f3c8cdd84
BUG 5662 - bad check for 1.6 version.
2006-05-31 20:28:18 +00:00
martinlanghoff
2a0f40e98c
mod/choice mod/lesson mod/scorm moodle16cleanup: Added notification
...
for cleanup that may fail if one is starting fresh from moodle 1.5.3+,
previous cleanup before 1.5.3 is not needed
2006-05-17 06:42:57 +00:00
danmarsden
019c47d6c1
Fixes bug 5464 also makes response clearer to students -see:
...
http://moodle.org/mod/forum/discuss.php?d=45504
also finishes off Bug 662
2006-05-15 23:24:42 +00:00
vyshane
93642edd6a
Fixed inserts for log_display.
2006-04-24 08:38:03 +00:00
toyomoyo
4dca83214b
new format for log_display
2006-04-24 08:00:51 +00:00
skodak
69e3c41688
page parameter cleanup
2006-04-23 21:07:44 +00:00
skodak
1182171459
moved php end tag from comment revisited
2006-04-23 11:40:25 +00:00
skodak
6550339d39
moved php end tag from comment
2006-04-23 11:37:57 +00:00
danmarsden
22d56e8015
need to check vars aren't empty b4 using them! - another one!
2006-04-12 21:15:10 +00:00
stronk7
1b1858d260
htmlentities() to s()
2006-04-11 16:09:52 +00:00
danmarsden
6c5a77bbb7
couple of bugs when no data returned.
2006-04-06 20:42:35 +00:00
gustav_delius
87b18f4ab7
Fixed call to required_param()
2006-04-05 07:46:52 +00:00
danmarsden
3e11b9f44a
missed one.
2006-04-04 23:36:13 +00:00
danmarsden
acaf7b86e3
Bug Fixes for:
...
Bug 5042
Bug 4600
Bug 4021
Bad code - need to check vars aren't empty b4 using them!
2006-04-04 23:03:15 +00:00