mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Three new settings in THEME. These will allow the use of "styles.php"
stylesheets within activity modules, blocks and languages, allowing these plugins to have some say over their appearance (if required).
This commit is contained in:
parent
08396bb270
commit
179332ab56
@ -56,6 +56,30 @@ $THEME->parentsheets = false;
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
$THEME->modsheets = false;
|
||||
|
||||
/// By setting this to true, then this theme will search for
|
||||
/// files named "styles.php" inside all Activity modules and
|
||||
/// include them. This allows modules to provide some basic
|
||||
/// layouts so they work out of the box.
|
||||
|
||||
|
||||
$THEME->blocksheets = false;
|
||||
|
||||
/// By setting this to true, then this theme will search for
|
||||
/// files named "styles.php" inside all Block modules and
|
||||
/// include them. This allows Blocks to provide some basic
|
||||
/// layouts so they work out of the box.
|
||||
|
||||
|
||||
$THEME->langsheets = false;
|
||||
|
||||
/// By setting this to true, then this theme will search for
|
||||
/// a file named "styles.php" inside the current language
|
||||
/// directory. This allows different languages to provide
|
||||
/// different styles.
|
||||
|
||||
|
||||
$THEME->custompix = false;
|
||||
|
||||
/// If true, then this theme must have a "pix"
|
||||
|
Loading…
x
Reference in New Issue
Block a user