Last change
on this file since 9679 was
5573,
checked in by Henrik Bettermann, 14 years ago
|
BT Education Moodle Theme
|
File size:
1018 bytes
|
Line | |
---|
1 | <?PHP /* $Id: styles.php,v 1.17.14.1 2008/03/10 15:13:35 andreabix Exp $ */ |
---|
2 | |
---|
3 | /// Every theme should contain a copy of this script. It lets us |
---|
4 | /// set up variables and so on before we include the raw CSS files. |
---|
5 | /// The output of this script should be a completely standard CSS file. |
---|
6 | |
---|
7 | /// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD. |
---|
8 | |
---|
9 | |
---|
10 | $lifetime = 600; // Seconds to cache this stylesheet |
---|
11 | $nomoodlecookie = true; // Cookies prevent caching, so don't use them |
---|
12 | require_once("../../config.php"); // Load up the Moodle libraries |
---|
13 | $themename = basename(dirname(__FILE__)); // Name of the folder we are in |
---|
14 | $forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme |
---|
15 | $lang = optional_param('lang', '', PARAM_FILE); // Look for styles in this language |
---|
16 | |
---|
17 | style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang); |
---|
18 | |
---|
19 | ?> |
---|
Note: See
TracBrowser for help on using the repository browser.