From 0bf465d203de2e32ce37ca0b0e259627462ea4f6 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 24 Apr 2005 04:10:01 +0000 Subject: [PATCH] Accept language as parameter too (for lang styles) --- theme/standard/styles.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theme/standard/styles.php b/theme/standard/styles.php index 080b57c7271..dbf644bb134 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -12,7 +12,8 @@ require_once("../../config.php"); // Load up the Moodle libraries $themename = basename(dirname(__FILE__)); // Name of the folder we are in $forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme + $lang = optional_param('lang', '', PARAM_FILE); // Look for styles in this language - style_sheet_setup(filemtime('styles.php'), $lifetime, $themename, $forceconfig); + style_sheet_setup(filemtime('styles.php'), $lifetime, $themename, $forceconfig, $lang); ?>