X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/glossary
home
/
cbholdings
/
pasukulu
/
mod
/
glossary
/
📁
..
📄
README.txt
(1.7 KB)
📄
TODO.txt
(607 B)
📄
approve.php
(2.22 KB)
📁
backup
📁
classes
📁
db
📄
deleteentry.php
(2.87 KB)
📄
deprecatedlib.php
(2.27 KB)
📄
edit.php
(3.43 KB)
📄
edit_form.php
(7.12 KB)
📄
editcategories.html
(3.29 KB)
📄
editcategories.php
(10.89 KB)
📄
export.php
(2.95 KB)
📄
exportentry.php
(4.47 KB)
📁
formats
📄
formats.php
(9.51 KB)
📄
import.php
(15.58 KB)
📄
import_form.php
(1.13 KB)
📄
index.php
(4.36 KB)
📁
lang
📄
lib.php
(164.78 KB)
📄
locallib.php
(29.25 KB)
📄
mod_form.php
(10.57 KB)
📁
pix
📄
print.php
(6.94 KB)
📄
rsslib.php
(7.87 KB)
📄
settings.php
(2.7 KB)
📄
showentry.php
(3.42 KB)
📄
showentry_ajax.php
(3.78 KB)
📄
sql.php
(3.83 KB)
📄
styles.css
(2.5 KB)
📄
tabs.php
(2.46 KB)
📁
templates
📁
tests
📄
upgrade.txt
(1.25 KB)
📄
version.php
(1.2 KB)
📄
view.php
(17.41 KB)
Editing: tabs.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * prints the tabbed bar * * @author Peter Dias * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package mod_glossary * @copyright 2021 Peter Dias */ defined('MOODLE_INTERNAL') || die; echo html_writer::start_div('entrybox'); if (!isset($category)) { $category = ""; } switch ($tab) { case GLOSSARY_CATEGORY_VIEW: glossary_print_categories_menu($cm, $glossary, $hook, $category); break; case GLOSSARY_APPROVAL_VIEW: glossary_print_approval_menu($cm, $glossary, $mode, $hook, $sortkey, $sortorder); break; case GLOSSARY_AUTHOR_VIEW: $search = ""; glossary_print_author_menu($cm, $glossary, "author", $hook, $sortkey, $sortorder, 'print'); break; case GLOSSARY_IMPORT_VIEW: $search = ""; $l = ""; glossary_print_import_menu($cm, $glossary, 'import', $hook, $sortkey, $sortorder); break; case GLOSSARY_EXPORT_VIEW: $search = ""; $l = ""; glossary_print_export_menu($cm, $glossary, 'export', $hook, $sortkey, $sortorder); break; case GLOSSARY_DATE_VIEW: if (!$sortkey) { $sortkey = 'UPDATE'; } if (!$sortorder) { $sortorder = 'desc'; } glossary_print_alphabet_menu($cm, $glossary, "date", $hook, $sortkey, $sortorder); break; case GLOSSARY_STANDARD_VIEW: default: glossary_print_alphabet_menu($cm, $glossary, "letter", $hook, $sortkey, $sortorder); if ($mode == 'search' and $hook) { echo html_writer::tag('div', "$strsearch: $hook"); } break; } echo html_writer::empty_tag('hr');
Upload File
Create Folder