<?PHP /* $Id$ */
/// We use PHP so we can do value substitutions into the styles
-
- if (!isset($themename)) {
- $themename = NULL;
- }
-
$nomoodlecookie = true;
+
require_once("../../config.php");
+ $themename = optional_param('themename', NULL, PARAM_SAFEDIR);
+
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
///
<?PHP /* $Id$ */
/// We use PHP so we can do value substitutions into the styles
-
- if (!isset($themename)) {
- $themename = NULL;
- }
-
$nomoodlecookie = true;
+
require_once("../../config.php");
+ $themename = optional_param('themename', NULL, PARAM_SAFEDIR);
+
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
///
<?PHP /* $Id$ */
/// We use PHP so we can do value substitutions into the styles
-
- if (!isset($themename)) {
- $themename = NULL;
- }
-
$nomoodlecookie = true;
+
require_once("../../config.php");
+ $themename = optional_param('themename', NULL, PARAM_SAFEDIR);
+
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
///
<?PHP /* $Id$ */
/// We use PHP so we can do value substitutions into the styles
-
- if (!isset($themename)) {
- $themename = NULL;
- }
-
$nomoodlecookie = true;
+
require_once("../../config.php");
+ $themename = optional_param('themename', NULL, PARAM_SAFEDIR);
+
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
///
<?PHP /* $Id$ */
/// We use PHP so we can do value substitutions into the styles
-
- if (!isset($themename)) {
- $themename = NULL;
- }
-
$nomoodlecookie = true;
+
require_once("../../config.php");
+ $themename = optional_param('themename', NULL, PARAM_SAFEDIR);
+
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
///
<?PHP /* $Id$ */
/// We use PHP so we can do value substitutions into the styles
-
- if (!isset($themename)) {
- $themename = NULL;
- }
-
$nomoodlecookie = true;
+
require_once("../../config.php");
+ $themename = optional_param('themename', NULL, PARAM_SAFEDIR);
+
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
///