Changeset 649989
- Timestamp:
- 01/09/2013 12:32:07 AM (13 years ago)
- Location:
- slideshow-manager
- Files:
-
- 13 added
- 5 edited
-
tags/2.1.0 (added)
-
tags/2.1.0/coin-slider (added)
-
tags/2.1.0/coin-slider/coin-slider-styles.css (added)
-
tags/2.1.0/coin-slider/coin-slider.min.js (added)
-
tags/2.1.0/coin-slider/nav.png (added)
-
tags/2.1.0/icon.png (added)
-
tags/2.1.0/localization (added)
-
tags/2.1.0/localization/slideshow-et.mo (added)
-
tags/2.1.0/localization/slideshow-et.po (added)
-
tags/2.1.0/readme.txt (added)
-
tags/2.1.0/screenshot-1.jpg (added)
-
tags/2.1.0/screenshot-2.jpg (added)
-
tags/2.1.0/slideshow.php (added)
-
trunk/localization/slideshow-et.mo (modified) (previous)
-
trunk/localization/slideshow-et.po (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/screenshot-1.jpg (modified) (previous)
-
trunk/slideshow.php (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
slideshow-manager/trunk/localization/slideshow-et.po
r634363 r649989 2 2 msgstr "" 3 3 "Project-Id-Version: slideshow-manager\n" 4 "POT-Creation-Date: 201 2-12-05 13:41+0200\n"5 "PO-Revision-Date: 201 2-12-05 13:42+0200\n"4 "POT-Creation-Date: 2013-01-09 02:26+0200\n" 5 "PO-Revision-Date: 2013-01-09 02:28+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 17 17 "\\slideshow-manager\n" 18 18 19 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:1 4119 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:154 20 20 msgid "" 21 21 "Are you sure you want to delete this gallery tab and all of the contents?" … … 24 24 "info?" 25 25 26 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:1 4926 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:162 27 27 msgid "Please enter the name for a new gallery tab" 28 28 msgstr "Palun sisesta uue slideshow vahekaardi nimi" 29 29 30 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:1 4930 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:162 31 31 msgid "New tab" 32 32 msgstr "Uus galerii" 33 33 34 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:1 5734 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:170 35 35 msgid "Are you sure you want to delete this picture?" 36 36 msgstr "Oled sa kindel, et soovid pilti kustutada?" 37 37 38 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:2 5138 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:273 39 39 msgid "Wrong file type!" 40 40 msgstr "Vale faili tüüp!" 41 41 42 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:2 6042 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:282 43 43 msgid "The picture you uploaded is too small!" 44 44 msgstr "Üles laetud pilt on liiga väike" 45 45 46 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 28546 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:307 47 47 msgid "Image uploaded successfully" 48 48 msgstr "Pilt edukalt üles laetud" 49 49 50 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:3 0950 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:332 51 51 msgid "Gallery successfully deleted!" 52 52 msgstr "Galerii edukalt kustutatud!" 53 53 54 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:3 5354 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:377 55 55 msgid "Thumbnail" 56 56 msgstr "Ikoon" 57 57 58 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:3 5458 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:378 59 59 msgid "Caption and link address" 60 60 msgstr "Pildi kirjeldus ja lingi aadress" 61 61 62 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:3 6762 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:391 63 63 msgid "Upload" 64 64 msgstr "Lae üles" 65 65 66 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 38966 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:413 67 67 msgid "Update" 68 68 msgstr "Uuenda" 69 69 70 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 39270 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:416 71 71 msgid "Delete" 72 72 msgstr "Kustuta" 73 73 74 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 0374 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:427 75 75 msgid "Slideshow Settings" 76 76 msgstr "Slideshow Seaded" 77 77 78 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 1078 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:434 79 79 msgid "Slide transition effect" 80 80 msgstr "Slaidide ülemineku effekt" 81 81 82 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 2282 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:446 83 83 msgid "Delay between slides" 84 84 msgstr "Viivitus slaidide vahel" 85 85 86 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:423 86 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:447 87 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:524 88 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:542 87 89 msgid "In milliseconds" 88 90 msgstr "Millisekundites" 89 91 90 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 2792 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:451 91 93 msgid "Enable navigation" 92 94 msgstr "Luba navigatsioonimenüü" 93 95 94 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 3496 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:458 95 97 msgid "Pause slideshow on hover" 96 98 msgstr "Peata slideshow hiirega üle liikudes" 97 99 98 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 43100 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:467 99 101 msgid "Advanced Settings" 100 102 msgstr "Täpsemad seaded" 101 103 102 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 43103 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 483104 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:467 105 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:562 104 106 msgid "Show" 105 107 msgstr "Näita" 106 108 107 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 47109 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:471 108 110 msgid "Slideshow width" 109 111 msgstr "Slideshow laius" 110 112 111 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 48112 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 52113 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:472 114 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:477 113 115 msgid "In pixels" 114 116 msgstr "Pixlites" 115 117 116 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 51118 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:476 117 119 msgid "Slideshow height" 118 120 msgstr "Slideshow kõrgus" 119 121 120 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 56122 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:481 121 123 msgid "I want to add slider.js manually" 122 124 msgstr "Lisan slider.js faili ise" 123 125 124 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:4 62126 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:488 125 127 msgid "I want to add slider.css manually" 126 128 msgstr "Lisan slider.css faili ise" 127 129 128 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:470 130 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:495 131 msgid "Disable on handheld devices" 132 msgstr "Keela mobiilsetel seadmetel" 133 134 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:497 135 msgid "Disable slideshow on handheld devices such as mobiles and tablets" 136 msgstr "Keela slideshow mobiilidele ja tabletitel" 137 138 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:503 139 msgid "Squares per width" 140 msgstr "Kaste pikkuse kohta" 141 142 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:506 143 msgid "Setting these too high might affect the performance on older devices" 144 msgstr "Liiga suur arv võib vanadel seadmetel probleeme tekitada" 145 146 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:512 147 msgid "Squares per height" 148 msgstr "Kaste laiuse kohta" 149 150 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:521 151 msgid "Delay beetwen squares" 152 msgstr "Viivitus slaidide vahel" 153 154 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:530 155 msgid "Title's opacity" 156 msgstr "Pealkirja läbipaistvus" 157 158 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:533 159 msgid "Minimum 0 (transparent), maximum 1.0" 160 msgstr "Miinimum 0 (läbipaistev), maksimum 1.0" 161 162 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:539 163 msgid "Speed of title appereance" 164 msgstr "Pealkirja ilmumise kiirus" 165 166 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:549 129 167 msgid "Delete active gallery tab" 130 168 msgstr "Kustuta aktiivne galerii vahekaart" 131 169 132 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 473170 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:552 133 171 msgid "This will delete currently active gallery tab and all of its contents" 134 172 msgstr "Kustutab hetkel aktiivse galerii vahekaardi ja selle sisu" 135 173 136 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 480174 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:559 137 175 msgid "Save Settings" 138 176 msgstr "Salvesta seaded" 139 177 140 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 483178 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:562 141 179 msgid "How to use" 142 180 msgstr "Kuidas kasutada" 143 181 144 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 488182 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:567 145 183 msgid "Use as a shortcode:" 146 184 msgstr "Kasuta shortcode:" 147 185 148 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php: 493186 #: C:\xampp\htdocs\cleanWP\wp-content\plugins\slideshow-manager/slideshow.php:572 149 187 msgid "Or as a function:" 150 188 msgstr "Või funktsioonina:" 151 152 #~ msgid "Or in your theme file:"153 #~ msgstr "Või oma teema failis: "154 155 #~ msgid "Use PHP function in your theme:"156 #~ msgstr "Kasuta PHP fuktsiooni oma teemas:"157 158 #~ msgid "Or use shortcode in WYSIWYG editor instead:"159 #~ msgstr "Või shortcode WYSIWYG redaktoris:" -
slideshow-manager/trunk/readme.txt
r637690 r649989 4 4 Tags: slideshow, slideshow manage, gallery, coin slider, nivo slider 5 5 Requires at least: 3.2.1 6 Tested up to: 3. 4.27 Stable tag: 2. 0.26 Tested up to: 3.5 7 Stable tag: 2.1.0 8 8 License: GPLv2 9 9 … … 77 77 - After disabling and deleting the plugin, it will also clean up the created tables 78 78 79 = 2.1 = 80 - More options 81 - Bug fixes 82 79 83 == Upgrade Notice == 80 84 -
slideshow-manager/trunk/slideshow.php
r635303 r649989 5 5 Description: Slideshow Manager for Wordpress 6 6 Author: Rasmus Johanson 7 Version: 2. 0.27 Version: 2.1.0 8 8 Author URI: http://github.com/johanson 9 9 License: GPLv2 … … 21 21 along with this program; if not, write to the Free Software 22 22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 23 24 */ 25 26 /* hmm? */ 27 global $slideshow_manager_show_settings = TRUE; 28 global $slideshow_manager_show_advanced_settings = TRUE; 29 global $slideshow_manager_show_howto = TRUE; 24 30 25 31 global $table_name; … … 30 36 31 37 // Get's called when plugin is installed or reinstalled 32 register_activation_hook(__FILE__, ' first_install');33 34 function first_install() {38 register_activation_hook(__FILE__, 'plugin_activation'); 39 40 function plugin_activation() { 35 41 global $wpdb, $table_name; 36 42 … … 50 56 dbDelta($sql); 51 57 58 // delete_option('slideshow_option'); 59 52 60 // Create default settings 53 61 $default_settings = array( … … 59 67 "height" => "480", 60 68 "jsmanually" => "false", 61 "cssmanually" => "false"); 62 63 delete_option('slideshow_option'); 69 "cssmanually" => "false", 70 "spw" => "7", 71 "sph" => "5", 72 "sDelay" => "30", 73 "opacity" => "1", 74 "titleSpeed" => "500", 75 "mobiles_allowed" => "false"); 76 64 77 update_option('slideshow_option', $default_settings); 65 78 } … … 240 253 241 254 $upload = wp_handle_upload($_FILES['async-upload'], 0); 255 242 256 $url = $upload['url']; 243 257 $file = $upload['file']; 244 258 $type = $upload['type']; 259 260 // If there is an error with upload, display it to user 261 if(isset($upload['error'])) { 262 echo '<div class="error" style="margin: 0px!important; border: 1px solid #ccc!important; border-radius: 0px;"><p>'; 263 echo $upload['error']; 264 echo '</p></div>'; 265 return; 266 } 245 267 246 268 // Get upload dir … … 293 315 global $wpdb, $table_name; 294 316 317 // Navigate between tabs 295 318 if(isset($_GET['tab'])) { 296 319 $active_tab = $_GET['tab']; … … 299 322 } 300 323 301 324 // Delete tab (gallery) 302 325 if(($_GET['action']) == "delete_gallery") { 303 326 … … 311 334 } 312 335 336 // Upload new file 313 337 if($_REQUEST['action'] == 'wp_handle_upload') { 314 338 slideshow_upload($arg = $active_tab); … … 448 472 <td><input type="number" name="slideshow_option[width]" value="<?php echo $options['width']; ?>"><span class="description" style="margin-left: 10px;"><?php _e('In pixels', 'slideshow'); ?></span></td> 449 473 </tr> 474 450 475 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 451 476 <th scope="row"><?php _e('Slideshow height', 'slideshow'); ?></th> … … 459 484 </td> 460 485 </tr> 486 461 487 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 462 488 <th scope="row"><?php _e('I want to add slider.css manually', 'slideshow'); ?></th> … … 465 491 </td> 466 492 </tr> 493 494 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 495 <th scope="row"><?php _e('Disable on handheld devices', 'slideshow'); ?></th> 496 <td> 497 <input name="slideshow_option[mobiles_allowed]" type="checkbox" value="true" <?php checked('true', $options['mobiles_allowed']); ?>> <span class="description" style="margin-left: 10px;"><?php _e('Disable slideshow on handheld devices such as mobiles and tablets', 'slideshow'); ?></span> 498 </td> 499 </tr> 500 501 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 502 <th scope="row"> 503 <?php _e('Squares per width', 'slideshow'); ?> 504 </th> 505 <td> 506 <input type="number" name="slideshow_option[spw]" value="<?php echo $options['spw']; ?>"> <span class="description"><?php _e('Setting these too high might affect the performance on older devices', 'slideshow'); ?></span> 507 </td> 508 </tr> 509 510 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 511 <th scope="row"> 512 <?php _e('Squares per height', 'slideshow'); ?> 513 </th> 514 <td> 515 <input type="number" name="slideshow_option[sph]" value="<?php echo $options['sph']; ?>"> 516 </td> 517 </tr> 518 519 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 520 <th scope="row"> 521 <?php _e('Delay beetwen squares', 'slideshow'); ?> 522 </th> 523 <td> 524 <input type="number" name="slideshow_option[sDelay]" value="<?php echo $options['sDelay']; ?>"> <span class="description"><?php _e('In milliseconds', 'slideshow'); ?></span> 525 </td> 526 </tr> 527 528 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 529 <th scope="row"> 530 <?php _e("Title's opacity", 'slideshow'); ?> 531 </th> 532 <td> 533 <input type="number" name="slideshow_option[opacity]" max="1" min="0" step="0.1" value="<?php echo $options['opacity']; ?>"> <span class="description"><?php _e('Minimum 0 (transparent), maximum 1.0', 'slideshow'); ?></span> 534 </td> 535 </tr> 536 537 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> 538 <th scope="row"> 539 <?php _e('Speed of title appereance', 'slideshow'); ?> 540 </th> 541 <td> 542 <input type="number" name="slideshow_option[titleSpeed]" value="<?php echo $options['titleSpeed']; ?>"> <span class="description"><?php _e('In milliseconds', 'slideshow'); ?></span> 543 </td> 544 </tr> 545 467 546 <?php if ($active_tab !== 'default') { /* Default gallery cannot be deleted */ ?> 468 547 <tr valign="top" style="border-bottom: 1px solid #DFDFDF;"> … … 525 604 <script type="text/javascript"> 526 605 jQuery(document).ready(function($) { 527 $('#coin-slider').coinslider({ 528 effect: '<?php echo $options['fx']; ?>', 529 width: <?php echo $options['width']; ?>, 530 height: <?php echo $options['height']; ?>, 531 spw: 7, 532 sph: 5, 533 delay: <?php echo $options['delay']; ?>, 534 sDelay: 30, 535 opacity: 1, 536 titleSpeed: 500, 537 links : true, 538 navigation: <?php echo $options['navigation']; ?>, 539 hoverPause: <?php echo $options['hoverPause']; ?> 540 541 }); 606 if (/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)) { 607 <?php if ($options['mobiles_allowed'] == true) { ?> 608 return false; 609 <?php } ?> 610 } else { 611 $('#coin-slider').coinslider({ 612 effect: '<?php echo $options['fx']; ?>', 613 width: <?php echo $options['width']; ?>, 614 height: <?php echo $options['height']; ?>, 615 spw: <?php echo $options['spw']; ?>, 616 sph: <?php echo $options['sph']; ?>, 617 delay: <?php echo $options['delay']; ?>, 618 sDelay: <?php echo $options['sDelay']; ?>, 619 opacity: <?php echo $options['opacity']; ?>, 620 titleSpeed: <?php echo $options['titleSpeed']; ?>, 621 navigation: <?php echo $options['navigation']; ?>, 622 hoverPause: <?php echo $options['hoverPause']; ?> 623 624 }); 625 } 542 626 }); 543 627 </script> 544 628 545 <div id="coin-slider" >629 <div id="coin-slider" style="width: <?php echo $options['width']; ?>px; height: <?php echo $options['height']; ?>px;"> 546 630 <?php 547 631 … … 561 645 562 646 function url($var1, $var2){ 563 564 if ($var2 == 'http://' || $var2 == '') {647 648 if ($var2 == 'http://' || $var2 == '') { 565 649 $output = '<a href="javascript:void(0);">'. 566 650 "\n"; 567 651 } 568 652 569 if ($var1 == 'start') {653 if ($var1 == 'start') { 570 654 if($var2 == 'http://' || $var2 == '') { 571 655 $output = '<a href="javascript:void(0);">'. … … 576 660 } 577 661 } 578 if($var1 == 'end') { 662 663 if ($var1 == 'end') { 579 664 $output = '</a>'. 580 665 "\n"; 581 666 } 582 583 667 return $output; 584 668 } … … 591 675 register_uninstall_hook(__FILE__, 'delete_slideshow_database'); 592 676 } 593 /** 594 * Delete options in database 595 */ 677 678 // Delete leftovers in database 596 679 function delete_slideshow_database() { 597 680 global $wpdb, $table_name;
Note: See TracChangeset
for help on using the changeset viewer.