~ubuntu-branches/ubuntu/hoary/moodle/hoary

« back to all changes in this revision

Viewing changes to mod/glossary/tabs.html

  • Committer: Bazaar Package Importer
  • Author(s): Isaac Clerencia
  • Date: 2004-12-29 00:49:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041229004952-gliyqzpj2w3e7clx
Tags: 1.4.3-1
* Urgency high as upstream release fixes several security bugs
* New upstream release
* Write database creation errors and warn the user about it, 
closes: #285842, #285842

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php  // $Id: tabs.html,v 1.9 2004/05/20 19:51:23 stronk7 Exp $
 
1
<?php  // $Id: tabs.html,v 1.10 2004/07/27 17:19:46 stronk7 Exp $
2
2
    if (!isset($sortorder)) {
3
3
        $sortorder = '';
4
4
    }    
38
38
 
39
39
    $data[GLOSSARY_DATE_VIEW]->link = "view.php?id=$id&mode=date";
40
40
 
41
 
    if ( $glossary->displayformat != GLOSSARY_FORMAT_CONTINUOUS ) {
42
 
 
43
 
        $data[GLOSSARY_STANDARD_VIEW]->link = "view.php?id=$id&mode=letter";
44
 
        $data[GLOSSARY_CATEGORY_VIEW]->link = "view.php?id=$id&mode=cat";
45
 
        $data[GLOSSARY_AUTHOR_VIEW]->link = "view.php?id=$id&mode=author";
46
 
 
47
 
    }
 
41
    $data[GLOSSARY_STANDARD_VIEW]->link = "view.php?id=$id&mode=letter";
 
42
    $data[GLOSSARY_CATEGORY_VIEW]->link = "view.php?id=$id&mode=cat";
 
43
    $data[GLOSSARY_AUTHOR_VIEW]->link = "view.php?id=$id&mode=author";
 
44
 
48
45
 
49
46
    if (isteacher($course->id)) {
50
47
        $data[GLOSSARY_APPROVAL_VIEW]->caption = get_string("waitingapproval", "glossary");