177 Commits

Author SHA1 Message Date
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +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
f0e13cf157 Whoops - forgot the db prefix in the where clause 2005-04-12 20:04:50 +00:00
thepurpleblob
a8093758b1 Whoops - new strings now taken from correct lang file. 2005-04-12 15:26:57 +00:00
thepurpleblob
14333242e3 Made mail subject line text in language pack, not hardcoded. 2005-04-12 14:10:41 +00:00
thepurpleblob
bdbbb0b6f3 Now 2005041100: Wiki-like formatted text converted to Markdown 2005-04-11 13:38:12 +00:00
thepurpleblob
ad96fa8e28 Wiki-like format converted to Markdown in journal intro and journal entries 2005-04-11 13:37:33 +00:00
stronk7
8a2381f6b9 Now Journal mails support filterall. 2005-04-10 22:38:22 +00:00
stronk7
c2dd62a773 Now journal->name supports filterall. 2005-03-30 19:26:23 +00:00
moodler
61f0aace2a Some more CSS changes (SE) 2005-03-24 13:59:59 +00:00
moodler
6aed9d10c2 Changes for XHTML, accessibility compatibility.
Removed THEME variable, inserted CSS classes where appropriate. (SE)
2005-03-24 12:43:22 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
mjollnir_
5ad4a39da5 Merged from MOODLE_14_STABLE: Add new line after url in journal mailout to prevent /mod/journal/view.php?id=1----- type requests 2005-03-08 20:56:30 +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
stronk7
95e72c12d0 Now retrieving only needed fields! 2005-02-13 00:42:29 +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
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
mjollnir_
58336c87a2 Merged from MOODLE_14_STABLE: Indexes for journal and version bump (honoring partial freeze) 2004-11-19 02:02:38 +00:00
moodler
d7d21c383c Minor changes for XHTML compatibility 2004-10-08 13:58:33 +00:00
gustav_delius
1c5d9bbbec closed some br tags 2004-09-12 22:29:44 +00:00
gustav_delius
41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
moodler
36d9d5f70e Merged fixes from stable 2004-08-30 06:29:54 +00:00
gustav_delius
222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +00:00
gustav_delius
8f6b80b90c Merging from stable branch 2004-08-24 18:38:14 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
gustav_delius
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +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
2127fedda8 Step 2 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-16 00:36:00 +00:00
stronk7
0f1a97c2fb Step 1 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-15 23:18:24 +00:00
moodler
58259e3217 Can use $CFG->journal_showrecentactivity to hide recent activity for journals 2004-04-30 04:50:41 +00:00
moodler
d5a2ccadb9 New function journal_count_entries() and more accurate counting of
journal entries for different grouping scenarios
2004-03-13 16:15:02 +00:00
moodler
a12f686b62 Function name change ... hope it doesn't break any third-party code,
sorry if it does!

  get_users_in_group --->  get_group_users

  ... more consistent with other functions
2004-03-13 14:24:34 +00:00
stronk7
7399316518 Now journal logs are restored too :-) 2004-02-18 22:30:35 +00:00
moodler
2969a73c00 Fixed bug getting group users 2004-02-15 14:51:24 +00:00
moodler
424aef6aef Use the new short way of setting up groups 2004-02-15 07:18:07 +00:00
moodler
9867144441 Group suport for Journals.
This module also has a crappy interface and must be fixed.  But not today.
2004-02-14 08:52:28 +00:00
moodler
e1aaf05de9 Working around that PHP bug - thanks for the confirmation Henrik! 2004-02-14 08:17:01 +00:00
moodler
fe412041b5 Don't print blank journal intros 2004-02-13 03:40:57 +00:00
moodler
80e376a20d Use format_text instead of text_to_html (so filtering works) 2004-02-08 09:47:29 +00:00
moodler
34050fd84a Removing old log upgrades (too slow) 2004-02-05 08:36:48 +00:00
moodler
8a55b99805 UPgrade logs to new format 2004-02-05 05:16:29 +00:00
moodler
a7f4452d11 Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
moodler
9423833cd9 All modules now require the very latest because of the changes to add_to_log 2004-01-31 15:25:00 +00:00
moodler
037f99aa2d Upgraded add_to_log to send cm->id 2004-01-31 15:22:04 +00:00
moodler
a80a772821 Fixed some hard-coded strings http://moodle.org/bugs/bug.php?op=show&bugid=1011 2004-01-31 05:55:11 +00:00
moodler
a698fc0e92 Simplified logic a bit 2004-01-30 04:02:17 +00:00