Plugin Directory

Changeset 800100


Ignore:
Timestamp:
11/06/2013 11:15:28 PM (12 years ago)
Author:
bmodesign2
Message:

Admin CSS changes

Location:
bmo-expo
Files:
1 added
10 edited

Legend:

Unmodified
Added
Removed
  • bmo-expo/trunk/bmo_expo.php

    r798165 r800100  
    66Author: Benedikt Morschheuser
    77Author URI: http://bmo-design.de/
    8 Version: 1.0.3
     8Version: 1.0.4
    99
    1010Copyright 2012-2013 by Benedikt Morschheuser (http://bmo-design.de/kontakt/)
     
    3333//###############################################################
    3434
    35   define('BMO_EXPO_VERSION','1.0.3');//version 
     35  define('BMO_EXPO_VERSION','1.0.4');//version 
    3636  define('BMO_EXPO_SITEBASE_URL', get_option('siteurl'));
    3737  define('BMO_EXPO_PLUGINNAME', trim(plugin_basename(dirname(__FILE__))));
  • bmo-expo/trunk/classes/admin/admin.php

    r786953 r800100  
    130130         <ul>
    131131            <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> &diams;</li>
     132            <li><a href="http://wordpress.org/extend/plugins/bmo-expo/" target="_blank">rate it at wordpress.org</a> &diams;</li>
    133133            <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4AWSR2J4DK2FU" target="_blank">donate my work</a> &hearts;</li>
    134134            <li><a href="http://bmo-design.de" target="_blank">set a link to my website</a> &rarr;</li>
  • bmo-expo/trunk/classes/admin/admin_page_options.php

    r798165 r800100  
    144144            else
    145145                echo "";
    146             echo "/>";
     146            echo "/> ";
     147            if($option['type']!='common_php')
     148                echo "<p class='small'>(".$key.")</p>";
    147149         }
    148150         public function BMo_Expo_options_field_html_int($args=array()) {
     
    150152            $option = $args['option'];
    151153            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>";
    152156         }
    153157         public function BMo_Expo_options_field_html_string($args=array()) {
     
    155159            $option = $args['option'];
    156160            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>";
    157163         }
    158164         public function BMo_Expo_options_field_html_select($args=array()) {
     
    169175            }
    170176            echo '</select>';
     177            if($option['type']!='common_php')
     178                echo "<p class='small'>(".$key.")</p>";
    171179         }
    172180
  • bmo-expo/trunk/classes/theGallery.php

    r798165 r800100  
    3737        //set options if not already set with defaults as value- installation
    3838        $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:'),
    4747           
    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:'),
    8383        );
    8484       
  • bmo-expo/trunk/css/admin/bmo_admin_style.css

    r786953 r800100  
    1111    min-width:200px;
    1212}
     13p.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  
    6161== Frequently Asked Questions ==
    6262
    63 = How to add a custom theme =
     63= How to add a custom theme? =
    6464
    6565 * 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.
     
    8181
    8282= Version 1.0 =
     83    * 1.0.4 Admin CSS changes
    8384    * 1.0.3 No Borders Scroll Gallery Design, Possibility to add custom themes in the folder wp-content/bmo-expo-themes/[gallerytype]/
    8485    * 1.0.2 Thumb size fix, thanks to grifmo
Note: See TracChangeset for help on using the changeset viewer.