config_default.inc 3.58 KB
Newer Older
Katrin Otto's avatar
Katrin Otto committed
1
<?php   
Katrin Otto's avatar
Katrin Otto committed
2
# File contains all configuration for frame and the main menu
Katrin Otto's avatar
Katrin Otto committed
3
# Please change the name into config.inc and make your configuration
Katrin Otto's avatar
Katrin Otto committed
4 5 6

# author: Katrin Otto (katrin.otto@bibliothek.tu-chemnitz.de) 
# 21.06.2018
Katrin Otto's avatar
Katrin Otto committed
7

8 9

# active TUC specific settings with TRUE
Katrin Otto's avatar
Katrin Otto committed
10
$tuc = false;
11

Katrin Otto's avatar
Katrin Otto committed
12 13 14
# local file path
$base_dir = dirname(__FILE__);

Katrin Otto's avatar
Katrin Otto committed
15
# basic weblink to ikonline
16
$base_URL = '';
Katrin Otto's avatar
Katrin Otto committed
17 18 19 20 21 22 23 24 25 26 27 28

# current weblink
$url =(isset($_SERVER['HTTPS'])?'https':'http').'://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
# add index.html if url doesn't contains an file name
$url = !preg_match('/\.html/',$url ) ? $url.'index.html' : $url;

# current file name
$file_current =  basename($_SERVER['REQUEST_URI'], '?' . $_SERVER['QUERY_STRING']);
# add index.html if url doesn't contains an file name
$file_current = (strpos($file_current, '.html') !== false) ? $file_current : 'index.html';

# name of current file
Katrin Otto's avatar
Katrin Otto committed
29
$file_name = explode('.',pathinfo($file_current, PATHINFO_FILENAME))[0];
Katrin Otto's avatar
Katrin Otto committed
30 31 32 33 34 35 36 37

# list of all available languages
$lang = array (
    'Deutsch' => 'de',
    'Česky' => 'cs'
    #'English' => 'en'
);

38 39 40
# startpage for ikonline
$startpage = '/index.html';

Katrin Otto's avatar
Katrin Otto committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
# main navigation
# key is name of folder
$array_navigation = array(
    'de' => array(
        'titel' => 'IKOnline',
        'links' => array(
            //Der Key ist der Ordner und Value ist die Benennung
            'introduction' => 'Einführung',
            'modul1' => 'Modul 1',
            'modul2' => 'Modul 2',
            'modul3' => 'Modul 3',
            'modul4' => 'Modul 4',
            'modul5' => 'Modul 5',
            'modul6' => 'Modul 6',
            'evaluation' => 'Evaluation'),
        'rechts' => array(
            'Werkzeuge' => array(
                'links' => 'Linkssammlung',
                'glossary' => 'Glossar'),
            'Sprachen' => $lang)),
    'cs' => array(
        'titel' => 'IKOnline',
        'links' => array(
Katrin Otto's avatar
Katrin Otto committed
64
            'introduction' => 'Úvod',
Katrin Otto's avatar
Katrin Otto committed
65 66 67 68 69 70
            'modul1' => 'Modul 1',
            'modul2' => 'Modul 2',
            'modul3' => 'Modul 3',
            'modul4' => 'Modul 4',
            'modul5' => 'Modul 5',
            'modul6' => 'Modul 6',
Katrin Otto's avatar
Katrin Otto committed
71
            'evaluation' => 'Evaluace'),
Katrin Otto's avatar
Katrin Otto committed
72
        'rechts' => array(
Katrin Otto's avatar
Katrin Otto committed
73
            'Nástroje' => array(
Katrin Otto's avatar
Katrin Otto committed
74
                'links' => 'Seznam odkazů',
Katrin Otto's avatar
Katrin Otto committed
75
                'glossary' => 'Pojmy'),
Katrin Otto's avatar
Katrin Otto committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
            'Sprachen' => $lang))
        );

# left menu for start page and evaluation
$start_menu = array(
    'de' => array(
        'Inhalt' => array(
            'introduction' => 'Einführung',
            'modul1' => '1. Universitätsbibliothek & Katalog', 
            'modul2' => '2. Vorbereitung der Recherche', 
            'modul3' => '3. Suchtechniken und Datenbankfunktionen', 
            'modul4' => '4. Recherchieren im Internet', 
            'modul5' => '5. Literaturbeschaffung', 
            'modul6' => '6. Zitieren und Plagiat', 
            'evaluation' => 'Evaluierung'
        )
Katrin Otto's avatar
Katrin Otto committed
92 93 94 95 96 97 98 99 100 101 102 103
    ),
    'cs' => array(
        'Obsah' => array(
            'introduction' => 'Úvod',
            'modul1' => '1. Univerzitní knihovna a katalog',
            'modul2' => '2. Příprava rešerše',
            'modul3' => '3. Techniky vyhledávání a funkce v databázích',
            'modul4' => '4. Rešerše na internetu',
            'modul5' => '5. Získání literatury',
            'modul6' => '6. Citace a plagiáty',
            'evaluation' => 'Evaluace'
        )
Katrin Otto's avatar
Katrin Otto committed
104
    )
Katrin Otto's avatar
Katrin Otto committed
105

Katrin Otto's avatar
Katrin Otto committed
106 107 108 109
);

# text for next and previous button
$zurueck = array(
Katrin Otto's avatar
Katrin Otto committed
110
    'de' => 'Zurück',
Katrin Otto's avatar
Katrin Otto committed
111
    'cs'  => 'Zpět'
Katrin Otto's avatar
Katrin Otto committed
112 113 114
);

$vor = array(
Katrin Otto's avatar
Katrin Otto committed
115
    'de' => 'Weiter',
Katrin Otto's avatar
Katrin Otto committed
116
    'cs' => 'Dál'
Katrin Otto's avatar
Katrin Otto committed
117 118 119 120 121 122 123
);

# including page
require_once($base_dir.'/template.inc');


?>