77 Commits

Author SHA1 Message Date
moodler
8d3f818bdd Updated with the new location of the Flash script 2004-01-09 08:47:37 +00:00
moodler
0643b1db7a Old settings weren't being remembered - fixed now. 2004-01-09 07:16:07 +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
0d71d164b8 Improved navigation info in header 2003-12-30 06:54:19 +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
83891eda00 New defaults for popup window settings, which is window off, but all
sub-settings on.

These default defaults can be defined on the page

  Admin -> Config -> Modules -> Resource -> Settings
2003-12-09 04:00:33 +00:00
moodler
ee273b61a4 Fix for image display - see Bug 695 Thanks, Gustav 2003-12-06 07:34:55 +00:00
willcast
bf46cd2267 - Adding error trapping to the fetching function and giving error messages accordandly.
- Adding Moodle as the web agent!!! :)

PLEASE, edit the new language strings if necessary.
2003-11-28 03:27:24 +00:00
moodler
b2b8471e63 Removed some tabs 2003-11-28 02:19:20 +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
willcast
af65e103df - 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:04:36 +00:00
moodler
5e91dd3f36 Another setting to allow a default URL in webpage and weblink 2003-11-26 11:47:51 +00:00
moodler
66c2503062 Added a new setting called "resource_websearch" ... it is simply a
URL that is offered to users as a place to to find URLs.  By default
it's google.com, but could easily be a local repository of files.
2003-11-25 08:01:52 +00:00
moodler
40bed9e13d Use new editor stuff 2003-11-03 16:58:45 +00:00
moodler
fb7a194e6b Removed blank lines at the end (!) 2003-11-03 02:59:09 +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
8dddba42ce Modularised some of the processing for "extra" information such as
information for popup windows on resources and labels
2003-10-22 13:14:56 +00:00
moodler
199d242993 I finally added a proper course files browser to replace the menu. 2003-10-19 15:02:41 +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
les_kopari
ff74d85283 Initial add for Oracle. 2003-09-25 02:11:31 +00:00
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
moodler
145cb8f9ab More short tags 2003-09-11 13:21:56 +00:00
moodler
c559bcf6f0 Fixed some PHP short_tags 2003-09-09 12:34:51 +00:00
stronk7
84caf038de Included resource_get_participants() function. 2003-09-07 22:01:47 +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
0fbd1d3c02 Keep defaults even when reediting web links that aren't using new window 2003-08-27 07:21:48 +00:00
moodler
7f12f9cdd9 'Extras' in cached course modinfo activities is now returned.
This means that Resources can now employ them on the index listing.

Specifically, Resources that are popup now popup from there too.
2003-08-26 13:47:46 +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
3ec7dc5704 Fixed a typo in the MySQL database definition that only shows
up when adding resources to courses with IDs higher than 255
2003-08-20 13:06:11 +00:00
moodler
5925d0ef5b New configuration screen for the resources module 2003-08-18 17:46:51 +00:00
stronk7
902142c079 Added language support 2003-07-28 19:32:51 +00:00
moodler
86aa7ccfdf New feature - "Web link" resources can now specify a popup window
fullscreen is currently the only feature left out of this .. I had
trouble getting it to work consistently so I've left it out as being
more troubles than it's worth.
2003-07-20 13:53:31 +00:00
moodler
cccb016ae4 When displaying index lists of a particular module's activities,
ensure that the order they are displayed in is always the same as the
order they have been defined in.   See bug 553.

This involved API changes to the function get_all_instances_in_course()
2003-07-12 05:19:18 +00:00
moodler
d7c93ec8fa Moving the backup libraries for each module into their new homes.
There's some beer and pies in the fridge, guys, settle in.
2003-07-09 04:40:35 +00:00
moodler
717f40c6d8 Some fixes to avoid pointless uses of $ME 2003-06-16 14:40:51 +00:00
moodler
21b1125f63 Make form destinations relative (to course/mod.php) to avoid
some form problems on mis-configured servers (wwwroot not quite right)
2003-06-10 05:33:58 +00:00
moodler
5c716ac2b4 Prevent possible error when editing non-HTML pages 2003-06-02 08:14:24 +00:00
moodler
11697b48ea Minor code cleanups
- lowercasing
  - removing short php tags
  - adding some emoticon help here and there
2003-05-20 08:03:12 +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