wwwroot.'/mod/glossary/view.php?id='.$id.'&mode=letter', get_string('standardview', 'glossary')); $browserow[] = new tabobject(GLOSSARY_CATEGORY_VIEW, $CFG->wwwroot.'/mod/glossary/view.php?id='.$id.'&mode=cat', get_string('categoryview', 'glossary')); $browserow[] = new tabobject(GLOSSARY_DATE_VIEW, $CFG->wwwroot.'/mod/glossary/view.php?id='.$id.'&mode=date', get_string('dateview', 'glossary')); $browserow[] = new tabobject(GLOSSARY_AUTHOR_VIEW, $CFG->wwwroot.'/mod/glossary/view.php?id='.$id.'&mode=author', get_string('authorview', 'glossary')); if ($tab < GLOSSARY_STANDARD_VIEW || $tab > GLOSSARY_AUTHOR_VIEW) { // We are on second row $inactive = array('edit'); $activated = array('edit'); $browserow[] = new tabobject('edit', '#', get_string('edit')); } /// Put all this info together $tabrows = array(); $tabrows[] = $browserow; // Always put these at the top if ($toolsrow) { $tabrows[] = $toolsrow; } ?>
$strsearch: $hook"; } break; } echo '
'; ?>