Skip to content

Commit

Permalink
MDL-28048 glossary - fix double ampersand & missing string
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jul 10, 2011
1 parent bce3e3d commit b86f930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/glossary/editcategories.php
Expand Up @@ -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 = "";
Expand Down
1 change: 1 addition & 0 deletions mod/glossary/lang/en/glossary.php
Expand Up @@ -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).';
Expand Down

0 comments on commit b86f930

Please sign in to comment.