moodler
76a359ba93
Added something for Apache 2 (to make 'slasharguments' work)
...
<IfDefine APACHE2>
AcceptPathInfo on
</IfDefine>
2003-03-10 13:39:56 +00:00
moodler
9a9a2907c2
Add a target to the "made with moodle" link to avoid confusing students
2003-03-07 15:09:12 +00:00
moodler
31ce4b538c
Fixed quotes on column
2003-03-03 17:46:53 +00:00
moodler
08c17336a7
Fixed $USER and $SESSION to be pointers to the real $_SESSION
...
variables, so there's no longer a need for save_session (thanks,Petri)
2003-02-27 02:38:55 +00:00
moodler
d92a53d182
No need for ismainteacher() ... it's enough to check that the user is
...
a teacher in a course, and a creator.
2003-02-26 05:55:31 +00:00
moodler
2fdb54b819
Fixed bug in table creation - (it was creating a null table!)
2003-02-25 03:53:50 +00:00
moodler
0ca1825cab
Tidied up some of Petri's code :-/
2003-02-25 03:46:06 +00:00
paca70
1924074c76
Added support for nonadmin course creation.
...
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
moodler
2b051f1c8e
Changes to modify_database() so it works with string input
2003-02-24 09:36:15 +00:00
moodler
ee0e5d57e2
Two new functions for randomizing arrays
2003-02-24 09:34:10 +00:00
moodler
5a4d292bca
Added changes to table_column from Petri Asikainen for Postgresql 7.3
2003-02-18 07:44:26 +00:00
moodler
c2a96d6b32
Fixes for the use of LIMIT in SQL for Postgres 7.3 (from Petri Asikainen)
2003-02-18 03:16:07 +00:00
moodler
dc1dc6e973
Added function to check everything on a page
2003-02-17 17:02:56 +00:00
moodler
811c88b32f
Fix short column
2003-02-16 09:24:25 +00:00
moodler
3f3960656d
Fixed link to picture file in print_picture_file
2003-02-11 01:53:10 +00:00
moodler
40f1246b14
Missing semicolon
2003-02-06 18:07:31 +00:00
moodler
73f8658c36
Provide the possibility that the format of a text is not defined properly
2003-02-05 12:41:59 +00:00
moodler
bcdfe14e02
Whoops, fixed some obvious bugs when getting slash arguments
2003-02-05 10:52:55 +00:00
moodler
eaa50dbc83
Removed some redundant code when looking for slash arguments (use me() function instead)
2003-02-05 10:48:13 +00:00
moodler
fced815cd7
Improved me() function
2003-01-30 15:52:38 +00:00
moodler
db11e52dec
Allow tags for embedded objects
2003-01-28 03:55:55 +00:00
moodler
b35e8568ff
Ignore all files and directories beginning with "."
2003-01-28 03:34:26 +00:00
moodler
a09b86a693
Use On and Off instead of 0 and 1
2003-01-28 02:28:17 +00:00
moodler
750ab759ed
Slightly better robustness for notice() when there is no referer
2003-01-26 06:04:14 +00:00
moodler
e79ddee2ad
Smaller random number for smaller machines. :-)
2003-01-24 08:47:20 +00:00
moodler
03f06a1412
Remove the ampersand thing ... it was actually a Mozilla display bug. :-)
2003-01-24 08:41:18 +00:00
moodler
9223049919
Fixes to insert_record for inserting null values.
...
Also some unfinished changes to table_column ... not recommended for use right now
2003-01-24 07:51:55 +00:00
moodler
eb58acca4d
New sessiontimeout config variable to set the timeout for sessions
2003-01-24 04:31:58 +00:00
moodler
7d8f674dea
Implemented a safer version of stripslashes called stripslashes_safe.
...
This will only fix these three cases:
\'
\"
\\
and leaves all other backslashes alone. Should fix problems in forums
and forms where backslashes were sometimes disappearing from windows
paths like C:\temp - usually only in the richtext editor, but still.
2003-01-23 13:07:49 +00:00
moodler
f3e48e6ef0
Solve this silly mpersand display problem
2003-01-23 05:03:27 +00:00
moodler
9f44d972c7
Add slashes to data pulled out of external source, just in case O'Brien logs in :-)
2003-01-22 01:55:54 +00:00
moodler
d60131c3c9
Changes to use fonts in language packs, and also to use a language
...
decoding function if necessary
2003-01-21 09:17:10 +00:00
moodler
f6e653e06a
Moved fonts into language pack so that other languages can have
...
proper displays in graphs
2003-01-21 07:27:01 +00:00
moodler
2e6d42735f
Added new configuration value $CFG->directorypermissions to set the
...
permissions for new directories created in dataroot
2003-01-20 14:03:11 +00:00
moodler
3e9b5d5a90
Moved session lang setting into setup.php (works on all pages)
2003-01-20 08:09:25 +00:00
moodler
858156a995
Take session language into account when setting locale
2003-01-20 08:06:09 +00:00
moodler
37208cd23a
Some robustness
2003-01-20 07:13:02 +00:00
moodler
dc8791f367
Undoing recent change to insert_record() because of some problems
2003-01-20 07:10:14 +00:00
moodler
c9d4e6da89
Remove old doclang variable
2003-01-19 12:37:56 +00:00
moodler
3db3acfb99
Instead of using doclang, use $SESSION->lang, and make it override other
...
language settings. This should fix documentation display, but also will
be how setting registration languages and login languages works
2003-01-19 12:32:55 +00:00
moodler
a7e838796a
Rogue tabs
2003-01-19 06:07:05 +00:00
moodler
fe2874294c
If we create a directory, then chmod it to protect the contents.
2003-01-19 05:54:08 +00:00
moodler
3c72e2f9c9
Some changes to insert_record to help Postgres 7.3
2003-01-19 05:46:49 +00:00
moodler
7fb92a3388
Changed Czech code
2003-01-19 01:23:53 +00:00
moodler
536d3e22be
Added Wales
2003-01-16 12:17:45 +00:00
moodler
dcde9f020a
Displayed time formats are now stored in lang files
...
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
1c418003d7
FIxed logic problem when checking has_default variable in the database
...
when inserting new data
2003-01-14 15:36:20 +00:00
moodler
2c104c0152
Fixed redirection when user not completed yet in some instances when
...
using external authentication
2003-01-14 14:54:45 +00:00
moodler
1063d08854
Add info that may help solve a bug on some old servers
2003-01-13 12:06:33 +00:00
moodler
94e3411897
Slightly more robust function
2003-01-13 02:42:57 +00:00