]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OMB/OMBPlugin.php
retaining compatibility with previous TwitterBridge getMediatype
[quix0rs-gnu-social.git] / plugins / OMB / OMBPlugin.php
index c532c4c8940f1850de2b99c0a6187e04558ce024..de0088cc8e60789b35ec055db76ec6b06f5d91ae 100644 (file)
@@ -377,6 +377,20 @@ class OMBPlugin extends Plugin
         return true;
     }
 
+    function onStartProfileRemoteSubscribe($out, $profile)
+    {
+        $out->elementStart('li', 'entity_subscribe');
+        $url = common_local_url('remotesubscribe',
+                                array('nickname' => $this->profile->nickname));
+        $out->element('a', array('href' => $url,
+                                  'class' => 'entity_remote_subscribe'),
+                       // TRANS: Link text for link that will subscribe to a remote profile.
+                       _m('BUTTON','Subscribe'));
+        $out->elementEnd('li');
+
+        return false;
+    }
+
     /**
      * Plugin version info
      *