]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bookmark uses Plugin::path()
authorEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 17:04:54 +0000 (12:04 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 17:04:54 +0000 (12:04 -0500)
plugins/Bookmark/BookmarkPlugin.php
plugins/Bookmark/bookmarkpopup.php

index 800a26e79573c1c650f802f7bd20f04e163f6eda..2e6baf5e4e5ab7b97c78993f70338c942610775e 100644 (file)
@@ -149,7 +149,7 @@ class BookmarkPlugin extends Plugin
 
     function onEndShowStyles($action)
     {
-        $action->cssLink('plugins/Bookmark/bookmark.css');
+        $action->cssLink($this->path('bookmark.css'));
         return true;
     }
 
index 24ed79612b3fd65fb3cc17101f6295219ff1c185..33f983a93a38578afcd14d3d66aa961a9dc7f1a9 100644 (file)
@@ -107,6 +107,6 @@ class BookmarkpopupAction extends NewbookmarkAction
     function showScripts()
     {
         parent::showScripts();
-        $this->script(common_path('plugins/Bookmark/bookmarkpopup.js'));
+        $this->script(Plugin::staticPath('Bookmark', 'bookmarkpopup.js'));
     }
 }