Commit Graph

57 Commits

Author SHA1 Message Date
moodler 7054372371 More secure use of parameters, merged from stable 2004-11-11 07:45:27 +00:00
gustav_delius d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
moodler 1aef6fb798 Fixed lots of bodgy little things 2004-07-28 06:56:59 +00:00
moodler d18830fe31 Merged in the new resource structure to TRUNK 2004-07-25 14:32:05 +00:00
moodler 891581dbde Add a link across to the Files area 2004-05-16 09:11:17 +00:00
moodler 16a5602cd7 1. Directory Resources now support sub directories
2.  Subdirectories in File Manager now display their total size
2004-05-16 08:52:32 +00:00
moodler c15cea3604 Added some checks for forcelogin on resources 2004-05-11 13:16:20 +00:00
moodler 4464fcf74a Minor change to table format 2004-05-03 05:36:11 +00:00
moodler 593d774fb0 Fix path problem with main directory listing 2004-05-02 15:25:46 +00:00
moodler cd2dea0a8d Added file size and table headings to Directory resource 2004-05-02 15:22:00 +00:00
moodler 7ba54e1b78 A new resource type called Directory ... it simply lists all the
files in a directory to make them available to students.
2004-05-02 15:10:04 +00:00
moodler 16bc83d693 QUicktime should use "aspect" for best results on different movies 2004-04-17 07:49:54 +00:00
moodler 245f5aaa61 Using scaling when displaying quicktime 2004-04-17 07:32:54 +00:00
stronk7 977070f9e8 Undo one line inserted by error in my previous commit
with one change I was trying some time ago...sorry :-(
But now all should be correct.
2004-03-11 23:50:05 +00:00
stronk7 da0fe63f91 Fixed some wrong call to pclzip.lib.php. See:
http://moodle.org/bugs/bug.php?op=show&bugid=1138
2004-03-11 23:47:18 +00:00
moodler cb4287ea70 Reverting previous fix, since it's now done across the board by file.php 2004-03-09 06:28:31 +00:00
moodler e359234d0f Fix for bug 1106
When resource_filterexternalpages are turned on then uploaded HTML
files are also now filtered properly.
2004-03-09 06:20:11 +00:00
moodler 4101e996e1 Make Quicktime movies loop by default 2004-02-20 11:58:44 +00:00
moodler 54caa35e20 DOn't print blank summaries 2004-02-13 03:42:51 +00:00
moodler 7eac5f93cd Removed some rubbish 2004-02-08 12:51:27 +00:00
moodler 952b9c07b6 Quicktime plugin 2004-02-08 12:48:43 +00:00
moodler 0708881565 Use mediaplayer for ALL uploaded mediaplayer files 2004-02-08 12:21:36 +00:00
moodler 037f99aa2d Upgraded add_to_log to send cm->id 2004-01-31 15:22:04 +00:00
moodler 98a45cd7e7 Support for auto embedding of WMV files 2004-01-20 11:22:09 +00:00
moodler 8d3f818bdd Updated with the new location of the Flash script 2004-01-09 08:47:37 +00:00
moodler 1b4ccb8a92 More tweaks when displaying embedded resources 2004-01-09 06:52:54 +00:00
moodler 797e9e30ce Some tidying up of the recent layout 2004-01-09 06:36:43 +00:00
moodler a98d00e2b0 Some cleaning up and native support for streaming MP3! (using Flash) 2004-01-09 03:31:28 +00:00
moodler ffaaf096a5 Fixed long-standing problem with popup windows.
Now when you go to the using the navbar, they popup and leave
some navigation behind.

Also fixed a recent bug with embedded images
2004-01-08 12:20:11 +00:00
moodler 82ca81cf69 Big cleanup for logic in handling uploaded files, now shorter and clearer 2003-12-30 06:53:53 +00:00
moodler ee273b61a4 Fix for image display - see Bug 695 Thanks, Gustav 2003-12-06 07:34:55 +00:00
willcast 0c4a0e80b7 - Fixing bug that was preveting uploaded files to be shown...
Uploaded files parsing is not ready so it's desabled by code...
2003-11-28 02:18:47 +00:00
moodler 3bfe3922c2 A few rearrangments in the new code for filtered external pages 2003-11-28 02:11:02 +00:00
willcast 8367faba8b - External webpage resources now are parsed and automatic links are added to the glossary terms... Only if $CFG->filterexternalpages is enabled. 2003-11-27 19:09:47 +00:00
moodler c260b07707 Make sure resources are put through format_text so that they can be
processed properly (eg autolinking)
2003-10-28 14:01:15 +00:00
moodler 0abc815473 Allow uploaded files to be declared in popup windows too. 2003-10-19 14:21:54 +00:00
moodler 8f6495804d Smaller borders on frames 2003-10-10 06:02:43 +00:00
moodler 603cc2631c Redirection speed is faster (use 0), also prevents page going into IE history 2003-09-02 01:20:56 +00:00
moodler 16ef5e7812 Some fixes so that navmenus don't jump out of frames any more.
The navmenu function now takes a third parameter that specifies
the window to change location of (default 'self', but could be "parent" or "top")
2003-08-26 06:01:13 +00:00
moodler 5925d0ef5b New configuration screen for the resources module 2003-08-18 17:46:51 +00:00
moodler e9564a5a80 Fixed previous over-zealous lowercasing 2003-05-19 06:11:56 +00:00
moodler c525b27592 Strip tags from page title, and some minor code cleanups 2003-05-18 06:05:23 +00:00
moodler 3a4c2fd089 I knew there was something else I'd forgotten!
Added a check to all modules (well view.php anyway) to check whether a
module is hidden or not.  If it is, then students get a message.
2003-05-15 18:03:22 +00:00
moodler ac4f6d455f Images are not put in a frame, but embedded in a normal page 2003-05-13 07:51:26 +00:00
moodler 3e9ca9fbc5 Added new Wiki code to allow Resource web pages to be created/edited using Wiki format
This code contributed by Howard Miller.  Thanks!
2003-05-01 03:43:16 +00:00
moodler f855f6062b Some tidying up - too much thesis wool in the head 2003-04-29 13:51:28 +00:00
moodler 5d0d5d5ac5 Images, when displayed as resources, are now centered and controlled
by a new style resourceimage
2003-04-29 13:31:47 +00:00
moodler d4be5253aa Making a consistent download link for uploaded resources (same as web page) 2003-03-12 08:02:05 +00:00
moodler f82c2d428a Modified Greg's work to:
- rename the main_frame variable to framename, because it
       - might have caused some confusion
       - none of the global variables have underscores
  - put the config in the config table, with a default of _top
2003-03-12 07:36:22 +00:00
gregb_cc 08b3606390 This is a first attempt to make moodle frame safe.
I've added the variable CFG->main_frame to config-dist.php, and replaced _top
targets with the variable in all the php files.  HTML files, like those in the
documentation, have not been modified, as they are not (yet) parsed.

The variable should probably get moved into the config table, and get some
documentation.

I've also included, but commented out, a slight change in weblib.php, which
would guarantee that messages would be seen before redirecting the user (unless
delay intentionally set to 0 when redirect is used).
2003-03-11 21:35:12 +00:00