mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-15109 glossary dml conversion
This commit is contained in:
parent
ea05eebf92
commit
ae8c356614
27 changed files with 558 additions and 628 deletions
|
@ -56,7 +56,7 @@ asort($formats);
|
|||
|
||||
$str = '<table>';
|
||||
foreach ($formats as $formatid=>$formatname) {
|
||||
$recformat = get_record('glossary_formats','id',$formatid);
|
||||
$recformat = $DB->get_record('glossary_formats', array('id'=>$formatid));
|
||||
$str .= '<tr>';
|
||||
$str .= '<td>' . $formatname . '</td>';
|
||||
$eicon = "<a title=\"".get_string("edit")."\" href=\"$CFG->wwwroot/mod/glossary/formats.php?id=$formatid&mode=edit\"><img class=\"iconsmall\" src=\"../pix/t/edit.gif\" alt=\"".get_string("edit")."\" /></a>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue