Plugin Directory

Changeset 3400293


Ignore:
Timestamp:
11/21/2025 09:27:48 AM (4 months ago)
Author:
supsystic.com
Message:

version 1.15.32

Location:
gallery-by-supsystic
Files:
947 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • gallery-by-supsystic/trunk/index.php

    r3313010 r3400293  
    44 * Plugin Name: Photo Gallery by Supsystic
    55 * Description: Easy to use Gallery by Supsystic with professional gallery templates. Show off your best design, photography and creative work
    6  * Version: 1.15.31
     6 * Version: 1.15.32
    77 * Author: supsystic.com
    88 * Author URI: https://supsystic.com
     
    5151}
    5252
    53 $supsysticGallery = new SupsysticGallery("1.15.31");
     53$supsysticGallery = new SupsysticGallery("1.15.32");
    5454$supsysticGallery->run();
  • gallery-by-supsystic/trunk/readme.txt

    r3313010 r3400293  
    44Tags:photo gallery, grid gallery, image gallery, responsive gallery, polaroid gallery
    55Tested up to: 6.8
    6 Stable tag: 1.15.31
     6Stable tag: 1.15.32
    77License: GNU General Public License v2.0 or later
    88
     
    178178
    179179== Changelog ==
     180= Gallery 1.15.32 / 21.11.2025 =
     181 * Add fix for mbstring
     182 * Add fix for Twig Core
     183 
    180184= Gallery 1.15.31 / 17.06.2025 =
    181185 * Minor fixes and overview update
  • gallery-by-supsystic/trunk/src/GridGallery/Galleries/assets/css/grid-gallery.galleries.style.css

    r3313010 r3400293  
    10821082    margin-top: 10px;
    10831083}
     1084
     1085.edit-image {
     1086  cursor:pointer;
     1087  color:green !important;
     1088  font-weight:bold !important;
     1089}
     1090
     1091.tui-image-editor-container .tui-image-editor-controls-logo > img, .tui-image-editor-container .tui-image-editor-header-logo > img {
     1092  width: 100% !important;
     1093  max-width: 150px !important;
     1094  height: auto !important;
     1095}
     1096
     1097#sggToastClose {
     1098  cursor:pointer;
     1099  color:black;
     1100  text-decoration:none;
     1101}
  • gallery-by-supsystic/trunk/src/GridGallery/Ui/views/type.twig

    r3313010 r3400293  
    229229            <div class="gg-wraper-option-links">
    230230                {% if(environment.isPro() == true) %}
     231                <div href="#gg-edit" class="gg-option-links edit-image" data-image-id="{{ image.id }}" data-attachment-id="{{ image.attachment.id }}">{{ translate('Edit image (NEW)') }}</div></br>
     232                {% endif %}
     233                {% if(environment.isPro() == true) %}
    231234                    <a href="#gg-attributes" class="gg-option-links attributes-image" data-image-id="{{ image.id }}" data-values="{{ image.attributes|json_encode|e }}">{{ translate('Attributes') }}</a></br>
    232235                {% endif %}
     
    270273                <div class="gg-image-option-links">
    271274                    <div class="gg-wraper-option-links" style="float: left">
     275                        {% if(environment.isPro() == true) %}
     276                        <div href="#gg-edit" class="gg-option-links option-link edit-image" data-image-id="{{ image.id }}" data-attachment-id="{{ image.attachment.id }}">{{ translate('Edit image (NEW)') }}</div></br>
     277                        {% endif %}
    272278                        <a href="#gg-effect" class="gg-option-links option-link">{{ translate('Choose effect') }}</a></br>
    273279                        <a href="#gg-linked" class="gg-option-links option-link">{{ translate('Linked Images') }}</a></br>
  • gallery-by-supsystic/trunk/vendor/Twig/Extension/Core.php

    r3313010 r3400293  
    190190        );
    191191
    192         if (function_exists('mb_get_info')) {
    193             $filters[] = new Twig_SupTwgSgg_SimpleFilter('upper', 'Twig_SupTwgSgg_upper_filter', array('needs_environment' => true));
    194             $filters[] = new Twig_SupTwgSgg_SimpleFilter('lower', 'Twig_SupTwgSgg_lower_filter', array('needs_environment' => true));
    195         }
     192        $filters[] = new Twig_SupTwgSgg_SimpleFilter('upper', 'Twig_SupTwgSgg_upper_filter', array('needs_environment' => true));
     193        $filters[] = new Twig_SupTwgSgg_SimpleFilter('lower', 'Twig_SupTwgSgg_lower_filter', array('needs_environment' => true));
    196194
    197195        return $filters;
     
    12561254}
    12571255
     1256    /**
     1257     * Converts a string to uppercase.
     1258     *
     1259     * @param Twig_SupTwgSgg_Environment $env
     1260     * @param string           $string A string
     1261     *
     1262     * @return string The uppercased string
     1263     */
     1264    function Twig_SupTwgSgg_upper_filter(Twig_SupTwgSgg_Environment $env, $string)
     1265    {
     1266        if (function_exists('mb_get_info')) {
     1267          if (null !== $charset = $env->getCharset()) {
     1268              return mb_strtoupper($string, $charset);
     1269          }
     1270        }
     1271
     1272        return strtoupper($string);
     1273    }
     1274
     1275    /**
     1276     * Converts a string to lowercase.
     1277     *
     1278     * @param Twig_SupTwgSgg_Environment $env
     1279     * @param string           $string A string
     1280     *
     1281     * @return string The lowercased string
     1282     */
     1283    function Twig_SupTwgSgg_lower_filter(Twig_SupTwgSgg_Environment $env, $string)
     1284    {
     1285        if (function_exists('mb_get_info')) {
     1286          if (null !== $charset = $env->getCharset()) {
     1287              return mb_strtolower($string, $charset);
     1288          }
     1289        }
     1290
     1291        return strtolower($string);
     1292    }
     1293
    12581294// add multibyte extensions if possible
    12591295if (function_exists('mb_get_info')) {
     
    12851321    }
    12861322
    1287     /**
    1288      * Converts a string to uppercase.
     1323
     1324    /**
     1325     * Returns a titlecased string.
    12891326     *
    12901327     * @param Twig_SupTwgSgg_Environment $env
    12911328     * @param string           $string A string
    12921329     *
    1293      * @return string The uppercased string
    1294      */
    1295     function Twig_SupTwgSgg_upper_filter(Twig_SupTwgSgg_Environment $env, $string)
     1330     * @return string The titlecased string
     1331     */
     1332    function Twig_SupTwgSgg_title_string_filter(Twig_SupTwgSgg_Environment $env, $string)
    12961333    {
    12971334        if (null !== $charset = $env->getCharset()) {
    1298             return mb_strtoupper($string, $charset);
    1299         }
    1300 
    1301         return strtoupper($string);
    1302     }
    1303 
    1304     /**
    1305      * Converts a string to lowercase.
     1335            return mb_convert_case($string, MB_CASE_TITLE, $charset);
     1336        }
     1337
     1338        return ucwords(strtolower($string));
     1339    }
     1340
     1341    /**
     1342     * Returns a capitalized string.
    13061343     *
    13071344     * @param Twig_SupTwgSgg_Environment $env
    13081345     * @param string           $string A string
    13091346     *
    1310      * @return string The lowercased string
    1311      */
    1312     function Twig_SupTwgSgg_lower_filter(Twig_SupTwgSgg_Environment $env, $string)
    1313     {
    1314         if (null !== $charset = $env->getCharset()) {
    1315             return mb_strtolower($string, $charset);
    1316         }
    1317 
    1318         return strtolower($string);
    1319     }
    1320 
    1321     /**
    1322      * Returns a titlecased string.
    1323      *
    1324      * @param Twig_SupTwgSgg_Environment $env
    1325      * @param string           $string A string
    1326      *
    1327      * @return string The titlecased string
    1328      */
    1329     function Twig_SupTwgSgg_title_string_filter(Twig_SupTwgSgg_Environment $env, $string)
    1330     {
    1331         if (null !== $charset = $env->getCharset()) {
    1332             return mb_convert_case($string, MB_CASE_TITLE, $charset);
    1333         }
    1334 
    1335         return ucwords(strtolower($string));
    1336     }
    1337 
    1338     /**
    1339      * Returns a capitalized string.
    1340      *
    1341      * @param Twig_SupTwgSgg_Environment $env
    1342      * @param string           $string A string
    1343      *
    13441347     * @return string The capitalized string
    13451348     */
     
    13521355        return ucfirst(strtolower($string));
    13531356    }
    1354 }
    13551357// and byte fallback
    1356 else {
     1358} else {
    13571359    /**
    13581360     * Returns the length of a variable.
Note: See TracChangeset for help on using the changeset viewer.