forked from GNUsocial/gnu-social
Add icons for spam toggle
This commit is contained in:
parent
6cabea6ae6
commit
e9566af3d9
@ -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
BIN
icons/bullet_black.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 211 B |
BIN
icons/exclamation.png
Normal file
BIN
icons/exclamation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 701 B |
Loading…
Reference in New Issue
Block a user