diff --git a/ActivitySpamPlugin.php b/ActivitySpamPlugin.php index e497b9a744..b62401ce1b 100644 --- a/ActivitySpamPlugin.php +++ b/ActivitySpamPlugin.php @@ -215,6 +215,14 @@ class ActivitySpamPlugin extends Plugin return true; } + function onEndShowStyles($action) + { + $action->element('style', null, + 'form_train_spam input.submit { background: url("'.$this->path('icons/bullet_black.png').'") no-repeat 0px 0px } ' . "\n" . + 'form_train_spam input.submit { background: url("'.$this->path('icons/exclamation.png').'") no-repeat 0px 0px } '); + return true; + } + function onPluginVersion(&$versions) { $versions[] = array('name' => 'ActivitySpam', diff --git a/icons/bullet_black.png b/icons/bullet_black.png new file mode 100644 index 0000000000..57619706d1 Binary files /dev/null and b/icons/bullet_black.png differ diff --git a/icons/exclamation.png b/icons/exclamation.png new file mode 100644 index 0000000000..c37bd062e6 Binary files /dev/null and b/icons/exclamation.png differ