Commit graph

902 commits

Author SHA1 Message Date
moodler
518f01ce4f Cleaned up some more things using some shortcut variables, and also
fixed bug 1711 that was preventing glossaries from working properly
2004-08-09 15:45:22 +00:00
moodler
43cbfc1999 Standardising the printing of content and summaries to use format_text() 2004-08-09 14:49:16 +00:00
moodler
3d30a455cb 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
2004-08-08 14:33:23 +00:00
moodler
e7b64b0265 Directory selection list now works when adding a new resource 2004-08-08 07:35:33 +00:00
moodler
df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
moodler
19223525fa Removed Martin's mistaken addition from a few days ago 2004-08-05 18:13:59 +00:00
moodler
c35889f9f1 Removing some upgrade stuff ... not sure what I was trying to do there
I'm checking this in so I can do some testing on other sites
2004-08-05 10:51:58 +00:00
gustav_delius
2f565a77a3 resource module requires recent version 2004-08-03 06:29:10 +00:00
moodler
6da4b2618f The resource types are now always displayed in a standard order
no matter what the language.
2004-08-02 19:11:15 +00:00
moodler
d43730d8ab Fixed some notices, thanks Eloy! 2004-08-01 06:37:12 +00:00
moodler
427c8ccb1a Files starting with a slash are treated as URLs too 2004-08-01 06:36:42 +00:00
stronk7
903536cf37 Adjusted the 'frame' option for some mimetypes when restoring 1.3 courses... 2004-07-30 20:23:04 +00:00
moodler
8588f87283 Fixed URL detection 2004-07-30 09:47:41 +00:00
moodler
e01c2d047d FIx up some resources that didn't upgrade properly before. :-/ 2004-07-30 07:03:39 +00:00
moodler
b035834fc5 resource->type is now a varchar 2004-07-30 03:55:27 +00:00
moodler
4bdd6ce13b Fixed a notice on site page 2004-07-28 11:57:12 +00:00
paca70
edf693decf Wery quickly tested and untested versions for Postgresql. 2004-07-28 08:51:05 +00:00
moodler
1aef6fb798 Fixed lots of bodgy little things 2004-07-28 06:56:59 +00:00
moodler
b673e40b87 Fixed some notices ... thanks, Eloy! For some reason my server
isn't displaying these even though it's set up ...
2004-07-28 05:52:18 +00:00
moodler
433ba81ad6 Grr, fixed ID tag syntax 2004-07-28 05:30:55 +00:00
moodler
bea52d2c4f Added some ID tags to these files 2004-07-28 05:29:52 +00:00
stronk7
d735b7ba9c Now new resources are included in backup & restore.
1.4--->1.4 and 1.3--->1.4 conversions are working fine.
Tomorrow I'll try the backwards conversion (1.4--->1.3).
Bug 1674
(http://moodle.org/bugs/bug.php?op=show&bugid=1674)
2004-07-27 23:05:05 +00:00
moodler
85e8239eac Fix popups and icons for resources 2004-07-26 16:21:56 +00:00
moodler
357c0f9f57 FIxes bug 1669 and some defunct resource types 2004-07-26 11:35:05 +00:00
moodler
59f0e22905 Fixed bug 1667 .... require -> require_once 2004-07-26 05:19:17 +00:00
moodler
d18830fe31 Merged in the new resource structure to TRUNK 2004-07-25 14:32:05 +00:00
moodler
070528fc79 MOdules are dependent on this version of course/mod.php 2004-06-04 07:28:34 +00:00
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
stronk7
2ed07cc70a Solved bug 1491 in all the "linking" filters.
(http://moodle.org/bugs/bug.php?op=show&bugid=1491)
Bugfix 001
2004-05-30 01:00:16 +00:00
moodler
99a9b2d4c3 External resources where we don't know the type are given the web icon 2004-05-29 06:24:23 +00:00
stronk7
d1aebae82e Now only integers < 1000 are avoided... Bug 1441
(http://moodle.org/bugs/bug.php?op=show&bugid=1441)
2004-05-23 18:20:50 +00:00
stronk7
bbb9be5c9f Avoid filtering names whose lenght is 2 or less chars.
Bug 1441.
(http://moodle.org/bugs/bug.php?op=show&bugid=1441)
2004-05-23 11:49:58 +00:00
moodler
d6533f314c Strip tags from Resource names before filtering bug 1418 2004-05-17 16:04:05 +00:00
moodler
d89c6578a5 Fix resource names properly 2004-05-17 15:36:47 +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
d5aacf3e04 Resource auto-linking filter! Developed by Eloy - thanks! (see bug 1389) 2004-05-16 06:41:39 +00:00
moodler
c15cea3604 Added some checks for forcelogin on resources 2004-05-11 13:16:20 +00:00
moodler
59bb9e22ff Handle resource names with slashes better 2004-05-10 16:10:55 +00:00
stronk7
5b76e6fc51 Now every link to forums (from resources and forums) and every link
to resources (from resources and forums) are re-encoded in backup/restore.

I could reduce the code size but for now I prefer to have it this looong
form to clarify what it's doing.

Please, test, test and test...
2004-05-08 18:30:30 +00:00
moodler
4464fcf74a Minor change to table format 2004-05-03 05:36:11 +00:00
moodler
7e62329aa0 Use the folder icon for Directory resources 2004-05-02 17:18:48 +00:00
moodler
47bb59fbf2 Indicating dependency 2004-05-02 15:32:21 +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
7e1500acd7 WEBLINKs and WEBPAGEs can have icons too 2004-04-26 15:44:25 +00:00
moodler
9d361034ec Much requested: Uploaded resources are now shown using the relevant icon. 2004-04-26 15:31:22 +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