Permalink
Browse files

MDL-28048 glossary - fix double ampersand & missing string

  • Loading branch information...
1 parent d5a8ec5 commit 529950767485b16fb865b392182ff60561d5907f @stronk7 stronk7 committed Jul 10, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −2 mod/glossary/editcategories.php
  2. +1 −0 mod/glossary/lang/en/glossary.php
@@ -166,10 +166,10 @@
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 = "";
@@ -123,6 +123,7 @@
$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).';

0 comments on commit 5299507

Please sign in to comment.