Commit graph

3450 commits

Author SHA1 Message Date
skodak
d850b4e621 typo in switch 2006-04-22 13:38:24 +00:00
toyomoyo
bee40515da fix for 5216 2006-04-21 05:17:08 +00:00
moodler
1939c80a54 Bug #5274 - HTML Editor Full Screen, Wrong Image location 2006-04-21 02:26:29 +00:00
moodler
a80722bc33 Fix for double escapeshellarg in bug 5258 - Thanks Andy! 2006-04-21 01:51:46 +00:00
martinlanghoff
78fbaeaeed weblib: validate_email() -- emails with a trailing dot in the local-part (user.@host.com) are invalid 2006-04-20 22:32:00 +00:00
moodler
08bdcd3974 Added more common mail charsets to choose from bug 5229 2006-04-20 08:21:58 +00:00
moodler
31256b56b3 Sitemailcharset should be empty string 2006-04-20 08:19:36 +00:00
moodler
02c649e69e Make email address denying work a little more rigorously. bug 5250 2006-04-20 08:17:11 +00:00
toyomoyo
8bcd295c3d bumping up version, chaing user->firstname, user->lastname, course->shortname to varchar(100) 2006-04-19 08:18:35 +00:00
gustav_delius
9977aa0f4a Don't forget the prefix_ for table names 2006-04-18 21:49:14 +00:00
toyomoyo
2b9fd72cc3 fix for 5210 2006-04-18 07:12:39 +00:00
toyomoyo
8f23f49004 fix for 5209 2006-04-18 06:43:29 +00:00
toyomoyo
5bce15857e added a comment 2006-04-18 03:45:23 +00:00
toyomoyo
025bec3169 the table_column function ate my auto_increments 2006-04-18 03:30:57 +00:00
skodak
960855b9a1 fixed double header warning in redirect() 2006-04-17 20:40:33 +00:00
moodler
d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
moodler
9e458bb388 Moodle Docs link on home page could be a bit confusing 2006-04-16 16:21:50 +00:00
moodler
f666830caf Removed blank line 2006-04-16 15:56:36 +00:00
stronk7
717f14b627 strstr(string haystack,string needle). We were doing the opossite. Bug 5037.
(http://moodle.org/bugs/bug.php?op=show&bugid=5037)
2006-04-15 17:30:23 +00:00
julmis
b5a5d9f668 Another fix for creating links. 2006-04-14 09:57:41 +00:00
skodak
f8a5159a2b changes needed for new s() and p() - see bug #2338 2006-04-14 08:02:32 +00:00
moodler
99d1acbcef Default blog level is site level 2006-04-14 06:39:14 +00:00
skodak
e8d1c9ed2b stripslashes_safe() improvement - now works also for arrays and objects see bug #2338 2006-04-13 21:27:01 +00:00
thepurpleblob
2784b98278 Don't compare floats for equality! Bug #5176 2006-04-13 10:29:20 +00:00
moodler
87fa2e3f8a Fixes to make print_error more useful, suggested by Sam
It can now take a module argument, and can support different link locations
2006-04-13 05:42:47 +00:00
gustav_delius
da1cc5a44e Fixed problem with slashes, bug 5177 2006-04-13 00:37:14 +00:00
stronk7
d4a42ff494 New optional parameter to s() and p() allowing to specify
if we want to strip slashes (data coming from forms) or no
(data coming from DB, the default). Bug 2338.
(http://moodle.org/bugs/bug.php?op=show&bugid=2338)
2006-04-12 17:39:23 +00:00
skodak
eb59ac2777 PARAM_BOOL now accepts "yes/no" too 2006-04-12 16:55:47 +00:00
skodak
f27d105cc6 final fix for category and courses edit button 2006-04-12 16:28:11 +00:00
moodler
dd899b917d Fixed up print_error according to original plan
see also http://moodle.org/mod/forum/discuss.php?d=43712
2006-04-12 09:32:19 +00:00
stronk7
766ad62808 Solve some notices that were breaking Excel generation under
some PHP versions. As bug is well documented but PEAR code hasn't
been changed in origin, we'll patch it here. Changes will
merge smoothly in the future, I think.
(Moode Bug: http://moodle.org/bugs/bug.php?op=show&bugid=4763)
(PEAR Bug: http://pear.php.net/bugs/bug.php?id=6509)
2006-04-11 22:49:09 +00:00
skodak
2451dcc3aa added proper parameter type in confirm_sesskey() 2006-04-11 20:07:57 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
moodler
c204f5fea1 Made the empty recordset array cache global, so that various functions can
manipulate it.    See bug 5077.
2006-04-11 07:43:05 +00:00
moodler
12ef2c40d9 Added a new field to cache "old" course_module visibility when
the whole module is disabled (see bug 5021)
2006-04-11 07:04:55 +00:00
stronk7
6346748fec Strip the "_utf8" suffix from language names in list of languages.
(http://moodle.org/bugs/bug.php?op=show&bugid=4924)
2006-04-10 22:53:53 +00:00
gustav_delius
cbe20043b5 Whenever a question is edited the version field is set to question_hash(), see bug 2958. 2006-04-10 22:10:32 +00:00
moodler
e575c0597d Added a notify in debugging mode for a double print_header() 2006-04-10 16:00:34 +00:00
moodler
f870b674a1 Take the course listing out of the default site page
because the default setting on site.php is to have it
in the middle of the page.
2006-04-10 15:38:34 +00:00
moodler
32613b509f Added a little static variable to print_header to prevent it being called twice 2006-04-10 14:40:39 +00:00
moodler
b525bd2009 Better fix for bug 5082. Noticeboxes are now:
#notice.generalbox
2006-04-10 08:32:27 +00:00
moodler
21e2acab15 Added generalbox to noticebox on notices - bug 5082 2006-04-10 08:27:53 +00:00
moodler
71470b3bf1 Convert the text cache to use a blob, so that there are no character set
issues:   see bug 5136
2006-04-10 07:17:26 +00:00
toyomoyo
dffaf68202 changed some int(11) to int(10) 2006-04-10 06:26:07 +00:00
toyomoyo
16ae46f6c5 migration for blogs and tags 2006-04-10 06:08:13 +00:00
moodler
30c9e6947d Reverting changes to print_simple_box for now until the new div can be
rolled out without problems.  See bug 4943
2006-04-10 01:39:38 +00:00
gustav_delius
848d886edb Small change to question_print_comment_box() to allow multiple boxes on one page 2006-04-09 22:48:58 +00:00
gustav_delius
1d7e093418 Small fix so that unattempted questions would never be marked 2006-04-09 21:35:44 +00:00
gustav_delius
7c404f9b2b Fixed some small xhtml problems and removed a warning 2006-04-08 14:20:52 +00:00
gustav_delius
2a2aba273f submit button for teacher comment is now included in question_print_comment_box 2006-04-08 08:22:18 +00:00