Log of /moodle/mod/resource/type/file/resource.class.php
Parent Directory
Revision
1.106
Fri Aug 14 04:45:55 2009 WST (7 months ago) by
skodak
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.105: +1 -1 lines
FILE REMOVED
MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker
Revision
1.103 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 8 12:12:14 2009 WST (8 months, 1 week ago) by
samhemelryk
Branch:
MAIN
Changes since
1.102: +3 -3 lines
Diff to
previous 1.102
javascript-UFO MDL-19738 Stopped ufo.js being included in outputlib and included it in each place it was actually being used.
It will no only be loaded when it is being used. If something new comes along they will need to remember to require it.
At the same time cleaned up a few deprecated calls
Revision
1.92 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 8 13:27:44 2009 WST (14 months, 1 week ago) by
jerome
Branch:
MAIN
Changes since
1.91: +108 -69 lines
Diff to
previous 1.91
resource: MDL-10021 upload file resource: change "keep navigation visible" into select box (No, yes with frame, yes without frame)
Revision
1.53.2.23 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 15 21:31:29 2008 WST (16 months ago) by
iarenaza
Branch:
MOODLE_18_STABLE
Changes since
1.53.2.22: +4 -1 lines
Diff to
previous 1.53.2.22
, to
branch point 1.53
file resources: MDL-14541 Object tag embedding PDF's and nested Flash objects does not work reliably
Merged from MOODLE_19_STABLE.
Credit goes to David Boyer for reporting and suggesting the fix for PDF files,
and Jon Witts & Mauno Korpelainen for proving a way to reproduce the Flash
issue and tips to fix it.
Revision
1.90 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 15 21:27:26 2008 WST (16 months ago) by
iarenaza
Branch:
MAIN
Changes since
1.89: +4 -1 lines
Diff to
previous 1.89
file resources: MDL-14541 Object tag embedding PDF's and nested Flash objects does not work reliably
Merged from MOODLE_19_STABLE.
Credit goes to David Boyer for reporting and suggesting the fix for PDF files,
and Jon Witts & Mauno Korpelainen for proving a way to reproduce the Flash
issue and tips to fix it.
Revision
1.71.2.19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 15 21:22:32 2008 WST (16 months ago) by
iarenaza
Branch:
MOODLE_19_STABLE
Changes since
1.71.2.18: +4 -1 lines
Diff to
previous 1.71.2.18
, to
branch point 1.71
file resources: MDL-14541 Object tag embedding PDF's and nested Flash objects does not work reliably
Credit goes to David Boyer for reporting and suggesting the fix for PDF files,
and Jon Witts & Mauno Korpelainen for proving a way to reproduce the Flash
issue and tips to fix it.
Revision
1.89 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 13 17:41:02 2008 WST (16 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.88: +37 -28 lines
Diff to
previous 1.88
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
Revision
1.75 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Dec 15 06:22:38 2007 WST (2 years, 3 months ago) by
skodak
Branch:
MAIN
Changes since
1.74: +2 -2 lines
Diff to
previous 1.74
MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE
Revision
1.73 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Nov 5 23:10:27 2007 WST (2 years, 4 months ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.72: +7 -12 lines
Diff to
previous 1.72
MDL-8992 Now only appearing once per page, and XHTML compliant. Also removed an ugly browser-sniffing css hack from the quicktime plugin, and applied the same browser detection as for the other plugins
Revision
1.71.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 13 00:09:37 2007 WST (2 years, 5 months ago) by
tjhunt
Branch:
MOODLE_19_STABLE
Changes since
1.71: +9 -17 lines
Diff to
previous 1.71
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
Backported from head. Will update merged tags in a few hours. I am late for orchestra. Sorry.
Revision
1.72 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 12 23:55:55 2007 WST (2 years, 5 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.71: +9 -17 lines
Diff to
previous 1.71
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
Revision
1.69 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 31 00:43:12 2007 WST (2 years, 7 months ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.68: +18 -18 lines
Diff to
previous 1.68
MDL-9664 Attempting to address the issue. I need feedback from many people on this, so this commit is only a temporary fix.
Revision
1.64 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 16 03:56:08 2007 WST (2 years, 10 months ago) by
skodak
Branch:
MAIN
Changes since
1.63: +2 -2 lines
Diff to
previous 1.63
MDL-9730 resource name is now used in accessibility pdf link instead of summary hat may not be always present; merged from MOODLE_18_STABLE
Revision
1.62 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Apr 5 13:51:12 2007 WST (2 years, 11 months ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.61: +13 -7 lines
Diff to
previous 1.61
MDL-9198: Embedded PDF now works fine in FF 1.5, FF 2, IE5, IE6, IE7 and Opera, and degrades beautifully in non-supported browsers (or when plugin is missing).
Revision
1.60 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 15 10:53:27 2007 WST (3 years ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.59: +69 -26 lines
Diff to
previous 1.59
MDL-8870 - All major file formats (mp3, mpeg, wmv, mov, avi, swf) now support embedding when required, in all major browsers.
Revision
1.59 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 14 14:27:13 2007 WST (3 years ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.58: +32 -27 lines
Diff to
previous 1.58
MDL-8870 - Added support for embedded flash, as well as css hooks for different embedded files (e.g. class="resourceswf")
Revision
1.56 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 8 16:49:33 2007 WST (3 years ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.55: +40 -29 lines
Diff to
previous 1.55
Converted embedded media files (avi, wmv and mov) to xhtml strict compliance. However, this is far from finished, since some browsers are not displaying correctly.
<table border="1" cellpadding="2" cellspacing="2">
<tr>
<td></td><th colspan="8">Browsers</th>
</tr>
<tr>
<th>File</th>
<td>FF 1.5</td>
<td>FF 2.0</td>
<td>IE 1.5</td>
<td>IE 1.6</td>
<td>IE 1.7</td>
<td>Safari 2.0</td>
<td>Opera 9.10</td>
<td>Konqueror</td>
</tr>
<tr>
<td>AVI (800x600)</td>
<td>?</td><!-- FF 1.5 -->
<td>?</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>?</td><!-- IE 1.6 -->
<td>?</td><!-- IE 1.7 -->
<td>?</td><!-- Safari 2.0 -->
<td>?</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>AVI (300x200)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK (pb with size)</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>OK</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>WMV (800x600)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>NO</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>WMV (300x200)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK (pb with size)</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>OK</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>MOV (800x600)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>NO</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>MOV (300x200)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>NO</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
</table>
Revision
1.53.2.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 8 16:40:45 2007 WST (3 years ago) by
nicolasconnault
Branch:
MOODLE_18_STABLE
Changes since
1.53.2.2: +40 -29 lines
Diff to
previous 1.53.2.2
, to
branch point 1.53
Converted embedded media files (avi, wmv and mov) to xhtml strict compliance. However, this is far from finished, since some browsers are not displaying correctly.
<table border="1" cellpadding="2" cellspacing="2">
<tr>
<td></td><th colspan="8">Browsers</th>
</tr>
<tr>
<th>File</th>
<td>FF 1.5</td>
<td>FF 2.0</td>
<td>IE 1.5</td>
<td>IE 1.6</td>
<td>IE 1.7</td>
<td>Safari 2.0</td>
<td>Opera 9.10</td>
<td>Konqueror</td>
</tr>
<tr>
<td>AVI (800x600)</td>
<td>?</td><!-- FF 1.5 -->
<td>?</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>?</td><!-- IE 1.6 -->
<td>?</td><!-- IE 1.7 -->
<td>?</td><!-- Safari 2.0 -->
<td>?</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>AVI (300x200)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK (pb with size)</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>OK</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>WMV (800x600)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>NO</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>WMV (300x200)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK (pb with size)</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>OK</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>MOV (800x600)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>NO</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
<tr>
<td>MOV (300x200)</td>
<td>?</td><!-- FF 1.5 -->
<td>OK</td><!-- FF 2.0 -->
<td>?</td><!-- IE 1.5 -->
<td>OK</td><!-- IE 1.6 -->
<td>OK</td><!-- IE 1.7 -->
<td>NO</td><!-- Safari 2.0 -->
<td>OK</td><!-- Opera 2.0 -->
<td>?</td><!-- Konqueror 2.0 -->
</tr>
</table>
Revision
1.53.2.2 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 28 14:36:18 2007 WST (3 years ago) by
nicolasconnault
Branch:
MOODLE_18_STABLE
Changes since
1.53.2.1: +2 -2 lines
Diff to
previous 1.53.2.1
, to
branch point 1.53
Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.
Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
Revision
1.52 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 28 04:56:10 2007 WST (3 years, 1 month ago) by
skodak
Branch:
MAIN
Changes since
1.51: +1 -5 lines
Diff to
previous 1.51
MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues
MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images
fixed setting of new $USER values in user edit forms
Revision
1.47 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 12 04:21:18 2007 WST (3 years, 2 months ago) by
skodak
Branch:
MAIN
Changes since
1.46: +137 -138 lines
Diff to
previous 1.46
MDL-7013 resource forms converted to use new forms library; locking is not implemented yet - will have to improve disabledif first
Revision
1.36 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 6 00:44:55 2006 WST (4 years, 2 months ago) by
stronk7
Branch:
MAIN
Changes since
1.35: +2 -6 lines
Diff to
previous 1.35
More uses for current_charset().
Merged from MOODLE_16_UTF8. Abandoning the branch.
Revision
1.31 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Apr 2 20:11:27 2005 WST (4 years, 11 months ago) by
moodler
Branch:
MAIN
Changes since
1.30: +53 -7 lines
Diff to
previous 1.30
New feature for resources ... Local File Resources
A Resource Parameter controls this (it defaults to OFF).
When on, you see a third button when selecting a file, which lets
you select a LOCAL file on your own filesystem (but it isn't uploaded).
The local file is included in the web page when viewed. All users see
a link that helps them set up a user_preference for the location of
these files on their own system (usually a CD_ROM drive).
Revision
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 20 04:22:48 2005 WST (5 years ago) by
fiedorow
Branch:
MAIN
Changes since
1.23: +18 -3 lines
Diff to
previous 1.23
Added hook for more flexible authentication to external url - backwards compatible with existing file resources
Revision
1.17 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 17 01:13:30 2004 WST (5 years, 6 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.16: +7 -7 lines
Diff to
previous 1.16
XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
Revision
1.11 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 14 19:54:31 2004 WST (5 years, 7 months ago) by
moodler
Branch:
MAIN
Changes since
1.10: +5 -1 lines
Diff to
previous 1.10
Fixed window choices on resources so that they use a radio button now.
bug 1741
Revision
1.10 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 9 23:45:21 2004 WST (5 years, 7 months ago) by
moodler
Branch:
MAIN
Changes since
1.9: +36 -34 lines
Diff to
previous 1.9
Cleaned up some more things using some shortcut variables, and also
fixed bug 1711 that was preventing glossaries from working properly
Revision
1.8 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 8 22:33:23 2004 WST (5 years, 7 months ago) by
moodler
Branch:
MAIN
Changes since
1.7: +4 -4 lines
Diff to
previous 1.7
Lots of little cleanups and these new things:
- Reference resources are now history -> converted to HTML pages
(the backup/restore has been taken care of, Eloy)
- HTML pages and Text pages can now have popups!
- Summaries are not shown when they should be blank (eg if they
just contain a <br /> as the HTML editor usually inserts.
- Fixed some notices for PHP 5
Revision
1.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 28 13:52:18 2004 WST (5 years, 7 months ago) by
moodler
Branch:
MAIN
Changes since
1.4: +7 -4 lines
Diff to
previous 1.4
Fixed some notices ... thanks, Eloy! For some reason my server
isn't displaying these even though it's set up ...
Revision
1.1
Mon Jul 19 15:38:45 2004 WST (5 years, 8 months ago) by
moodler
Branch:
MAIN
Branch point for:
MOODLE_14_RESOURCE
FILE REMOVED
file resource.class.php was initially added on branch MOODLE_14_RESOURCE.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.