Changeset 1247669
- Timestamp:
- 09/17/2015 01:51:58 PM (10 years ago)
- Location:
- slideshow-jquery-image-gallery/trunk
- Files:
-
- 44 added
- 31 edited
-
classes/SlideshowPluginGeneralSettings.php (modified) (4 diffs)
-
classes/SlideshowPluginInstaller.php (modified) (1 diff)
-
classes/SlideshowPluginPostType.php (modified) (11 diffs)
-
classes/SlideshowPluginShortcode.php (modified) (1 diff)
-
classes/SlideshowPluginSlideInserter.php (modified) (5 diffs)
-
classes/SlideshowPluginSlideshowSettingsHandler.php (modified) (3 diffs)
-
classes/SlideshowPluginSlideshowStylesheet.php (modified) (3 diffs)
-
classes/SlideshowPluginWidget.php (modified) (3 diffs)
-
languages/slideshow-jquery-image-gallery-bg_BG.mo (added)
-
languages/slideshow-jquery-image-gallery-bg_BG.po (added)
-
languages/slideshow-jquery-image-gallery-cs_CZ.mo (added)
-
languages/slideshow-jquery-image-gallery-cs_CZ.po (added)
-
languages/slideshow-jquery-image-gallery-de_DE.mo (added)
-
languages/slideshow-jquery-image-gallery-de_DE.po (added)
-
languages/slideshow-jquery-image-gallery-es_ES.mo (added)
-
languages/slideshow-jquery-image-gallery-es_ES.po (added)
-
languages/slideshow-jquery-image-gallery-fa_IR.mo (added)
-
languages/slideshow-jquery-image-gallery-fa_IR.po (added)
-
languages/slideshow-jquery-image-gallery-fi.mo (added)
-
languages/slideshow-jquery-image-gallery-fi.po (added)
-
languages/slideshow-jquery-image-gallery-fr_FR.mo (added)
-
languages/slideshow-jquery-image-gallery-fr_FR.po (added)
-
languages/slideshow-jquery-image-gallery-he_IL.mo (added)
-
languages/slideshow-jquery-image-gallery-he_IL.po (added)
-
languages/slideshow-jquery-image-gallery-it_IT.mo (added)
-
languages/slideshow-jquery-image-gallery-it_IT.po (added)
-
languages/slideshow-jquery-image-gallery-ja.mo (added)
-
languages/slideshow-jquery-image-gallery-ja.po (added)
-
languages/slideshow-jquery-image-gallery-nb_NO.mo (added)
-
languages/slideshow-jquery-image-gallery-nb_NO.po (added)
-
languages/slideshow-jquery-image-gallery-nl_NL.mo (added)
-
languages/slideshow-jquery-image-gallery-nl_NL.po (added)
-
languages/slideshow-jquery-image-gallery-original.mo (added)
-
languages/slideshow-jquery-image-gallery-original.po (added)
-
languages/slideshow-jquery-image-gallery-pl_PL.mo (added)
-
languages/slideshow-jquery-image-gallery-pl_PL.po (added)
-
languages/slideshow-jquery-image-gallery-pt_BR.mo (added)
-
languages/slideshow-jquery-image-gallery-pt_BR.po (added)
-
languages/slideshow-jquery-image-gallery-pt_PT.mo (added)
-
languages/slideshow-jquery-image-gallery-pt_PT.po (added)
-
languages/slideshow-jquery-image-gallery-ru_RU.mo (added)
-
languages/slideshow-jquery-image-gallery-ru_RU.po (added)
-
languages/slideshow-jquery-image-gallery-sr_RS.mo (added)
-
languages/slideshow-jquery-image-gallery-sr_RS.po (added)
-
languages/slideshow-jquery-image-gallery-sv_SE.mo (added)
-
languages/slideshow-jquery-image-gallery-sv_SE.po (added)
-
languages/slideshow-jquery-image-gallery-tr_TR.mo (added)
-
languages/slideshow-jquery-image-gallery-tr_TR.po (added)
-
languages/slideshow-jquery-image-gallery-uk_UK.mo (added)
-
languages/slideshow-jquery-image-gallery-uk_UK.po (added)
-
languages/slideshow-jquery-image-gallery-zh_CN.mo (added)
-
languages/slideshow-jquery-image-gallery-zh_CN.po (added)
-
readme.txt (modified) (15 diffs)
-
slideshow.php (modified) (3 diffs)
-
views/SlideshowPlugin/slideshow.php (modified) (1 diff)
-
views/SlideshowPluginGeneralSettings/custom-styles-tab.php (modified) (12 diffs)
-
views/SlideshowPluginGeneralSettings/default-slideshow-settings-tab.php (modified) (5 diffs)
-
views/SlideshowPluginGeneralSettings/general-settings-tab.php (modified) (4 diffs)
-
views/SlideshowPluginGeneralSettings/general-settings.php (modified) (1 diff)
-
views/SlideshowPluginPostType/information.php (modified) (1 diff)
-
views/SlideshowPluginPostType/settings.php (modified) (2 diffs)
-
views/SlideshowPluginPostType/slides.php (modified) (17 diffs)
-
views/SlideshowPluginPostType/style-settings.php (modified) (2 diffs)
-
views/SlideshowPluginPostType/support-plugin.php (modified) (3 diffs)
-
views/SlideshowPluginShortcode/shortcode-inserter.php (modified) (6 diffs)
-
views/SlideshowPluginSlideInserter/insert-image-button.php (modified) (1 diff)
-
views/SlideshowPluginSlideInserter/insert-text-button.php (modified) (1 diff)
-
views/SlideshowPluginSlideInserter/insert-video-button.php (modified) (1 diff)
-
views/SlideshowPluginSlideInserter/search-popup.php (modified) (1 diff)
-
views/SlideshowPluginSlideshowSlide/backend_attachment.php (modified) (7 diffs)
-
views/SlideshowPluginSlideshowSlide/backend_templates.php (modified) (14 diffs)
-
views/SlideshowPluginSlideshowSlide/backend_text.php (modified) (6 diffs)
-
views/SlideshowPluginSlideshowSlide/backend_video.php (modified) (3 diffs)
-
views/SlideshowPluginUpload/upload-button.php (modified) (1 diff)
-
views/SlideshowPluginWidget/form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginGeneralSettings.php
r813937 r1247669 80 80 add_submenu_page( 81 81 'edit.php?post_type=' . SlideshowPluginPostType::$postType, 82 __('General Settings', 'slideshow- plugin'),83 __('General Settings', 'slideshow- plugin'),82 __('General Settings', 'slideshow-jquery-image-gallery'), 83 __('General Settings', 'slideshow-jquery-image-gallery'), 84 84 'manage_options', 85 85 'general_settings', … … 148 148 'data' => array('customStylesKey' => self::$customStyles), 149 149 'localization' => array( 150 'newCustomizationPrefix' => __('New', 'slideshow- plugin'),151 'confirmDeleteMessage' => __('Are you sure you want to delete this custom style?', 'slideshow- plugin')150 'newCustomizationPrefix' => __('New', 'slideshow-jquery-image-gallery'), 151 'confirmDeleteMessage' => __('Are you sure you want to delete this custom style?', 'slideshow-jquery-image-gallery') 152 152 ) 153 153 ) … … 194 194 // Default styles 195 195 $defaultStyles = array( 196 'style-light.css' => __('Light', 'slideshow- plugin'),197 'style-dark.css' => __('Dark', 'slideshow- plugin')196 'style-light.css' => __('Light', 'slideshow-jquery-image-gallery'), 197 'style-dark.css' => __('Dark', 'slideshow-jquery-image-gallery') 198 198 ); 199 199 … … 351 351 { 352 352 // Put custom style key and name into the $newCustomStyle array 353 $newCustomStyles[$customStyleKey] = isset($customStyleValue['title']) ? $customStyleValue['title'] : __('Untitled', 'slideshow- plugin');353 $newCustomStyles[$customStyleKey] = isset($customStyleValue['title']) ? $customStyleValue['title'] : __('Untitled', 'slideshow-jquery-image-gallery'); 354 354 355 355 // Get style -
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginInstaller.php
r879367 r1247669 798 798 ); 799 799 800 $yes = __('Yes', 'slideshow- plugin');801 $no = __('No', 'slideshow- plugin');800 $yes = __('Yes', 'slideshow-jquery-image-gallery'); 801 $no = __('No', 'slideshow-jquery-image-gallery'); 802 802 $data = array( // $data : array([prefix_settingName] => array([inputType], [value], [default], [description], array([options]), array([dependsOn], [onValue]), 'group' => [groupName])) 803 'style_style' => array('select', '', $defaultData['style_style'], __('The style used for this slideshow', 'slideshow- plugin'), array('light' => __('Light', 'slideshow-plugin'), 'dark' => __('Dark', 'slideshow-plugin'), 'custom' => __('Custom', 'slideshow-plugin'))),804 'style_custom' => array('textarea', '', $defaultData['style_custom'], __('Custom style editor', 'slideshow- plugin'), null, array('style_style', 'custom')),805 'setting_animation' => array('select', '', $defaultData['setting_animation'], __('Animation used for transition between slides', 'slideshow- plugin'), array('slide' => __('Slide', 'slideshow-plugin'), 'fade' => __('Fade', 'slideshow-plugin')), 'group' => __('Animation', 'slideshow-plugin')),806 'setting_slideSpeed' => array('text', '', $defaultData['setting_slideSpeed'], __('Number of seconds the slide takes to slide in', 'slideshow- plugin'), 'group' => __('Animation', 'slideshow-plugin')),807 'setting_descriptionSpeed' => array('text', '', $defaultData['setting_descriptionSpeed'], __('Number of seconds the description takes to slide in', 'slideshow- plugin'), 'group' => __('Animation', 'slideshow-plugin')),808 'setting_intervalSpeed' => array('text', '', $defaultData['setting_intervalSpeed'], __('Seconds between changing slides', 'slideshow- plugin'), 'group' => __('Animation', 'slideshow-plugin')),809 'setting_slidesPerView' => array('text', '', $defaultData['setting_slidesPerView'], __('Number of slides to fit into one slide', 'slideshow- plugin'), 'group' => __('Display', 'slideshow-plugin')),810 'setting_width' => array('text', '', $defaultData['setting_width'], __('Width of the slideshow, set to parent's width on 0', 'slideshow- plugin'), 'group' => __('Display', 'slideshow-plugin')),811 'setting_height' => array('text', '', $defaultData['setting_height'], __('Height of the slideshow', 'slideshow- plugin'), 'group' => __('Display', 'slideshow-plugin')),812 'setting_descriptionHeight' => array('text', '', $defaultData['setting_descriptionHeight'], __('Height of the description boxes', 'slideshow- plugin'), 'group' => __('Display', 'slideshow-plugin')),813 'setting_stretchImages' => array('radio', '', $defaultData['setting_stretchImages'], __('Fit image into slide (stretching it)', 'slideshow- plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-plugin')),814 'setting_showDescription' => array('radio', '', $defaultData['setting_showDescription'], __('Show title and description', 'slideshow- plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-plugin')),815 'setting_hideDescription' => array('radio', '', $defaultData['setting_hideDescription'], __('Hide description box, it will pop up when a mouse hovers over the slide', 'slideshow- plugin'), array('true' => $yes, 'false' => $no), array('setting_showDescription', 'true'), 'group' => __('Display', 'slideshow-plugin')),816 'setting_play' => array('radio', '', $defaultData['setting_play'], __('Automatically slide to the next slide', 'slideshow- plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),817 'setting_loop' => array('radio', '', $defaultData['setting_loop'], __('Return to the beginning of the slideshow after last slide', 'slideshow- plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),818 'setting_controllable' => array('radio', '', $defaultData['setting_controllable'], __('Activate buttons (so the user can scroll through the slides)', 'slideshow- plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),819 'setting_controlPanel' => array('radio', '', $defaultData['setting_controlPanel'], __('Show control panel (play and pause button)', 'slideshow- plugin'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-plugin')),803 'style_style' => array('select', '', $defaultData['style_style'], __('The style used for this slideshow', 'slideshow-jquery-image-gallery'), array('light' => __('Light', 'slideshow-jquery-image-gallery'), 'dark' => __('Dark', 'slideshow-jquery-image-gallery'), 'custom' => __('Custom', 'slideshow-jquery-image-gallery'))), 804 'style_custom' => array('textarea', '', $defaultData['style_custom'], __('Custom style editor', 'slideshow-jquery-image-gallery'), null, array('style_style', 'custom')), 805 'setting_animation' => array('select', '', $defaultData['setting_animation'], __('Animation used for transition between slides', 'slideshow-jquery-image-gallery'), array('slide' => __('Slide', 'slideshow-jquery-image-gallery'), 'fade' => __('Fade', 'slideshow-jquery-image-gallery')), 'group' => __('Animation', 'slideshow-jquery-image-gallery')), 806 'setting_slideSpeed' => array('text', '', $defaultData['setting_slideSpeed'], __('Number of seconds the slide takes to slide in', 'slideshow-jquery-image-gallery'), 'group' => __('Animation', 'slideshow-jquery-image-gallery')), 807 'setting_descriptionSpeed' => array('text', '', $defaultData['setting_descriptionSpeed'], __('Number of seconds the description takes to slide in', 'slideshow-jquery-image-gallery'), 'group' => __('Animation', 'slideshow-jquery-image-gallery')), 808 'setting_intervalSpeed' => array('text', '', $defaultData['setting_intervalSpeed'], __('Seconds between changing slides', 'slideshow-jquery-image-gallery'), 'group' => __('Animation', 'slideshow-jquery-image-gallery')), 809 'setting_slidesPerView' => array('text', '', $defaultData['setting_slidesPerView'], __('Number of slides to fit into one slide', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')), 810 'setting_width' => array('text', '', $defaultData['setting_width'], __('Width of the slideshow, set to parent's width on 0', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')), 811 'setting_height' => array('text', '', $defaultData['setting_height'], __('Height of the slideshow', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')), 812 'setting_descriptionHeight' => array('text', '', $defaultData['setting_descriptionHeight'], __('Height of the description boxes', 'slideshow-jquery-image-gallery'), 'group' => __('Display', 'slideshow-jquery-image-gallery')), 813 'setting_stretchImages' => array('radio', '', $defaultData['setting_stretchImages'], __('Fit image into slide (stretching it)', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-jquery-image-gallery')), 814 'setting_showDescription' => array('radio', '', $defaultData['setting_showDescription'], __('Show title and description', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Display', 'slideshow-jquery-image-gallery')), 815 'setting_hideDescription' => array('radio', '', $defaultData['setting_hideDescription'], __('Hide description box, it will pop up when a mouse hovers over the slide', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), array('setting_showDescription', 'true'), 'group' => __('Display', 'slideshow-jquery-image-gallery')), 816 'setting_play' => array('radio', '', $defaultData['setting_play'], __('Automatically slide to the next slide', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')), 817 'setting_loop' => array('radio', '', $defaultData['setting_loop'], __('Return to the beginning of the slideshow after last slide', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')), 818 'setting_controllable' => array('radio', '', $defaultData['setting_controllable'], __('Activate buttons (so the user can scroll through the slides)', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')), 819 'setting_controlPanel' => array('radio', '', $defaultData['setting_controlPanel'], __('Show control panel (play and pause button)', 'slideshow-jquery-image-gallery'), array('true' => $yes, 'false' => $no), 'group' => __('Control', 'slideshow-jquery-image-gallery')), 820 820 ); 821 821 -
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginPostType.php
r879367 r1247669 43 43 array( 44 44 'labels' => array( 45 'name' => __('Slideshows', 'slideshow- plugin'),46 'singular_name' => __('Slideshow', 'slideshow- plugin'),47 'add_new_item' => __('Add New Slideshow', 'slideshow- plugin'),48 'edit_item' => __('Edit slideshow', 'slideshow- plugin'),49 'new_item' => __('New slideshow', 'slideshow- plugin'),50 'view_item' => __('View slideshow', 'slideshow- plugin'),51 'search_items' => __('Search slideshows', 'slideshow- plugin'),52 'not_found' => __('No slideshows found', 'slideshow- plugin'),53 'not_found_in_trash' => __('No slideshows found', 'slideshow- plugin')45 'name' => __('Slideshows', 'slideshow-jquery-image-gallery'), 46 'singular_name' => __('Slideshow', 'slideshow-jquery-image-gallery'), 47 'add_new_item' => __('Add New Slideshow', 'slideshow-jquery-image-gallery'), 48 'edit_item' => __('Edit slideshow', 'slideshow-jquery-image-gallery'), 49 'new_item' => __('New slideshow', 'slideshow-jquery-image-gallery'), 50 'view_item' => __('View slideshow', 'slideshow-jquery-image-gallery'), 51 'search_items' => __('Search slideshows', 'slideshow-jquery-image-gallery'), 52 'not_found' => __('No slideshows found', 'slideshow-jquery-image-gallery'), 53 'not_found_in_trash' => __('No slideshows found', 'slideshow-jquery-image-gallery') 54 54 ), 55 55 'public' => false, … … 96 96 add_meta_box( 97 97 'information', 98 __('Information', 'slideshow- plugin'),98 __('Information', 'slideshow-jquery-image-gallery'), 99 99 array(__CLASS__, 'informationMetaBox'), 100 100 self::$postType, … … 105 105 add_meta_box( 106 106 'slides-list', 107 __('Slides List', 'slideshow- plugin'),107 __('Slides List', 'slideshow-jquery-image-gallery'), 108 108 array(__CLASS__, 'slidesMetaBox'), 109 109 self::$postType, … … 114 114 add_meta_box( 115 115 'style', 116 __('Slideshow Style', 'slideshow- plugin'),116 __('Slideshow Style', 'slideshow-jquery-image-gallery'), 117 117 array(__CLASS__, 'styleMetaBox'), 118 118 self::$postType, … … 123 123 add_meta_box( 124 124 'settings', 125 __('Slideshow Settings', 'slideshow- plugin'),125 __('Slideshow Settings', 'slideshow-jquery-image-gallery'), 126 126 array(__CLASS__, 'settingsMetaBox'), 127 127 self::$postType, … … 171 171 { 172 172 case 6: 173 $messages[$currentScreen->base][$messageID] = __('Slideshow created', 'slideshow- plugin');173 $messages[$currentScreen->base][$messageID] = __('Slideshow created', 'slideshow-jquery-image-gallery'); 174 174 break; 175 175 176 176 default: 177 $messages[$currentScreen->base][$messageID] = __('Slideshow updated', 'slideshow- plugin');177 $messages[$currentScreen->base][$messageID] = __('Slideshow updated', 'slideshow-jquery-image-gallery'); 178 178 } 179 179 … … 222 222 // Insert slide buttons 223 223 echo '<p style="text-align: center;"> 224 <i>' . __('Insert', 'slideshow- plugin') . ':</i><br/>' .224 <i>' . __('Insert', 'slideshow-jquery-image-gallery') . ':</i><br/>' . 225 225 SlideshowPluginSlideInserter::getImageSlideInsertButton() . 226 226 SlideshowPluginSlideInserter::getTextSlideInsertButton() . … … 230 230 // Toggle slides open/closed 231 231 echo '<p style="text-align: center;"> 232 <a href="#" class="open-slides-button">' . __( 'Open all', 'slideshow- plugin' ) . '</a>232 <a href="#" class="open-slides-button">' . __( 'Open all', 'slideshow-jquery-image-gallery' ) . '</a> 233 233 | 234 <a href="#" class="close-slides-button">' . __( 'Close all', 'slideshow- plugin' ) . '</a>234 <a href="#" class="close-slides-button">' . __( 'Close all', 'slideshow-jquery-image-gallery' ) . '</a> 235 235 </p>'; 236 236 … … 238 238 if (count($views) <= 0) 239 239 { 240 echo '<p>' . __('Add slides to this slideshow by using one of the buttons above.', 'slideshow- plugin') . '</p>';240 echo '<p>' . __('Add slides to this slideshow by using one of the buttons above.', 'slideshow-jquery-image-gallery') . '</p>'; 241 241 } 242 242 … … 318 318 )); 319 319 320 $actions['duplicate'] = '<a href="' . wp_nonce_url($url, 'duplicate-slideshow_' . $post->ID, 'nonce') . '">' . __('Duplicate', 'slideshow- plugin') . '</a>';320 $actions['duplicate'] = '<a href="' . wp_nonce_url($url, 'duplicate-slideshow_' . $post->ID, 'nonce') . '">' . __('Duplicate', 'slideshow-jquery-image-gallery') . '</a>'; 321 321 } 322 322 … … 369 369 'post_password' => $post->post_password, 370 370 'post_status' => 'draft', 371 'post_title' => $post->post_title . (strlen($post->post_title) > 0 ? ' - ' : '') . __('Copy', 'slideshow- plugin'),371 'post_title' => $post->post_title . (strlen($post->post_title) > 0 ? ' - ' : '') . __('Copy', 'slideshow-jquery-image-gallery'), 372 372 'post_type' => $post->post_type, 373 373 'to_ping' => $post->to_ping, -
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginShortcode.php
r813937 r1247669 146 146 array( 147 147 'data' => array('shortcode' => SlideshowPluginShortcode::$shortCode), 148 'localization' => array('undefinedSlideshow' => __('No slideshow selected.', 'slideshow- plugin'))148 'localization' => array('undefinedSlideshow' => __('No slideshow selected.', 'slideshow-jquery-image-gallery')) 149 149 ) 150 150 ); -
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginSlideInserter.php
r879367 r1247669 192 192 echo '<tr valign="top"> 193 193 <td colspan="3" style="text-align: center;"> 194 <b>' . count($attachments) . ' ' . __('More results loaded', 'slideshow- plugin') . '<b>194 <b>' . count($attachments) . ' ' . __('More results loaded', 'slideshow-jquery-image-gallery') . '<b> 195 195 </td> 196 196 </tr>'; … … 236 236 type="button" 237 237 class="insert-attachment button-secondary" 238 value="' . __('Insert', 'slideshow- plugin') . '"238 value="' . __('Insert', 'slideshow-jquery-image-gallery') . '" 239 239 /> 240 240 </td> … … 247 247 <td colspan="3" style="text-align: center;"> 248 248 <button class="button-secondary load-more-results" data-offset="' . ($offset + $numberPosts) . '"> 249 ' . __('Load more results', 'slideshow- plugin') . '249 ' . __('Load more results', 'slideshow-jquery-image-gallery') . ' 250 250 </button> 251 251 </td> … … 258 258 <td colspan="3" style="text-align: center;"> 259 259 <a href="' . admin_url() . 'media-new.php" target="_blank"> 260 ' . __('No images were found, click here to upload some.', 'slideshow- plugin') . '260 ' . __('No images were found, click here to upload some.', 'slideshow-jquery-image-gallery') . ' 261 261 </a> 262 262 </td> … … 330 330 'data' => array(), 331 331 'localization' => array( 332 'confirm' => __('Are you sure you want to delete this slide?', 'slideshow- plugin'),333 'uploaderTitle' => __('Insert image slide', 'slideshow- plugin')332 'confirm' => __('Are you sure you want to delete this slide?', 'slideshow-jquery-image-gallery'), 333 'uploaderTitle' => __('Insert image slide', 'slideshow-jquery-image-gallery') 334 334 ) 335 335 ) -
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginSlideshowSettingsHandler.php
r885343 r1247669 470 470 { 471 471 // Much used data for translation 472 $yes = __('Yes', 'slideshow- plugin');473 $no = __('No', 'slideshow- plugin');472 $yes = __('Yes', 'slideshow-jquery-image-gallery'); 473 $no = __('No', 'slideshow-jquery-image-gallery'); 474 474 475 475 // Default values … … 516 516 { 517 517 $descriptions = array( 518 'animation' => __('Animation used for transition between slides', 'slideshow- plugin'),519 'slideSpeed' => __('Number of seconds the slide takes to slide in', 'slideshow- plugin'),520 'descriptionSpeed' => __('Number of seconds the description takes to slide in', 'slideshow- plugin'),521 'intervalSpeed' => __('Seconds between changing slides', 'slideshow- plugin'),522 'slidesPerView' => __('Number of slides to fit into one slide', 'slideshow- plugin'),523 'maxWidth' => __('Maximum width. When maximum width is 0, maximum width is ignored', 'slideshow- plugin'),524 'aspectRatio' => sprintf('<a href="' . str_replace('%', '%%', __('http://en.wikipedia.org/wiki/Aspect_ratio_(image)', 'slideshow- plugin')) . '" title="' . __('More info', 'slideshow-plugin') . '" target="_blank">' . __('Proportional relationship%s between slideshow\'s width and height (width:height)', 'slideshow-plugin'), '</a>'),525 'height' => __('Slideshow\'s height', 'slideshow- plugin'),526 'imageBehaviour' => __('Image behaviour', 'slideshow- plugin'),527 'preserveSlideshowDimensions' => __('Shrink slideshow\'s height when width shrinks', 'slideshow- plugin'),528 'enableResponsiveness' => __('Enable responsiveness (Shrink slideshow\'s width when page\'s width shrinks)', 'slideshow- plugin'),529 'showDescription' => __('Show title and description', 'slideshow- plugin'),530 'hideDescription' => __('Hide description box, pop up when mouse hovers over', 'slideshow- plugin'),531 'play' => __('Automatically slide to the next slide', 'slideshow- plugin'),532 'loop' => __('Return to the beginning of the slideshow after last slide', 'slideshow- plugin'),533 'pauseOnHover' => __('Pause slideshow when mouse hovers over', 'slideshow- plugin'),534 'controllable' => __('Activate navigation buttons', 'slideshow- plugin'),535 'hideNavigationButtons' => __('Hide navigation buttons, show when mouse hovers over', 'slideshow- plugin'),536 'showPagination' => __('Activate pagination', 'slideshow- plugin'),537 'hidePagination' => __('Hide pagination, show when mouse hovers over', 'slideshow- plugin'),538 'controlPanel' => __('Activate control panel (play and pause button)', 'slideshow- plugin'),539 'hideControlPanel' => __('Hide control panel, show when mouse hovers over', 'slideshow- plugin'),540 'waitUntilLoaded' => __('Wait until the next slide has loaded before showing it', 'slideshow- plugin'),541 'showLoadingIcon' => __('Show a loading icon until the first slide appears', 'slideshow- plugin'),542 'random' => __('Randomize slides', 'slideshow- plugin'),543 'avoidFilter' => sprintf(__('Avoid content filter (disable if \'%s\' is shown)', 'slideshow- plugin'), SlideshowPluginShortcode::$bookmark)518 'animation' => __('Animation used for transition between slides', 'slideshow-jquery-image-gallery'), 519 'slideSpeed' => __('Number of seconds the slide takes to slide in', 'slideshow-jquery-image-gallery'), 520 'descriptionSpeed' => __('Number of seconds the description takes to slide in', 'slideshow-jquery-image-gallery'), 521 'intervalSpeed' => __('Seconds between changing slides', 'slideshow-jquery-image-gallery'), 522 'slidesPerView' => __('Number of slides to fit into one slide', 'slideshow-jquery-image-gallery'), 523 'maxWidth' => __('Maximum width. When maximum width is 0, maximum width is ignored', 'slideshow-jquery-image-gallery'), 524 'aspectRatio' => sprintf('<a href="' . str_replace('%', '%%', __('http://en.wikipedia.org/wiki/Aspect_ratio_(image)', 'slideshow-jquery-image-gallery')) . '" title="' . __('More info', 'slideshow-jquery-image-gallery') . '" target="_blank">' . __('Proportional relationship%s between slideshow\'s width and height (width:height)', 'slideshow-jquery-image-gallery'), '</a>'), 525 'height' => __('Slideshow\'s height', 'slideshow-jquery-image-gallery'), 526 'imageBehaviour' => __('Image behaviour', 'slideshow-jquery-image-gallery'), 527 'preserveSlideshowDimensions' => __('Shrink slideshow\'s height when width shrinks', 'slideshow-jquery-image-gallery'), 528 'enableResponsiveness' => __('Enable responsiveness (Shrink slideshow\'s width when page\'s width shrinks)', 'slideshow-jquery-image-gallery'), 529 'showDescription' => __('Show title and description', 'slideshow-jquery-image-gallery'), 530 'hideDescription' => __('Hide description box, pop up when mouse hovers over', 'slideshow-jquery-image-gallery'), 531 'play' => __('Automatically slide to the next slide', 'slideshow-jquery-image-gallery'), 532 'loop' => __('Return to the beginning of the slideshow after last slide', 'slideshow-jquery-image-gallery'), 533 'pauseOnHover' => __('Pause slideshow when mouse hovers over', 'slideshow-jquery-image-gallery'), 534 'controllable' => __('Activate navigation buttons', 'slideshow-jquery-image-gallery'), 535 'hideNavigationButtons' => __('Hide navigation buttons, show when mouse hovers over', 'slideshow-jquery-image-gallery'), 536 'showPagination' => __('Activate pagination', 'slideshow-jquery-image-gallery'), 537 'hidePagination' => __('Hide pagination, show when mouse hovers over', 'slideshow-jquery-image-gallery'), 538 'controlPanel' => __('Activate control panel (play and pause button)', 'slideshow-jquery-image-gallery'), 539 'hideControlPanel' => __('Hide control panel, show when mouse hovers over', 'slideshow-jquery-image-gallery'), 540 'waitUntilLoaded' => __('Wait until the next slide has loaded before showing it', 'slideshow-jquery-image-gallery'), 541 'showLoadingIcon' => __('Show a loading icon until the first slide appears', 'slideshow-jquery-image-gallery'), 542 'random' => __('Randomize slides', 'slideshow-jquery-image-gallery'), 543 'avoidFilter' => sprintf(__('Avoid content filter (disable if \'%s\' is shown)', 'slideshow-jquery-image-gallery'), SlideshowPluginShortcode::$bookmark) 544 544 ); 545 545 546 546 $data = array( 547 'animation' => array('type' => 'select', 'default' => $data['animation'] , 'description' => $descriptions['animation'] , 'group' => __('Animation', 'slideshow- plugin') , 'options' => array('slide' => __('Slide Left', 'slideshow-plugin'), 'slideRight' => __('Slide Right', 'slideshow-plugin'), 'slideUp' => __('Slide Up', 'slideshow-plugin'), 'slideDown' => __('Slide Down', 'slideshow-plugin'), 'crossFade' => __('Cross Fade', 'slideshow-plugin'), 'directFade' => __('Direct Fade', 'slideshow-plugin'), 'fade' => __('Fade', 'slideshow-plugin'), 'random' => __('Random Animation', 'slideshow-plugin'))),548 'slideSpeed' => array('type' => 'text' , 'default' => $data['slideSpeed'] , 'description' => $descriptions['slideSpeed'] , 'group' => __('Animation', 'slideshow- plugin')),549 'descriptionSpeed' => array('type' => 'text' , 'default' => $data['descriptionSpeed'] , 'description' => $descriptions['descriptionSpeed'] , 'group' => __('Animation', 'slideshow- plugin')),550 'intervalSpeed' => array('type' => 'text' , 'default' => $data['intervalSpeed'] , 'description' => $descriptions['intervalSpeed'] , 'group' => __('Animation', 'slideshow- plugin')),551 'slidesPerView' => array('type' => 'text' , 'default' => $data['slidesPerView'] , 'description' => $descriptions['slidesPerView'] , 'group' => __('Display', 'slideshow- plugin')),552 'maxWidth' => array('type' => 'text' , 'default' => $data['maxWidth'] , 'description' => $descriptions['maxWidth'] , 'group' => __('Display', 'slideshow- plugin')),553 'aspectRatio' => array('type' => 'text' , 'default' => $data['aspectRatio'] , 'description' => $descriptions['aspectRatio'] , 'group' => __('Display', 'slideshow- plugin') , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'true')),554 'height' => array('type' => 'text' , 'default' => $data['height'] , 'description' => $descriptions['height'] , 'group' => __('Display', 'slideshow- plugin') , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'false')),555 'imageBehaviour' => array('type' => 'select', 'default' => $data['imageBehaviour'] , 'description' => $descriptions['imageBehaviour'] , 'group' => __('Display', 'slideshow- plugin') , 'options' => array('natural' => __('Natural and centered', 'slideshow-plugin'), 'crop' => __('Crop to fit', 'slideshow-plugin'), 'stretch' => __('Stretch to fit', 'slideshow-plugin'))),556 'preserveSlideshowDimensions' => array('type' => 'radio' , 'default' => $data['preserveSlideshowDimensions'], 'description' => $descriptions['preserveSlideshowDimensions'], 'group' => __('Display', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[enableResponsiveness]', 'true')),557 'enableResponsiveness' => array('type' => 'radio' , 'default' => $data['enableResponsiveness'] , 'description' => $descriptions['enableResponsiveness'] , 'group' => __('Display', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),558 'showDescription' => array('type' => 'radio' , 'default' => $data['showDescription'] , 'description' => $descriptions['showDescription'] , 'group' => __('Display', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),559 'hideDescription' => array('type' => 'radio' , 'default' => $data['hideDescription'] , 'description' => $descriptions['hideDescription'] , 'group' => __('Display', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showDescription]', 'true')),560 'play' => array('type' => 'radio' , 'default' => $data['play'] , 'description' => $descriptions['play'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),561 'loop' => array('type' => 'radio' , 'default' => $data['loop'] , 'description' => $descriptions['loop'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),562 'pauseOnHover' => array('type' => 'radio' , 'default' => $data['loop'] , 'description' => $descriptions['pauseOnHover'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),563 'controllable' => array('type' => 'radio' , 'default' => $data['controllable'] , 'description' => $descriptions['controllable'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),564 'hideNavigationButtons' => array('type' => 'radio' , 'default' => $data['hideNavigationButtons'] , 'description' => $descriptions['hideNavigationButtons'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controllable]', 'true')),565 'showPagination' => array('type' => 'radio' , 'default' => $data['showPagination'] , 'description' => $descriptions['showPagination'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),566 'hidePagination' => array('type' => 'radio' , 'default' => $data['hidePagination'] , 'description' => $descriptions['hidePagination'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showPagination]', 'true')),567 'controlPanel' => array('type' => 'radio' , 'default' => $data['controlPanel'] , 'description' => $descriptions['controlPanel'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no)),568 'hideControlPanel' => array('type' => 'radio' , 'default' => $data['hideControlPanel'] , 'description' => $descriptions['hideControlPanel'] , 'group' => __('Control', 'slideshow- plugin') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controlPanel]', 'true')),569 'waitUntilLoaded' => array('type' => 'radio' , 'default' => $data['waitUntilLoaded'] , 'description' => $descriptions['waitUntilLoaded'] , 'group' => __('Miscellaneous', 'slideshow- plugin'), 'options' => array('true' => $yes, 'false' => $no)),570 'showLoadingIcon' => array('type' => 'radio' , 'default' => $data['showLoadingIcon'] , 'description' => $descriptions['showLoadingIcon'] , 'group' => __('Miscellaneous', 'slideshow- plugin'), 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[waitUntilLoaded]', 'true')),571 'random' => array('type' => 'radio' , 'default' => $data['random'] , 'description' => $descriptions['random'] , 'group' => __('Miscellaneous', 'slideshow- plugin'), 'options' => array('true' => $yes, 'false' => $no)),572 'avoidFilter' => array('type' => 'radio' , 'default' => $data['avoidFilter'] , 'description' => $descriptions['avoidFilter'] , 'group' => __('Miscellaneous', 'slideshow- plugin'), 'options' => array('true' => $yes, 'false' => $no))547 'animation' => array('type' => 'select', 'default' => $data['animation'] , 'description' => $descriptions['animation'] , 'group' => __('Animation', 'slideshow-jquery-image-gallery') , 'options' => array('slide' => __('Slide Left', 'slideshow-jquery-image-gallery'), 'slideRight' => __('Slide Right', 'slideshow-jquery-image-gallery'), 'slideUp' => __('Slide Up', 'slideshow-jquery-image-gallery'), 'slideDown' => __('Slide Down', 'slideshow-jquery-image-gallery'), 'crossFade' => __('Cross Fade', 'slideshow-jquery-image-gallery'), 'directFade' => __('Direct Fade', 'slideshow-jquery-image-gallery'), 'fade' => __('Fade', 'slideshow-jquery-image-gallery'), 'random' => __('Random Animation', 'slideshow-jquery-image-gallery'))), 548 'slideSpeed' => array('type' => 'text' , 'default' => $data['slideSpeed'] , 'description' => $descriptions['slideSpeed'] , 'group' => __('Animation', 'slideshow-jquery-image-gallery')), 549 'descriptionSpeed' => array('type' => 'text' , 'default' => $data['descriptionSpeed'] , 'description' => $descriptions['descriptionSpeed'] , 'group' => __('Animation', 'slideshow-jquery-image-gallery')), 550 'intervalSpeed' => array('type' => 'text' , 'default' => $data['intervalSpeed'] , 'description' => $descriptions['intervalSpeed'] , 'group' => __('Animation', 'slideshow-jquery-image-gallery')), 551 'slidesPerView' => array('type' => 'text' , 'default' => $data['slidesPerView'] , 'description' => $descriptions['slidesPerView'] , 'group' => __('Display', 'slideshow-jquery-image-gallery')), 552 'maxWidth' => array('type' => 'text' , 'default' => $data['maxWidth'] , 'description' => $descriptions['maxWidth'] , 'group' => __('Display', 'slideshow-jquery-image-gallery')), 553 'aspectRatio' => array('type' => 'text' , 'default' => $data['aspectRatio'] , 'description' => $descriptions['aspectRatio'] , 'group' => __('Display', 'slideshow-jquery-image-gallery') , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'true')), 554 'height' => array('type' => 'text' , 'default' => $data['height'] , 'description' => $descriptions['height'] , 'group' => __('Display', 'slideshow-jquery-image-gallery') , 'dependsOn' => array('settings[preserveSlideshowDimensions]', 'false')), 555 'imageBehaviour' => array('type' => 'select', 'default' => $data['imageBehaviour'] , 'description' => $descriptions['imageBehaviour'] , 'group' => __('Display', 'slideshow-jquery-image-gallery') , 'options' => array('natural' => __('Natural and centered', 'slideshow-jquery-image-gallery'), 'crop' => __('Crop to fit', 'slideshow-jquery-image-gallery'), 'stretch' => __('Stretch to fit', 'slideshow-jquery-image-gallery'))), 556 'preserveSlideshowDimensions' => array('type' => 'radio' , 'default' => $data['preserveSlideshowDimensions'], 'description' => $descriptions['preserveSlideshowDimensions'], 'group' => __('Display', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[enableResponsiveness]', 'true')), 557 'enableResponsiveness' => array('type' => 'radio' , 'default' => $data['enableResponsiveness'] , 'description' => $descriptions['enableResponsiveness'] , 'group' => __('Display', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 558 'showDescription' => array('type' => 'radio' , 'default' => $data['showDescription'] , 'description' => $descriptions['showDescription'] , 'group' => __('Display', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 559 'hideDescription' => array('type' => 'radio' , 'default' => $data['hideDescription'] , 'description' => $descriptions['hideDescription'] , 'group' => __('Display', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showDescription]', 'true')), 560 'play' => array('type' => 'radio' , 'default' => $data['play'] , 'description' => $descriptions['play'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 561 'loop' => array('type' => 'radio' , 'default' => $data['loop'] , 'description' => $descriptions['loop'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 562 'pauseOnHover' => array('type' => 'radio' , 'default' => $data['loop'] , 'description' => $descriptions['pauseOnHover'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 563 'controllable' => array('type' => 'radio' , 'default' => $data['controllable'] , 'description' => $descriptions['controllable'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 564 'hideNavigationButtons' => array('type' => 'radio' , 'default' => $data['hideNavigationButtons'] , 'description' => $descriptions['hideNavigationButtons'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controllable]', 'true')), 565 'showPagination' => array('type' => 'radio' , 'default' => $data['showPagination'] , 'description' => $descriptions['showPagination'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 566 'hidePagination' => array('type' => 'radio' , 'default' => $data['hidePagination'] , 'description' => $descriptions['hidePagination'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[showPagination]', 'true')), 567 'controlPanel' => array('type' => 'radio' , 'default' => $data['controlPanel'] , 'description' => $descriptions['controlPanel'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no)), 568 'hideControlPanel' => array('type' => 'radio' , 'default' => $data['hideControlPanel'] , 'description' => $descriptions['hideControlPanel'] , 'group' => __('Control', 'slideshow-jquery-image-gallery') , 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[controlPanel]', 'true')), 569 'waitUntilLoaded' => array('type' => 'radio' , 'default' => $data['waitUntilLoaded'] , 'description' => $descriptions['waitUntilLoaded'] , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no)), 570 'showLoadingIcon' => array('type' => 'radio' , 'default' => $data['showLoadingIcon'] , 'description' => $descriptions['showLoadingIcon'] , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no) , 'dependsOn' => array('settings[waitUntilLoaded]', 'true')), 571 'random' => array('type' => 'radio' , 'default' => $data['random'] , 'description' => $descriptions['random'] , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no)), 572 'avoidFilter' => array('type' => 'radio' , 'default' => $data['avoidFilter'] , 'description' => $descriptions['avoidFilter'] , 'group' => __('Miscellaneous', 'slideshow-jquery-image-gallery'), 'options' => array('true' => $yes, 'false' => $no)) 573 573 ); 574 574 } … … 608 608 { 609 609 $data = array( 610 'style' => array('type' => 'select', 'default' => $data['style'], 'description' => __('The style used for this slideshow', 'slideshow- plugin'), 'options' => SlideshowPluginGeneralSettings::getStylesheets()),610 'style' => array('type' => 'select', 'default' => $data['style'], 'description' => __('The style used for this slideshow', 'slideshow-jquery-image-gallery'), 'options' => SlideshowPluginGeneralSettings::getStylesheets()), 611 611 ); 612 612 } -
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginSlideshowStylesheet.php
r1226989 r1247669 81 81 public static function enqueueStylesheet($name = null) 82 82 { 83 if (self::isCustomStylesheet($name)) 84 { 85 $version = get_option($name . '_version', SlideshowPluginMain::$version); 86 87 if (!self::$allStylesheetsRegistered) 88 { 89 wp_enqueue_style( 90 'slideshow-jquery-image-gallery-ajax-stylesheet_' . $name, 91 admin_url('admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=' . $name, 'admin'), 92 array(), 93 $version 94 ); 95 } 96 } 97 else 98 { 99 $name = str_replace('.css', '', $name); 100 $version = SlideshowPluginMain::$version; 101 102 if (!self::$allStylesheetsRegistered) 103 { 104 wp_enqueue_style( 105 'slideshow-jquery-image-gallery-stylesheet_' . $name, 106 SlideshowPluginMain::getPluginUrl() . '/css/' . $name . '.css', 107 array(), 108 $version 109 ); 110 } 83 $enqueueDynamicStylesheet = true; 84 $version = SlideshowPluginMain::$version; 85 86 if (isset($name)) 87 { 88 // Try to get the custom style's version 89 $customStyle = get_option($name, false); 90 $customStyleVersion = false; 91 92 if ($customStyle) 93 { 94 $customStyleVersion = get_option($name . '_version', false); 95 } 96 97 // Style name and version 98 if ($customStyle && $customStyleVersion) 99 { 100 $version = $customStyleVersion; 101 } 102 else 103 { 104 $enqueueDynamicStylesheet = false; 105 $name = str_replace('.css', '', $name); 106 } 107 } 108 else 109 { 110 $enqueueDynamicStylesheet = false; 111 $name = 'style-light'; 112 } 113 114 // Enqueue stylesheet 115 if ($enqueueDynamicStylesheet) 116 { 117 wp_enqueue_style( 118 'slideshow-jquery-image-gallery-ajax-stylesheet_' . $name, 119 admin_url('admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=' . $name, 'admin'), 120 array(), 121 $version 122 ); 123 } 124 else 125 { 126 wp_enqueue_style( 127 'slideshow-jquery-image-gallery-stylesheet_' . $name, 128 SlideshowPluginMain::getPluginUrl() . '/css/' . $name . '.css', 129 array(), 130 $version 131 ); 111 132 } 112 133 … … 167 188 public static function getStylesheet($styleName) 168 189 { 169 // Check if $styleName is a custom stylesheet 170 if (self::isCustomStylesheet($styleName)) 190 // Get custom style keys 191 $customStyleKeys = array_keys(get_option(SlideshowPluginGeneralSettings::$customStyles, array())); 192 193 // Match $styleName against custom style keys 194 if (in_array($styleName, $customStyleKeys)) 171 195 { 172 196 // Get custom stylesheet … … 197 221 return $stylesheet; 198 222 } 199 200 /**201 * Checks if the passed $styleName is a custom stylesheet or not.202 *203 * @since 2.2.23204 * @param string $styleName205 * @return boolean $isCustomStyle206 */207 public static function isCustomStylesheet($styleName)208 {209 // Get array of custom style keys and check if $styleName is in this array210 return in_array($styleName, array_keys(get_option(SlideshowPluginGeneralSettings::$customStyles, array())));211 }212 223 } -
slideshow-jquery-image-gallery/trunk/classes/SlideshowPluginWidget.php
r1226951 r1247669 21 21 $options = array( 22 22 'classname' => 'SlideshowWidget', 23 'description' => __('Enables you to show your slideshows in the widget area of your website.', 'slideshow- plugin')23 'description' => __('Enables you to show your slideshows in the widget area of your website.', 'slideshow-jquery-image-gallery') 24 24 ); 25 25 … … 27 27 parent::__construct( 28 28 'slideshowWidget', 29 __('Slideshow Widget', 'slideshow- plugin'),29 __('Slideshow Widget', 'slideshow-jquery-image-gallery'), 30 30 $options 31 31 ); … … 94 94 // Defaults 95 95 $defaults = array( 96 'title' => __(self::$widgetName, 'slideshow- plugin'),96 'title' => __(self::$widgetName, 'slideshow-jquery-image-gallery'), 97 97 'slideshowId' => -1 98 98 ); -
slideshow-jquery-image-gallery/trunk/readme.txt
r1226989 r1247669 6 6 Requires at least: 3.5 7 7 Tested up to: 4.3 8 Stable tag: 2.2.2 48 Stable tag: 2.2.25 9 9 License: GPLv2 10 10 … … 14 14 == Description == 15 15 16 Slideshow provides an easy way to integrate multiple slideshows inany WordPress installation.17 18 Any image can be loaded into a slideshow using the default WordPress media uploader, even images you've already16 Slideshow provides an easy way to integrate a slideshow for any WordPress installation. 17 18 Any image can be loaded into the slideshow by picking it from the WordPress media page, even images you've already 19 19 uploaded can be inserted into your slideshow right away! 20 20 … … 33 33 - Change animations and handling 34 34 - Customize to taste 35 - Show that visitor who's theboss35 - Show that visitor who's boss 36 36 37 37 = Languages = … … 55 55 - Russian (100% - ru_RU - Translated by [Coupofy](http://www.coupofy.com/) and Dmitry Fatakov) 56 56 - Serbo-Croatian (91% - sr_RS - Translated by [Webhosting Hub](http://www.webhostinghub.com/)) 57 - Spanish ( 100% - es_ES - Translated by [Manuel Ballesta Ruiz](http://mbrsolution.com/) and[Violeta Rosales](https://twitter.com/violetisha))57 - Spanish (51% - es_ES - Translated by [Violeta Rosales](https://twitter.com/violetisha)) 58 58 - Swedish (91% - sv_SE - Translated by [Åke Isacsson](http://www.nojdkund.se/) and Wilhelm Svenselius) 59 59 - Turkish (83% - tr_TR - Translated by [İlker Akdoğan](http://www.kelkirpi.net/)) 60 60 - Ukrainian (100% - uk_UK - Translated by [Coupofy](http://www.coupofy.com/)) 61 61 62 Feel free to send me your own translation of the plugin to my e-mail address: [email protected]. The original63 translation file can be downloaded64 [by clicking here](http://plugins.svn.wordpress.org/slideshow-jquery-image-gallery/trunk/languages/slideshow-plugin-original.po)65 and saving the page to your computer. This file can be easily edited with [PoEdit](http://www.poedit.net/), a free66 translation tool. Many thanks in advance!67 68 62 = Project board = 69 63 … … 83 77 2. After activating Slideshow, click on 'Slideshows' and create a new slideshow. 84 78 85 3. Click on 'Image slide' to insert an image slide. The WordPress media uploader will appear, which allows you to choose 86 or upload the desired image to the slideshow. Insert the image by clicking the 'Select' button. To insert text slides and 87 YouTube video slides, click the 'Text slide' or the 'Video slide' button respectively. Don't forget to save your progress! 88 89 4. Go to a post or a page and click the 'Insert Slideshow' button above the editor. A screen will appear in which you can 90 select your newly created slideshow. You can also use the shortcode or code snippet visible in your slideshow's edit page 91 to deploy your slideshow anywhere on your website. Use the widget to show any of your slideshows in the widget area of your 92 website. 79 3. Click on 'Insert Image Slide' to insert an image slide, a popup will appear where you can search for the desired 80 image. Insert the image by clicking 'Insert'. The same goes for text and video slides, don't forget to save! 81 82 4. Go to a post or a page and click the 'Insert Slideshow' button above the editor. A popup appears where you can select 83 your newly created slideshow to insert. You can also use the shortcode or code snippet visible in your slideshow admin 84 panel to deploy your slideshow anywhere on your website. Use the widget to show any of your slideshows in the sidebar 85 of your website. 93 86 94 87 5. Feel like a sir. … … 99 92 = How do I add image slides? = 100 93 101 Click the 'Image slide' button in the 'Slides List' of the slideshow. The WordPress media uploader will pop up, in which 102 you'll be able to search all images that have already been uploaded to your WordPress website. If you'd like to add new 103 images to the slideshow, you'll be able to upload them right away from the media uploader. (Provided you're running a 104 WordPress installation of version 3.5 or later) 94 Click the 'Image slide' button in the 'Slides List' of the slideshow. A screen will pop up where you'll be able to 95 search though all images that have already been uploaded to your WordPress website. If you want to add new images to the 96 slideshow, or you do not have any images yet, you'll have to upload them to the WordPress media page first. 105 97 106 98 = How do I change a slideshow's settings? = 107 99 108 Just like WordPress' posts and pages you're already familiar with, slideshows can be edited. Go to the 'Slideshows' tab109 in your WordPress admin panel, and you'll see a list of slideshows. If you have not created a slideshow yet, you 110 can do so by clicking 'Add new' on that same page. If there are slideshows in the list, click the title of the slideshow 111 of which you'd like to change the settings. On the slideshow's edit page you'll be able to find a box titled 'Slideshow Settings', 112 in this box youcan change the slideshow's settings.113 114 If you're creating multiple slideshows which should have the same settings, but you'd like the settings to be different115 from the default ones, you can change the default settings by going to the 'General Settings' page and clicking on the100 Just like the posts and pages you're already familiar with, slideshows can be edited. Go to the 'Slideshows' tab in your 101 WordPress admin, and you'll see a list of slideshows. If you have not created a slideshow yet, you can do so by clicking 102 'Add new' on that same page. If there are slideshows in the list, click on the title of the slideshow you want to change 103 the settings of. On the slideshow's edit page you'll be able to find a box titled 'Slideshow Settings', in this box you 104 can change the slideshow's settings. 105 106 If you're creating multiple slideshows that should have the same settings, but their settings need to be different from 107 the default settings, you can change the default settings by going to the 'General Settings' page and clicking on the 116 108 'Default Slideshow Settings' tab. Newly created slideshows will start off with the settings you set there. 117 109 … … 128 120 129 121 If you've already created a custom stylesheet, you can edit it by clicking 'Edit'. You can also delete it by clicking 130 'Delete'. Careful, a deleted stylesheet cannot be retrieved and cannot be used by any slideshow122 'Delete'. Be careful with this though, a deleted stylesheet cannot be retrieved and cannot be used by any slideshow 131 123 anymore. 132 124 133 125 = Some users can add, edit or delete slideshows, although I do not want them to. Can I prevent this from happening? = 134 126 135 Yes you can. In your WordPress admin panel, go to the 'Slideshows' menu item and click on 'General Settings', then go to127 Yes you can. On your WordPress admin page, go to the 'Slideshows' menu item and click on 'General Settings', then go to 136 128 the 'User Capabilities' tab (If you're not already there). The privileges that allow user groups to perform certain 137 129 actions are listed here. To allow, for instance, a contributor to add a slideshow, click the box in front of 'Contributor' … … 144 136 = The slideshow does not show up = 145 137 146 - The slideshow is oftencalled after the `</head>` tag, which means the scripts and stylesheet need to load in the footer138 - The slideshow is mostly called after the `</head>` tag, which means the scripts and stylesheet need to load in the footer 147 139 of the website. A theme that has no `<?php wp_footer(); ?>` call in it's footer will not be able to load the slideshow's 148 140 scripts. 149 141 150 142 - Often when the slideshow isn't showing, there's a javascript error somewhere on the page and this error has caused 151 JavaScript to break. For the slideshow to work again, this error needs to be fixed. Check if any errors were thrown by152 opening Google Chrome or Firefox (with Firebug installed) and opening the console.143 javascript to break. For the slideshow to work again, this error needs to be fixed. Check if any errors were thrown by 144 opening Google Chrome or Firefox (with Firebug installed) and press the 'F12' key. Errors show in the console tab. 153 145 154 146 = Why does Internet Explorer show a big blank space above the slideshow? = … … 184 176 185 177 == Changelog == 178 179 = 2.2.25 = 180 * Changed localization domain to match the plugin's slug in order to support language packs. 186 181 187 182 = 2.2.24 = … … 208 203 * Fixed: Slideshow container calculation now uses the JavaScript round function instead of the floor function. 209 204 * Fixed: Separated assignment of $sessionID and increment of SlideshowPlugin::$sessionCounter. 210 * Added Norwegian translation .211 * Updated Persian translation , thanks toW3Design.212 * Updated German translation .213 * Updated Brazilian Portuguese translation.205 * Added Norwegian translation by A. Nonymous. 206 * Updated Persian translation by W3Design. 207 * Updated German translation by A. Nonymous. 208 * Updated Brazilian Portuguese by A. Nonymous. 214 209 215 210 = 2.2.21 = … … 229 224 * New tags are available for custom stylesheets: %site-url%, %stylesheet-url% and %template-url% 230 225 * Fixed: When the slideshow would not have any height, slides would not hide outside of the slideshow. 231 * Added Serbo-Croatian translation , thanks toWebhosting Hub.232 * Updated Persian translation , thanks toW3Design.233 * Updated Chinese translation , thanks toLeo Newbiesup.234 * Updated Swedish translation , thanks toWilhelm Svenselius.226 * Added Serbo-Croatian translation by Webhosting Hub. 227 * Updated Persian translation by W3Design. 228 * Updated Chinese translation by Leo Newbiesup. 229 * Updated Swedish translation by Wilhelm Svenselius. 235 230 236 231 = 2.2.19 = … … 246 241 * Disappearing settings now have a more apparent animation. 247 242 * Fixed: First slide of a slideshow wouldn't show when the slideshow's content had no size on page load. 248 * Added Brazilian Portuguese translation , thanks toPiero Luiz.249 * Updated French translation , thanks toRomain Sandri.243 * Added Brazilian Portuguese translation by Piero Luiz. 244 * Updated French translation by Romain Sandri. 250 245 251 246 = 2.2.17 = … … 280 275 * Slideshow can now wait for a slide to load before showing it. 281 276 * Fixed: The 'Enable responsiveness' setting disappeared when disabling the 'Show title and description' option. 282 * Added Turkish translation , thanks toİlker Akdoğan.283 * Added Polish translation , thanks toWicher Wiater.284 * Added Finnish translation .285 * Updated French translation , thanks toRomain Sandri.286 * Added Portuguese translation , thanks toFilipe Catraia.287 * Added Persian translation , thanks toW3Design.288 * Added Italian translation , thanks toTecnikgeek.289 * Added Japanese translation , thanks toMichihide Hotta.277 * Added Turkish translation by İlker Akdoğan. 278 * Added Polish translation by Wicher Wiater. 279 * Added Finnish translation by an anonymous supporter. 280 * Updated French translation by Romain Sandri. 281 * Added Portuguese translation by Filipe Catraia. 282 * Added Persian translation by W3Design. 283 * Added Italian translation by Tecnikgeek. 284 * Added Japanese translation by Michihide Hotta. 290 285 291 286 = 2.2.11 = … … 294 289 * Fixed: Sites that don't support URL data weren't able to load a slideshow's stylesheet correctly. 295 290 * Fixed: Slideshow randomly disappeared in Internet Explorer 8 when absolute positioning was used. 296 * Added Swedish translation , thanks toÅke Isacsson.297 * Added Hebrew translation , thanks toEli Segev.291 * Added Swedish translation by Åke Isacsson. 292 * Added Hebrew translation by Eli Segev. 298 293 299 294 = 2.2.10 = … … 341 336 * Live width calculations have been halved to improve performance. 342 337 * Default settings have been tuned to cater better to most users. 343 * Added Czech translation , thanks toEdhel.338 * Added Czech translation by Edhel. 344 339 345 340 = 2.2.1 = -
slideshow-jquery-image-gallery/trunk/slideshow.php
r1226951 r1247669 4 4 Plugin URI: http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/ 5 5 Description: The slideshow plugin is easily deployable on your website. Add any image that has already been uploaded to add to your slideshow, add text slides, or even add a video. Options and styles are customizable for every single slideshow on your website. 6 Version: 2.2.2 46 Version: 2.2.25 7 7 Requires at least: 3.5 8 8 Author: StefanBoonstra 9 9 Author URI: http://stefanboonstra.com/ 10 10 License: GPLv2 11 Text Domain: slideshow- plugin11 Text Domain: slideshow-jquery-image-gallery 12 12 */ 13 13 … … 23 23 { 24 24 /** @var string $version */ 25 static $version = '2.2.2 4';25 static $version = '2.2.25'; 26 26 27 27 /** … … 119 119 { 120 120 load_plugin_textdomain( 121 'slideshow- plugin',121 'slideshow-jquery-image-gallery', 122 122 false, 123 123 dirname(plugin_basename(__FILE__)) . '/languages/' -
slideshow-jquery-image-gallery/trunk/views/SlideshowPlugin/slideshow.php
r1226951 r1247669 21 21 </div> 22 22 23 <div class="slideshow_controlPanel slideshow_transparent" style="display: none;"><ul><li class="slideshow_togglePlay" data-play-text="<?php _e('Play', 'slideshow- plugin'); ?>" data-pause-text="<?php _e('Pause', 'slideshow-plugin'); ?>"></li></ul></div>23 <div class="slideshow_controlPanel slideshow_transparent" style="display: none;"><ul><li class="slideshow_togglePlay" data-play-text="<?php _e('Play', 'slideshow-jquery-image-gallery'); ?>" data-pause-text="<?php _e('Pause', 'slideshow-jquery-image-gallery'); ?>"></li></ul></div> 24 24 25 <div class="slideshow_button slideshow_previous slideshow_transparent" role="button" data-previous-text="<?php _e('Previous', 'slideshow- plugin'); ?>" style="display: none;"></div>26 <div class="slideshow_button slideshow_next slideshow_transparent" role="button" data-next-text="<?php _e('Next', 'slideshow- plugin'); ?>" style="display: none;"></div>25 <div class="slideshow_button slideshow_previous slideshow_transparent" role="button" data-previous-text="<?php _e('Previous', 'slideshow-jquery-image-gallery'); ?>" style="display: none;"></div> 26 <div class="slideshow_button slideshow_next slideshow_transparent" role="button" data-next-text="<?php _e('Next', 'slideshow-jquery-image-gallery'); ?>" style="display: none;"></div> 27 27 28 <div class="slideshow_pagination" style="display: none;" data-go-to-text="<?php _e('Go to slide', 'slideshow- plugin'); ?>"><div class="slideshow_pagination_center"></div></div>28 <div class="slideshow_pagination" style="display: none;" data-go-to-text="<?php _e('Go to slide', 'slideshow-jquery-image-gallery'); ?>"><div class="slideshow_pagination_center"></div></div> 29 29 30 30 <!-- WordPress Slideshow Version <?php echo SlideshowPluginMain::$version; ?> --> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/custom-styles-tab.php
r879367 r1247669 4 4 $defaultStyles = array(); 5 5 $defaultStylesheets = array( 6 'style-light.css' => __('Light', 'slideshow- plugin'),7 'style-dark.css' => __('Dark', 'slideshow- plugin')6 'style-light.css' => __('Light', 'slideshow-jquery-image-gallery'), 7 'style-dark.css' => __('Dark', 'slideshow-jquery-image-gallery') 8 8 ); 9 9 … … 44 44 45 45 <p> 46 <b><?php _e('Default stylesheets', 'slideshow- plugin'); ?></b>46 <b><?php _e('Default stylesheets', 'slideshow-jquery-image-gallery'); ?></b> 47 47 </p> 48 48 … … 58 58 <span 59 59 class="style-action style-default <?php htmlspecialchars($defaultStyleKey); ?>" 60 title="<?php _e('Create a new custom style from this style', 'slideshow- plugin'); ?>"60 title="<?php _e('Create a new custom style from this style', 'slideshow-jquery-image-gallery'); ?>" 61 61 > 62 <?php _e('Customize', 'slideshow- plugin'); ?> »62 <?php _e('Customize', 'slideshow-jquery-image-gallery'); ?> » 63 63 </span> 64 64 … … 74 74 75 75 <p> 76 <b><?php _e('Custom stylesheets', 'slideshow- plugin'); ?></b>76 <b><?php _e('Custom stylesheets', 'slideshow-jquery-image-gallery'); ?></b> 77 77 </p> 78 78 … … 87 87 <span 88 88 class="style-action <?php echo htmlspecialchars($customStyleKey); ?>" 89 title="<?php _e('Edit this style', 'slideshow- plugin'); ?>"89 title="<?php _e('Edit this style', 'slideshow-jquery-image-gallery'); ?>" 90 90 > 91 <?php _e('Edit', 'slideshow- plugin'); ?> »91 <?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> » 92 92 </span> 93 93 … … 96 96 <span 97 97 class="style-delete <?php echo htmlspecialchars($customStyleKey); ?>" 98 title="<?php _e('Delete this style', 'slideshow- plugin'); ?>"98 title="<?php _e('Delete this style', 'slideshow-jquery-image-gallery'); ?>" 99 99 > 100 <?php _e('Delete', 'slideshow- plugin'); ?>100 <?php _e('Delete', 'slideshow-jquery-image-gallery'); ?> 101 101 </span> 102 102 … … 124 124 125 125 <p> 126 <b><?php _e('Custom style editor', 'slideshow- plugin'); ?></b>126 <b><?php _e('Custom style editor', 'slideshow-jquery-image-gallery'); ?></b> 127 127 </p> 128 128 129 129 <p class="style-editor"> 130 <?php _e('Select a stylesheet to start customizing it.', 'slideshow- plugin'); ?>130 <?php _e('Select a stylesheet to start customizing it.', 'slideshow-jquery-image-gallery'); ?> 131 131 </p> 132 132 … … 137 137 138 138 <p> 139 <i><?php _e('Title', 'slideshow- plugin'); ?></i><br />139 <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br /> 140 140 <input 141 141 type="text" 142 142 name="<?php echo SlideshowPluginGeneralSettings::$customStyles; ?>[<?php echo htmlspecialchars($customStyleKey); ?>][title]" 143 value="<?php echo (isset($customStyleKeys[$customStyleKey]) && !empty($customStyleKeys[$customStyleKey])) ? $customStyleKeys[$customStyleKey] : __('Untitled', 'slideshow- plugin'); ?>"143 value="<?php echo (isset($customStyleKeys[$customStyleKey]) && !empty($customStyleKeys[$customStyleKey])) ? $customStyleKeys[$customStyleKey] : __('Untitled', 'slideshow-jquery-image-gallery'); ?>" 144 144 /> 145 145 </p> 146 146 147 147 <p> 148 <i><?php _e('Style', 'slideshow- plugin'); ?></i><br />148 <i><?php _e('Style', 'slideshow-jquery-image-gallery'); ?></i><br /> 149 149 <textarea 150 150 name="<?php echo SlideshowPluginGeneralSettings::$customStyles; ?>[<?php echo htmlspecialchars($customStyleKey); ?>][style]" … … 170 170 <span 171 171 class="style-action" 172 title="<?php _e('Edit this style', 'slideshow- plugin'); ?>"172 title="<?php _e('Edit this style', 'slideshow-jquery-image-gallery'); ?>" 173 173 > 174 <?php _e('Edit', 'slideshow- plugin'); ?> »174 <?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> » 175 175 </span> 176 176 … … 179 179 <span 180 180 class="style-delete" 181 title="<?php _e('Delete this style', 'slideshow- plugin'); ?>"181 title="<?php _e('Delete this style', 'slideshow-jquery-image-gallery'); ?>" 182 182 > 183 <?php _e('Delete', 'slideshow- plugin'); ?>183 <?php _e('Delete', 'slideshow-jquery-image-gallery'); ?> 184 184 </span> 185 185 … … 190 190 191 191 <p> 192 <i><?php _e('Title', 'slideshow- plugin'); ?></i><br />192 <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br /> 193 193 <input 194 194 type="text" … … 198 198 199 199 <p> 200 <i><?php _e('Style', 'slideshow- plugin'); ?></i><br />200 <i><?php _e('Style', 'slideshow-jquery-image-gallery'); ?></i><br /> 201 201 <textarea 202 202 class="new-custom-style-content" -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/default-slideshow-settings-tab.php
r879367 r1247669 9 9 <div class="default-slideshow-settings-tab" style="display: none; float: none;"> 10 10 <p> 11 <strong><?php _e('Note', 'slideshow- plugin'); ?>:</strong>11 <strong><?php _e('Note', 'slideshow-jquery-image-gallery'); ?>:</strong> 12 12 </p> 13 13 … … 16 16 17 17 echo sprintf(__( 18 'The settings set on this page apply only to newly created slideshows and therefore do not alter any existing ones. To adapt a slideshow\'s settings, %sclick here.%s', 'slideshow- plugin'),18 'The settings set on this page apply only to newly created slideshows and therefore do not alter any existing ones. To adapt a slideshow\'s settings, %sclick here.%s', 'slideshow-jquery-image-gallery'), 19 19 '<a href="' . get_admin_url(null, 'edit.php?post_type=' . SlideshowPluginPostType::$postType) . '">', 20 20 '</a>' … … 27 27 <div class="default-slideshow-settings-tab feature-filter" style="display: none;"> 28 28 29 <h4><?php _e('Default Slideshow Settings', 'slideshow- plugin'); ?></h4>29 <h4><?php _e('Default Slideshow Settings', 'slideshow-jquery-image-gallery'); ?></h4> 30 30 31 31 <table> … … 39 39 <td colspan="3" style="border-bottom: 1px solid #dfdfdf; text-align: center;"> 40 40 <span style="display: inline-block; position: relative; top: 14px; padding: 0 12px; background: #fff;"> 41 <?php echo $defaultSettingValue['group']; ?> <?php _e('settings', 'slideshow- plugin'); ?>41 <?php echo $defaultSettingValue['group']; ?> <?php _e('settings', 'slideshow-jquery-image-gallery'); ?> 42 42 </span> 43 43 </td> … … 75 75 <div class="default-slideshow-settings-tab feature-filter" style="display: none;"> 76 76 77 <h4><?php _e('Default Slideshow Stylesheet', 'slideshow- plugin'); ?></h4>77 <h4><?php _e('Default Slideshow Stylesheet', 'slideshow-jquery-image-gallery'); ?></h4> 78 78 79 79 <table> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/general-settings-tab.php
r761395 r1247669 9 9 // Capabilities 10 10 $capabilities = array( 11 SlideshowPluginGeneralSettings::$capabilities['addSlideshows'] => __('Add slideshows', 'slideshow- plugin'),12 SlideshowPluginGeneralSettings::$capabilities['editSlideshows'] => __('Edit slideshows', 'slideshow- plugin'),13 SlideshowPluginGeneralSettings::$capabilities['deleteSlideshows'] => __('Delete slideshows', 'slideshow- plugin')11 SlideshowPluginGeneralSettings::$capabilities['addSlideshows'] => __('Add slideshows', 'slideshow-jquery-image-gallery'), 12 SlideshowPluginGeneralSettings::$capabilities['editSlideshows'] => __('Edit slideshows', 'slideshow-jquery-image-gallery'), 13 SlideshowPluginGeneralSettings::$capabilities['deleteSlideshows'] => __('Delete slideshows', 'slideshow-jquery-image-gallery') 14 14 ); 15 15 … … 18 18 <div class="general-settings-tab feature-filter"> 19 19 20 <h4><?php _e('User Capabilities', 'slideshow- plugin'); ?></h4>20 <h4><?php _e('User Capabilities', 'slideshow-jquery-image-gallery'); ?></h4> 21 21 22 <p><?php _e('Select the user roles that will able to perform certain actions.', 'slideshow- plugin'); ?></p>22 <p><?php _e('Select the user roles that will able to perform certain actions.', 'slideshow-jquery-image-gallery'); ?></p> 23 23 24 24 <table> … … 36 36 $disabled = ($roleSlug == 'administrator') ? 'disabled="disabled"' : ''; 37 37 $checked = ((isset($values['capabilities']) && array_key_exists($capability, $values['capabilities']) && $values['capabilities'][$capability] == true) || $roleSlug == 'administrator') ? 'checked="checked"' : ''; 38 $name = (isset($values['name'])) ? htmlspecialchars($values['name']) : __('Untitled role', 'slideshow- plugin');38 $name = (isset($values['name'])) ? htmlspecialchars($values['name']) : __('Untitled role', 'slideshow-jquery-image-gallery'); 39 39 40 40 ?> … … 63 63 <div class="general-settings-tab feature-filter"> 64 64 65 <h4><?php _e('Settings', 'slideshow- plugin'); ?></h4>65 <h4><?php _e('Settings', 'slideshow-jquery-image-gallery'); ?></h4> 66 66 67 67 <table> 68 68 <tr> 69 <td><?php _e('Stylesheet location', 'slideshow- plugin'); ?></td>69 <td><?php _e('Stylesheet location', 'slideshow-jquery-image-gallery'); ?></td> 70 70 <td> 71 71 <select name="<?php echo SlideshowPluginGeneralSettings::$stylesheetLocation; ?>"> 72 <option value="head" <?php selected('head', $stylesheetLocation); ?>>Head (<?php _e('top', 'slideshow- plugin'); ?>)</option>73 <option value="footer" <?php selected('footer', $stylesheetLocation); ?>>Footer (<?php _e('bottom', 'slideshow- plugin'); ?>)</option>72 <option value="head" <?php selected('head', $stylesheetLocation); ?>>Head (<?php _e('top', 'slideshow-jquery-image-gallery'); ?>)</option> 73 <option value="footer" <?php selected('footer', $stylesheetLocation); ?>>Footer (<?php _e('bottom', 'slideshow-jquery-image-gallery'); ?>)</option> 74 74 </select> 75 75 </td> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginGeneralSettings/general-settings.php
r761395 r1247669 12 12 <div class="icon32" style="background: url('<?php echo SlideshowPluginMain::getPluginUrl() . '/images/SlideshowPluginPostType/adminIcon32.png'; ?>');"></div> 13 13 <h2 class="nav-tab-wrapper"> 14 <a href="#general-settings-tab" class="nav-tab nav-tab-active"><?php _e('General Settings', 'slideshow- plugin'); ?></a>15 <a href="#default-slideshow-settings-tab" class="nav-tab"><?php _e('Default Slideshow Settings', 'slideshow- plugin'); ?></a>16 <a href="#custom-styles-tab" class="nav-tab"><?php _e('Custom Styles', 'slideshow- plugin'); ?></a>14 <a href="#general-settings-tab" class="nav-tab nav-tab-active"><?php _e('General Settings', 'slideshow-jquery-image-gallery'); ?></a> 15 <a href="#default-slideshow-settings-tab" class="nav-tab"><?php _e('Default Slideshow Settings', 'slideshow-jquery-image-gallery'); ?></a> 16 <a href="#custom-styles-tab" class="nav-tab"><?php _e('Custom Styles', 'slideshow-jquery-image-gallery'); ?></a> 17 17 18 18 <?php submit_button(null, 'primary', null, false, 'style="float: right;"'); ?> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/information.php
r761395 r1247669 1 <p><?php _e('To use this slideshow in your website either add this piece of shortcode to your posts or pages', 'slideshow- plugin'); ?>:</p>1 <p><?php _e('To use this slideshow in your website either add this piece of shortcode to your posts or pages', 'slideshow-jquery-image-gallery'); ?>:</p> 2 2 <p><i><?php echo $shortCode; ?></i></p> 3 3 4 4 <?php if(current_user_can('edit_themes')): ?> 5 <p><?php _e('Or add this piece of code to where ever in your website you want to place the slideshow', 'slideshow- plugin'); ?>:</p>5 <p><?php _e('Or add this piece of code to where ever in your website you want to place the slideshow', 'slideshow-jquery-image-gallery'); ?>:</p> 6 6 <p><i><?php echo $snippet; ?></i></p> 7 7 <?php endif; ?> 8 8 9 <p><?php echo sprintf(__('Or go to the %swidgets page%s and show the slideshow as a widget.', 'slideshow- plugin'), '<a href="' . get_admin_url(null, 'widgets.php') . '" target="_blank">', '</a>'); ?></p>9 <p><?php echo sprintf(__('Or go to the %swidgets page%s and show the slideshow as a widget.', 'slideshow-jquery-image-gallery'), '<a href="' . get_admin_url(null, 'widgets.php') . '" target="_blank">', '</a>'); ?></p> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/settings.php
r879367 r1247669 10 10 <td colspan="3" style="border-bottom: 1px solid #e5e5e5; text-align: center;"> 11 11 <span style="display: inline-block; position: relative; top: 14px; padding: 0 12px; background: #fff;"> 12 <?php echo $value['group']; ?> <?php _e('settings', 'slideshow- plugin'); ?>12 <?php echo $value['group']; ?> <?php _e('settings', 'slideshow-jquery-image-gallery'); ?> 13 13 </span> 14 14 </td> … … 24 24 <td><?php echo $value['description']; ?></td> 25 25 <td><?php echo SlideshowPluginSlideshowSettingsHandler::getInputField(SlideshowPluginSlideshowSettingsHandler::$settingsKey, htmlspecialchars($key), $value); ?></td> 26 <td><?php _e('Default', 'slideshow- plugin'); ?>: '<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>'</td>26 <td><?php _e('Default', 'slideshow-jquery-image-gallery'); ?>: '<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>'</td> 27 27 </tr> 28 28 -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/slides.php
r765971 r1247669 1 1 <p style="text-align: center;" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html"> 2 <i><?php _e('Insert', 'slideshow- plugin'); ?>:</i><br/>2 <i><?php _e('Insert', 'slideshow-jquery-image-gallery'); ?>:</i><br/> 3 3 4 4 <?php echo SlideshowPluginSlideInserter::getImageSlideInsertButton(); ?> … … 8 8 9 9 <?php if(count($slides) <= 0): ?> 10 <p><?php _e('Add slides to this slideshow by using one of the buttons above.', 'slideshow- plugin'); ?></p>10 <p><?php _e('Add slides to this slideshow by using one of the buttons above.', 'slideshow-jquery-image-gallery'); ?></p> 11 11 <?php endif; ?> 12 12 … … 52 52 <h3 class="hndle"> 53 53 <span style="font-size: 0.8em;"> 54 <?php _e('Text slide', 'slideshow- plugin'); ?>54 <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?> 55 55 </span> 56 56 </h3> 57 57 58 58 <p style="margin: 5px 15px 5px 5px;"> 59 <i><?php _e('Title', 'slideshow- plugin'); ?></i><br />59 <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br /> 60 60 <input type="text" name="<?php echo $name; ?>[title]" value="<?php echo $title; ?>" /><br /> 61 <i><?php _e('Description', 'slideshow- plugin'); ?></i><br />61 <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br /> 62 62 <textarea name="<?php echo $name; ?>[description]" rows="7" cols="" style="width: 100%;"><?php echo $description; ?></textarea><br /> 63 <i><?php _e('Background color', 'slideshow- plugin'); ?></i><br />63 <i><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></i><br /> 64 64 <input type="text" name="<?php echo $name; ?>[color]" value="<?php echo $color; ?>" class="color {required:false}" /> 65 65 </p> 66 66 67 67 <p style="margin: 5px 15px 5px 5px;"> 68 <i><?php _e('URL', 'slideshow- plugin'); ?></i><br />68 <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br /> 69 69 <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" /><br /> 70 <i><?php _e('Open URL in', 'slideshow- plugin'); ?></i>70 <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i> 71 71 <select name="<?php echo $name; ?>[urlTarget]"> 72 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow- plugin'); ?></option>73 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow- plugin'); ?></option>72 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 73 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 74 74 </select> 75 75 </p> … … 88 88 <h3 class="hndle"> 89 89 <span style="font-size: 0.8em;"> 90 <?php _e('Video slide', 'slideshow- plugin'); ?>90 <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?> 91 91 </span> 92 92 </h3> 93 93 94 94 <p style="margin: 5px 15px 5px 5px;"> 95 <i><?php _e('Youtube Video ID', 'slideshow- plugin'); ?></i><br />95 <i><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></i><br /> 96 96 <input type="text" name="<?php echo $name; ?>[videoId]" value="<?php echo $videoId; ?>" /> 97 97 </p> … … 131 131 <h3 class="hndle"> 132 132 <span style="font-size: 0.8em;"> 133 <?php _e('Image slide', 'slideshow- plugin'); ?>133 <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?> 134 134 </span> 135 135 </h3> 136 136 137 137 <p style="float: left; margin: 5px;"> 138 <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow- plugin'); ?> "<?php echo $attachment->post_title; ?>"">138 <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> "<?php echo $attachment->post_title; ?>""> 139 139 <img width="80" height="60" src="<?php echo $imageSrc; ?>" class="attachment-80x60" alt="<?php echo $attachment->post_title; ?>" title="<?php echo $attachment->post_title; ?>" /> 140 140 </a> … … 142 142 143 143 <p style="float: left; margin: 5px 15px 5px 5px;"> 144 <i><?php _e('Title', 'slideshow- plugin'); ?></i><br />144 <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br /> 145 145 <input type="text" name="<?php echo $name; ?>[title]" value="<?php echo $title; ?>" /> 146 146 </p> … … 148 148 149 149 <p style="margin: 5px 15px 5px 5px;"> 150 <i><?php _e('Description', 'slideshow- plugin'); ?></i><br />150 <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br /> 151 151 <textarea name="<?php echo $name; ?>[description]" rows="3" cols="" style="width: 100%;"><?php echo $description; ?></textarea><br /> 152 152 </p> 153 153 154 154 <p style="margin: 5px 15px 5px 5px;"> 155 <i><?php _e('URL', 'slideshow- plugin'); ?></i><br />155 <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br /> 156 156 <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" /><br /> 157 <i><?php _e('Open URL in', 'slideshow- plugin'); ?></i>157 <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i> 158 158 <select name="<?php echo $name; ?>[urlTarget]"> 159 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow- plugin'); ?></option>160 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow- plugin'); ?></option>159 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 160 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 161 161 </select> 162 162 </p> … … 169 169 170 170 <p style="margin: 5px 15px 5px 5px;"> 171 <?php _e('An error occurred while loading this slide, and it will not be present in the slideshow', 'slideshow- plugin'); ?>171 <?php _e('An error occurred while loading this slide, and it will not be present in the slideshow', 'slideshow-jquery-image-gallery'); ?> 172 172 </p> 173 173 … … 175 175 176 176 <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-slide"> 177 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>177 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 178 178 <span style="display: none;" class="<?php echo $id; ?>"></span> 179 179 </p> … … 189 189 <h3 class="hndle"> 190 190 <span style="font-size: 0.8em;"> 191 <?php _e('Text slide', 'slideshow- plugin'); ?>191 <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?> 192 192 </span> 193 193 </h3> 194 194 195 195 <p style="margin: 5px 15px 5px 5px;"> 196 <i><?php _e('Title', 'slideshow- plugin'); ?></i><br />196 <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br /> 197 197 <input type="text" class="title" /><br /> 198 <i><?php _e('Description', 'slideshow- plugin'); ?></i><br />198 <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br /> 199 199 <textarea class="description" cols="" rows="7" style="width: 100%;"></textarea><br /> 200 <i><?php _e('Background color', 'slideshow- plugin'); ?></i><br />200 <i><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></i><br /> 201 201 <input type="text" class="color {required:false}" /> 202 202 </p> 203 203 204 204 <p style="margin: 5px 15px 5px 5px;"> 205 <i><?php _e('URL', 'slideshow- plugin'); ?></i><br />205 <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br /> 206 206 <input type="text" class="url" value="" /><br /> 207 <i><?php _e('Open URL in', 'slideshow- plugin'); ?></i>207 <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i> 208 208 <select class="urlTarget"> 209 <option value="_self"><?php _e('Same window', 'slideshow- plugin'); ?></option>210 <option value="_blank"><?php _e('New window', 'slideshow- plugin'); ?></option>209 <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 210 <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 211 211 </select> 212 212 </p> … … 216 216 217 217 <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-new-slide"> 218 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>218 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 219 219 <span style="display: none;" class="<?php echo $id; ?>"></span> 220 220 </p> … … 228 228 <h3 class="hndle"> 229 229 <span style="font-size: 0.8em;"> 230 <?php _e('Video slide', 'slideshow- plugin'); ?>230 <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?> 231 231 </span> 232 232 </h3> 233 233 234 234 <p style="margin: 5px 15px 5px 5px;"> 235 <i><?php _e('Youtube Video ID', 'slideshow- plugin'); ?></i><br />235 <i><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></i><br /> 236 236 <input type="text" class="videoId" /> 237 237 </p> … … 241 241 242 242 <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-new-slide"> 243 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>243 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 244 244 <span style="display: none;" class="<?php echo $id; ?>"></span> 245 245 </p> … … 253 253 <h3 class="hndle"> 254 254 <span style="font-size: 0.8em;"> 255 <?php _e('Image slide', 'slideshow- plugin'); ?>255 <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?> 256 256 </span> 257 257 </h3> … … 262 262 263 263 <p style="float: left; margin: 5px 15px 5px 5px;"> 264 <i><?php _e('Title', 'slideshow- plugin'); ?></i><br />264 <i><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></i><br /> 265 265 <input type="text" class="title" /> 266 266 </p> … … 268 268 269 269 <p style="margin: 5px 15px 5px 5px;"> 270 <i><?php _e('Description', 'slideshow- plugin'); ?></i><br />270 <i><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></i><br /> 271 271 <textarea class="description" rows="3" cols="" style="width: 100%;"></textarea><br /> 272 272 </p> 273 273 274 274 <p style="margin: 5px 15px 5px 5px;"> 275 <i><?php _e('URL', 'slideshow- plugin'); ?></i><br />275 <i><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></i><br /> 276 276 <input type="text" class="url" value="" /><br /> 277 <i><?php _e('Open URL in', 'slideshow- plugin'); ?></i>277 <i><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></i> 278 278 <select class="urlTarget"> 279 <option value="_self"><?php _e('Same window', 'slideshow- plugin'); ?></option>280 <option value="_blank"><?php _e('New window', 'slideshow- plugin'); ?></option>279 <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 280 <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 281 281 </select> 282 282 </p> … … 287 287 288 288 <p style="margin: 5px 15px 5px 5px; color: red; cursor: pointer;" class="slideshow-delete-new-slide"> 289 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>289 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 290 290 <span style="display: none;" class="<?php echo $id; ?>"></span> 291 291 </p> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/style-settings.php
r761395 r1247669 9 9 <td><?php echo $value['description']; ?></td> 10 10 <td><?php echo SlideshowPluginSlideshowSettingsHandler::getInputField(htmlspecialchars(SlideshowPluginSlideshowSettingsHandler::$styleSettingsKey), $key, $value); ?></td> 11 <td><?php _e('Default', 'slideshow- plugin'); ?>: '<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>'</td>11 <td><?php _e('Default', 'slideshow-jquery-image-gallery'); ?>: '<?php echo (isset($value['options']))? $value['options'][$value['default']]: $value['default']; ?>'</td> 12 12 </tr> 13 13 … … 21 21 echo sprintf(__( 22 22 'Custom styles can be created and customized %shere%s.', 23 'slideshow- plugin'23 'slideshow-jquery-image-gallery' 24 24 ), 25 25 '<a href="' . admin_url() . '/edit.php?post_type=slideshow&page=general_settings#custom-styles" target="_blank">', -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginPostType/support-plugin.php
r761395 r1247669 1 1 <div class="updated" style="background: #f7f7f7; border-color: #dfdfdf;"> 2 2 <div style="float: left; width: 50%;"> 3 <h3><?php _e('Help to keep this plugin free!', 'slideshow- plugin'); ?></h3>3 <h3><?php _e('Help to keep this plugin free!', 'slideshow-jquery-image-gallery'); ?></h3> 4 4 5 5 <p> 6 <?php _e('In order to keep you provided with the newest features, updates and bug fixes, a lot of motivation is required. Therefore I\'m kindly asking you to consider making a small donation to the plugin or rating it as 5-stars on Wordpress.org. Thank you in advance!', 'slideshow- plugin'); ?>6 <?php _e('In order to keep you provided with the newest features, updates and bug fixes, a lot of motivation is required. Therefore I\'m kindly asking you to consider making a small donation to the plugin or rating it as 5-stars on Wordpress.org. Thank you in advance!', 'slideshow-jquery-image-gallery'); ?> 7 7 </p> 8 8 </div> … … 13 13 type="button" 14 14 class="button-secondary" 15 value="<?php _e('Rate on Wordpress.org', 'slideshow- plugin'); ?>"15 value="<?php _e('Rate on Wordpress.org', 'slideshow-jquery-image-gallery'); ?>" 16 16 onclick="window.open('http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/')" 17 17 /> … … 22 22 type="button" 23 23 class="button-secondary" 24 value="<?php _e('Frequently Asked Questions (FAQ)', 'slideshow- plugin'); ?>"24 value="<?php _e('Frequently Asked Questions (FAQ)', 'slideshow-jquery-image-gallery'); ?>" 25 25 onclick="window.open('http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/faq/')" 26 26 /> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginShortcode/shortcode-inserter.php
r1226989 r1247669 1 1 <a 2 href="#TB_inline?width=450& amp;inlineId=insertSlideshowShortcode"2 href="#TB_inline?width=450&inlineId=insertSlideshowShortcode" 3 3 class="button thickbox" 4 title="<?php _e('Insert a Slideshow', 'slideshow- plugin'); ?>"4 title="<?php _e('Insert a Slideshow', 'slideshow-jquery-image-gallery'); ?>" 5 5 style="padding-left: .4em;" 6 6 > 7 <?php global $wp_version; ?>8 <?php if (version_compare($wp_version, '3.8', '>')) : ?>9 <span class="dashicons dashicons-format-gallery" style="line-height: 26px;"></span>10 <?php else: ?>11 7 <img 12 8 src="<?php echo SlideshowPluginMain::getPluginUrl() . '/images/SlideshowPluginPostType/adminIcon.png'; ?>" 13 alt="<?php _e('Insert a Slideshow', 'slideshow- plugin'); ?>"9 alt="<?php _e('Insert a Slideshow', 'slideshow-jquery-image-gallery'); ?>" 14 10 style="vertical-align: text-top;" 15 11 /> 16 <?php endif; ?> 17 18 <?php _e('Insert Slideshow', 'slideshow-plugin'); ?> 12 <?php _e('Insert Slideshow', 'slideshow-jquery-image-gallery'); ?> 19 13 </a> 20 14 … … 22 16 23 17 <h3 style="padding: 10px 0; color: #5a5a5a;"> 24 <?php _e('Insert a Slideshow', 'slideshow- plugin'); ?>18 <?php _e('Insert a Slideshow', 'slideshow-jquery-image-gallery'); ?> 25 19 </h3> 26 20 … … 31 25 <tr> 32 26 33 <td><?php _e('Select a slideshow', 'slideshow- plugin'); ?></td>27 <td><?php _e('Select a slideshow', 'slideshow-jquery-image-gallery'); ?></td> 34 28 <td> 35 29 <select id="insertSlideshowShortcodeSlideshowSelect"> … … 40 34 41 35 <option value="<?php echo $slideshow->ID; ?>"> 42 <?php echo (!empty($slideshow->post_title)) ? htmlspecialchars($slideshow->post_title) : __('Untitled slideshow', 'slideshow- plugin'); ?>36 <?php echo (!empty($slideshow->post_title)) ? htmlspecialchars($slideshow->post_title) : __('Untitled slideshow', 'slideshow-jquery-image-gallery'); ?> 43 37 </option> 44 38 … … 55 49 type="button" 56 50 class="button-primary insertSlideshowShortcodeSlideshowInsertButton" 57 value="<?php _e('Insert Slideshow', 'slideshow- plugin'); ?>"51 value="<?php _e('Insert Slideshow', 'slideshow-jquery-image-gallery'); ?>" 58 52 /> 59 53 <input 60 54 type="button" 61 55 class="button insertSlideshowShortcodeCancelButton" 62 value="<?php _e('Cancel', 'slideshow- plugin'); ?>"56 value="<?php _e('Cancel', 'slideshow-jquery-image-gallery'); ?>" 63 57 /> 64 58 </td> … … 71 65 <p> 72 66 <?php echo sprintf( 73 __('It seems you haven\'t created any slideshows yet. %sYou can create a slideshow here!%s', 'slideshow- plugin'),67 __('It seems you haven\'t created any slideshows yet. %sYou can create a slideshow here!%s', 'slideshow-jquery-image-gallery'), 74 68 '<a href="' . admin_url('post-new.php?post_type=' . SlideshowPluginPostType::$postType) . '" target="_blank">', 75 69 '</a>' -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/insert-image-button.php
r772460 r1247669 1 1 <?php if (function_exists('wp_enqueue_media')): ?> 2 <input type="button" class="button slideshow-insert-image-slide" value="<?php _e('Image slide', 'slideshow- plugin'); ?>" />2 <input type="button" class="button slideshow-insert-image-slide" value="<?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>" /> 3 3 <?php else: ?> 4 <input type="button" id="slideshow-insert-image-slide" class="button" value="<?php _e('Image slide', 'slideshow- plugin'); ?>" />4 <input type="button" id="slideshow-insert-image-slide" class="button" value="<?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?>" /> 5 5 <?php endif; ?> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/insert-text-button.php
r772460 r1247669 1 1 2 <input type="button" id="slideshow-insert-text-slide" class="button" value="<?php _e('Text slide', 'slideshow- plugin'); ?>" />2 <input type="button" id="slideshow-insert-text-slide" class="button" value="<?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?>" /> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/insert-video-button.php
r772460 r1247669 1 1 2 <input type="button" id="slideshow-insert-video-slide" class="button" value="<?php _e('Video slide', 'slideshow- plugin'); ?>" />2 <input type="button" id="slideshow-insert-video-slide" class="button" value="<?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?>" /> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideInserter/search-popup.php
r761395 r1247669 4 4 <div> 5 5 <input type="text" id="search" /> 6 <?php submit_button(__('Search', 'slideshow- plugin'), 'primary', 'search-submit', false); ?>7 <i><?php _e('Search images by title or ID', 'slideshow- plugin'); ?></i>6 <?php submit_button(__('Search', 'slideshow-jquery-image-gallery'), 'primary', 'search-submit', false); ?> 7 <i><?php _e('Search images by title or ID', 'slideshow-jquery-image-gallery'); ?></i> 8 8 </div> 9 9 <div style="clear: both;"></div> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_attachment.php
r1226951 r1247669 101 101 <?php else : ?> 102 102 103 <?php _e('Image slide', 'slideshow- plugin'); ?>103 <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?> 104 104 105 105 <?php endif; ?> … … 112 112 <div class="slideshow-group"> 113 113 114 <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow- plugin'); ?> "<?php echo $attachment->post_title; ?>"">114 <a href="<?php echo $editUrl; ?>" title="<?php _e('Edit', 'slideshow-jquery-image-gallery'); ?> "<?php echo $attachment->post_title; ?>""> 115 115 <img width="80" height="60" src="<?php echo $imageSrc; ?>" class="attachment-80x60" alt="<?php echo $attachment->post_title; ?>" title="<?php echo $attachment->post_title; ?>" /> 116 116 </a> … … 120 120 <div class="slideshow-group"> 121 121 122 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow- plugin'); ?></div>122 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div> 123 123 <div class="slideshow-right"> 124 124 <select name="<?php echo $name; ?>[titleElementTagID]"> … … 135 135 <div class="slideshow-group"> 136 136 137 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow- plugin'); ?></div>137 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div> 138 138 <div class="slideshow-right"> 139 139 <select name="<?php echo $name; ?>[descriptionElementTagID]"> … … 150 150 <div class="slideshow-group"> 151 151 152 <div class="slideshow-label"><?php _e('URL', 'slideshow- plugin'); ?></div>152 <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div> 153 153 <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" style="width: 100%;" /> 154 154 155 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow- plugin'); ?></div>155 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div> 156 156 <select name="<?php echo $name; ?>[urlTarget]" class="slideshow-right"> 157 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow- plugin'); ?></option>158 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow- plugin'); ?></option>157 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 158 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 159 159 </select> 160 160 <div class="clear"></div> 161 161 162 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow- plugin'); ?></div>162 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div> 163 163 <input type="checkbox" name="<?php echo $name; ?>[noFollow]" value="" <?php checked($noFollow); ?> class="slideshow-right" /> 164 164 <div class="clear"></div> … … 168 168 <div class="slideshow-group"> 169 169 170 <div class="slideshow-label"><?php _e('Alternative text', 'slideshow- plugin'); ?></div>170 <div class="slideshow-label"><?php _e('Alternative text', 'slideshow-jquery-image-gallery'); ?></div> 171 171 <input type="text" name="<?php echo $name; ?>[alternativeText]" value="<?php echo $alternativeText; ?>" style="width: 100%;" /> 172 172 … … 174 174 175 175 <div class="slideshow-group slideshow-delete-slide"> 176 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>176 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 177 177 </div> 178 178 -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_templates.php
r879367 r1247669 7 7 <div class="slide-icon text-slide-icon"></div> 8 8 <div class="slide-title"> 9 <?php _e('Text slide', 'slideshow- plugin'); ?>9 <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?> 10 10 </div> 11 11 <div class="clear"></div> … … 16 16 <div class="slideshow-group"> 17 17 18 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow- plugin'); ?></div>18 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div> 19 19 <div class="slideshow-right"> 20 20 <select class="titleElementTagID"> … … 31 31 <div class="slideshow-group"> 32 32 33 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow- plugin'); ?></div>33 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div> 34 34 <div class="slideshow-right"> 35 35 <select class="descriptionElementTagID"> … … 46 46 <div class="slideshow-group"> 47 47 48 <div class="slideshow-label"><?php _e('Text color', 'slideshow- plugin'); ?></div>48 <div class="slideshow-label"><?php _e('Text color', 'slideshow-jquery-image-gallery'); ?></div> 49 49 <input type="text" class="textColor" value="000000" /> 50 50 51 <div class="slideshow-label"><?php _e('Background color', 'slideshow- plugin'); ?></div>51 <div class="slideshow-label"><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></div> 52 52 <input type="text" class="color" value="FFFFFF" /> 53 <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow- plugin'); ?></div>54 55 </div> 56 57 <div class="slideshow-group"> 58 59 <div class="slideshow-label"><?php _e('URL', 'slideshow- plugin'); ?></div>53 <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow-jquery-image-gallery'); ?></div> 54 55 </div> 56 57 <div class="slideshow-group"> 58 59 <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div> 60 60 <input type="text" class="url" value="" style="width: 100%;" /> 61 61 62 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow- plugin'); ?></div>62 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div> 63 63 <select class="urlTarget slideshow-right"> 64 <option value="_self"><?php _e('Same window', 'slideshow- plugin'); ?></option>65 <option value="_blank"><?php _e('New window', 'slideshow- plugin'); ?></option>64 <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 65 <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 66 66 </select> 67 67 <div class="clear"></div> 68 68 69 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow- plugin'); ?></div>69 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div> 70 70 <input type="checkbox" class="noFollow slideshow-right" /> 71 71 <div class="clear"></div> … … 74 74 75 75 <div class="slideshow-group slideshow-delete-slide"> 76 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>76 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 77 77 </div> 78 78 … … 92 92 <div class="slide-icon video-slide-icon"></div> 93 93 <div class="slide-title"> 94 <?php _e('Video slide', 'slideshow- plugin'); ?>94 <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?> 95 95 </div> 96 96 <div class="clear"></div> … … 101 101 <div class="slideshow-group"> 102 102 103 <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow- plugin'); ?></div>103 <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></div> 104 104 <input type="text" class="videoId" style="width: 100%;" /> 105 105 … … 108 108 <div class="slideshow-group"> 109 109 110 <div class="slideshow-label"><?php _e('Show related videos', 'slideshow- plugin'); ?></div>111 <label><input type="radio" class="showRelatedVideos" value="true"><?php _e('Yes', 'slideshow- plugin'); ?></label>112 <label><input type="radio" class="showRelatedVideos" value="false" checked="checked""><?php _e('No', 'slideshow- plugin'); ?></label>110 <div class="slideshow-label"><?php _e('Show related videos', 'slideshow-jquery-image-gallery'); ?></div> 111 <label><input type="radio" class="showRelatedVideos" value="true"><?php _e('Yes', 'slideshow-jquery-image-gallery'); ?></label> 112 <label><input type="radio" class="showRelatedVideos" value="false" checked="checked""><?php _e('No', 'slideshow-jquery-image-gallery'); ?></label> 113 113 114 114 </div> 115 115 116 116 <div class="slideshow-group slideshow-delete-slide"> 117 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>117 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 118 118 </div> 119 119 … … 133 133 <div class="slide-icon image-slide-icon"></div> 134 134 <div class="slide-title"> 135 <?php _e('Image slide', 'slideshow- plugin'); ?>135 <?php _e('Image slide', 'slideshow-jquery-image-gallery'); ?> 136 136 </div> 137 137 <div class="clear"></div> … … 148 148 <div class="slideshow-group"> 149 149 150 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow- plugin'); ?></div>150 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div> 151 151 <div class="slideshow-right"> 152 152 <select class="titleElementTagID"> … … 163 163 <div class="slideshow-group"> 164 164 165 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow- plugin'); ?></div>165 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div> 166 166 <div class="slideshow-right"> 167 167 <select class="descriptionElementTagID"> … … 178 178 <div class="slideshow-group"> 179 179 180 <div class="slideshow-label"><?php _e('URL', 'slideshow- plugin'); ?></div>180 <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div> 181 181 <input type="text" class="url" value="" style="width: 100%;" /><br /> 182 182 183 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow- plugin'); ?></div>183 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div> 184 184 <select class="urlTarget slideshow-right"> 185 <option value="_self"><?php _e('Same window', 'slideshow- plugin'); ?></option>186 <option value="_blank"><?php _e('New window', 'slideshow- plugin'); ?></option>185 <option value="_self"><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 186 <option value="_blank"><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 187 187 </select> 188 188 <div class="clear"></div> 189 189 190 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow- plugin'); ?></div>190 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div> 191 191 <input type="checkbox" class="noFollow slideshow-right" /> 192 192 … … 195 195 <div class="slideshow-group"> 196 196 197 <div class="slideshow-label"><?php _e('Alternative text', 'slideshow- plugin'); ?></div>197 <div class="slideshow-label"><?php _e('Alternative text', 'slideshow-jquery-image-gallery'); ?></div> 198 198 <input type="text" class="alternativeText" style="width: 100%;" /> 199 199 … … 201 201 202 202 <div class="slideshow-group slideshow-delete-slide"> 203 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>203 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 204 204 </div> 205 205 -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_text.php
r1226951 r1247669 69 69 <?php else : ?> 70 70 71 <?php _e('Text slide', 'slideshow- plugin'); ?>71 <?php _e('Text slide', 'slideshow-jquery-image-gallery'); ?> 72 72 73 73 <?php endif; ?> … … 80 80 <div class="slideshow-group"> 81 81 82 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow- plugin'); ?></div>82 <div class="slideshow-left slideshow-label"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></div> 83 83 <div class="slideshow-right"> 84 84 <select name="<?php echo $name; ?>[titleElementTagID]"> … … 95 95 <div class="slideshow-group"> 96 96 97 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow- plugin'); ?></div>97 <div class="slideshow-left slideshow-label"><?php _e('Description', 'slideshow-jquery-image-gallery'); ?></div> 98 98 <div class="slideshow-right"> 99 99 <select name="<?php echo $name; ?>[descriptionElementTagID]"> … … 110 110 <div class="slideshow-group"> 111 111 112 <div class="slideshow-label"><?php _e('Text color', 'slideshow- plugin'); ?></div>112 <div class="slideshow-label"><?php _e('Text color', 'slideshow-jquery-image-gallery'); ?></div> 113 113 <input type="text" name="<?php echo $name; ?>[textColor]" value="<?php echo $textColor; ?>" class="wp-color-picker-field" /> 114 114 115 <div class="slideshow-label"><?php _e('Background color', 'slideshow- plugin'); ?></div>115 <div class="slideshow-label"><?php _e('Background color', 'slideshow-jquery-image-gallery'); ?></div> 116 116 <input type="text" name="<?php echo $name; ?>[color]" value="<?php echo $color; ?>" class="wp-color-picker-field" /> 117 <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow- plugin'); ?></div>117 <div style="font-style: italic;"><?php _e('(Leave empty for a transparent background)', 'slideshow-jquery-image-gallery'); ?></div> 118 118 119 119 </div> … … 121 121 <div class="slideshow-group"> 122 122 123 <div class="slideshow-label"><?php _e('URL', 'slideshow- plugin'); ?></div>123 <div class="slideshow-label"><?php _e('URL', 'slideshow-jquery-image-gallery'); ?></div> 124 124 <input type="text" name="<?php echo $name; ?>[url]" value="<?php echo $url; ?>" style="width: 100%;" /> 125 125 126 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow- plugin'); ?></div>126 <div class="slideshow-label slideshow-left"><?php _e('Open URL in', 'slideshow-jquery-image-gallery'); ?></div> 127 127 <select name="<?php echo $name; ?>[urlTarget]" class="slideshow-right"> 128 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow- plugin'); ?></option>129 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow- plugin'); ?></option>128 <option value="_self" <?php selected('_self', $target); ?>><?php _e('Same window', 'slideshow-jquery-image-gallery'); ?></option> 129 <option value="_blank" <?php selected('_blank', $target); ?>><?php _e('New window', 'slideshow-jquery-image-gallery'); ?></option> 130 130 </select> 131 131 <div class="clear"></div> 132 132 133 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow- plugin'); ?></div>133 <div class="slideshow-label slideshow-left"><?php _e('Don\'t let search engines follow link', 'slideshow-jquery-image-gallery'); ?></div> 134 134 <input type="checkbox" name="<?php echo $name; ?>[noFollow]" value="" <?php checked($noFollow); ?> class="slideshow-right" /> 135 135 <div class="clear"></div> … … 138 138 139 139 <div class="slideshow-group slideshow-delete-slide"> 140 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>140 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 141 141 </div> 142 142 -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginSlideshowSlide/backend_video.php
r1226951 r1247669 26 26 <div class="slide-icon video-slide-icon"></div> 27 27 <div class="slide-title"> 28 <?php _e('Video slide', 'slideshow- plugin'); ?>28 <?php _e('Video slide', 'slideshow-jquery-image-gallery'); ?> 29 29 </div> 30 30 <div class="clear"></div> … … 35 35 <div class="slideshow-group"> 36 36 37 <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow- plugin'); ?></div>37 <div class="slideshow-label"><?php _e('Youtube Video ID', 'slideshow-jquery-image-gallery'); ?></div> 38 38 <input type="text" name="<?php echo $name; ?>[videoId]" value="<?php echo $videoId; ?>" style="width: 100%;" /> 39 39 … … 42 42 <div class="slideshow-group"> 43 43 44 <div class="slideshow-label"><?php _e('Show related videos', 'slideshow- plugin'); ?></div>45 <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="true" <?php checked('true', $showRelatedVideos); ?>><?php _e('Yes', 'slideshow- plugin'); ?></label>46 <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="false" <?php checked('false', $showRelatedVideos); ?>><?php _e('No', 'slideshow- plugin'); ?></label>44 <div class="slideshow-label"><?php _e('Show related videos', 'slideshow-jquery-image-gallery'); ?></div> 45 <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="true" <?php checked('true', $showRelatedVideos); ?>><?php _e('Yes', 'slideshow-jquery-image-gallery'); ?></label> 46 <label><input type="radio" name="<?php echo $name; ?>[showRelatedVideos]" value="false" <?php checked('false', $showRelatedVideos); ?>><?php _e('No', 'slideshow-jquery-image-gallery'); ?></label> 47 47 48 48 </div> 49 49 50 50 <div class="slideshow-group slideshow-delete-slide"> 51 <span><?php _e('Delete slide', 'slideshow- plugin'); ?></span>51 <span><?php _e('Delete slide', 'slideshow-jquery-image-gallery'); ?></span> 52 52 </div> 53 53 -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginUpload/upload-button.php
r761395 r1247669 1 <input type="button" id="upload_image_button" class="button" value="<?php _e('Upload/Manage Images', 'slideshow- plugin'); ?>" />1 <input type="button" id="upload_image_button" class="button" value="<?php _e('Upload/Manage Images', 'slideshow-jquery-image-gallery'); ?>" /> -
slideshow-jquery-image-gallery/trunk/views/SlideshowPluginWidget/form.php
r761395 r1247669 1 1 <p> 2 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', 'slideshow- plugin'); ?></label>2 <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', 'slideshow-jquery-image-gallery'); ?></label> 3 3 <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo htmlspecialchars($instance['title']); ?>" style="width:100%" /> 4 4 </p> 5 5 6 6 <p> 7 <label for="<?php echo $this->get_field_id('slideshowId'); ?>"><?php _e('Slideshow', 'slideshow- plugin'); ?></label>7 <label for="<?php echo $this->get_field_id('slideshowId'); ?>"><?php _e('Slideshow', 'slideshow-jquery-image-gallery'); ?></label> 8 8 <select class="widefat" id="<?php echo $this->get_field_id('slideshowId'); ?>" name="<?php echo $this->get_field_name('slideshowId'); ?>" value="<?php echo (is_numeric($instance['slideshowId']))? $instance['slideshowId'] : ''; ?>" style="width:100%"> 9 <option value="-1" <?php selected($instance['slideshowId'], -1); ?>><?php _e('Random Slideshow', 'slideshow- plugin'); ?></option>9 <option value="-1" <?php selected($instance['slideshowId'], -1); ?>><?php _e('Random Slideshow', 'slideshow-jquery-image-gallery'); ?></option> 10 10 <?php if(count($slideshows) > 0): ?> 11 11 <?php foreach($slideshows as $slideshow): ?> 12 <option value="<?php echo $slideshow->ID ?>" <?php selected($instance['slideshowId'], $slideshow->ID); ?>><?php echo !empty($slideshow->post_title) ? $slideshow->post_title : __('Untitled slideshow', 'slideshow- plugin'); ?></option>12 <option value="<?php echo $slideshow->ID ?>" <?php selected($instance['slideshowId'], $slideshow->ID); ?>><?php echo !empty($slideshow->post_title) ? $slideshow->post_title : __('Untitled slideshow', 'slideshow-jquery-image-gallery'); ?></option> 13 13 <?php endforeach; ?> 14 14 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.