Changeset 919149
- Timestamp:
- 05/22/2014 04:29:05 AM (12 years ago)
- Location:
- fullscreen-galleria
- Files:
-
- 1 deleted
- 3 edited
- 13 copied
-
tags/1.4.7 (copied) (copied from fullscreen-galleria/trunk)
-
tags/1.4.7/fs-map-b.png (copied) (copied from fullscreen-galleria/trunk/fs-map-b.png)
-
tags/1.4.7/fs-map.png (copied) (copied from fullscreen-galleria/trunk/fs-map.png)
-
tags/1.4.7/galleria-1.2.9.min.js (deleted)
-
tags/1.4.7/galleria-1.3.5.min.js (copied) (copied from fullscreen-galleria/trunk/galleria-1.3.5.min.js)
-
tags/1.4.7/galleria-fs-b.css (copied) (copied from fullscreen-galleria/trunk/galleria-fs-b.css)
-
tags/1.4.7/galleria-fs-icons.svg (copied) (copied from fullscreen-galleria/trunk/galleria-fs-icons.svg)
-
tags/1.4.7/galleria-fs-theme.js (copied) (copied from fullscreen-galleria/trunk/galleria-fs-theme.js)
-
tags/1.4.7/galleria-fs-w.css (copied) (copied from fullscreen-galleria/trunk/galleria-fs-w.css)
-
tags/1.4.7/galleria-fs.css (copied) (copied from fullscreen-galleria/trunk/galleria-fs.css) (1 diff)
-
tags/1.4.7/galleria-fs.js (copied) (copied from fullscreen-galleria/trunk/galleria-fs.js)
-
tags/1.4.7/galleria-fs.php (copied) (copied from fullscreen-galleria/trunk/galleria-fs.php) (7 diffs)
-
tags/1.4.7/make-icons.sh (copied) (copied from fullscreen-galleria/trunk/make-icons.sh)
-
tags/1.4.7/readme.txt (copied) (copied from fullscreen-galleria/trunk/readme.txt) (2 diffs)
-
trunk/galleria-fs.css (modified) (1 diff)
-
trunk/galleria-fs.php (modified) (7 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fullscreen-galleria/tags/1.4.7/galleria-fs.css
r873216 r919149 28 28 background-repeat: no-repeat; 29 29 z-index: 10000; 30 } 31 32 .galleria-layeritem .sd-content { 33 margin-top: 15px !important; 30 34 } 31 35 -
fullscreen-galleria/tags/1.4.7/galleria-fs.php
r886364 r919149 5 5 Plugin URI: http://torturedmind.org/ 6 6 Description: Fullscreen gallery for Wordpress 7 Version: 1.4. 67 Version: 1.4.7 8 8 Author: Petri Damstén 9 9 Author URI: http://torturedmind.org/ … … 12 12 ******************************************************************************/ 13 13 14 $fsg_ver = '1.4. 6';14 $fsg_ver = '1.4.7'; 15 15 $fsg_db_key = 'fsg_plugin_settings'; 16 16 … … 740 740 $postid = "fullscreen_galleria_postid=".$this->firstpostid.";\n"; 741 741 $attachment = "fullscreen_galleria_attachment=false;\n"; 742 if ($this->options['show_attachment'] && get_post_type($post->ID) == "attachment") { 743 $type = get_post_mime_type($post->ID); 744 switch ($type) { 745 case 'image/jpeg': 746 case 'image/png': 747 case 'image/gif': 748 $attachment = "fullscreen_galleria_attachment=true;\n"; 749 break; 742 if (isset($post)) { 743 if ($this->options['show_attachment'] && get_post_type($post->ID) == "attachment") { 744 $type = get_post_mime_type($post->ID); 745 switch ($type) { 746 case 'image/jpeg': 747 case 'image/png': 748 case 'image/gif': 749 $attachment = "fullscreen_galleria_attachment=true;\n"; 750 break; 751 } 750 752 } 751 753 } … … 840 842 } 841 843 } 842 error_log($t.' '.$l.' '.$c);844 //error_log($t.' '.$l.' '.$c); 843 845 $link .= "<div class=\"galleria-layeritem\">". 844 846 "<a target=\"_blank\" title=\"".$t."\" href=\"".$l."\">". … … 878 880 $this->share_img_url = $val['permalink']; 879 881 $i = 0; 880 $div = '<div class="galleria-layeritem sharedaddy sd-sharing-enabled '.881 'robots-nocontent sd-block sd-social sd-social-icon sd-sharing '.882 'sd-content">';882 $div = '<div class="galleria-layeritem sharedaddy sd-sharing-enabled">'; 883 $div .= '<div class="robots-nocontent sd-block sd-social sd-social-icon sd-sharing">'; 884 $div .= '<div class="sd-content">'; 883 885 $share = $div.'<ul>'; 884 886 foreach ($enabled['visible'] as $id => $service) { … … 886 888 $service->get_display(get_post($val['post_id'])).'</li>'; 887 889 ++$i; 888 if ($i % 2 == 0) {889 $share .= '</ul></div>'.$div.'<ul>';890 }891 890 } 892 $share .= '</ul></div> ';891 $share .= '</ul></div></div></div>'; 893 892 $this->share_img_url = ''; 894 893 //$this->ob_log($share); … … 929 928 } 930 929 // Get children (images) of the post 931 $children = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',930 $children = get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit', 932 931 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 933 932 'orderby' => 'menu_order ID')); 934 933 if (empty($children)) { 935 934 if (substr(get_post_mime_type($post->ID), 0, 5) == 'image') { 936 $children = &get_posts(array('post_type' => 'attachment',935 $children = get_posts(array('post_type' => 'attachment', 937 936 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID', 938 937 'include' => $post->ID)); -
fullscreen-galleria/tags/1.4.7/readme.txt
r895614 r919149 6 6 Tags: galleria, gallery, photography, images 7 7 Requires at least: 3.6 8 Tested up to: 3.9 8 Tested up to: 3.9.1 9 9 Stable tag: trunk 10 10 License: MIT … … 87 87 88 88 == Changelog == 89 = 1.4.7 = 90 * Work with Jetpack 3.0 share buttons. 91 * Check for NULL to remove some warnings. 92 * Remove "Strict Standards: Only variables should be assigned by reference" warnings. 93 89 94 = 1.4.6 = 90 95 * round numbers. Patch from: https://gist.github.com/asquelt/9624792 -
fullscreen-galleria/trunk/galleria-fs.css
r873216 r919149 28 28 background-repeat: no-repeat; 29 29 z-index: 10000; 30 } 31 32 .galleria-layeritem .sd-content { 33 margin-top: 15px !important; 30 34 } 31 35 -
fullscreen-galleria/trunk/galleria-fs.php
r886364 r919149 5 5 Plugin URI: http://torturedmind.org/ 6 6 Description: Fullscreen gallery for Wordpress 7 Version: 1.4. 67 Version: 1.4.7 8 8 Author: Petri Damstén 9 9 Author URI: http://torturedmind.org/ … … 12 12 ******************************************************************************/ 13 13 14 $fsg_ver = '1.4. 6';14 $fsg_ver = '1.4.7'; 15 15 $fsg_db_key = 'fsg_plugin_settings'; 16 16 … … 740 740 $postid = "fullscreen_galleria_postid=".$this->firstpostid.";\n"; 741 741 $attachment = "fullscreen_galleria_attachment=false;\n"; 742 if ($this->options['show_attachment'] && get_post_type($post->ID) == "attachment") { 743 $type = get_post_mime_type($post->ID); 744 switch ($type) { 745 case 'image/jpeg': 746 case 'image/png': 747 case 'image/gif': 748 $attachment = "fullscreen_galleria_attachment=true;\n"; 749 break; 742 if (isset($post)) { 743 if ($this->options['show_attachment'] && get_post_type($post->ID) == "attachment") { 744 $type = get_post_mime_type($post->ID); 745 switch ($type) { 746 case 'image/jpeg': 747 case 'image/png': 748 case 'image/gif': 749 $attachment = "fullscreen_galleria_attachment=true;\n"; 750 break; 751 } 750 752 } 751 753 } … … 840 842 } 841 843 } 842 error_log($t.' '.$l.' '.$c);844 //error_log($t.' '.$l.' '.$c); 843 845 $link .= "<div class=\"galleria-layeritem\">". 844 846 "<a target=\"_blank\" title=\"".$t."\" href=\"".$l."\">". … … 878 880 $this->share_img_url = $val['permalink']; 879 881 $i = 0; 880 $div = '<div class="galleria-layeritem sharedaddy sd-sharing-enabled '.881 'robots-nocontent sd-block sd-social sd-social-icon sd-sharing '.882 'sd-content">';882 $div = '<div class="galleria-layeritem sharedaddy sd-sharing-enabled">'; 883 $div .= '<div class="robots-nocontent sd-block sd-social sd-social-icon sd-sharing">'; 884 $div .= '<div class="sd-content">'; 883 885 $share = $div.'<ul>'; 884 886 foreach ($enabled['visible'] as $id => $service) { … … 886 888 $service->get_display(get_post($val['post_id'])).'</li>'; 887 889 ++$i; 888 if ($i % 2 == 0) {889 $share .= '</ul></div>'.$div.'<ul>';890 }891 890 } 892 $share .= '</ul></div> ';891 $share .= '</ul></div></div></div>'; 893 892 $this->share_img_url = ''; 894 893 //$this->ob_log($share); … … 929 928 } 930 929 // Get children (images) of the post 931 $children = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',930 $children = get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit', 932 931 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 933 932 'orderby' => 'menu_order ID')); 934 933 if (empty($children)) { 935 934 if (substr(get_post_mime_type($post->ID), 0, 5) == 'image') { 936 $children = &get_posts(array('post_type' => 'attachment',935 $children = get_posts(array('post_type' => 'attachment', 937 936 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID', 938 937 'include' => $post->ID)); -
fullscreen-galleria/trunk/readme.txt
r895614 r919149 6 6 Tags: galleria, gallery, photography, images 7 7 Requires at least: 3.6 8 Tested up to: 3.9 8 Tested up to: 3.9.1 9 9 Stable tag: trunk 10 10 License: MIT … … 87 87 88 88 == Changelog == 89 = 1.4.7 = 90 * Work with Jetpack 3.0 share buttons. 91 * Check for NULL to remove some warnings. 92 * Remove "Strict Standards: Only variables should be assigned by reference" warnings. 93 89 94 = 1.4.6 = 90 95 * round numbers. Patch from: https://gist.github.com/asquelt/9624792
Note: See TracChangeset
for help on using the changeset viewer.