From: sam_marshall Date: Fri, 27 Feb 2009 12:58:23 +0000 (+0000) Subject: MDL-18401: Glossary page bar should highlight current page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=08ec7ec62e703ecce4dd4df3e34faf605e4d6dcc;p=moodle.git MDL-18401: Glossary page bar should highlight current page --- diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index 85024cf4a9..72bf310fb8 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -2025,7 +2025,7 @@ function glossary_get_paging_bar($totalcount, $page, $perpage, $baseurl, $maxpag while ($pagenum <= $pageto) { $pagetoshow = $pagenum +1; if ($pagenum == $page && !$specialselected) { - $code .= "$separator$pagetoshow"; + $code .= "$separator$pagetoshow"; } else { $code .= "$separator$pagetoshow"; } @@ -2045,7 +2045,7 @@ function glossary_get_paging_bar($totalcount, $page, $perpage, $baseurl, $maxpag if ($showspecial) { $code .= '
'; if ($specialselected) { - $code .= $specialtext; + $code .= "$specialtext"; } else { $code .= "$separator$specialtext"; }