revert addon Smarty3 templates to non-variable-based includes

This commit is contained in:
Zach Prezkuta 2012-12-25 13:25:09 -07:00
parent 75f47b74d2
commit c12542ef96
53 changed files with 75 additions and 146 deletions

View file

@ -71,12 +71,7 @@ function mathjax_plugin_admin (&$a, &$o) {
set_config('mathjax','baseurl','http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML');
}
$includes = array(
'$field_input' => 'field_input.tpl',
);
$includes = set_template_includes($a->theme['template_engine'], $includes);
$o = replace_macros( $t, $includes + array(
$o = replace_macros( $t, array(
'$baseurl' => array('baseurl', t('MathJax Base URL'), get_config('mathjax','baseurl' ), t('The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax.')),
));
}