2691 Commits

Author SHA1 Message Date
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
stronk7
6ed15ea50a Now get_config() is executed after "set names", so textual data retrieved
from the config table has the proper encoding. Bug 5043.
(http://moodle.org/bugs/bug.php?op=show&bugid=5043)
2006-04-07 23:57:38 +00:00
stronk7
820743c5b1 Moving $CFG->ostype and $CFG->os setting, because
report_session_error() was being executed before setting
such variables and moodle_setlocale() need them.
(http://moodle.org/mod/forum/discuss.php?d=43466)
2006-04-07 22:58:07 +00:00
gustav_delius
b6e907a245 Manual grading 2006-04-07 16:00:29 +00:00
nfreear
a2e2bf643a Fix MB 5099, "Make CSS requests expire in IE", fix 'max-age=' as per http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, override $lastmodified parameter (OU-Bugz: 851) 2006-04-07 10:18:03 +00:00
gustav_delius
755bddf118 Improvements to response history. Three small bug fixes. 2006-04-06 19:59:02 +00:00
nfreear
408b65dd44 Fix 2, bug 4943: "print_simple_box behaviour changed". Centred is now default alignment; for centred no-width specified, width=30em. 2006-04-06 17:21:04 +00:00
gustav_delius
3a5a6f59a3 Introduce field for teacher comments, in preparation for manual grading 2006-04-06 16:42:00 +00:00
moodler
d9d282e493 Fixing some documentation.
get_records etc are not inefficient if used correctly, and result in MUCH
more readable code that get_recordset does.

I'm already starting to see code being submitted that takes these
instructions literally and it looks like Java.  :-(
2006-04-06 15:26:44 +00:00
moodler
7e73ff00cf Some info about the PHP license and PEAR (we are going to keep it in Moodle) 2006-04-06 06:31:38 +00:00