*/
public $uarrow = null;
+ /**
+ * @var string Accessibility: Down arrow-like character.
+ * If the theme does not set characters, appropriate defaults
+ * are set automatically.
+ */
+ public $darrow = null;
+
/**
* @var bool Some themes may want to disable ajax course editing.
*/
'parents', 'sheets', 'parents_exclude_sheets', 'plugins_exclude_sheets',
'javascripts', 'javascripts_footer', 'parents_exclude_javascripts',
'layouts', 'enable_dock', 'enablecourseajax', 'supportscssoptimisation',
- 'rendererfactory', 'csspostprocess', 'editor_sheets', 'rarrow', 'larrow', 'uarrow',
+ 'rendererfactory', 'csspostprocess', 'editor_sheets', 'rarrow', 'larrow', 'uarrow', 'darrow',
'hidefromselector', 'doctype', 'yuicssmodules', 'blockrtlmanipulations',
'lessfile', 'extralesscallback', 'lessvariablescallback', 'blockrendermethod');
}
/**
- * Checks if arrows $THEME->rarrow, $THEME->larrow, $THEME->uarrow have been set (theme/-/config.php).
+ * Checks if arrows $THEME->rarrow, $THEME->larrow, $THEME->uarrow, $THEME->darrow have been set (theme/-/config.php).
* If not it applies sensible defaults.
*
* Accessibility: right and left arrow Unicode characters for breadcrumb, calendar,
$this->rarrow = '►';
$this->larrow = '◄';
$this->uarrow = '▲';
+ $this->darrow = '▼';
if (empty($_SERVER['HTTP_USER_AGENT'])) {
$uagent = '';
} else {
$this->rarrow = '→';
$this->larrow = '←';
$this->uarrow = '↑';
+ $this->darrow = '↓';
}
elseif (isset($_SERVER['HTTP_ACCEPT_CHARSET'])
&& false === stripos($_SERVER['HTTP_ACCEPT_CHARSET'], 'utf-8')) {
$this->rarrow = '>';
$this->larrow = '<';
$this->uarrow = '^';
+ $this->darrow = 'v';
}
// RTL support - in RTL languages, swap r and l arrows