mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
update addons to support Smarty3
This commit is contained in:
parent
66334ec5cb
commit
3da6f1471c
62 changed files with 778 additions and 468 deletions
|
@ -52,7 +52,8 @@ function like_widget_content(&$a, $conf){
|
|||
|
||||
$o = "";
|
||||
|
||||
$t = file_get_contents( dirname(__file__). "/widget_like.tpl" );
|
||||
# $t = file_get_contents( dirname(__file__). "/widget_like.tpl" );
|
||||
$t = get_markup_template("widget_like.tpl", "addon/widgets/");
|
||||
$o .= replace_macros($t, array(
|
||||
'$like' => $likes,
|
||||
'$strlike' => sprintf( tt("%d person likes this", "%d people like this", $likes), $likes),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue