Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- fixed little bug on url called by the alphabet tab.

  • Loading branch information...
commit 38f7f44e733a44cdbad9982c1bba39ed13b52917 1 parent f52cdc8
authored November 20, 2003

Showing 1 changed file with 3 additions and 5 deletions. Show diff stats Hide diff stats

  1. 8  mod/glossary/tabs.html
8  mod/glossary/tabs.html
@@ -21,8 +21,8 @@
21 21
     }
22 22
 
23 23
     if ( isteacher($course->id) ) {
24  
-        $data[GLOSSARY_IMPORT_VIEW]->caption = "Import Entries";
25  
-        $data[GLOSSARY_EXPORT_VIEW]->caption = "Export Entries";
  24
+        $data[GLOSSARY_IMPORT_VIEW]->caption = get_string("importentries", "glossary");
  25
+        $data[GLOSSARY_EXPORT_VIEW]->caption = get_string("exportentries", "glossary");
26 26
 
27 27
         $data[GLOSSARY_IMPORT_VIEW]->link = "import.php?id=$cm->id";
28 28
         $data[GLOSSARY_EXPORT_VIEW]->link = "export.php?id=$cm->id&tab=".GLOSSARY_CATEGORY_VIEW;
@@ -37,10 +37,8 @@
37 37
     $data[GLOSSARY_DATE_VIEW]->link = "view.php?id=$id&mode=date";
38 38
 
39 39
     if ( $glossary->displayformat != GLOSSARY_FORMAT_CONTINUOUS ) {
40  
-        $data[GLOSSARY_STANDARD_VIEW]->link = "view.php?id=$id";
41  
-        $data[GLOSSARY_CATEGORY_VIEW]->link = "view.php?id=$id&tab=".GLOSSARY_CATEGORY_VIEW;
42 40
 
43  
-        $data[GLOSSARY_STANDARD_VIEW]->link = "view.php?id=$id";
  41
+        $data[GLOSSARY_STANDARD_VIEW]->link = "view.php?id=$id&mode=letter";
44 42
         $data[GLOSSARY_CATEGORY_VIEW]->link = "view.php?id=$id&mode=cat";
45 43
         $data[GLOSSARY_AUTHOR_VIEW]->link = "view.php?id=$id&mode=author";
46 44
 

0 notes on commit 38f7f44

Please sign in to comment.
Something went wrong with that request. Please try again.