Add icons for spam toggle

This commit is contained in:
Evan Prodromou 2012-03-07 14:32:05 -06:00
parent 6cabea6ae6
commit e9566af3d9
3 changed files with 8 additions and 0 deletions

View File

@ -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',

BIN
icons/bullet_black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

BIN
icons/exclamation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B