X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fsalmon.php;h=d7060b0f7a583cb48296c1c2d123f9fd105f0be2;hb=8fa9ca520badd6ae757bbafa647020ed50a288c3;hp=8a56882adb6f16ef6671b8b431cb38428e482c91;hpb=5c98032893d945644c6da6bdf99484c0c8cb7e45;p=friendica.git diff --git a/include/salmon.php b/include/salmon.php index 8a56882adb..d7060b0f7a 100644 --- a/include/salmon.php +++ b/include/salmon.php @@ -128,7 +128,8 @@ $namespaces = <<< EOT xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" xmlns:as="http://activitystrea.ms/spec/1.0/" xmlns:georss="http://www.georss.org/georss" - xmlns:poco="http://portablecontacts.net/spec/1.0" > + xmlns:poco="http://portablecontacts.net/spec/1.0" + xmlns:ostatus="http://ostatus.org/schema/1.0" > EOT; $slap = str_replace('',$namespaces,$slap); @@ -160,7 +161,7 @@ EOT; $signature2 = base64url_encode($rsa->sign($data)); - $salmon_tpl = load_view_file('view/magicsig.tpl'); + $salmon_tpl = get_markup_template('magicsig.tpl'); $salmon = replace_macros($salmon_tpl,array( '$data' => $data, '$encoding' => $encoding,