]> git.mjollnir.org Git - moodle.git/commitdiff
Two more uses of format_string() agains entry->concept
authorstronk7 <stronk7>
Sat, 15 Apr 2006 19:28:26 +0000 (19:28 +0000)
committerstronk7 <stronk7>
Sat, 15 Apr 2006 19:28:26 +0000 (19:28 +0000)
mod/glossary/deleteentry.php
mod/glossary/exportentry.php

index 8eba0c0354d373c67697377238d4b11fad69f649..94757d9dfdb11a0f8606764babe4afc2c68c6678 100644 (file)
@@ -87,7 +87,7 @@
 
     } else {        // the operation has not been confirmed yet so ask the user to do so
 
-        notice_yesno("<b>$entry->concept</b><p>$strareyousuredelete</p>",
+        notice_yesno("<b>".format_string($entry->concept)."</b><p>$strareyousuredelete</p>",
                       "deleteentry.php?id=$cm->id&amp;mode=delete&amp;confirm=1&amp;entry=".s($entry->id)."&amp;prevmode=$prevmode&amp;hook=$hook",
                       "view.php?id=$cm->id&amp;mode=$prevmode&amp;hook=$hook");
 
index a1695ebef4cd75e1b225b6ab8e88569f739fc9f9..88e9e0fdb619a054baca9fd95e4a4605a02e3ffa 100644 (file)
@@ -57,7 +57,7 @@
         if ( !$confirm ) {
             echo '<center>';
             $areyousure = get_string('areyousureexport','glossary');
-            notice_yesno ('<center><h2>'.$entry->concept.'</h2><p align="center">'.$areyousure.'<br /><b>'.format_string($mainglossary->name).'</b>?',
+            notice_yesno ('<center><h2>'.format_string($entry->concept).'</h2><p align="center">'.$areyousure.'<br /><b>'.format_string($mainglossary->name).'</b>?',
                 'exportentry.php?id='.$id.'&amp;mode='.$mode.'&amp;hook='.$hook.'&amp;entry='.$entry->id.'&amp;confirm=1',
                 'view.php?id='.$cm->id.'&amp;mode='.$mode.'&amp;hook='.$hook);