Merge branch 'MDL-70721-master' of git://github.com/rezaies/moodle
This commit is contained in:
@@ -105,6 +105,7 @@ class renderer_base {
|
||||
|
||||
$loader = new \core\output\mustache_filesystem_loader();
|
||||
$stringhelper = new \core\output\mustache_string_helper();
|
||||
$cleanstringhelper = new \core\output\mustache_clean_string_helper();
|
||||
$quotehelper = new \core\output\mustache_quote_helper();
|
||||
$jshelper = new \core\output\mustache_javascript_helper($this->page);
|
||||
$pixhelper = new \core\output\mustache_pix_helper($this);
|
||||
@@ -116,6 +117,7 @@ class renderer_base {
|
||||
|
||||
$helpers = array('config' => $safeconfig,
|
||||
'str' => array($stringhelper, 'str'),
|
||||
'cleanstr' => array($cleanstringhelper, 'cleanstr'),
|
||||
'quote' => array($quotehelper, 'quote'),
|
||||
'js' => array($jshelper, 'help'),
|
||||
'pix' => array($pixhelper, 'pix'),
|
||||
|
||||
Reference in New Issue
Block a user