Changeset 800100
- Timestamp:
- 11/06/2013 11:15:28 PM (12 years ago)
- Location:
- bmo-expo
- Files:
-
- 1 added
- 10 edited
-
.DS_Store (modified) (previous)
-
trunk/.DS_Store (modified) (previous)
-
trunk/bmo_expo.php (modified) (2 diffs)
-
trunk/classes/.DS_Store (added)
-
trunk/classes/admin/admin.php (modified) (1 diff)
-
trunk/classes/admin/admin_page_options.php (modified) (4 diffs)
-
trunk/classes/theGallery.php (modified) (1 diff)
-
trunk/css/admin/bmo_admin_style.css (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/screenshot-1.png (modified) (previous)
-
trunk/screenshot-2.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
bmo-expo/trunk/bmo_expo.php
r798165 r800100 6 6 Author: Benedikt Morschheuser 7 7 Author URI: http://bmo-design.de/ 8 Version: 1.0. 38 Version: 1.0.4 9 9 10 10 Copyright 2012-2013 by Benedikt Morschheuser (http://bmo-design.de/kontakt/) … … 33 33 //############################################################### 34 34 35 define('BMO_EXPO_VERSION','1.0. 3');//version35 define('BMO_EXPO_VERSION','1.0.4');//version 36 36 define('BMO_EXPO_SITEBASE_URL', get_option('siteurl')); 37 37 define('BMO_EXPO_PLUGINNAME', trim(plugin_basename(dirname(__FILE__)))); -
bmo-expo/trunk/classes/admin/admin.php
r786953 r800100 130 130 <ul> 131 131 <li>If you like my plugin, please...</li> 132 <li><a href="http://wordpress.org/extend/plugins/ nextgen-scrollgallery/" target="_blank">rate it at wordpress.org</a> ♦</li>132 <li><a href="http://wordpress.org/extend/plugins/bmo-expo/" target="_blank">rate it at wordpress.org</a> ♦</li> 133 133 <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AWSR2J4DK2FU" target="_blank">donate my work</a> ♥</li> 134 134 <li><a href="http://bmo-design.de" target="_blank">set a link to my website</a> →</li> -
bmo-expo/trunk/classes/admin/admin_page_options.php
r798165 r800100 144 144 else 145 145 echo ""; 146 echo "/>"; 146 echo "/> "; 147 if($option['type']!='common_php') 148 echo "<p class='small'>(".$key.")</p>"; 147 149 } 148 150 public function BMo_Expo_options_field_html_int($args=array()) { … … 150 152 $option = $args['option']; 151 153 echo '<input name="'.BMO_EXPO_OPTIONS.'['.$key.'][value]" size="4" type="text" value="'.$option['value'].'" />'; 154 if($option['type']!='common_php') 155 echo "<p class='small'>(".$key.")</p>"; 152 156 } 153 157 public function BMo_Expo_options_field_html_string($args=array()) { … … 155 159 $option = $args['option']; 156 160 echo '<input name="'.BMO_EXPO_OPTIONS.'['.$key.'][value]" size="14" type="text" value="'.$option['value'].'" />'; 161 if($option['type']!='common_php') 162 echo "<p class='small'>(".$key.")</p>"; 157 163 } 158 164 public function BMo_Expo_options_field_html_select($args=array()) { … … 169 175 } 170 176 echo '</select>'; 177 if($option['type']!='common_php') 178 echo "<p class='small'>(".$key.")</p>"; 171 179 } 172 180 -
bmo-expo/trunk/classes/theGallery.php
r798165 r800100 37 37 //set options if not already set with defaults as value- installation 38 38 $options = array( 39 'replaceWPGallery'=> array('type' => 'common_php','valtype' => 'select', 'default' =>'scrollGallery', 'possibilities' => array('sG' => 'scrollGallery','slG' => 'scrollLightboxGallery', 0 =>'Do not replace'),'desc' => 'Replace the Wordpress [gallery] shortcode '),40 'jsInFooter' => array('type' => 'common_php','valtype' => 'bool', 'default' =>false, 'desc' => 'Integrate the javascript in the footer and not in the <head/> of your site '),41 42 'duration' => array('type' => 'common','valtype' => 'string', 'default' =>'slow', 'desc' => ' duration (number or string)[slow, fast]: Animation duration, durations are given in milliseconds or with the keywords slow and fast; higher values indicate slower animations.'),43 'gallery_width' => array('type' => 'common','valtype' => 'int', 'default' =>600, 'desc' => ' gallery_width (number): gallery width'),44 'gallery_height' => array('type' => 'common','valtype' => 'int', 'default' =>400, 'desc' => ' gallery_height (number): gallery height'),45 'thumbs_width' => array('type' => 'common','valtype' => 'int', 'default' =>100, 'desc' => ' thumbs_width (number): width of each thumb'),46 'thumbs_height' => array('type' => 'common','valtype' => 'int', 'default' =>100, 'desc' => ' thumbs_height (number): height of each thumb'),39 'replaceWPGallery'=> array('type' => 'common_php','valtype' => 'select', 'default' =>'scrollGallery', 'possibilities' => array('sG' => 'scrollGallery','slG' => 'scrollLightboxGallery', 0 =>'Do not replace'),'desc' => 'Replace the Wordpress [gallery] shortcode with:'), 40 'jsInFooter' => array('type' => 'common_php','valtype' => 'bool', 'default' =>false, 'desc' => 'Integrate the javascript in the footer and not in the <head/> of your site:'), 41 42 'duration' => array('type' => 'common','valtype' => 'string', 'default' =>'slow', 'desc' => 'Animation duration, durations are given in milliseconds or with the keywords "slow" and "fast"; higher values indicate slower animations:', 'code' => 'duration'), 43 'gallery_width' => array('type' => 'common','valtype' => 'int', 'default' =>600, 'desc' => 'Gallery width:'), 44 'gallery_height' => array('type' => 'common','valtype' => 'int', 'default' =>400, 'desc' => 'Gallery height:'), 45 'thumbs_width' => array('type' => 'common','valtype' => 'int', 'default' =>100, 'desc' => 'Width of each thumb:'), 46 'thumbs_height' => array('type' => 'common','valtype' => 'int', 'default' =>100, 'desc' => 'Height of each thumb:'), 47 47 48 'sG_design' => array('type' => 'sG','valtype' => 'string', 'default' =>BMO_EXPO_URL.'/css/themes/scrollGallery/default_sG.css', 'desc' => 'Scroll Gallery Design '),49 'sG_caption' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_caption (boolean): show the caption'),50 'sG_start' => array('type' => 'sG','valtype' => 'int', 'default' =>1, 'desc' => ' sG_start (number): start at picture number ... the first picture is number 1'),51 'sG_thumbPosition' => array('type' => 'sG','valtype' => 'select', 'default' =>'top', 'possibilities' => array('top', 'right', 'bottom', 'left', 'none'), 'desc' => ' sG_thumbPosition (string)[top, right, bottom, left, none]: position of the thumbs'),52 'sG_images' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_images (boolean): show the images'),53 'sG_loop' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_loop (boolean): scroll back to the first image after the last.'),54 'sG_loopThumbs' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_loopThumbs (boolean): scroll back to the first thumbnail after the last'),55 'sG_clickable' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_clickable (boolean): are the images clickable?'),56 'sG_opacity' => array('type' => 'sG','valtype' => 'int', 'default' =>40, 'desc' => ' sG_opacity (number): transparency of the thumbs'),57 'sG_area' => array('type' => 'sG','valtype' => 'int', 'default' =>200, 'desc' => ' sG_area (number): px width of the area inside the thumbs in which the thumbs are not scrolling if the mouse is inside'),58 'sG_scrollSpeed' => array('type' => 'sG','valtype' => 'int', 'default' =>2, 'desc' => ' sG_scrollSpeed (number): thumbnail scroll speed, should be >0'),59 'sG_autoScroll' => array('type' => 'sG','valtype' => 'bool', 'default' =>false, 'desc' => ' sG_autoScroll (boolean): autoscroll the thumbnails'),60 'sG_aS_stopOnOver' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_aS_stopOnOver (boolean): stop scrolling on mouse over'),61 'sG_diashowDelay' => array('type' => 'sG','valtype' => 'int', 'default' =>0, 'desc' => ' sG_diashowDelay (number): diashow delay time in seconds; use a number to activate the diashow feature; deactivate diashow with value 0'),62 63 'sG_followImages' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_followImages (boolean): if the images are clicked, the thumbs will follow'),64 'sG_responsive' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => ' sG_responsive (boolean): makes the width responsive and the gallery width relative to parent elements width'),65 66 'slG_design' => array('type' => 'slG','valtype' => 'string', 'default' =>BMO_EXPO_URL.'/css/themes/scrollLightboxGallery/default_slG.css', 'desc' => 'Scroll Lightbox Gallery '),67 'slG_caption' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => ' slG_caption (boolean): show the caption'),68 'slG_vertical' => array('type' => 'slG','valtype' => 'bool', 'default' =>false, 'desc' => ' slG_vertical (boolean): show thumbs vertical or horizontal'),69 'slG_loopThumbs' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => ' slG_loopThumbs (boolean): scroll back to the first thumbnail after the last'),70 'slG_opacity' => array('type' => 'slG','valtype' => 'int', 'default' =>40, 'desc' => ' slG_opacity (number): transparency of the thumbs'),71 'slG_area' => array('type' => 'slG','valtype' => 'int', 'default' =>200, 'desc' => ' slG_area (number): px width of the area inside the thumbs in which the thumbs are not scrolling if the mouse is inside'),72 'slG_scrollSpeed' => array('type' => 'slG','valtype' => 'int', 'default' =>2, 'desc' => ' slG_scrollSpeed (number):'),73 'slG_autoScroll' => array('type' => 'slG','valtype' => 'bool', 'default' =>false, 'desc' => ' slG_autoScroll (boolean): autoscroll the thumbnails'),74 'slG_aS_stopOnOver' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => ' slG_aS_stopOnOver (boolean): stop scrolling on mouse over'),75 76 'slG_responsive' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => ' slG_responsive (boolean): makes the width responsive and the gallery width relative to parent elements width'),77 'slG_relType' => array('type' => 'slG','valtype' => 'string', 'default' =>"'lightbox|_{id}_|'", 'desc' => ' slG_relType (string): rel-attribute value ({id} will be replaced by the gallery type and the id. "|_" will be replaces by "[" and "_| by "]" - it is not possible to use "[ ]" inside shortcodes)'),78 'slG_useLightbox' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => ' slG_useLightbox (boolean): open images with the colorbox script by <a href="http://www.jacklmoore.com/" target="_blank">Jack Moore</a>'),79 'slG_lightbox_text' => array('type' => 'slG','valtype' => 'string', 'default' =>"'image {current} of {total}'", 'desc' => ' slG_lightbox_text (string): colorbox text for the group counter ({current} and {total} will be replaced)'),80 'slG_lightbox_opacity' => array('type' => 'slG','valtype' => 'int', 'default' =>85, 'desc' => ' slG_lightbox_opacity (number): colorbox background opacity in %'),81 'slG_lightbox_slideshow' => array('type' => 'slG','valtype' => 'bool', 'default' =>false, 'desc' => ' slG_lightbox_slideshow (boolean): use the colorbox slideshow feature?'),82 'slG_lightbox_speed' => array('type' => 'slG','valtype' => 'int', 'default' =>2500, 'desc' => ' slG_lightbox_speed (number): colorbox slideshow delay in ms'),48 'sG_design' => array('type' => 'sG','valtype' => 'string', 'default' =>BMO_EXPO_URL.'/css/themes/scrollGallery/default_sG.css', 'desc' => 'Scroll Gallery Design:'), 49 'sG_caption' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'Show the caption?'), 50 'sG_start' => array('type' => 'sG','valtype' => 'int', 'default' =>1, 'desc' => 'Start at picture number ..., the first picture is number 1:'), 51 'sG_thumbPosition' => array('type' => 'sG','valtype' => 'select', 'default' =>'top', 'possibilities' => array('top', 'right', 'bottom', 'left', 'none'), 'desc' => 'Position of the thumbs:'), 52 'sG_images' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'Show the images?'), 53 'sG_loop' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'Scroll back to the first image after the last?'), 54 'sG_loopThumbs' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'Scroll back to the first thumbnail after the last?'), 55 'sG_clickable' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'Are the images clickable?'), 56 'sG_opacity' => array('type' => 'sG','valtype' => 'int', 'default' =>40, 'desc' => 'Transparency of the thumbs:'), 57 'sG_area' => array('type' => 'sG','valtype' => 'int', 'default' =>200, 'desc' => 'Width (px) of the area inside the thumbs in which the thumbs are not scrolling if the mouse is inside:'), 58 'sG_scrollSpeed' => array('type' => 'sG','valtype' => 'int', 'default' =>2, 'desc' => 'Thumbnail scroll speed, should be >0:'), 59 'sG_autoScroll' => array('type' => 'sG','valtype' => 'bool', 'default' =>false, 'desc' => 'Autoscroll the thumbnails?'), 60 'sG_aS_stopOnOver' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'Stop scrolling on mouse over?'), 61 'sG_diashowDelay' => array('type' => 'sG','valtype' => 'int', 'default' =>0, 'desc' => 'Diashow delay time in seconds; use a number to activate the diashow feature; deactivate diashow with value 0:'), 62 63 'sG_followImages' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'If the images are clicked, the thumbs will follow:'), 64 'sG_responsive' => array('type' => 'sG','valtype' => 'bool', 'default' =>true, 'desc' => 'Makes the width responsive and the gallery width relative to parent elements width?'), 65 66 'slG_design' => array('type' => 'slG','valtype' => 'string', 'default' =>BMO_EXPO_URL.'/css/themes/scrollLightboxGallery/default_slG.css', 'desc' => 'Scroll Lightbox Gallery:'), 67 'slG_caption' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => 'Show the caption?'), 68 'slG_vertical' => array('type' => 'slG','valtype' => 'bool', 'default' =>false, 'desc' => 'Show thumbs vertical or horizontal?'), 69 'slG_loopThumbs' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => 'Scroll back to the first thumbnail after the last?'), 70 'slG_opacity' => array('type' => 'slG','valtype' => 'int', 'default' =>40, 'desc' => 'Transparency of the thumbs:'), 71 'slG_area' => array('type' => 'slG','valtype' => 'int', 'default' =>200, 'desc' => 'Width (px) of the area inside the thumbs in which the thumbs are not scrolling if the mouse is inside:'), 72 'slG_scrollSpeed' => array('type' => 'slG','valtype' => 'int', 'default' =>2, 'desc' => 'Thumbnail scroll speed, should be >0:'), 73 'slG_autoScroll' => array('type' => 'slG','valtype' => 'bool', 'default' =>false, 'desc' => 'Autoscroll the thumbnails?'), 74 'slG_aS_stopOnOver' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => 'Stop scrolling on mouse over?'), 75 76 'slG_responsive' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => 'Makes the width responsive and the gallery width relative to parent elements width?'), 77 'slG_relType' => array('type' => 'slG','valtype' => 'string', 'default' =>"'lightbox|_{id}_|'", 'desc' => 'Rel-attribute value ({id} will be replaced by the gallery type and the id. "|_" will be replaces by "[" and "_| by "]" - it is not possible to use "[ ]" inside shortcodes)'), 78 'slG_useLightbox' => array('type' => 'slG','valtype' => 'bool', 'default' =>true, 'desc' => 'Open images with the colorbox script by <a href="http://www.jacklmoore.com/" target="_blank">Jack Moore</a>:'), 79 'slG_lightbox_text' => array('type' => 'slG','valtype' => 'string', 'default' =>"'image {current} of {total}'", 'desc' => 'Colorbox text for the group counter ({current} and {total} will be replaced):'), 80 'slG_lightbox_opacity' => array('type' => 'slG','valtype' => 'int', 'default' =>85, 'desc' => 'Colorbox background opacity in %:'), 81 'slG_lightbox_slideshow' => array('type' => 'slG','valtype' => 'bool', 'default' =>false, 'desc' => 'Use the colorbox slideshow feature?'), 82 'slG_lightbox_speed' => array('type' => 'slG','valtype' => 'int', 'default' =>2500, 'desc' => 'Colorbox slideshow delay in ms:'), 83 83 ); 84 84 -
bmo-expo/trunk/css/admin/bmo_admin_style.css
r786953 r800100 11 11 min-width:200px; 12 12 } 13 p.small{ 14 font-size:0.8em; 15 display: inline; 16 padding: 0 0 0 12px; 17 font-weight:normal !important; 18 } -
bmo-expo/trunk/readme.txt
r798169 r800100 61 61 == Frequently Asked Questions == 62 62 63 = How to add a custom theme =63 = How to add a custom theme? = 64 64 65 65 * Build your custom css theme is easy. Just create a folder with the name “bmo-expo-themes” in “wp-content”. Create a second folder “scrollGallery” and a third folder “scrollLightboxGallery” hierin. In these folders you can save your own css themes. Every theme need a “CSS Name:”, a “Description:” an “Author:“ and a “Version:“. A good template provides the “classicBlackDesign_sG.css” in bmo-expo/css/themes/scrollGallery/classicBlackDesign_sG.css. … … 81 81 82 82 = Version 1.0 = 83 * 1.0.4 Admin CSS changes 83 84 * 1.0.3 No Borders Scroll Gallery Design, Possibility to add custom themes in the folder wp-content/bmo-expo-themes/[gallerytype]/ 84 85 * 1.0.2 Thumb size fix, thanks to grifmo
Note: See TracChangeset
for help on using the changeset viewer.