X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FDirectionDetector%2FDirectionDetectorPlugin.php;h=890af068073321373e4f10dde075afd608641073;hb=ae3eaee6cd5f67b0260abf30c3517072e372e270;hp=ec206dd75c2f8df2fae9846a2b2fa65ccbadf15e;hpb=399977aebfa99362295b0a817fe08e2eeb07055d;p=quix0rs-gnu-social.git diff --git a/plugins/DirectionDetector/DirectionDetectorPlugin.php b/plugins/DirectionDetector/DirectionDetectorPlugin.php index ec206dd75c..890af06807 100644 --- a/plugins/DirectionDetector/DirectionDetectorPlugin.php +++ b/plugins/DirectionDetector/DirectionDetectorPlugin.php @@ -42,15 +42,6 @@ class DirectionDetectorPlugin extends Plugin { return true; } - /** - * SN plugin API, here we will add css needed for modifiyed rendered - * - * @param Action $xml - */ - public function onEndShowStatusNetStyles($xml){ - $xml->element('style', array('type' => 'text/css'), 'span.rtl {display:block;direction:rtl;text-align:right;float:right;} .notice .author {float:left}'); - } - /** * is passed string a rtl content or not * @@ -261,6 +252,7 @@ class DirectionDetectorPlugin extends Plugin { 'version' => DIRECTIONDETECTORPLUGIN_VERSION, 'author' => 'Behrooz Shabani', 'homepage' => $url, + // TRANS: Plugin description. 'rawdescription' => _m('Shows notices with right-to-left content in correct direction.') ); return true;