diff --git a/serendipity_plugin_imagesidebar/ChangeLog b/serendipity_plugin_imagesidebar/ChangeLog
index 595cc22f..0f38f22c 100644
--- a/serendipity_plugin_imagesidebar/ChangeLog
+++ b/serendipity_plugin_imagesidebar/ChangeLog
@@ -1,3 +1,7 @@
+0.100:
+-----
+ * Added option "none" for "Behavior of image link"
+
0.99:
-----
* Added serendipity_request_url API method
diff --git a/serendipity_plugin_imagesidebar/media_sidebar.php b/serendipity_plugin_imagesidebar/media_sidebar.php
index 25eaa4f2..9c4bb999 100644
--- a/serendipity_plugin_imagesidebar/media_sidebar.php
+++ b/serendipity_plugin_imagesidebar/media_sidebar.php
@@ -72,6 +72,7 @@ class media_sidebar extends subplug_sidebar {
$select["popup"] = PLUGIN_SIDEBAR_MEDIASIDEBAR_LINKBEHAVIOR_POPUP;
$select["url"] = PLUGIN_SIDEBAR_MEDIASIDEBAR_LINKBEHAVIOR_URL;
$select["entry"] = PLUGIN_SIDEBAR_MEDIASIDEBAR_LINKBEHAVIOR_ENTRY;
+ $select['none'] = NONE;
if (class_exists('serendipity_event_usergallery')){
$select["gallery"] = PLUGIN_SIDEBAR_MEDIASIDEBAR_LINKBEHAVIOR_GALLERY;
}
@@ -269,6 +270,9 @@ class media_sidebar extends subplug_sidebar {
}
$output_str .= '';
break;
+ case 'none':
+ $output_str .= '';
+ break;
case 'inpage':
default:
$output_str .= 'get_config('media_lightbox', '') . ' href="'.$image_path.'">';
diff --git a/serendipity_plugin_imagesidebar/serendipity_plugin_imagesidebar.php b/serendipity_plugin_imagesidebar/serendipity_plugin_imagesidebar.php
index 79ad1a58..88b86857 100644
--- a/serendipity_plugin_imagesidebar/serendipity_plugin_imagesidebar.php
+++ b/serendipity_plugin_imagesidebar/serendipity_plugin_imagesidebar.php
@@ -75,7 +75,7 @@ class serendipity_plugin_imagesidebar extends serendipity_plugin {
$propbag->add('description', PLUGIN_SIDEBAR_IMAGESIDEBAR_DESC);
$propbag->add('stackable', true);
$propbag->add('author', 'Andrew Brown (Menalto code), Matthew Groeninger (Unified/Media Lib. Code), Stefan Lange-Hegermann (Zooomr Code), Matthew Maude (Coppermine code)');
- $propbag->add('version', '0.99');
+ $propbag->add('version', '0.100');
$propbag->add('license', 'BSD');
$propbag->add('requirements', array(
'serendipity' => '0.8',