From 2a135a5f64d84ff0ba49b6996e2d04cb6ced81b1 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 1 Oct 2004 10:26:11 +0000 Subject: [PATCH] More format_text() calls... --- mod/glossary/edit.html | 6 +++--- mod/glossary/editcategories.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mod/glossary/edit.html b/mod/glossary/edit.html index bbff83113d0..10bcfe76bcc 100644 --- a/mod/glossary/edit.html +++ b/mod/glossary/edit.html @@ -17,7 +17,7 @@ if (isset($errors)) { - + @@ -35,7 +35,7 @@ if (isset($errors)) { echo "selected " ; } } - echo "value=\"$category->id\">$category->name\n"; + echo "value=\"$category->id\">".clean_text($category->name)."\n"; } } echo "\n"; @@ -53,7 +53,7 @@ if (isset($errors)) { ?>

diff --git a/mod/glossary/editcategories.php b/mod/glossary/editcategories.php index cc360e597e8..2b9517d3be8 100644 --- a/mod/glossary/editcategories.php +++ b/mod/glossary/editcategories.php @@ -12,7 +12,7 @@ optional_variable($usedynalink); // category ID optional_variable($confirm); // confirm the action - optional_variable($name); // confirm the action + optional_variable($name); // confirm the name $name = clean_text($name); @@ -102,7 +102,7 @@ echo "

" . get_string("delete"). " " . get_string("category","glossary") . ""; print_simple_box_start("center","40%", "#FFBBBB"); - echo "

$category->name
"; + echo "
".format_text($category->name)."
"; $num_entries = count_records("glossary_entries_categories","categoryid",$category->id); if ( $num_entries ) { @@ -202,7 +202,7 @@

:

:

- +
$category->name ($num_entries " . get_string("entries","glossary") . ")"; + echo "".format_text($category->name)." ($num_entries " . get_string("entries","glossary") . ")"; ?>