20 Commits

Author SHA1 Message Date
moodler
b8340d1938 Removal of THEME, added some classes, general tidy up. 2005-02-17 08:38:50 +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
mjollnir_
6b7f8df2ec Merged from MOODLE_14_STABLE: Fixing use of UCASE and LCASE in glossary which are not postgres friendly - two new functions in datalib, db_uppercase and db_lowercase which return the database-correct functions to use. Some were already fixed in HEAD - those have been left as they were 2004-11-23 23:05:06 +00:00
stronk7
1b4002e0b7 Just changing some parameters stuff to new functions...
See SC and Bug 1837

Merged from MOODLE_14_STABLE
2004-11-17 00:14:34 +00:00
stronk7
6f84a9d2db Some clear_text() and format_text() calls added.
Merged from MOODLE_14_STABLE
2004-10-01 10:32:34 +00:00
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
61c72439c5 Solved an small issue when "not clasified" was selected and
we tried to edit categories.

Merged from MOODLE_14_STABLE
2004-09-09 09:06:18 +00:00
stronk7
00083db4ea Check that glossary is correct before edit categories.
Bug 1838
(http://moodle.org/bugs/bug.php?op=show&bugid=1838)

Merged from MOODLE_14_STABLE
2004-08-29 23:28:57 +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
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
stronk7
f43c695e1e Added cmid to some add_to_log() function calls.
Needed to be able to restore logs properly. :-)
2004-02-18 20:02:33 +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
moodler
f26d986a17 Minimal formatting changes to center things 2003-11-09 03:26:33 +00:00
willcast
4f4ca7b5e1 - Printer-friendly version of the glossary
- First step in the export/import feature (export is done)
- Minor changes here and there
2003-11-01 20:27:21 +00:00
willcast
c197e6070b - Added a new frame: Browse by date.
- Removing unnecesary double quotes (not all of them yet)
2003-10-22 04:15:08 +00:00
willcast
c7b811b14c - "striping_tags" inthe title 2003-10-18 12:14:46 +00:00
willcast
ad58adac10 - Exported entries are now linked instead of copied to the main glossary.
- Short tags are gone.
- Little changes in ES language.
2003-09-29 03:06:30 +00:00
willcast
fb443f1acf - Now the entries could be categorized.
- Any entry could belongs to many categories
- Improved main page and add entry look.
- Added PostgreSQL7 squema (Thanks Janne Mikkonen!)
- Deleting entries also delete its attachments if any.
2003-09-21 17:08:41 +00:00