19 Commits

Author SHA1 Message Date
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +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
stronk7
8a2fe40709 strip_tags() to some parameters. Thanks skodak.
Bug 1836
(http://moodle.org/bugs/bug.php?op=show&bugid=1836)

Merged from MOODLE_14_STABLE
2004-08-29 22:57:41 +00:00
stronk7
59c265b390 Now students cannot add/edit/delete entries if glossary->studentcanpost = 0
using manual URLs.

Merged from MOODLE_14_STABLE
2004-08-28 19:15:52 +00:00
stronk7
944d82d4d3 - students cannot add/edit/delete comments if it isn't allowed
- students can view comments if they exist
- teachers bypass the commentsallowed field always (this can be useful to create glossaries with public comments from the teacher).
- buttons are showed correctly.

Bug 1814
(http://moodle.org/bugs/bug.php?op=show&bugid=1814)

Merged from MOODLE_14_STABLE
2004-08-28 18:34:10 +00:00
stronk7
cf1ab7c300 Now action is checked and defaults to edit.
Thanks skodak!

Bug 1813
(http://moodle.org/bugs/bug.php?op=show&bugid=1813)

Merged from MOODLE_14_STABLE
2004-08-28 11:13:48 +00:00
stronk7
3a512f86c7 Some important changes arrive:
- 'editalways' applied to comments.
   - some minor notices out.
   - security bug solved:
      + users cannot edit any comment now.
      + users cannot delete any comment now.
      + users cannot edit any entry now.
      + users cannot delete any antry now.

Thanks to skodak, discovering the bug!!!

Merged from MOODLE_14_STABLE
2004-08-28 00:28:56 +00:00
stronk7
32ce883ee6 Don't clean posted text on input (will be cleaned on output).
Merged from MOODLE_14_STABLE
2004-08-24 22:59:54 +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
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
d3acd64d59 Little bug storing wrong comment->id in the info field
when performing the "delete comment" action. Now it works fine. :-)
2004-02-18 21:50:33 +00:00
stronk7
fabf55e684 Added the cmid field to some add_to_log() calls. To use it when
restoring logs. Now I think that everything is ready !! :-)
2004-02-18 20:52:44 +00:00
moodler
a61cf7e35e Hope you don't mind, Will, but I had to do some cleaning up of the comments pages
- comments look more like forums
   - glossary entry is displayed consistently
   - workflow makes more sense to me at least (more like forums)
   - code is shorter   :-)
2003-12-10 16:29:56 +00:00
willcast
1ac87c7397 - Rewrite of the internal API in order to, hopefully, create an easy way to handle the flow of data internally and externally.
- Adding a new frame: Browse by Author
- A new, friendly way to show entries (asked by Martin): view?id=cm&mode=term&hook=[concept | alias ]
- Handling user activies, outline and complete.
- Properly showing new entries in recent activity box.
- Adding a flag to categories to specify if a category should or should not be automatically linked.
- Adding some missing strings and files as well.
- Adding a field to each glossary that specify how many entries by pages it should show.
2003-11-15 15:55:47 +00:00
willcast
290891415d - Preventing guest for posting comments on entries 2003-10-21 18:32:36 +00:00
willcast
c76e673ab5 - Cleaning a lot of code in edit.php and view.php
- Removing more notices when debug is ON
- Added a new feature: Now the entries have a default approval status... Not approved entries are shown on a teachers-only frame from which they can be approved or not prior to be visible by everyone.
2003-10-21 04:55:22 +00:00
moodler
13152b970b Some tidying up of the code to display the comment editing page 2003-10-17 08:49:00 +00:00
willcast
ed0201dd7f - Now entries could be commented by other users.
- KNOWN BUG: It does not restore the comments even when userinfo is set... Eloy! I need your help! :)
2003-10-16 05:15:59 +00:00