227 Commits

Author SHA1 Message Date
moodler
f39752c6f9 Actually, better to do it for all of them (gap after summary) 2005-04-18 14:48:09 +00:00
moodler
3eff21803c Make the gap between summary and full text a little larger 2005-04-18 14:45:23 +00:00
moodler
3cc633011d Hack fix for course languages in resources (bug 2922) 2005-04-15 07:05:59 +00:00
stronk7
85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
thepurpleblob
fa33cfe99e Version 2005041100. Update converts wiki-like resources to Markdown. 2005-04-11 12:33:47 +00:00
thepurpleblob
c0de5d55a5 Added update to convert wiki-like format to Markdown format 2005-04-11 12:32:46 +00:00
gustav_delius
8035268825 complete the renaming of get_user_timezone to get_user_timezone_offset started by Martin 2005-04-08 14:24:10 +00:00
moodler
bfe839b8ce Fixed missing bracket 2005-04-06 16:52:07 +00:00
stronk7
72f6ad8627 Now resource->name is working under filterall. 2005-04-05 22:37:06 +00:00
moodler
713d78eafa 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).
2005-04-02 12:11:27 +00:00
stronk7
ea9572f68f Manual links from lesson pages to resources are now preserved
between backup/restore anywhere.
(see discussion http://moodle.org/mod/forum/discuss.php?d=21044)

Merged from MOODLE_14_STABLE
2005-04-02 00:13:49 +00:00
moodler
2699de70b7 Call the new MP# player properly 2005-03-15 17:08:09 +00:00
moodler
d38577e226 Simplify autolink styles to "modulename autolink" 2005-03-15 08:38:27 +00:00
moodler
5913e88f78 Consistent file styles 2005-03-13 17:17:11 +00:00
moodler
b8d03c6b77 Styles on file listings 2005-03-13 16:32:38 +00:00
moodler
8a0556be8c Fixed four more references to mimetypes.php (bug 2690) Thanks, Gustav! 2005-03-07 15:11:43 +00:00
moodler
f1e0649c1c Removed files/mimetype.php and put it into lib/filelib.php instead
where it always should have been.
2005-03-07 11:32:03 +00:00
moodler
875b56946b Fixed up formatting of this page 2005-03-07 06:33:41 +00:00
moodler
3e88d524ad New faster filters! 2005-03-04 10:13:42 +00:00
moodler
942dd7fbf9 Merge fix from STABLE 2005-03-02 16:22:21 +00:00
moodler
dcf193c25f Removed link from navigation bar 2005-02-25 04:48:47 +00:00
moodler
1d533faf92 Made new serverurl more standard (don't include raw variables in strings) 2005-02-20 06:08:58 +00:00
fiedorow
2ce434a99f Minor fix: language string lookup 2005-02-19 22:44:20 +00:00
fiedorow
d0cc843ed3 Added hook for more flexible authentication to external url - backwards compatible with existing file resources 2005-02-19 20:22:48 +00:00
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
gustav_delius
48e535bc35 Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.

If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.

If deleting a coursemodule its events are deleted from the calendar.

The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.

For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
moodler
b61aed4297 Fixed up some layout issues in the configuration files 2005-02-08 09:23:21 +00:00
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
skodak
3fa66675b3 correction in require path for mimetypes 2005-02-06 20:06:08 +00:00
moodler
9fad2dec0f Removed $THEME from around the place 2005-02-01 03:46:20 +00:00
julmis
5096a8eada Adding <span class="nolink"> excluding. 2005-01-30 14:21:52 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
ikawhero
2e708fa096 General tidy up of code, changes for XHTML and accessibility compatibility. 2005-01-18 09:46:01 +00:00
moodler
20dd7de2cb fix merged from stable 2004-12-15 13:13:18 +00:00
mjollnir_
a5e2b34dac Merged from MOODLE_14_STABLE: Indexes for resource and version bump (honoring partial freeze) 2004-11-19 05:00:40 +00:00
moodler
ab00ea8ccf Merged changes from STABLE 2004-11-11 07:57:52 +00:00
moodler
7054372371 More secure use of parameters, merged from stable 2004-11-11 07:45:27 +00:00
moodler
6aac6eef8c Access fixes, merged from stable 2004-11-11 07:44:14 +00:00
moodler
5938401cff Updated Resource, Wiki and Scorm to use the new files/index.php to
choose files.   The old coursefiles.php is obsolete.
2004-11-02 12:53:32 +00:00
skodak
ccfdf3f2cf merged from 14_STABLE -
removed incorrect global $USER
2004-10-28 14:18:33 +00:00
skodak
453c406e31 merged from 14_STABLE -
updated htmleditor invocation (from files/index.php)
2004-10-26 19:57:18 +00:00
skodak
4b5865662d xhtml compliance $id and $wdir not quoted in forms 2004-10-26 19:44:55 +00:00
skodak
23eb1cc518 merged from 14_STABLE -
changes:
* sesskey;
* only editing teachers can use it;
* time modified - used filemtime (consistency with files/index.php, better for Win32);
* directory sizes shown;
* removed unused "torte" action;
* updated breadcrums (active folder not linked and &raquo;);
* updated comments;
* some other fixes from files/index.php.

Please test, test, test.
2004-10-26 19:25:53 +00:00
moodler
43beba82e1 XHTML and accessibility compatibility 2004-10-19 07:09:09 +00:00
moodler
5c48d24437 More changes for XHTML compatibility.
Remove some left over test code.
2004-10-19 06:40:47 +00:00
stronk7
4f9b2efd50 Now resource's FileManager is using central zip & unzip functions.
Merged from MOODLE_14_STABLE
2004-10-17 19:36:27 +00:00
moodler
3981ecbeaf More XHTML fixes 2004-10-15 12:23:43 +00:00
moodler
97bcc61f03 Changes for XHTML compatibility 2004-10-15 08:48:28 +00:00
moodler
657e7903b6 Some changes for XHTML compatibility 2004-10-07 08:08:56 +00:00
stronk7
ebfff4e014 admin/module.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00