]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/EventPlugin.php
Moved Event CSS into the plugin directory
[quix0rs-gnu-social.git] / plugins / Event / EventPlugin.php
index 07394d30c35099c3d989fb615f0dc7762899fffa..c1c8ec77c3365da82e24c1aac72f58e82708dfce 100644 (file)
@@ -216,7 +216,7 @@ class EventPlugin extends MicroappPlugin
         $obj->type    = Happening::OBJECT_TYPE;
         $obj->title   = $happening->title;
         $obj->summary = $happening->description;
-        $obj->link    = $notice->bestUrl();
+        $obj->link    = $notice->getUrl();
 
         // XXX: how to get this stuff into JSON?!
 
@@ -316,7 +316,7 @@ class EventPlugin extends MicroappPlugin
 
     function onEndShowStyles($action)
     {
-        $action->cssLink($this->path('event.css'));
+        $action->cssLink($this->path('css/event.css'));
         return true;
     }