- Removing some Notices.. Thanks to Eloy for leting me know!

This commit is contained in:
willcast
2003-11-21 03:33:21 +00:00
parent 840d3ba8e3
commit ae07873330
5 changed files with 11 additions and 3 deletions
+1
View File
@@ -47,6 +47,7 @@
if ( isset($concepts) ) {
$lastglossary = 0;
$lastcategory = 0;
$cm = '';
foreach ( $concepts as $concept ) {
if ( $concept->category ) {
if ( $lastcategory != $concept->id ) {
+6 -1
View File
@@ -1176,7 +1176,12 @@ global $CFG;
$sicon = '';
$sneworder = '';
$stag = '';
$sbtag = '';
$fbtag = '';
$fendbtag = '';
$sendbtag = '';
$sendbtag = '';
if ( $sortkey == 'CREATION' or $sortkey == 'FIRSTNAME' ) {
+1
View File
@@ -22,6 +22,7 @@
$sqlsortkey = "timemodified";
break;
}
$sqlsortorder = $sortorder;
$fullpivot = 1;
+2 -2
View File
@@ -101,8 +101,8 @@
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;
}
+1
View File
@@ -240,6 +240,7 @@
/// printing the entries
$entriesshown = 0;
$currentpivot = '';
$tableisopen = 0;
if ( $hook == 'SPECIAL' ) {
$alphabet = explode(",", get_string("alphabet"));
}