From: garvinhicking Date: Thu, 7 Jul 2005 15:16:59 +0000 (+0000) Subject: Make target="" optional X-Git-Tag: 0.9~340 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=def898987a6dede6aeb280a8f9d0a1abc9287406;p=s9y.git Make target="" optional --- diff --git a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php index faf6c71..3fcd028 100644 --- a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php +++ b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php @@ -292,7 +292,7 @@ class serendipity_plugin_remoterss extends serendipity_plugin { $propbag->add('description', PLUGIN_REMOTERSS_BLAHBLAH); $propbag->add('stackable', true); $propbag->add('author', 'Udo Gerhards, Richard Thomas Harrison'); - $propbag->add('version', '1.1'); + $propbag->add('version', '1.2'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', @@ -425,10 +425,6 @@ class serendipity_plugin_remoterss extends serendipity_plugin { $dateformat = '%A, %B %e. %Y'; } - if (!$target || strlen($target) < 1) { - $target = '_blank'; - } - if (!$cachetime || !is_numeric($cachetime)) { $cachetime = 10800; // 3 hours in seconds } @@ -448,7 +444,7 @@ class serendipity_plugin_remoterss extends serendipity_plugin { if (empty($item['title'])) { continue; } - $content .= ''; + $content .= ''; if (!empty($bulletimg)) { $content .= '* '; } @@ -511,13 +507,13 @@ class serendipity_plugin_remoterss extends serendipity_plugin { } if ($blogrolling === true && (!empty($text) || !empty($url))) { - $content .= '• ' . htmlspecialchars($text) . ""; + $content .= '• ' . htmlspecialchars($text) . ""; if (isset($item['isRecent'])) { $content .= ' *'; } $content .= "
"; } elseif ((isset($item['type']) && $item['type'] == 'url') || !empty($url)) { - $content .= '• ' . $text . ""; + $content .= '• ' . $text . ""; $content .= "
"; } ++$i;