240 Commits

Author SHA1 Message Date
moodler
e2cc29f41c Minor change to displaying resources with course blocks (SE) 2005-08-14 06:06:29 +00:00
moodler
a7b6e9e14d Can now display course blocks when composing a text or web page. (SE). 2005-08-14 05:57:12 +00:00
moodler
0440482f1d Two methods added to allow resources to be displayed with the course
blocks. Uses the outstanding Page class code by Jon P. (SE)
2005-08-14 05:34:56 +00:00
mikewaters
94d78cc663 Modified Files:
repository.html  - added help buttons and changed hive buttons
     resource.class.php  - hive/makelink.php added version and format options
     hive/openhive.php  - obsolete
 Added Files:
     hive/hp-footer-hive-powered.gif - hive logo
     hive/openlitebrowse.php  - new openhive option
     hive/openlitesearch.php  - new openhive option
2005-07-29 08:08:42 +00:00
moodler
a99b1e91ce More Hive stuff for integration 2005-07-15 07:37:36 +00:00
moodler
3714735752 Hide repository type by default 2005-07-15 07:22:23 +00:00
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
skodak
a2a537db28 merged from MOODLE_15_STABLE 2005-07-02 20:35:43 +00:00
thepurpleblob
1270a3a7ed Replaced _variable() style calls with _param() style calls plus other
mods to suit.
2005-06-16 10:15:02 +00:00
thepurpleblob
d53839aa6d Whoops - typo! 2005-06-10 13:25:23 +00:00
stronk7
8a12a13250 Tabs are out 2005-05-16 23:42:48 +00:00
stronk7
9f7fa650a5 Now resource autolinking filter is optimised too, so all the autolinking
filters are using latest improvements.
Only Bug 3138 remains open and is important. I've its solution at home and
I'll post it in some hours. Just testing it against PHP4 and PHP5.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138)
2005-05-06 18:15:21 +00:00
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