Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_weblogping
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28720/plugins/serendipity_event_weblogping
Modified Files:
serendipity_event_weblogping.php
Log Message:
immediately show plugin defaults in configuration screen instead of leaving
everything blank.
!!!!PLEASE TEST!!!!
Index: serendipity_event_weblogping.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- serendipity_event_weblogping.php 21 Jun 2004 15:17:09 -0000 1.8
+++ serendipity_event_weblogping.php 22 Jun 2004 13:45:47 -0000 1.9
@@ -123,12 +123,14 @@
$propbag->add('type', 'string');
$propbag->add('name', PLUGIN_EVENT_WEBLOGPING_CUSTOM);
$propbag->add('description', PLUGIN_EVENT_WEBLOGPING_CUSTOM_BLAHBLA);
+ $propbag->add('default', '');
break;
default:
$propbag->add('type', 'boolean');
$propbag->add('name', $name);
$propbag->add('description', sprintf(PLUGIN_EVENT_WEBLOGPING_PING, $name));
+ $propbag->add('default', 'false');
}
return true;
}
|