305 Commits

Author SHA1 Message Date
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
539f698d73 Important changes about how view.php (and print.php) retrieve records
from BD to be displayed. Some SQL statements have been modified to
get target records, avoiding a lot of post-processing causing some
bugs like Bug 1912
(http://moodle.org/bugs/bug.php?op=show&bugid=1912)

Merged from MOODLE_14_STABLE
2004-09-09 18:31:50 +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
f79bfd2d2b Now entries are showed correctly in categories view if they belong
to multiple categories.

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

Merged from MOODLE_14_STABLE
2004-09-06 07:54:52 +00:00
stronk7
c9e9fb0fd7 Bug 1831
(http://moodle.org/bugs/bug.php?op=show&bugid=1831)

Merged from MOODLE_14_STABLE
2004-08-30 14:42: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
stronk7
92a9d64495 Typo. Thanks to skodak.
Bug 1839
(http://moodle.org/bugs/bug.php?op=show&bugid=1839)

Merged from MOODLE_14_STABLE
2004-08-29 22:04:20 +00:00
gustav_delius
222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +00:00
stronk7
6a32aef521 Define a bit better the 'automatic link' feature at glossary and entry levels.
Bug 1745
(http://moodle.org/bugs/bug.php?op=show&bugid=1745)

Merged from MOODLE_14_STABLE
2004-08-29 00:14:21 +00:00
stronk7
1cc2152658 If we are updating an entry, compare current session user with
existing entry user to avoid some potential problems if secureforms=off
Perhaps too much security? Anyway thanks to skodak

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

Merged from MOODLE_14_STABLE
2004-08-28 23:22:34 +00:00
stronk7
c16caf5bc9 Avoid one notice
Merged from MOODLE_14_STABLE
2004-08-28 20:00:35 +00:00
stronk7
f15b491efb HTML editor (format popup) display wrong in glossary comments
Bug 1826
(http://moodle.org/bugs/bug.php?op=show&bugid=1826)

Merged from MOODLE_14_STABLE
2004-08-28 19:48:56 +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
864616e5f5 Merged from MOODLE_14_STABLE 2004-08-28 11:25:39 +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
516c7276e5 Now maxeditingtime for entries work againt timecreated instead of timemodified.
Thanks skodak!

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

Merged from MOODLE_14_STABLE
2004-08-28 10:56:42 +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
b5937aac55 Init 2 arrays
Merged from MOODLE_14_STABLE
2004-08-27 17:21:42 +00:00
stronk7
7275671a60 Now, terms being defined in URLs aren't broken by the <nolink> tag.
Bug 1790
(http://moodle.org/bugs/bug.php?op=show&bugid=1790)

Merged from MOODLE_14_STABLE
2004-08-27 16:49:52 +00:00
stronk7
193a26447b Error when sending a delete-entry action to logs... 2004-08-27 09:13:32 +00:00
stronk7
122579aacd Another duplicated tag....now it's really well-formed :-)
Meged from MOODLE_14_STABLE
2004-08-27 00:59:07 +00:00
stronk7
5c9b8beb86 Found it!!!!
A missing </select> was the cause to the wrong display under Safari!!!

Merged from MOODLE_14_STABLE
2004-08-27 00:52:08 +00:00
stronk7
d564a85c57 Solved some inconsistencies when using the HTML editor and the
format menu!!

Merged from MOODLE_14_STABLE
2004-08-27 00:07:46 +00:00
stronk7
7567ff7b06 Notice out.
Merged from MOODLE_14_STABLE
2004-08-26 21:39:18 +00:00
moodler
359f27588b Merged from stable 2004-08-26 15:21:57 +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
stronk7
2603b5b30a one more warning out
Merged from MOODLE_14_STABLE
2004-08-24 20:59:54 +00:00
stronk7
e11a8fe93d Avoid some warnings
Bug 1729
(http://moodle.org/bugs/bug.php?op=show&bugid=1729)

Merged from MOODLE_14_STABLE
2004-08-24 20:40:49 +00:00
stronk7
da9c60ecc8 Now some CFG->glossary_XXXX variables are checked in lib.php
Bug 1764
(http://moodle.org/bugs/bug.php?op=show&bugid=1764)

Merged from MOODLE_14_STABLE
2004-08-24 11:24:27 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
julmis
5985f9dce9 Fixing Bug #1765 (mystery fix). 2004-08-22 10:42:39 +00:00
julmis
66991ecaf4 Fixing Bug #1765 (mystery fix) 2004-08-22 10:41:59 +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
gustav_delius
067675c006 introduced the fullname() function in a lot of places. Still not complete though, especially in sorting. 2004-08-20 20:12:48 +00:00
moodler
c29bbe8bfc Made the glossary upgrade use less memory bug 985 2004-08-12 15:59:23 +00:00
stronk7
cd2bf3309c Now upgrade and restore processes enable editalways for old
secondary glossaries. Smooth transition. Thanks, Martin! :-)

Bug 1445
(http://moodle.org/bugs/bug.php?op=show&bugid=1445)
2004-08-09 19:20:42 +00:00
stronk7
ff1e2621f3 Now editalways is working in glossaries.
Decide if an entry is editable:
-It isn't a imported entry (so nobody can edit a imported (from secondary to main) entry)) and
-The user is teacher or he is a student with time permissions (edit period or editalways defined).

Bug 1445
(http://moodle.org/bugs/bug.php?op=show&bugid=1445)
2004-08-09 15:04:36 +00:00
moodler
5ea17e17cf Fixed some typos etc. :-) 2004-08-09 01:39:40 +00:00
stronk7
2b1b11c606 Now the RSS link is showed in the list of glossaries.
Bug 1706
(http://moodle.org/bugs/bug.php?op=show&bugid=1706)
2004-08-08 18:44:45 +00:00
stronk7
48429e57e6 Avoid one notice when creating a new glossary. 2004-08-08 18:31:09 +00:00
moodler
df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
stronk7
44d6ae6df4 Applied the same checks than to the forum to generate
glossary rss feeds only when necessary.
My only dude is if we should use the modification time instead
of the creation time (here and in forums...).
2004-08-05 20:10:07 +00:00
stronk7
ba29c4a9e0 TODO updated. 2004-08-03 17:27:28 +00:00
stronk7
8d8275a5c5 TEMPLATE format for glossaries. It is self-documented, but some
review will be welcome...ciao :-)
2004-08-02 21:53:47 +00:00
stronk7
7749579343 Some changes to the formats plugin detection function
and minor changes to some functions.
2004-08-02 21:44:06 +00:00
stronk7
e58b1d1eda Reload current glossary format from DB, because
the plugin system can changed it automatically.
2004-08-02 21:41:49 +00:00
stronk7
b99e90b08d Modified pending formats to be more structured. No visual changes. 2004-08-02 18:22:47 +00:00