if ( isset($concepts) ) {
$lastglossary = 0;
$lastcategory = 0;
+ $cm = '';
foreach ( $concepts as $concept ) {
if ( $concept->category ) {
if ( $lastcategory != $concept->id ) {
$sicon = '';
$sneworder = '';
- $stag = '';
+
+ $sbtag = '';
+ $fbtag = '';
+ $fendbtag = '';
+ $sendbtag = '';
+
$sendbtag = '';
if ( $sortkey == 'CREATION' or $sortkey == 'FIRSTNAME' ) {
$sqlsortkey = "timemodified";
break;
}
+ $sqlsortorder = $sortorder;
$fullpivot = 1;
case GLOSSARY_STANDARD_VIEW:
default:
glossary_print_alphabet_menu($cm, $glossary, "letter", $hook, $sortkey, $sortorder);
- if ($search) {
- echo "<h3>$strsearch: $search</h3>";
+ if ($mode == 'search' and $hook) {
+ echo "<h3>$strsearch: $hook</h3>";
}
break;
}
/// printing the entries
$entriesshown = 0;
$currentpivot = '';
+ $tableisopen = 0;
if ( $hook == 'SPECIAL' ) {
$alphabet = explode(",", get_string("alphabet"));
}