defacer
9b4b78fd6a
Da monster-commit of blocks version 2!
...
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!
Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler
169fc66a15
Merged small speed improvements from STABLE
2004-10-18 06:00:26 +00:00
stronk7
76e2bc3b77
Strip control chars when unzipping.
...
Merged from MOODLE_14_STABLE
2004-10-17 23:44:16 +00:00
stronk7
261dac37a6
Now Editor's FileManager is using central zip and unzip functions.
...
NOTE: What is the courseimages.php file, I haven't tested it because
I didn't find how to do it!
Merged from MOODLE_14_STABLE
2004-10-17 23:11:14 +00:00
stronk7
a095707760
Small change in condition...
...
Merged from MOODLE_14_STABLE
2004-10-17 22:36:03 +00:00
stronk7
1c1520c5bb
Included some filename transformations to work like info-zip.
...
Directory traversal protection added.
Working under Win32, MacOS X and BSD (and rest of Unix, I hope).
Patch file from Petr. Thanks!
Merger from MOODLE_14_STABLE
2004-10-17 22:28:53 +00:00
stronk7
e941292002
Now pclzip generated files are compatible with info-zip
...
(linux, macos x, win32, bsd...) based extractors. This
include command-line flavours, stuffit and so on...
Thanks to Petr!!
We have to remember to apply this patch when we update the
pclzip in th future (if their authors don't include it).
Merged from MOODLE_14_STABLE
2004-10-17 13:36:13 +00:00
stronk7
8d67a044b7
Added the optional showstatus parameter to unzip_file() to avoid
...
sending any output if desired.
Merged from MOODLE_14_STABLE
2004-10-16 16:33:40 +00:00
stronk7
7e6b7f8da2
Latest patches from skodak included in param functions.
...
Simple and double quotes are out now.
Full paths in unzip are now hidden too.
Please test it. It could have some pending changes yet!
And please, don't forget to move the floating tag in STABLE
when changes are done there!! It causes a lot of problems
when trying to merge later from STABLE to HEAD again.
Merged from MOODLE_14_STABLE.
2004-10-16 11:39:52 +00:00
julmis
955dbfaeef
Adding hide buttons feature.
2004-10-16 09:11:00 +00:00
moodler
53f39b328c
Merged prettier error from stable
2004-10-15 08:47:12 +00:00
paca70
f894a7914a
auth_iscreator return now three posible values:
...
null = not supported (Dont change user status)
false = user not creator
true = user is creator
2004-10-13 07:16:24 +00:00
skodak
bfce67a179
merged from 14_STABLE, the merging is getting a bit messy :-O
...
added sesskey to update_module_button(), error reported in moodle forum d=13835;
I made a quick fix - it seemed critical to me
2004-10-12 18:47:39 +00:00
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