Changeset 32029 for extensions


Ignore:
Timestamp:
Nov 15, 2019, 6:23:24 AM (4 years ago)
Author:
SergeD
Message:

version 1.0.21 - see changelog for details

Location:
extensions/GDThumb
Files:
1 added
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/GDThumb/changelog.txt

    r31734 r32029  
    1616Copyright (C) 2009-2014 Serguei Dosyukov
    1717
    18 Compatible: PW 2.6, 2.7, 2.8
     18Compatible: PW 2.6, 2.7, 2.8, 2.9, 2.10
    1919Minimum requirement: PW 2.6.3
    2020
     
    2626
    2727=== Changelog ===
     28version 1.0.21
     29+ Support for PIWIGO 2.9 and 2.10 verified
     30+ Deprecated maintain.inc.php
     31+ Switched to use FantAwesome from GreyDragon when used
     32
    2833version 1.0.20
    2934+ Added "album" class to <li> elements for albums
  • extensions/GDThumb/css/gdthumb.css

    r31245 r32029  
    4545ul.thumbnails .gdthumb .thumbLegend.overlay-ex .thumbInfo  { position: absolute; bottom: 10px; left: 10px; right: 10px; padding-top: 6px; border-top: 1px solid #aaa; text-align: left; }
    4646ul.thumbnails .gdthumb .thumbLegend.overlay-ex .thumbInfo span { display: inline-block; }
     47
    4748ul.thumbnails .gdthumb .overlay-ex.thumbLegend .thumbInfo .item-num  { background-color: #cc3333; min-width: 15px; height: 16px; display: block; color: #fff; float: left; line-height: 16px; padding: 1px; padding-top: 0px; padding-right: 4px; padding-left: 4px; margin-top: 5px; margin-right: 6px; font-size: 10px; text-align: center; }
    4849ul.thumbnails .gdthumb .overlay-ex.thumbLegend .thumbInfo .hit-num   { background-color: #036FE5; min-width: 15px; height: 16px; display: block; color: #fff; float: left; line-height: 16px; padding: 1px; padding-top: 0px; padding-right: 4px; padding-left: 4px; margin-top: 4px; margin-right: 6px; font-size: 10px; text-align: center; }
    4950ul.thumbnails .gdthumb .overlay-ex.thumbLegend .thumbInfo .rank-num  { float: right; margin-top: 2px; vertical-align: middle; height: 20px; line-height: 20px; }
    50 ul.thumbnails .gdthumb .overlay-ex.thumbLegend .thumbInfo .glyphicon { padding-top: 3px; font-size: 17px; }
     51ul.thumbnails .gdthumb .overlay-ex.thumbLegend .thumbInfo .fas { padding-top: 4px; font-size: 16px; }
    5152
    5253ul.thumbnails.nowrap .gdthumb .thumbLegend { white-space: nowrap; overflow: hidden; height: auto; }
  • extensions/GDThumb/js/gdthumb.js

    r31245 r32029  
    256256
    257257    // Last line does not need to be cropped
    258     for (j=0;j<thumb_process.length;j++) {
    259       GDThumb.resize(jQuery('ul.thumbnails img.thumbnail').eq(thumb_process[j].index), thumb_process[j].real_width, thumb_process[j].real_height, thumb_process[j].width, last_height, false);
    260     }
     258    for (j = 0; j < thumb_process.length; j++) {
     259                        GDThumb.resize(jQuery('ul.thumbnails img.thumbnail').eq(thumb_process[j].index), thumb_process[j].real_width, thumb_process[j].real_height, thumb_process[j].width, last_height, false);
     260                }
    261261
    262262    if (main_width != jQuery('ul.thumbnails').width()) {
  • extensions/GDThumb/main.inc.php

    r31734 r32029  
    22/*
    33Plugin Name: gdThumb
    4 Version: 1.0.20
     4Version: 1.0.21
    55Description: Apply Masonry style to album or image thumbs
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=771
     
    1919// | Plugin constants                                               |
    2020// +-----------------------------------------------------------------------+
    21 define('GDTHUMB_VERSION', '1.0.20');
     21define('GDTHUMB_VERSION', '1.0.21');
    2222define('GDTHUMB_ID',      basename(dirname(__FILE__)));
    2323define('GDTHUMB_PATH' ,   PHPWG_PLUGINS_PATH . GDTHUMB_ID . '/');
  • extensions/GDThumb/template/admin.tpl

    r31245 r32029  
    9696</p>
    9797</form>
    98 
    9998<fieldset id="generate_cache">
    10099  <legend>{'Pre-cache thumbnails'|@translate}</legend>
  • extensions/GDThumb/template/gdthumb_cat.tpl

    r31734 r32029  
    2121        <span class="thumbInfo">
    2222          <span class="item-num">{$cat.count_images}</span>
    23           <span class="glyphicon glyphicon-th-large grid-gallery-icon"></span>
     23          <span class="fas fa-th-large grid-gallery-icon"></span>
    2424          {if !empty($cat.icon_ts)}
    25           <span class="new-thumb glyphicon glyphicon-asterisk" title="{$cat.icon_ts.TITLE}" alt="(!)"></span>
     25          <span class="new-thumb fas fa-asterisk" title="{$cat.icon_ts.TITLE}" alt="(!)"></span>
    2626          {/if}
    2727        </span>
  • extensions/GDThumb/template/gdthumb_thumb.tpl

    r31245 r32029  
    3232      <span class="thumbInfo">
    3333        <span class="hit-num">{$thumbnail.hit}</span>
    34         <span class="glyphicon {if $media_type=="video"}glyphicon-film{elseif $media_type=="music"}glyphicon-music{elseif $media_type=="doc"}glyphicon-file{elseif $media_type=="pdf"}glyphicon-book{else}glyphicon-picture{/if}"></span>
     34        <span class="fas {if $media_type=="video"}fa-file-video{elseif $media_type=="music"}fa-file-audio{elseif $media_type=="doc"}fa-file-word{elseif $media_type=="pdf"}fa-file-pdf{else}fa-image{/if}"></span>
    3535        {if !empty($thumbnail.icon_ts)}
    36         <span class="new-thumb glyphicon glyphicon-asterisk" title="{$thumbnail.icon_ts.TITLE}" alt="(!)"></span>
     36        <span class="new-thumb fas fa-asterisk" title="{$thumbnail.icon_ts.TITLE}" alt="(!)"></span>
    3737        {/if}
    3838        {if $thumbnail.rating_score > 0}
    39         <span class="rank-num"><i class="glyphicon glyphicon-star"></i>{$thumbnail.rating_score|string_format:"%d"}</span>
     39        <span class="rank-num"><i class="fas fa-star"></i>{$thumbnail.rating_score|string_format:"%d"}</span>
    4040        {/if}
    4141      </span>
Note: See TracChangeset for help on using the changeset viewer.