MDL-28048 glossary - fix double ampersand & missing string

This commit is contained in:
Eloy Lafuente (stronk7)
2011-07-11 01:36:30 +02:00
parent bce3e3dca5
commit b86f930647
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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&amp;action=add&&amp;name=$name");
redirect("editcategories.php?id=$cm->id&amp;action=add&amp;name=$name");
} else {
$action = "";
+1
View File
@@ -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).';