1
0

plugin_plug: show text instead of logo

The logo does not fit at all to 2k11. It would be nicer to replace it with a nicer one, but till someone does this, to only show the text saves the design after install.
This commit is contained in:
onli
2014-11-02 16:43:49 +01:00
parent 1965691612
commit 2c3804d321

View File

@ -9,7 +9,7 @@ class serendipity_plugin_plug extends serendipity_plugin {
$propbag->add('description', ADVERTISES_BLAHBLAH);
$propbag->add('stackable', true);
$propbag->add('author', 'Serendipity Team');
$propbag->add('version', '1.0');
$propbag->add('version', '1.1');
$propbag->add('configuration', array(
'image',
'text'));
@ -23,14 +23,14 @@ class serendipity_plugin_plug extends serendipity_plugin {
$propbag->add('type', 'boolean');
$propbag->add('name', POWERED_BY_SHOW_IMAGE);
$propbag->add('description', POWERED_BY_SHOW_IMAGE_DESC);
$propbag->add('default', 'true');
$propbag->add('default', 'false');
break;
case 'text':
$propbag->add('type', 'boolean');
$propbag->add('name', POWERED_BY_SHOW_TEXT);
$propbag->add('description', POWERED_BY_SHOW_TEXT_DESC);
$propbag->add('default', 'false');
$propbag->add('default', 'true');
break;
default:
return false;