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

@ -698,8 +698,15 @@ function statusnet_plugin_admin(&$a, &$o){
);
$t = file_get_contents( dirname(__file__). "/admin.tpl" );
$o = replace_macros($t, array(
$t = get_markup_template( "admin.tpl", "addon/statusnet/" );
$includes = array(
'$field_input' => 'field_input.tpl',
'$field_checkbox' => 'field_checkbox.tpl',
);
$includes = set_template_includes($a->theme['template_engine'], $includes);
$o = replace_macros($t, $includes + array(
'$submit' => t('Submit'),
'$sites' => $sitesform,