2060 Commits

Author SHA1 Message Date
moodler
dae73c05e9 New $CFG->admin directory can override the location of the admin
directory.

Useful because some web hosts use /admin for other things.
2003-04-10 13:46:52 +00:00
moodler
bc700e6559 New function swapshuffle_assoc 2003-04-10 13:45:07 +00:00
moodler
c05eca327c Importing improved to include pre and post-processing.
Removal of Random Matching code from the generic case.
Implementing a particular custom import style aon.php
2003-04-10 13:12:40 +00:00
moodler
da5fb074c3 Minor robustness fix 2003-04-10 13:11:34 +00:00
moodler
b1db099b7e New icons 2003-04-10 13:04:20 +00:00
moodler
44ce983d45 Updated number of languages 2003-04-10 06:24:57 +00:00
moodler
66a68c1739 Updated with current thoughts about general path this year 2003-04-10 06:22:04 +00:00
moodler
1365bacde6 Correct a typo 2003-04-09 14:30:04 +00:00
moodler
52c018a0b5 More logical position for shuffle options 2003-04-09 14:27:58 +00:00
moodler
4b85b71712 New quiz switches to
- shuffle questions order
  - shuffle answers order
2003-04-09 13:57:08 +00:00
moodler
f5cbbecaf5 empty() --> !isset() 2003-04-09 13:41:11 +00:00
moodler
72e5815533 More fixes resulting from random question feature 2003-04-09 08:11:20 +00:00
moodler
434802d5ce Slightly more efficient database access. 2003-04-09 07:23:42 +00:00
moodler
34d52ad7d2 First implementation of completely random questions.
When you add a random question to a quiz, then a question
is chosen randomly from the same category.

Questions are not repeated in a particular quiz attempt.

This still needs more testing, but it's looking OK so far.
2003-04-09 06:32:51 +00:00
moodler
d62413e869 Use "modified" date of posts when displaying them, not the "created" date. 2003-04-08 14:09:24 +00:00
moodler
329f046798 Don't use session.path check when the server is in safe mode 2003-04-08 03:51:38 +00:00
moodler
29cbd93a45 Just much simpler way of doing the last patch. 2003-04-07 16:08:52 +00:00
moodler
aa6fbca550 Use the cached admin bit if it's there!
(saves one database access per editable activity on the course page!)  :-/
2003-04-07 15:30:34 +00:00
moodler
8daaf761c3 Added code to catch runaway case when there is more than one news forum.
It shouldn't happen, but I think it can when the database is having
problems.
2003-04-07 15:20:08 +00:00
moodler
8f202463d5 New file 2003-04-07 03:30:50 +00:00
mits
b4e3b12234 New translation add and modify $string['configunzip'] , $string['configzip'] :) 2003-04-06 06:15:00 +00:00
moodler
e64984a0bb Modifications to allow Moodle files management page to use PclZip
instead of external zip programs.

To use the internal PclZip, the config variables "zip" and "unzip"
must be left blank.

Code for PclZip integration originally from Robert Hetzel, though
I've expanded it and modified it a lot.

The zip files seem compatible with itself and Windows XP, but I had a
compatibility problem trying to unzip a PclZip file using Zip 2.3 on Linux
(directories are unpacked as empty files)
2003-04-06 05:53:47 +00:00
moodler
8ef3483b60 Added Version 1.3 of PclZip to the distribution 2003-04-06 05:48:56 +00:00
mits
f07e21dec4 no message 2003-04-06 03:29:28 +00:00
mits
f561b68011 Polished 2003-04-06 03:24:49 +00:00
moodler
46d552b810 Partial translation, by Ilia Chipitsine <ilia@chel.skbkontur.ru> 2003-04-05 14:29:26 +00:00
moodler
e52c4f2231 Latest improvements from Paula 2003-04-05 14:21:10 +00:00
moodler
c4dfc485eb Fixes for main SQL defintions - from Juro Chlebec 2003-04-04 10:47:37 +00:00
moodler
ef49e5c301 addslashes to string used for javascript link 2003-04-02 07:24:42 +00:00
moodler
8a205861e0 Added a robustness check for USER->id 2003-04-01 02:38:31 +00:00
moodler
0305fe824d Undoing recent changes 2003-04-01 02:24:58 +00:00
moodler
ffb410df03 Sorry, Petri, but we need to undo these changes, because:
- they could break accounts in existing installations
  - strtolower can corrupt strings in multibyte languages

Is it really a problem that usernames are case sensitive on PostgreSQL?
2003-04-01 02:14:16 +00:00
paca70
b398d5ee2a Use always only lowercase version of username.
When using authentication module (ldap, smb, pop etc...) and postgres-database multiple moodle
users were created for usernames like 'Username' 'username' 'userName'
2003-03-31 17:05:52 +00:00
mits
73f131b7a6 New translation added and polished some. 2003-03-31 03:03:20 +00:00
moodler
e4be3d5943 Renamed randommatch.html -> randomsamatch.html 2003-03-30 16:51:24 +00:00
moodler
432d39026d New template for Match questions 2003-03-30 16:48:34 +00:00
moodler
54a67a5921 First cut at adding new "fixed" Match question type, which is manually
created.  Works OK after limited testing.

I've also renamed some strings to do with "Random Match", so that this
question type is now called "Random Short-Answer Match".

Later there will be a new 'Random Match' which randomly selects one of the
existing "Match" questions.
2003-03-30 16:46:50 +00:00
moodler
03fd6a965e Fixed a slight typo 2003-03-30 13:54:28 +00:00
moodler
0d0baabf2c Fixed a missing global $CFG declaration. 2003-03-30 13:25:49 +00:00
moodler
2d0b30a028 What was I thinking? This is much cleaner (and no duplicates). 2003-03-29 04:08:51 +00:00
moodler
adaf39283c Changes to activate the "force subscribe" option on the Site News forum.
By default it is OFF, but if it is turned on, then site news is emailed
to ALL enrolled students and ALL current teachers.
2003-03-29 03:39:56 +00:00
paca70
754786f1be Updates 2003-03-28 08:58:47 +00:00
paca70
a3b0dbfa80 updates from Jaana 2003-03-27 20:04:24 +00:00
moodler
90707adb7f Added Romanian author, plus some fixes 2003-03-27 03:28:25 +00:00
moodler
b8a0fb13a3 Eugen Tanul <roinstitute@fx.ro> 2003-03-27 03:14:44 +00:00
moodler
aa9f961b7d New language: Romanian by Eugen Tanul <roinstitute@fx.ro> 2003-03-27 03:13:36 +00:00
moodler
bad357c414 Restoring Paula de Waal's versions for the time being 2003-03-26 15:14:52 +00:00
moodler
ea6003eb8a New translations of the help files, from Adriana Beal 2003-03-26 15:08:46 +00:00
moodler
b60aa549fc Added Bobo 2003-03-26 14:14:16 +00:00
moodler
b6f64be2a5 Fixes related to AcceptPathInfo - removed need for ifDefine lines. 2003-03-26 14:13:42 +00:00