' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; } add_action('wp_head', 'highslide_integration_head_add_js'); // activating the plugin function highslide_integration_activate() { // updating clean ups $hi_version = get_option('hi_version'); switch($hi_version) { case "2.3": break; case "2.2": break; case "2.1": break; case "2.0": break; case "1.4": delete_option('hi_library'); delete_option('hi_jsSettings'); delete_option('hi_enabledForDefault'); break; case "1.3": delete_option('hi_library'); delete_option('hi_jsSettings'); delete_option('hi_enabledForDefault'); break; case "1.2": delete_option('hi_library'); delete_option('hi_jsSettings'); delete_option('hi_enabledForDefault'); break; default: delete_option('hi_library'); delete_option('hi_jsSettings'); delete_option('hi_enabledForDefault'); } update_option('hi_version', '2.3'); // save plugin settings to database add_option('hi_jsSettings', '// HIDE CREDITS hs.showCredits = false; // SHOW IMAGE TITLES AS CAPTIONS // hs.captionEval = \'this.thumb.title\'; // hs.captionOverlay.position = \'below\'; // DROP SHADOW hs.outlineType = \'drop-shadow\'; // USE GRAPHICAL EFFECTS hs.transitions = [\'expand\', \'crossfade\']; hs.fadeInOut = true; hs.expandDuration = 150; hs.restoreDuration = 150; // SHOW SLIDESHOW CONTROLBAR hs.addSlideshow({ interval: 5000, repeat: false, useControls: true, fixedControls: \'fit\', overlayOptions: { className: \'large-dark\', opacity: \'0.75\', position: \'bottom center\', offsetX: \'0\', offsetY: \'-25\', hideOnMouseOut: true } }); // DIMM WEBSITE WHEN IMAGE IS OPEN // hs.dimmingOpacity = 0.75; // SHOW CLOSE-BUTTON // hs.registerOverlay({ // html: \'
\', // position: \'top right\', // fade: 2 // });'); } register_activation_hook( __FILE__, 'highslide_integration_activate' ); // backend option page function highslide_integration_options_page() { ?>

Highslide Integration


website and click on one of the banners in the article.', HI_TEXTDOMAIN)); ?>

%s to read more.', HI_TEXTDOMAIN)); ?>