diff --git a/include/plugin_internal.inc.php b/include/plugin_internal.inc.php index be894afe..6fcb331d 100644 --- a/include/plugin_internal.inc.php +++ b/include/plugin_internal.inc.php @@ -672,7 +672,7 @@ class serendipity_syndication_plugin extends serendipity_plugin { $propbag->add('description', SHOWS_RSS_BLAHBLAH); $propbag->add('stackable', true); $propbag->add('author', 'Serendipity Team'); - $propbag->add('version', '1.3'); + $propbag->add('version', '1.4'); $propbag->add('configuration', array( 'title', 'fullfeed', @@ -691,6 +691,7 @@ class serendipity_syndication_plugin extends serendipity_plugin { 'field_ttl', 'field_pubDate', 'seperator', + 'iconURL', 'bannerURL', 'bannerWidth', 'bannerHeight', @@ -839,6 +840,13 @@ class serendipity_syndication_plugin extends serendipity_plugin { $propbag->add('default', true); break; + case 'iconURL': + $propbag->add('type', 'string'); + $propbag->add('name', XML_IMAGE_TO_DISPLAY); + $propbag->add('description', ''); + $propbag->add('default', 'img/xml.gif'); + break; + case 'bannerURL': $propbag->add('type', 'string'); $propbag->add('name', SYNDICATION_PLUGIN_BANNERURL); @@ -900,11 +908,12 @@ class serendipity_syndication_plugin extends serendipity_plugin { global $serendipity; $title = $this->get_config('title'); + $icon = serendipity_getTemplateFile($this->get_config('iconURL', 'img/xml.gif')); if (serendipity_db_bool($this->get_config('show_0.91', true))) { ?>
get_config('show_1.0', true))) { ?> get_config('show_2.0', true))) { ?> get_config('show_atom0.3', true))) { ?> get_config('show_atom1.0', true))) { ?> get_config('show_2.0c', true))) { ?> get_config('show_opml1.0', false))) { ?>