Commit graph

7396 commits

Author SHA1 Message Date
stronk7
76dc1ad2cf Under Win32, we need backslashes in paths. Now it works!!
Merged from MOODLE_14_STABLE
2004-10-10 23:25:57 +00:00
stronk7
6cf2fe0336 Added some needed strings.
Merged from MOODLE_14_STABLE
2004-10-10 22:48:59 +00:00
stronk7
48eeac7963 Delete some debug info.
Merged from MOODLE_14_STABLE
2004-10-10 22:00:30 +00:00
stronk7
b3020784d6 Central unzip_file() function included:
- Supports both internal and external zip execution.
    - Displays the results of the execution.
    - All Petr's patched added.
    - External zip execution in Win32 supported.
Please TEST, TEST, TEST.

Merged from MOODLE_14_STABLE
2004-10-10 21:46:13 +00:00
stronk7
ef1e97c7ec Now the zip_files() function is working better:
- More checks are done
- Non existing files are out
- Both internal an external are supported and protected
- All Petr's patchs applied
- Included support to Win32 external zip.

TODO: Create a paralel unzip_file() function
      Use this functions in all the FileManager scripts

THOUGHT: External zip seems to work always adding files to
      zip file if it exists, where PclZip resets the file.
      Perhaps a rm (or delete) should be included in the
      command chain. Analyse it!!

Merged from MOODLE_14_STABLE
2004-10-10 01:07:47 +00:00
stronk7
5b224948aa course/view.php is using sesskey
(changes in blocks done, please check them)

Merged from MOODLE_14_STABLE
2004-10-09 20:16:05 +00:00
stronk7
d99ceac20f course/index.php is using sesskey.
Merged form MOODLE_14_STABLE
2004-10-09 13:22:59 +00:00
stronk7
abf45bedf0 course/category.php is using sesskey
Merged from MOODLE_14_STABLE
2004-10-08 16:52:20 +00:00
moodler
d7d21c383c Minor changes for XHTML compatibility 2004-10-08 13:58:33 +00:00
moodler
3d90760aa2 Just added support for "site" format, for completeness. 2004-10-08 13:46:55 +00:00
moodler
3af575075c Merged new stuff from stable 2004-10-08 06:11:17 +00:00
moodler
6d8f47d64f Checked in something that hadn't been 2004-10-08 06:06:03 +00:00
stronk7
230478bf5e PclZip library upgraded to 2.1 2004-10-07 14:10:03 +00:00
dhawes
761155628f Additional phpdoc comments for get_string and print_string functions - example usage added and argument types documented 2004-10-04 16:44:54 +00:00
julmis
c802303cc4 Making code more xhtml compatible 2004-10-02 17:09:39 +00:00
moodler
975a33e7e7 OK, aligning this to the same as STABLE ... there's been a bit of a mixup
about this file.  It's now standard with the single addition of a constructor
to set this->PluginDir, and this is now used for the language file includes.
2004-10-02 13:11:57 +00:00
julmis
a21daa9803 Fixed insertImage routine for gecko based browser
- use createElement instead of insertimage
- Added title automatically from alt value
2004-10-02 09:51:14 +00:00
moodler
14444c5ef0 Fixing Shane's last checkin 2004-10-02 03:20:16 +00:00
ikawhero
24c54604d3 Merged changes from stable branch 2004-10-02 00:09:24 +00:00
moodler
7228f7963f Merged sesskey stuff from stable 2004-10-01 15:06:39 +00:00
moodler
e0d346ff91 Added optional_param and required_param just to get it on the plate 2004-10-01 12:09:52 +00:00
ikawhero
5c4b19d38d Bug in path for language strings fixed 2004-10-01 04:51:05 +00:00
moodler
decec3da38 Merged parameter cleaning from stable 2004-10-01 02:43:09 +00:00
moodler
3f1d5c1182 Clean error messages (merged from stable) 2004-10-01 02:25:02 +00:00
moodler
b0542a1e20 Jump -> go on popup menus 2004-09-30 10:52:48 +00:00
moodler
16570a27c3 Fixed an extra slash 2004-09-30 07:56:27 +00:00
moodler
42b90599be SESSIONS-IN-DATABASE SUPPORT
Support for a new configuration variable called $CFG->dbsessions
which enables sessions via database.  Based on code from Jason Cole's
team - thanks!
2004-09-30 06:02:39 +00:00
mjollnir_
436d4c6bf5 close bracket in wrong place 2004-09-30 04:18:41 +00:00
julmis
f5a55bc1dc Merging from MOODLE_14_STABLE 2004-09-29 22:20:36 +00:00
mjollnir_
92e754ebd2 Fixed firstname lastname to call to fullname function 2004-09-29 21:32:53 +00:00
dhawes
2f87145ba2 Further documented new *SECS contants where they are declared as well as in each function that uses them 2004-09-29 18:56:50 +00:00
moodler
037dcbb6a9 A first attempt at adding accessibility for the jump menus, by adding a
button after them when Javascript is not enabled.

Button is currently named "Jump".  Could be something else.
2004-09-29 14:00:35 +00:00
moodler
6159ce6582 Fixed typo from recent addition of all the DAYSECS etc ... 2004-09-29 09:12:55 +00:00
mjollnir_
ea09b04bbd Postgres bufix 2004-09-29 00:45:06 +00:00
dhawes
da72d76d30 added '@access private' docblock tags to functions that should not be called directly 2004-09-28 16:40:26 +00:00
moodler
7ecd7c616d Merged parameter function from STABLE (and added phpdoc) 2004-09-28 15:41:36 +00:00
moodler
72b4e28353 Some changes for XHTML and accessibility compliance 2004-09-28 09:47:14 +00:00
moodler
8ef1e12f74 Merged fix for unclean oldname from renaming ... from stable. 2004-09-28 08:05:18 +00:00
paca70
7a5672c90c Replaced time related "magic numbers" with constants, what are hopefully
more easier to read.
2004-09-28 05:53:08 +00:00
dhawes
674fb525d2 fixed misplaced comments on CFG and USER globals 2004-09-28 02:51:56 +00:00
dhawes
ca811dc55a comments for file, class and public methods converted to phpdoc style comments 2004-09-28 02:16:42 +00:00
moodler
366dfa6090 New config variable $CFG->tracksessionip will force Moodle to always
check that the user's IP number never changes
2004-09-27 14:35:37 +00:00
moodler
ce791f885e Merged change from STABLE, to fix possible $auth variable problem 2004-09-27 12:52:25 +00:00
moodler
4037263a06 Fixed bug with quotes (finally?) 2004-09-27 09:32:59 +00:00
moodler
052fe105eb Fixing bad call to table_column ("after" field not needed) 2004-09-27 08:05:56 +00:00
paca70
d53748e6bf Ficed bug on " -> ' conversion 2004-09-27 05:15:21 +00:00
dhawes
88a7228ae2 Converted comments to phpdoc comments - file is in need of additional comments. I also took the opportunity to convert double quote strings to single quote literals. 2004-09-26 05:10:38 +00:00
dhawes
99c2531671 Converted comments to phpdoc style. Functions require additional documenting. 2004-09-26 04:57:07 +00:00
dhawes
b68275d52a Converted comments to phpdoc style 2004-09-26 04:54:03 +00:00
dhawes
a93ea924a0 Converted comments to phpdoc style comments 2004-09-26 04:49:39 +00:00