-
Notifications
You must be signed in to change notification settings - Fork 55
/
tsugi_settings.php
44 lines (32 loc) · 1.53 KB
/
tsugi_settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* These are some configuration variables that are not secure / sensitive
*
* This file is included at the end of tsugi/config.php
*/
// This is how the system will refer to itself.
$CFG->servicename = 'DJ4E';
$CFG->servicedesc = false;
// Theme like Django
$CFG->theme = array(
"primary" => "#0a4b33", //default color for nav background, splash background, buttons, text of tool menu
"secondary" => "#EEEEEE", // Nav text and nav item border color, background of tool menu
"text" => "#111111", // Standard copy color
"text-light" => "#5E5E5E", // A lighter version of the standard text color for elements like "small"
"font-url" => "https://fonts.googleapis.com/css?family=Roboto:400", // Optional custom font url for using Google fonts
"font-family" => "'Roboto', Corbel, Avenir, 'Lucida Grande', 'Lucida Sans', sans-serif", // Font family
"font-size" => "14px", // This is the base font size used for body copy. Headers,etc. are scaled off this value
);
$CFG->context_title = "Django for Everybody";
$CFG->lessons = $CFG->dirroot.'/../lessons.json';
$CFG->giftquizzes = $CFG->dirroot.'/../dj4e-private/quiz';
$CFG->youtube_url = $CFG->apphome . '/mod/youtube/';
$CFG->tdiscus = $CFG->apphome . '/mod/tdiscus/';
$CFG->launcherror = $CFG->apphome . "/launcherror";
$CFG->setExtension('django_version', '4.2');
$CFG->setExtension('django_version_short', '42');
$buildmenu = $CFG->dirroot."/../buildmenu.php";
if ( file_exists($buildmenu) ) {
require_once $buildmenu;
$CFG->defaultmenu = buildMenu();
}