]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
Implement Smarty3
[friendica.git] / mod / profile_photo.php
index d1f77a3db43ceb320a56847a54123840f88308e4..cf9918146504ab01306f54e0b6e3f9cf849b9c42 100644 (file)
@@ -313,8 +313,8 @@ function profile_photo_crop_ui_head(&$a, $ph){
        $a->config['imagecrop'] = $hash;
        $a->config['imagecrop_resolution'] = $smallest;
        $a->config['imagecrop_ext'] = $ph->getExt();
-       $a->page['htmlhead'] .= get_markup_template("crophead.tpl");
-       $a->page['end'] .= get_markup_template("cropend.tpl");
+       $a->page['htmlhead'] .= replace_macros(get_markup_template("crophead.tpl"), array());
+       $a->page['end'] .= replace_macros(get_markup_template("cropend.tpl"), array());
        return;
 }}