582 Commits

Author SHA1 Message Date
moodler
b9dc937d01 Removed some redundant wrappers 2005-03-13 16:25:30 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
7ff9860db0 This change will break themes for sideblock, but now all the main TH cells that use
the standard kind of look (eg gradient) have a consistent class "th.header"
2005-03-13 13:50:23 +00:00
gustav_delius
e6157a7368 fixed typo leading to bug 2723 2005-03-13 09:56:10 +00:00
stronk7
c206050394 Old bug introduced in lib.php 1.280. It was causing a lot of mails being sent
instead of the 2 days limit. Bug 2716
(http://moodle.org/bugs/bug.php?op=show&bugid=2716)
2005-03-10 20:26:25 +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
defacer
6f1cc8d63c Simplified by removing two optional parameters from forum_print_search_form,
because everyone was using the same values for them!

Also renamed the function to simply forum_search_form, because in the end
noone was using it to PRINT html, it was just put into a variable.
2005-03-09 20:50:37 +00:00
moodler
0efb3c3d1d Prevent guests from making ratings in forums 2005-03-08 17:59:57 +00:00
moodler
af328e4b14 Speed and beauty improvements when displaying discussion listings 2005-03-08 17:32:08 +00:00
moodler
90ec387a54 Major gain in efficiency for the latest news block and better styles
Still working on more improvements here
2005-03-08 12:58:51 +00:00
moodler
68258534a5 FIxed a problem with teacher forums (couldn't read any discussions!) 2005-03-08 09:53:23 +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
8a38720662 Fixed a boo boo 2005-03-07 05:03:48 +00:00
moodler
41b47dd43a FIxed up some styles for the help links 2005-03-07 05:00:58 +00:00
moodler
c9b8eb3435 Removed another dead-end for guests bug 1975 2005-03-07 04:47:39 +00:00
moodler
556963f5f1 Much more user-friendly for guests 2005-03-06 06:48:48 +00:00
moodler
c59eb3416a Got rid of the dead end when guests are trying to post 2005-03-06 06:20:37 +00:00
moodler
baa2f74e1c Default old posts from 60 > 30 ... 2005-03-04 05:59:22 +00:00
mchurch
226f79e03a Corrected a typo that was throwing errors. 2005-03-04 05:36:26 +00:00
mjollnir_
cf4a271d64 Reworking join to make it compatible with postgres 2005-03-03 23:19:19 +00:00
moodler
a4affadef1 Show last search in the mini search bar 2005-03-03 12:25:10 +00:00
moodler
77ffdf4b4c Finishing off search capability with the ability to search by instance,
and in this case, by forum.
2005-03-03 12:22:13 +00:00
moodler
fefefb4898 Use a require_once just in case 2005-03-03 05:03:41 +00:00
mjollnir_
729d325004 Changing a require to a require_once in forum postgres upgrade (was getting included twice) 2005-03-01 23:38:51 +00:00
moodler
3320057725 Cellspacing 0 for forum posts to help poor little IE 2005-03-01 17:16:57 +00:00
moodler
7369657c9b Use s function to print search string properly 2005-03-01 08:12:25 +00:00
moodler
ab00aa12a9 Disable dates if not being used.
Fixed bug that wasn't highlighting search words
2005-03-01 06:54:30 +00:00
mchurch
be69cefb90 Removed debug lines inadvertently left in last commit. 2005-02-28 21:37:11 +00:00
mchurch
1051a2a4a0 Improved speed of database calls for read tracking. 2005-02-28 21:31:13 +00:00
moodler
4e471fc62a Forum searching now allows searching by date, and no longer has confusing help. 2005-02-28 12:40:29 +00:00
defacer
f99fcffeb9 Fix for bug 2648: call-time pass by reference has been deprecated, the constructor
of search_lexer now accepts the parser argument by reference all... one time it's called :)
2005-02-28 00:30:39 +00:00
defacer
0b5257c351 Bugfix for bug 2653 (visual glitch).
Better and less HTML for the "block" version of forum_print_search_form().
2005-02-27 20:32:56 +00:00
moodler
b23c06ada1 Show link even when no discussions 2005-02-27 10:12:45 +00:00
moodler
173dbed416 Added a link from the user page to a search for all posts.
It works but it's not very pretty ... feedback welcome!
2005-02-27 10:08:13 +00:00
moodler
e6ae4dc8dd Much better "full" search page. Still needs some polishing.
Also, you can now search for all posts by one user.  Which brings me to my
next check-in....
2005-02-27 09:57:31 +00:00
moodler
f0b8884d08 Added search help to the small search forms (big search form coming next) 2005-02-26 08:52:03 +00:00
moodler
d5bbc5568b A few minor changes for XHTML compatibility and general tidy up. (SE) 2005-02-25 13:20:48 +00:00
gustav_delius
1c887009ab fixed single quote bug that led to $post->subject being displayed. 2005-02-24 22:24:03 +00:00
moodler
5b257acd23 Merged fix for 2613 2005-02-21 15:39:44 +00:00
stronk7
22bb909b57 Now forum_read is included in backup & restore 2005-02-18 19:05:09 +00:00
moodler
a48e8c4b7e Efficiency for forum_count_discussion_replies() from stable 2005-02-18 08:00:00 +00:00
gustav_delius
56c0715e77 The teacher forum has no coursemodule and this led to errors in particular in forum_print_latest_discussions(). 2005-02-18 06:41:12 +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
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