mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
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)
This commit is contained in:
parent
d116ee768a
commit
ff1e2621f3
10 changed files with 48 additions and 10 deletions
|
@ -57,6 +57,7 @@
|
|||
fwrite ($bf,full_tag("DEFAULTAPPROVAL",4,false,$glossary->defaultapproval));
|
||||
fwrite ($bf,full_tag("GLOBALGLOSSARY",4,false,$glossary->globalglossary));
|
||||
fwrite ($bf,full_tag("ENTBYPAGE",4,false,$glossary->entbypage));
|
||||
fwrite ($bf,full_tag("EDITALWAYS",4,false,$glossary->editalways));
|
||||
fwrite ($bf,full_tag("RSSTYPE",4,false,$glossary->rsstype));
|
||||
fwrite ($bf,full_tag("RSSARTICLES",4,false,$glossary->rssarticles));
|
||||
fwrite ($bf,full_tag("TIMECREATED",4,false,$glossary->timecreated));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue