update addons to support Smarty3

This commit is contained in:
Zach Prezkuta 2012-12-22 13:36:35 -07:00
parent 66334ec5cb
commit 3da6f1471c
62 changed files with 778 additions and 468 deletions

View file

@ -51,7 +51,8 @@ function widgets_settings(&$a,&$o) {
$t = file_get_contents( dirname(__file__). "/settings.tpl" );
# $t = file_get_contents( dirname(__file__). "/settings.tpl" );
$t = get_markup_template("settings.tpl", "addon/widgets/");
$o .= replace_macros($t, array(
'$submit' => t('Generate new key'),
'$baseurl' => $a->get_baseurl(),