mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +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
|
@ -61,6 +61,7 @@
|
|||
$glossary->defaultapproval = backup_todb($info['MOD']['#']['DEFAULTAPPROVAL']['0']['#']);
|
||||
$glossary->globalglossary = backup_todb($info['MOD']['#']['GLOBALGLOSSARY']['0']['#']);
|
||||
$glossary->entbypage = backup_todb($info['MOD']['#']['ENTBYPAGE']['0']['#']);
|
||||
$glossary->editalways = backup_todb($info['MOD']['#']['EDITALWAYS']['0']['#']);
|
||||
$glossary->rsstype = backup_todb($info['MOD']['#']['RSSTYPE']['0']['#']);
|
||||
$glossary->rssarticles = backup_todb($info['MOD']['#']['RSSARTICLES']['0']['#']);
|
||||
$glossary->timecreated = backup_todb($info['MOD']['#']['TIMECREATED']['0']['#']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue