Permalink
Browse files

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

  • Loading branch information...
1 parent 840d3ba commit ae078733301c542f4e3fdd99e0c350afb40e057f willcast committed Nov 21, 2003
Showing with 11 additions and 3 deletions.
  1. +1 −0 mod/glossary/dynalink.php
  2. +6 −1 mod/glossary/lib.php
  3. +1 −0 mod/glossary/sql.php
  4. +2 −2 mod/glossary/tabs.html
  5. +1 −0 mod/glossary/view.php
@@ -47,6 +47,7 @@ function glossary_dynamic_link($courseid, $text) {
if ( isset($concepts) ) {
$lastglossary = 0;
$lastcategory = 0;
+ $cm = '';
foreach ( $concepts as $concept ) {
if ( $concept->category ) {
if ( $lastcategory != $concept->id ) {
View
@@ -1176,7 +1176,12 @@ function glossary_print_sorting_links($cm, $mode, $sortkey = '',$sortorder = '')
$sicon = '';
$sneworder = '';
- $stag = '';
+
+ $sbtag = '';
+ $fbtag = '';
+ $fendbtag = '';
+ $sendbtag = '';
+
$sendbtag = '';
if ( $sortkey == 'CREATION' or $sortkey == 'FIRSTNAME' ) {
View
@@ -22,6 +22,7 @@
$sqlsortkey = "timemodified";
break;
}
+ $sqlsortorder = $sortorder;
$fullpivot = 1;
View
@@ -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;
}
View
@@ -240,6 +240,7 @@
/// printing the entries
$entriesshown = 0;
$currentpivot = '';
+ $tableisopen = 0;
if ( $hook == 'SPECIAL' ) {
$alphabet = explode(",", get_string("alphabet"));
}

0 comments on commit ae07873

Please sign in to comment.