Source Location: /mooan_configuration.php
Setup of configuration variables, constants and file inclusions used by Mooan.
[line 40]
MOOAN_ANNOTEA_ADDRESS = 'http://localhost/~tkt_mooa/cgi-bin/annotea'
Address of the Annotea server we store data in.
[ Top ]
[line 58]
MOOAN_ANNOTEA_MODIFY_IS_BUGGED = true
There is a bug in bakunin Annotea server version 0.5 where modifying an annotation or a reply will corrupt the internal state of the modified annotation or reply. During modification, the server deletes the old data. The bug is in that it does not preserve list of replies.
As a result, if one attempts to delete one of the replies to the corrupted message, the server will fail on not being able to remove the reply being deleted from the corrupted message's reply list.
Set this to false if not using a bugged server.
[ Top ]
[line 46]
MOOAN_COMMENT_CATEGORY_NS = 'http://www.cs.helsinki.fi/group/mooan/mooan-category-ns'
Location where the RDF schema describing the comment categories is stored.
Not really implemented yet, just leave as it is.
[ Top ]
[line 94]
MOOAN_RIGHTS_ALL = 4
A logged-in admin or a logged-in teacher who is a teacher in the current course.
May read comments, make their own, toggle annotability and also edit and delete any comment, including those made by other users.
[ Top ]
[line 87]
MOOAN_RIGHTS_ALTER_ANNOTABILITY = 2
A logged-in student who is the owner of the current document. Has the same rights as MOOAN_RIGHTS_NORMAL and in addition may toggle whether the current document is annotable.
[ Top ]
[line 81]
MOOAN_RIGHTS_NORMAL = 1
A logged-in student or a logged-in teacher who does not have teacher rights in the current course.
May read comments and make their own comments. May also edit and remove own comments as long as they have not yet been responded to.
[ Top ]
[line 74]
MOOAN_RIGHTS_VISITOR = 0
An unlogged-in user or a guest. May only read comments.
[ Top ]
[line 64]
MOOAN_SET_ERROR_LEVEL = false
If this is true, E_USER_* type errors will be set to be reported via a call error_reporting(). Mooan prints warnings and notices using trigger_error().
[ Top ]