MDL-28048 glossary - fix double ampersand & missing string
This commit is contained in:
@@ -166,10 +166,10 @@ if ( $hook >0 ) {
|
||||
echo "<h3 class=\"main\">" . get_string("add"). " " . get_string("category","glossary"). "</h3>";
|
||||
|
||||
echo $OUTPUT->box_start('generalbox boxaligncenter errorboxcontent boxwidthnarrow');
|
||||
echo "<div>" . get_string("duplicatedcategory","glossary") ."</div>";
|
||||
echo "<div>" . get_string("duplicatecategory","glossary") ."</div>";
|
||||
echo $OUTPUT->box_end();
|
||||
|
||||
redirect("editcategories.php?id=$cm->id&action=add&&name=$name");
|
||||
redirect("editcategories.php?id=$cm->id&action=add&name=$name");
|
||||
|
||||
} else {
|
||||
$action = "";
|
||||
|
||||
@@ -123,6 +123,7 @@ $string['displayformatfullwithauthor'] = 'Full with author';
|
||||
$string['displayformatfullwithoutauthor'] = 'Full without author';
|
||||
$string['displayformats'] = 'Display formats';
|
||||
$string['displayformatssetup'] = 'Display formats setup';
|
||||
$string['duplicatecategory'] = 'Duplicate category';
|
||||
$string['duplicateentry'] = 'Duplicate entry';
|
||||
$string['editalways'] = 'Edit always';
|
||||
$string['editalways_help'] = 'This setting specifies whether entries are always editable or whether students can only edit their entries during a configured editing time (usually 30 minutes).';
|
||||
|
||||
Reference in New Issue
Block a user