Plugin Directory

Changeset 1003661


Ignore:
Timestamp:
10/08/2014 09:40:01 AM (11 years ago)
Author:
pdamsten
Message:

adding icon and giving room for sharing icons

Location:
fullscreen-galleria
Files:
4 added
1 deleted
2 edited
13 copied

Legend:

Unmodified
Added
Removed
  • fullscreen-galleria/tags/1.4.9/galleria-fs.php

    r919149 r1003661  
    55Plugin URI: http://torturedmind.org/
    66Description: Fullscreen gallery for Wordpress
    7 Version: 1.4.7
     7Version: 1.4.9
    88Author: Petri Damstén
    99Author URI: http://torturedmind.org/
     
    1212******************************************************************************/
    1313
    14 $fsg_ver = '1.4.7';
     14$fsg_ver = '1.4.9';
    1515$fsg_db_key = 'fsg_plugin_settings';
    1616
     
    535535
    536536    if (!empty($postid)) {
    537               $photos = &get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
     537              $photos = get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
    538538                'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    539539              'orderby' => $orderby));
    540540    } else {
    541541      if (!empty($include)) {
    542         $photos = &get_posts(array('post_type' => 'attachment',
     542        $photos = get_posts(array('post_type' => 'attachment',
    543543            'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby,
    544544            'include' => $include));
    545545      } else {
    546         $photos = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
     546        $photos = get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
    547547            'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    548548            'orderby' => $orderby));
     
    580580
    581581    if (!empty($postid)) {
    582           $photos = &get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
     582          $photos = get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
    583583            'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    584584          'orderby' => $orderby));
     
    591591    } else {
    592592      if (!empty($include)) {
    593         $photos = &get_posts(array('post_type' => 'attachment',
     593        $photos = get_posts(array('post_type' => 'attachment',
    594594            'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby,
    595595            'include' => $include));
     
    598598        $imgid = 0;
    599599      } else {
    600         $photos = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
     600        $photos = get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
    601601            'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    602602            'orderby' => $orderby));
     
    880880            $this->share_img_url = $val['permalink'];
    881881            $i = 0;
    882             $div = '<div class="galleria-layeritem sharedaddy sd-sharing-enabled">';
     882            $div = '<div style="padding-bottom: 20px;"></div>'; # Give room for the sharing buttons
     883            $div .= '<div class="galleria-layeritem sharedaddy sd-sharing-enabled">';
    883884            $div .= '<div class="robots-nocontent sd-block sd-social sd-social-icon sd-sharing">';
    884885            $div .= '<div class="sd-content">';
     
    946947
    947948    #error_log('----------------------------------------------------------');
     949    #error_log($content);
    948950    $links = $this->links($content);
    949951    #$this->ob_log($links);
     
    966968          #error_log('* id: '.$id);
    967969          if ($id != NULL) {
    968             $photos = &get_posts(array('post_type' => 'attachment',
     970            $photos = get_posts(array('post_type' => 'attachment',
    969971                'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID',
    970972                'include' => $id));
  • fullscreen-galleria/tags/1.4.9/readme.txt

    r919149 r1003661  
    66Tags: galleria, gallery, photography, images
    77Requires at least: 3.6
    8 Tested up to: 3.9.1
     8Tested up to: 4.0
    99Stable tag: trunk
    1010License: MIT
     
    8787
    8888== Changelog ==
     89= 1.4.9 =
     90* More space for the sharing icons.
     91* Add plugin icon
     92
     93= 1.4.8 =
     94* Remove more strict warnings.
     95
    8996= 1.4.7 =
    9097* Work with Jetpack 3.0 share buttons.
  • fullscreen-galleria/trunk/galleria-fs.php

    r919149 r1003661  
    55Plugin URI: http://torturedmind.org/
    66Description: Fullscreen gallery for Wordpress
    7 Version: 1.4.7
     7Version: 1.4.9
    88Author: Petri Damstén
    99Author URI: http://torturedmind.org/
     
    1212******************************************************************************/
    1313
    14 $fsg_ver = '1.4.7';
     14$fsg_ver = '1.4.9';
    1515$fsg_db_key = 'fsg_plugin_settings';
    1616
     
    535535
    536536    if (!empty($postid)) {
    537               $photos = &get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
     537              $photos = get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
    538538                'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    539539              'orderby' => $orderby));
    540540    } else {
    541541      if (!empty($include)) {
    542         $photos = &get_posts(array('post_type' => 'attachment',
     542        $photos = get_posts(array('post_type' => 'attachment',
    543543            'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby,
    544544            'include' => $include));
    545545      } else {
    546         $photos = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
     546        $photos = get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
    547547            'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    548548            'orderby' => $orderby));
     
    580580
    581581    if (!empty($postid)) {
    582           $photos = &get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
     582          $photos = get_children(array('post_parent' => $postid, 'post_status' => 'inherit',
    583583            'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    584584          'orderby' => $orderby));
     
    591591    } else {
    592592      if (!empty($include)) {
    593         $photos = &get_posts(array('post_type' => 'attachment',
     593        $photos = get_posts(array('post_type' => 'attachment',
    594594            'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby,
    595595            'include' => $include));
     
    598598        $imgid = 0;
    599599      } else {
    600         $photos = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
     600        $photos = get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
    601601            'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order,
    602602            'orderby' => $orderby));
     
    880880            $this->share_img_url = $val['permalink'];
    881881            $i = 0;
    882             $div = '<div class="galleria-layeritem sharedaddy sd-sharing-enabled">';
     882            $div = '<div style="padding-bottom: 20px;"></div>'; # Give room for the sharing buttons
     883            $div .= '<div class="galleria-layeritem sharedaddy sd-sharing-enabled">';
    883884            $div .= '<div class="robots-nocontent sd-block sd-social sd-social-icon sd-sharing">';
    884885            $div .= '<div class="sd-content">';
     
    946947
    947948    #error_log('----------------------------------------------------------');
     949    #error_log($content);
    948950    $links = $this->links($content);
    949951    #$this->ob_log($links);
     
    966968          #error_log('* id: '.$id);
    967969          if ($id != NULL) {
    968             $photos = &get_posts(array('post_type' => 'attachment',
     970            $photos = get_posts(array('post_type' => 'attachment',
    969971                'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID',
    970972                'include' => $id));
  • fullscreen-galleria/trunk/readme.txt

    r919149 r1003661  
    66Tags: galleria, gallery, photography, images
    77Requires at least: 3.6
    8 Tested up to: 3.9.1
     8Tested up to: 4.0
    99Stable tag: trunk
    1010License: MIT
     
    8787
    8888== Changelog ==
     89= 1.4.9 =
     90* More space for the sharing icons.
     91* Add plugin icon
     92
     93= 1.4.8 =
     94* Remove more strict warnings.
     95
    8996= 1.4.7 =
    9097* Work with Jetpack 3.0 share buttons.
Note: See TracChangeset for help on using the changeset viewer.