$propbag->add('description', PLUGIN_EVENT_SPARTACUS_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking');
- $propbag->add('version', '2.6');
+ $propbag->add('version', '2.7');
$propbag->add('requirements', array(
'serendipity' => '0.9',
'smarty' => '2.6.7',
function &fetchfile($url, $target, $cacheTimeout = 0, $decode_utf8 = false, $sub = 'plugins') {
static $error = false;
+ // Fix double URL strings.
+ $url = str_replace('http:/', 'http://', str_replace('//', '/', $url));
+
printf(PLUGIN_EVENT_SPARTACUS_FETCHING, '<a href="' . $url . '">' . basename($url) . '</a>');
echo '<br />';