]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed entity flag stylesheet and icons from plugin to core.
authorSarven Capadisli <csarven@status.net>
Tue, 2 Feb 2010 15:27:58 +0000 (16:27 +0100)
committerSarven Capadisli <csarven@status.net>
Tue, 2 Feb 2010 15:27:58 +0000 (16:27 +0100)
plugins/UserFlag/UserFlagPlugin.php
plugins/UserFlag/icon_flag.gif [deleted file]
plugins/UserFlag/userflag.css [deleted file]
theme/default/css/display.css
theme/identica/css/display.css

index 8728e570345dedd6ec11df43dc09acc978479e59..ae3dfe0365155983e6518046afd1def6bb1ec51d 100644 (file)
@@ -182,21 +182,6 @@ class UserFlagPlugin extends Plugin
         return true;
     }
 
-    /**
-     * Add our plugin's CSS to page output
-     *
-     * @param Action $action action being shown
-     *
-     * @return boolean hook result
-     */
-
-    function onEndShowStatusNetStyles($action)
-    {
-        $action->cssLink(common_path('plugins/UserFlag/userflag.css'),
-                         null, 'screen, projection, tv');
-        return true;
-    }
-
     /**
      * Initialize any flagging buttons on the page
      *
diff --git a/plugins/UserFlag/icon_flag.gif b/plugins/UserFlag/icon_flag.gif
deleted file mode 100644 (file)
index 68c8aee..0000000
Binary files a/plugins/UserFlag/icon_flag.gif and /dev/null differ
diff --git a/plugins/UserFlag/userflag.css b/plugins/UserFlag/userflag.css
deleted file mode 100644 (file)
index 98da24c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-.entity_flag input.submit,
-.entity_flag p {
-background:url(icon_flag.gif) 5px 5px no-repeat;
-}
index 3c05420ef637584200c178e44a606d58b33c4f1a..6954de7bad6a0e8cdda7cb29c3f7a7b5c971801d 100644 (file)
@@ -190,7 +190,9 @@ button.close,
 .form_notice label[for=notice_data-geo],
 button.minimize,
 .form_reset_key input.submit,
-.entity_clear input.submit {
+.entity_clear input.submit,
+.entity_flag input.submit,
+.entity_flag p {
 background-image:url(../../base/images/icons/icons-01.gif);
 background-repeat:no-repeat;
 background-color:transparent;
@@ -342,6 +344,10 @@ background-position: 5px -1973px;
 .entity_clear input.submit {
 background-position: 5px -2039px;
 }
+.entity_flag input.submit,
+.entity_flag p {
+background-position: 5px -2105px;
+}
 
 /* NOTICES */
 .notice .attachment {
index e195553789268a7bcbbba047fe312b150e7f9ae1..9ac2730bdae5c6649d887a302561fd57b84bde2f 100644 (file)
@@ -190,7 +190,9 @@ button.close,
 .form_notice label[for=notice_data-geo],
 button.minimize,
 .form_reset_key input.submit,
-.entity_clear input.submit {
+.entity_clear input.submit,
+.entity_flag input.submit,
+.entity_flag p {
 background-image:url(../../base/images/icons/icons-01.gif);
 background-repeat:no-repeat;
 background-color:transparent;
@@ -341,6 +343,10 @@ background-position: 5px -1973px;
 .entity_clear input.submit {
 background-position: 5px -2039px;
 }
+.entity_flag input.submit,
+.entity_flag p {
+background-position: 5px -2105px;
+}
 
 /* NOTICES */
 .notice .attachment {