689 Commits

Author SHA1 Message Date
moodler
c8680d86e9 Remove html around paging bar 2005-02-16 07:41:29 +00:00
moodler
c2b552feeb Some fixes to styles etc 2005-02-16 07:35:57 +00:00
moodler
f51e8d7ed6 FIxed up styles and lots of quotes 2005-02-16 06:17:31 +00:00
moodler
fb83bd5075 Fixed a notice 2005-02-15 17:44:02 +00:00
moodler
d3583b418b Checking in what I've got so far here ... lots to do. 2005-02-15 17:27:52 +00:00
gustav_delius
8203d211ad Fix bug 1937 2005-02-14 00:04:09 +00:00
gustav_delius
c7a5b3b1f7 Forum search now no longer shows posts from other groups from forums that are in separate groups mode, see bug 2308 2005-02-13 20:49:28 +00:00
moodler
0d2c0cfdf8 Added a little class to the "edited by" line 2005-02-13 17:26:13 +00:00
moodler
0936de64a5 Add an "edited by" message to posts when they have been edited by a
different person from the original poster.   See bug 2392
2005-02-13 17:20:17 +00:00
gustav_delius
e3ff14ca3c Fixed bug 2392 2005-02-13 16:41:12 +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
moodler
425b4f1abe Err, fixed a typo 2005-02-12 15:56:03 +00:00
moodler
4e00a4d923 A new discussion is now marked read by the current user right away 2005-02-12 15:01:39 +00:00
moodler
3a68fbbb04 Show group icon or group name on the discussion listing 2005-02-12 14:53:48 +00:00
moodler
9044a3874e Cleaned up some bodgy search code and formatted according to guidelines .. 2005-02-12 04:41:17 +00:00
moodler
f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
moodler
d73754ee84 Removed old file 2005-02-09 03:44:41 +00:00
fiedorow
cdea3a531c Highlight search terms found only in HTML markup 2005-02-08 18:06:06 +00:00
moodler
b61aed4297 Fixed up some layout issues in the configuration files 2005-02-08 09:23:21 +00:00
defacer
83a305a7e7 Renaming some $course to $courseid to make it clear to anyone reading the code... 2005-02-08 01:34:14 +00:00
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
moodler
27888a2038 Disable $CFG->forum_trackreadposts completely when the user is a guest
or not logged in.
2005-02-07 11:58:49 +00:00
defacer
379a42cb26 Bugfix: don't send HTML digests to users who want simple text mail. 2005-02-04 21:13:28 +00:00
stronk7
ac1d9a2212 One notice is out showing recent recent activity of deleted posts. 2005-02-01 23:57:58 +00:00
moodler
78c0d9094b Added all styles to forum posts 2005-02-01 11:30:41 +00:00
moodler
fe98d35d43 FIxes from tony for highlighting 2005-02-01 02:58:51 +00:00
mchurch
65504d11f4 Added read post
marking for posts over a day old to the upgrade procedure.
2005-01-31 19:26:55 +00:00
mchurch
90fd2b51aa Fixed insert_record call in forum_tp_add_read_record. Added read post
marking for posts over a day old to the upgrade procedure.
2005-01-31 19:24:14 +00:00
mchurch
489de4ae13 Fixed a special case issue with the news forum on the front page and
non-logged in users.
2005-01-31 15:04:10 +00:00
moodler
855c0839fc Forum searching is now implemented using a lex-based method, which allows
extra capabilities such as:

  - "phrase searching"
  - user matching:    user:tony
  - subject matching: subject:thing

This code is all from Tony Hursh.   THANKS TONY!!
2005-01-31 07:41:47 +00:00
moodler
b2432b7fbb Fixed xml again (bug 2413) 2005-01-31 07:17:54 +00:00
moodler
9fd7165aaa Center-align some columns again 2005-01-30 05:14:03 +00:00
moodler
d0388ebe95 Added links to unread notices on course-view and forum-index 2005-01-30 04:47:09 +00:00
moodler
f37da85054 MAJOR NEW FEATURE: Tracking of read/unread posts
Many thanks to Mike Churchward for his work on this and persevering
with sending updated versions to me.  :-)

Shane and I have polished it up, rewritten a few parts (display-related)
and here it is, finally in CVS!

I think there will still need to be some optimisation for the SQL,
since it's still pretty intensive. Perhaps some sort of caching in
the session that gets modified along with the database whenever
something gets read.

However if there are problems the whole thing can be switched off
in the forum module config so this is not crucially urgent.
2005-01-29 09:49:42 +00:00
moodler
039c0ec444 Removed some inline styles 2005-01-25 14:32:43 +00:00
moodler
d30867b0bf Removed some THEME stuff 2005-01-25 14:28:47 +00:00
moodler
d3c8056258 Changes for XHTML and accessibility compatibility.
Tidied up layout and other minor changes.
2005-01-25 09:39:29 +00:00
moodler
48b29ba423 Moved rsslib.php from the rss directory to the lib directory with the
other libraries
2005-01-25 06:09:31 +00:00
moodler
6a855f5b89 Searching was still calling $usexml Bug #2413 2005-01-23 05:55:02 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
moodler
bb3b56c633 Using divs to do the indenting, rather than <UL>
This probably needs to be named class
2005-01-22 08:45:47 +00:00
moodler
31dedddba7 Fix help link 2005-01-21 04:58:16 +00:00
moodler
b1b1705aa4 Changes for XHTML and accessibility compatibility.
General code cleanup.
2005-01-21 04:23:38 +00:00
urs_hunkler
680afe2e26 _ added the DIV framework for new CSS 2005-01-19 13:16:29 +00:00
moodler
c7e65290e4 Merged fix from stable for wrong function 2004-12-14 11:08:04 +00:00
moodler
61242972a3 Merged parameter checking from stable 2004-12-14 08:52:33 +00:00
moodler
21da9db80b When posting a new topic, display the forum description to help
orient the posting.  Also changed some headings slightly to make more
sense.
2004-12-14 06:26:43 +00:00
moodler
49aa374281 Changed new discussion link to a form button 2004-12-14 05:59:30 +00:00
moodler
1c58180bce Merged lastpostid from stable 2004-11-30 02:53:08 +00:00