Changeset 3476791
- Timestamp:
- 03/07/2026 01:05:08 AM (3 weeks ago)
- Location:
- customtables/trunk
- Files:
-
- 136 edited
-
CustomTables.php (modified) (3 diffs)
-
inc/admin/class-admin-settings.php (modified) (1 diff)
-
inc/admin/views/customtables-settings-advanced.php (modified) (1 diff)
-
libraries/ct-common-wp.php (modified) (1 diff)
-
libraries/customtables/categories/categories.php (modified) (1 diff)
-
libraries/customtables/ct/CT.php (modified) (2 diffs)
-
libraries/customtables/ct/Environment.php (modified) (5 diffs)
-
libraries/customtables/ct/Field.php (modified) (1 diff)
-
libraries/customtables/ct/Logs.php (modified) (1 diff)
-
libraries/customtables/ct/Params.php (modified) (1 diff)
-
libraries/customtables/ct/Table.php (modified) (1 diff)
-
libraries/customtables/filter/filtering.php (modified) (1 diff)
-
libraries/customtables/filter/keywordsearch.php (modified) (1 diff)
-
libraries/customtables/helpers/CTMiscHelper.php (modified) (1 diff)
-
libraries/customtables/helpers/CTUser.php (modified) (2 diffs)
-
libraries/customtables/helpers/CustomTablesImageMethods.php (modified) (2 diffs)
-
libraries/customtables/helpers/DataTypes.php (modified) (1 diff)
-
libraries/customtables/helpers/Fields.php (modified) (1 diff)
-
libraries/customtables/helpers/FileMethods.php (modified) (1 diff)
-
libraries/customtables/helpers/FileUploader.php (modified) (1 diff)
-
libraries/customtables/helpers/FindSimilarImage.php (modified) (1 diff)
-
libraries/customtables/helpers/Icons.php (modified) (4 diffs)
-
libraries/customtables/helpers/ImportCSV.php (modified) (1 diff)
-
libraries/customtables/helpers/Pagination.php (modified) (1 diff)
-
libraries/customtables/helpers/TableHelper.php (modified) (3 diffs)
-
libraries/customtables/helpers/compareimages.php (modified) (1 diff)
-
libraries/customtables/html/forms.php (modified) (1 diff)
-
libraries/customtables/html/inputbox.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/alias.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/article.php (modified) (2 diffs)
-
libraries/customtables/html/inputbox/checkbox.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/color.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/creationtime.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/date.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/email.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/file.php (modified) (2 diffs)
-
libraries/customtables/html/inputbox/filebox.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/filelink.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/float.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/gps.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/image.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/imagegallery.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/int.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/language.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/multilingualstring.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/multilingualtext.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/radio.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/signature.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/string.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/text.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/time.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/url.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/user.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/usergroup.php (modified) (1 diff)
-
libraries/customtables/html/inputbox/usergroups.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/checkbox.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/date.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/published.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/radio.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/range.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/string.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/tablejoin.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/tablejoinlist.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/user.php (modified) (1 diff)
-
libraries/customtables/html/searchbox/usergroup.php (modified) (1 diff)
-
libraries/customtables/html/searchinputbox.php (modified) (1 diff)
-
libraries/customtables/html/toolbar.php (modified) (1 diff)
-
libraries/customtables/html/value.php (modified) (1 diff)
-
libraries/customtables/html/value/article.php (modified) (1 diff)
-
libraries/customtables/html/value/blob.php (modified) (1 diff)
-
libraries/customtables/html/value/file.php (modified) (2 diffs)
-
libraries/customtables/html/value/image.php (modified) (1 diff)
-
libraries/customtables/html/value/imagegallery.php (modified) (1 diff)
-
libraries/customtables/html/value/log.php (modified) (1 diff)
-
libraries/customtables/html/value/tablejoin.php (modified) (1 diff)
-
libraries/customtables/html/value/tablejoinlist.php (modified) (1 diff)
-
libraries/customtables/html/value/user.php (modified) (1 diff)
-
libraries/customtables/integrity/coretables.php (modified) (1 diff)
-
libraries/customtables/integrity/fields.php (modified) (1 diff)
-
libraries/customtables/integrity/fieldtype_filebox.php (modified) (1 diff)
-
libraries/customtables/integrity/fieldtype_gallery.php (modified) (1 diff)
-
libraries/customtables/integrity/integrity.php (modified) (1 diff)
-
libraries/customtables/integrity/tables.php (modified) (1 diff)
-
libraries/customtables/languages/languages.php (modified) (1 diff)
-
libraries/customtables/layouts/Twig_Document_Tags.php (modified) (4 diffs)
-
libraries/customtables/layouts/Twig_Fields_Tags.php (modified) (1 diff)
-
libraries/customtables/layouts/Twig_HTML_Tags.php (modified) (3 diffs)
-
libraries/customtables/layouts/Twig_Record_Tags.php (modified) (1 diff)
-
libraries/customtables/layouts/Twig_Table_Tags.php (modified) (1 diff)
-
libraries/customtables/layouts/Twig_Tables_Tags.php (modified) (2 diffs)
-
libraries/customtables/layouts/Twig_URL_Tags.php (modified) (1 diff)
-
libraries/customtables/layouts/Twig_User_Tags.php (modified) (1 diff)
-
libraries/customtables/layouts/defaults/csv.php (modified) (1 diff)
-
libraries/customtables/layouts/defaults/details.php (modified) (2 diffs)
-
libraries/customtables/layouts/defaults/edit.php (modified) (1 diff)
-
libraries/customtables/layouts/defaults/edit_wp.php (modified) (1 diff)
-
libraries/customtables/layouts/defaults/email.php (modified) (1 diff)
-
libraries/customtables/layouts/defaults/simple_catalog.php (modified) (1 diff)
-
libraries/customtables/layouts/layouts.php (modified) (7 diffs)
-
libraries/customtables/layouts/twig.php (modified) (1 diff)
-
libraries/customtables/loader.php (modified) (2 diffs)
-
libraries/customtables/media/css/dashboard.css (modified) (3 diffs)
-
libraries/customtables/media/css/fieldtypes.css (modified) (1 diff)
-
libraries/customtables/media/css/layouteditor.css (modified) (1 diff)
-
libraries/customtables/media/css/modal.css (modified) (1 diff)
-
libraries/customtables/media/js/catalog.js (modified) (3 diffs)
-
libraries/customtables/media/js/edit.js (modified) (1 diff)
-
libraries/customtables/media/js/extratasks.js (modified) (1 diff)
-
libraries/customtables/media/js/layouteditor.js (modified) (2 diffs)
-
libraries/customtables/media/js/layoutwizard.js (modified) (1 diff)
-
libraries/customtables/media/js/settings.js (modified) (1 diff)
-
libraries/customtables/media/js/typeparams.js (modified) (1 diff)
-
libraries/customtables/media/js/typeparams_common.js (modified) (1 diff)
-
libraries/customtables/media/js/typeparams_j4.js (modified) (1 diff)
-
libraries/customtables/media/js/uploader.js (modified) (1 diff)
-
libraries/customtables/media/xml/fieldtypes.xml (modified) (1 diff)
-
libraries/customtables/media/xml/tags.xml (modified) (3 diffs)
-
libraries/customtables/ordering/ordering.php (modified) (1 diff)
-
libraries/customtables/records/Save_blob.php (modified) (1 diff)
-
libraries/customtables/records/Save_file.php (modified) (1 diff)
-
libraries/customtables/records/Save_image.php (modified) (1 diff)
-
libraries/customtables/records/Save_imagegallery.php (modified) (1 diff)
-
libraries/customtables/records/Save_records.php (modified) (1 diff)
-
libraries/customtables/records/Save_usergroups.php (modified) (1 diff)
-
libraries/customtables/records/record.php (modified) (1 diff)
-
libraries/customtables/records/savefieldqueryset.php (modified) (1 diff)
-
libraries/customtables/utilities/ExportTables.php (modified) (2 diffs)
-
libraries/customtables/utilities/ImportTables.php (modified) (4 diffs)
-
libraries/customtables/views/admin-diagram.php (modified) (1 diff)
-
libraries/customtables/views/admin-documentation.php (modified) (1 diff)
-
libraries/customtables/views/admin-listoffields.php (modified) (1 diff)
-
libraries/customtables/views/admin-listoflayouts.php (modified) (2 diffs)
-
libraries/customtables/views/admin-listoftables.php (modified) (1 diff)
-
libraries/customtables/views/catalog.php (modified) (5 diffs)
-
libraries/customtables/views/edit.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
customtables/trunk/CustomTables.php
r3428455 r3476791 4 4 Plugin URI: https://ct4.us 5 5 Description: Custom Tables solution for WordPress 6 Version: 1. 6.66 Version: 1.7.1 7 7 Requires at least: 6.0 8 8 Requires PHP: 7.4.0 … … 32 32 33 33 define(CTWP . 'PLUGIN_NAME', 'customtables'); 34 define(CTWP . 'PLUGIN_VERSION', '1. 6.6');34 define(CTWP . 'PLUGIN_VERSION', '1.7.1'); 35 35 define(CTWP . 'PLUGIN_NAME_DIR', plugin_dir_path(__FILE__)); 36 36 define(CTWP . 'PLUGIN_NAME_URL', plugin_dir_url(__FILE__)); … … 116 116 function enqueue_codemirror() 117 117 { 118 $version = '1. 6.6';118 $version = '1.7.1'; 119 119 wp_enqueue_style('customtables-js-modal', plugin_dir_url(__FILE__) . 'libraries/customtables/media/css/modal.css', false, $version); 120 120 wp_enqueue_style('customtables-js-layouteditor', plugin_dir_url(__FILE__) . 'libraries/customtables/media/css/layouteditor.css', false, $version); -
customtables/trunk/inc/admin/class-admin-settings.php
r3242109 r3476791 51 51 update_option('customtables-toolbaricons', sanitize_text_field($toolbarIcons)); 52 52 53 $sqlselecttag = common::inputPostString('sqlselecttag','','settings'); 54 if(get_option('customtables-sqlselecttag')===false) 55 add_option('customtables-sqlselecttag', sanitize_text_field($sqlselecttag)); 56 else 57 update_option('customtables-sqlselecttag', sanitize_text_field($sqlselecttag)); 53 58 54 59 $url = 'admin.php?page=customtables-settings'; -
customtables/trunk/inc/admin/views/customtables-settings-advanced.php
r3242109 r3476791 30 30 </td> 31 31 </tr> 32 33 34 <tr class="form-field form-required"> 35 <th scope="row"> 36 <label for="sqlselecttag"> 37 <?php echo esc_html__('{{ tables.sqlselect() }} Tag', 'customtables'); ?> 38 </label> 39 </th> 40 <td> 41 <?php 42 $vlu = get_option('customtables-sqlselecttag', ''); // Default is empty 43 44 $types = [ 45 '0' => esc_html__('Disabled', 'customtables'), 46 '1' => esc_html__('Enabled', 'customtables'), // Added UM icon set 47 ]; 48 ?> 49 50 <select name="sqlselecttag" id="sqlselecttag"> 51 <?php foreach ($types as $key => $label) : ?> 52 <option value="<?php echo esc_attr($key); ?>" <?php selected($vlu, $key); ?>> 53 <?php echo esc_html($label); ?> 54 </option> 55 <?php endforeach; ?> 56 </select> 57 <br/> 58 Allows execution of custom SELECT queries via the {{ tables.sqlselect() }} tag. 59 This feature is intended for advanced users only. 60 A dedicated READ-ONLY MySQL database user must be configured in Joomla configuration.php. 61 UPDATE, DELETE, INSERT and other write operations are not supported. 62 </td> 63 </tr> 64 32 65 </table> -
customtables/trunk/libraries/ct-common-wp.php
r3329328 r3476791 574 574 } 575 575 576 public static function getCookie(string $param) 577 { 578 return $_COOKIE[$param] ?? null; 579 } 580 576 581 public static function inputGet(string $parameter, $default, string $filter) 577 582 { -
customtables/trunk/libraries/customtables/categories/categories.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/ct/CT.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 241 241 * @since 3.2.2 242 242 */ 243 function getRecords(bool $all = false, int $limit = 0, ?string $orderby = null, string $groupBy = null): bool243 function getRecords(bool $all = false, int $limit = 0, ?string $orderby = null, ?string $groupBy = null): bool 244 244 { 245 245 //Grouping -
customtables/trunk/libraries/customtables/ct/Environment.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 42 42 var bool $isPlugin; //this can be set by calling the class from the plugin 43 43 var bool $CustomPHPEnabled; 44 var bool $SQLSelectEnabled; 44 45 var bool $debug; 45 46 … … 47 48 { 48 49 $this->CustomPHPEnabled = false; 49 50 $this->SQLSelectEnabled = false; 51 52 // Follow the white rabbit 50 53 if (defined('_JEXEC')) { 51 54 $plugin = PluginHelper::getPlugin('content', 'customtables'); … … 54 57 $pluginParamsArray = json_decode($plugin->params); 55 58 $this->CustomPHPEnabled = (int)($pluginParamsArray->phpPlugin ?? 0) == 1; 56 } 59 $this->SQLSelectEnabled = (int)($pluginParamsArray->sqlSelectTag ?? 0) == 1; 60 } 61 } elseif (defined('WPINC')) { 62 $this->SQLSelectEnabled = (int)get_option('customtables-sqlselecttag', '') == 1; 57 63 } 58 64 … … 124 130 require_once($path . 'helpers.php'); 125 131 126 if (file_exists($path . 'servertags.php'))127 require_once($path . 'servertags.php');128 132 } elseif (defined('WPINC') and defined('CustomTablesWPPro\CTWPPRO')) { 129 133 $path = CUSTOMTABLES_PRO_PATH; -
customtables/trunk/libraries/customtables/ct/Field.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/ct/Logs.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/ct/Params.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/ct/Table.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/filter/filtering.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/filter/keywordsearch.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/CTMiscHelper.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/CTUser.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 525 525 * @since 3.3.4 526 526 */ 527 public function getUserGroupArray(?array $availableUserGroupList, string $innerJoin = null): array527 public function getUserGroupArray(?array $availableUserGroupList, ?string $innerJoin = null): array 528 528 { 529 529 if (defined('_JEXEC')) { -
customtables/trunk/libraries/customtables/helpers/CustomTablesImageMethods.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 508 508 } 509 509 510 function ProportionalResize(string $src, string $dst, int $dst_width, int $dst_height, int $LevelMax, int $backgroundColor, string $watermark, string $fileExtension = null): int510 function ProportionalResize(string $src, string $dst, int $dst_width, int $dst_height, int $LevelMax, int $backgroundColor, string $watermark, ?string $fileExtension = null): int 511 511 { 512 512 //Returns: -
customtables/trunk/libraries/customtables/helpers/DataTypes.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/Fields.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/FileMethods.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/FileUploader.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/FindSimilarImage.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/Icons.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 43 43 <li><?php echo esc_html__("Copy", "customtables") ?> 44 44 : <?php echo Icons::iconCopy($type); ?></li> 45 <li><?php echo esc_html__("Search", "customtables") ?> 46 : <?php echo Icons::iconSearch($type); ?></li> 47 <li><?php echo esc_html__("Search Reset", "customtables") ?> 48 : <?php echo Icons::iconSearchReset($type); ?></li> 45 49 <li><?php echo esc_html__("Create User", "customtables") ?> 46 50 : <?php echo Icons::iconCreateUser($type); ?></li> … … 419 423 } 420 424 425 public static function iconSearch(string $type, string $title = ''): string 426 { 427 if (empty($title)) 428 $title = esc_html__("Search", "customtables"); 429 430 // Image Icons (default) 431 if ($type == '') 432 return '<img src="' . CUSTOMTABLES_MEDIA_WEBPATH . 'images/icons/search.png" class="ctToolBarIcon" alt="' . $title . '" title="' . $title . '">'; 433 434 // Not So Pixelly 435 elseif ($type == 'not-so-pixelly') 436 return '<img src="' . CUSTOMTABLES_MEDIA_WEBPATH . 'images/notsopixelly/48px/search.png" class="ctToolBarIcon" alt="' . $title . '" title="' . $title . '" />'; 437 438 // Font Awesome 4 439 elseif ($type == 'font-awesome-4') 440 return '<i class="ctToolBarIcon2x fa fa-search" data-icon="fa fa-search" aria-hidden="true" title="' . $title . '"></i>'; 441 442 // Font Awesome 5 443 elseif ($type == 'font-awesome-5' or $type == 'font-awesome-6') 444 return '<i class="ctToolBarIcon fas fa-search" data-icon="fas fa-search" aria-hidden="true" title="' . $title . '"></i>'; 445 446 // Bootstrap Icons 447 elseif ($type == 'bootstrap') 448 return '<i class="ctToolBarIcon2x bi bi-search" aria-hidden="true" title="' . $title . '"></i>'; 449 450 elseif ($type == 'ultimate-member') 451 return '<i class="ctToolBarIcon2x um-faicon-search" aria-hidden="true" title="' . $title . '"></i>'; // Added UM icon support 452 453 // Default fallback 454 else 455 return 'Search'; 456 } 457 458 public static function iconSearchReset(string $type, string $title = ''): string 459 { 460 if (empty($title)) 461 $title = esc_html__("Reset", "customtables"); 462 463 // Image Icons (default) 464 if ($type == '') 465 return '<img src="' . CUSTOMTABLES_MEDIA_WEBPATH . 'images/icons/search-reset.png" class="ctToolBarIcon" alt="' . $title . '" title="' . $title . '">'; 466 467 // Not So Pixelly 468 elseif ($type == 'not-so-pixelly') 469 return '<img src="' . CUSTOMTABLES_MEDIA_WEBPATH . 'images/notsopixelly/48px/cancel.png" class="ctToolBarIcon" alt="' . $title . '" title="' . $title . '" />'; 470 471 // Font Awesome 4 472 elseif ($type == 'font-awesome-4') 473 return '<i class="ctToolBarIcon2x fa fa-cancel" data-icon="fa fa-cancel" aria-hidden="true" title="' . $title . '"></i>'; 474 475 // Font Awesome 5 476 elseif ($type == 'font-awesome-5' or $type == 'font-awesome-6') 477 return '<i class="ctToolBarIcon fas fa-cancel" data-icon="fas fa-cancel" aria-hidden="true" title="' . $title . '"></i>'; 478 479 // Bootstrap Icons 480 elseif ($type == 'bootstrap') 481 return '<i class="ctToolBarIcon2x bi bi-cancel" aria-hidden="true" title="' . $title . '"></i>'; 482 483 elseif ($type == 'ultimate-member') 484 return '<i class="ctToolBarIcon2x um-faicon-cancel" aria-hidden="true" title="' . $title . '"></i>'; // Added UM icon support 485 486 // Default fallback 487 else 488 return 'Search'; 489 } 490 421 491 public static function iconCreateUser(string $type, string $title = ''): string 422 492 { … … 753 823 } 754 824 755 public static function iconSearch(string $type, string $title = ''): string756 {757 if (empty($title))758 $title = esc_html__("Search", "customtables");759 760 // Image Icons (default)761 if ($type == '')762 return '';763 764 // Not So Pixelly765 elseif ($type == 'not-so-pixelly')766 return '<img src="' . CUSTOMTABLES_MEDIA_WEBPATH . 'images/notsopixelly/48px/search.png" class="ctToolBarIcon" alt="' . $title . '" title="' . $title . '" />';767 768 // Font Awesome 4769 elseif ($type == 'font-awesome-4')770 return '<i class="ctToolBarIcon2x fa fa-search" data-icon="fa fa-search" aria-hidden="true" title="' . $title . '"></i>';771 772 // Font Awesome 5773 elseif ($type == 'font-awesome-5' or $type == 'font-awesome-6')774 return '<i class="ctToolBarIcon fas fa-search" data-icon="fas fa-search" aria-hidden="true" title="' . $title . '"></i>';775 776 // Bootstrap Icons777 elseif ($type == 'bootstrap')778 return '<i class="ctToolBarIcon2x bi bi-search" aria-hidden="true" title="' . $title . '"></i>';779 780 elseif ($type == 'ultimate-member')781 return '<i class="ctToolBarIcon2x um-faicon-search" aria-hidden="true" title="' . $title . '"></i>'; // Added UM icon support782 783 // Default fallback784 else785 return 'Search';786 }787 788 public static function iconSearchReset(string $type, string $title = ''): string789 {790 if (empty($title))791 $title = esc_html__("Search", "customtables");792 793 // Image Icons (default)794 if ($type == '')795 return '';796 797 // Not So Pixelly798 elseif ($type == 'not-so-pixelly')799 return '<img src="' . CUSTOMTABLES_MEDIA_WEBPATH . 'images/notsopixelly/48px/cancel.png" class="ctToolBarIcon" alt="' . $title . '" title="' . $title . '" />';800 801 // Font Awesome 4802 elseif ($type == 'font-awesome-4')803 return '<i class="ctToolBarIcon2x fa fa-cancel" data-icon="fa fa-cancel" aria-hidden="true" title="' . $title . '"></i>';804 805 // Font Awesome 5806 elseif ($type == 'font-awesome-5' or $type == 'font-awesome-6')807 return '<i class="ctToolBarIcon fas fa-cancel" data-icon="fas fa-cancel" aria-hidden="true" title="' . $title . '"></i>';808 809 // Bootstrap Icons810 elseif ($type == 'bootstrap')811 return '<i class="ctToolBarIcon2x bi bi-cancel" aria-hidden="true" title="' . $title . '"></i>';812 813 elseif ($type == 'ultimate-member')814 return '<i class="ctToolBarIcon2x um-faicon-cancel" aria-hidden="true" title="' . $title . '"></i>'; // Added UM icon support815 816 // Default fallback817 else818 return 'Search';819 }820 821 822 825 public static function iconDownload(string $type, string $title = '', ?string $iconFile = null, int $imageSize = 32): string 823 826 { -
customtables/trunk/libraries/customtables/helpers/ImportCSV.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/Pagination.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/helpers/TableHelper.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 419 419 database::deleteRecord('#__customtables_fields', 'tableid', (string)$tableId); 420 420 database::deleteRecord('#__customtables_tables', 'id', $tableId); 421 database::deleteTableLessFields();//TODO: No longer needed but lets keep ot for one year till Oct 2025 to make sure that all unused fields deleted.421 //database::deleteTableLessFields();//TODO: No longer needed but lets keep ot for one year till Oct 2025 to make sure that all unused fields deleted. 422 422 return $table_row; 423 423 } … … 493 493 $whereClause->addCondition('TABLE_NAME', $prefix . 'usergroups', '!='); 494 494 $whereClause->addCondition('TABLE_NAME', $prefix . 'users', '!='); 495 $rows = database::loadAssocList('information_schema.tables', ['TABLE_NAME AS table_name'], $whereClause );495 $rows = database::loadAssocList('information_schema.tables', ['TABLE_NAME AS table_name'], $whereClause, 'table_name'); 496 496 } 497 497 $list = array(); -
customtables/trunk/libraries/customtables/helpers/compareimages.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/forms.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/alias.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/article.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 78 78 $whereClause = new MySQLWhereClause(); 79 79 80 $catId = (int)((count($this->field->params) > 0 and $this->field->params[0] != '') ? $this->field->params : 0);80 $catId = (int)((count($this->field->params) > 0 and $this->field->params[0] != '') ? $this->field->params[0] : 0); 81 81 82 82 if ($catId != 0) -
customtables/trunk/libraries/customtables/html/inputbox/checkbox.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/color.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/creationtime.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/date.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/email.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/file.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 12 12 13 13 // no direct access 14 if (!defined('ABSPATH')) exit; 15 14 16 use Joomla\CMS\Component\ComponentHelper; 15 17 use Joomla\CMS\Factory; 16 17 if (!defined('ABSPATH')) exit;18 18 19 19 class InputBox_file extends BaseInputBox -
customtables/trunk/libraries/customtables/html/inputbox/filebox.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/filelink.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/float.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/gps.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/image.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/imagegallery.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/int.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/language.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/multilingualstring.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/multilingualtext.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/radio.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/signature.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/string.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/text.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/time.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/url.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/user.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/usergroup.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/inputbox/usergroups.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/checkbox.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/date.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/published.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/radio.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/range.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/string.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/tablejoin.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/tablejoinlist.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/user.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchbox/usergroup.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/searchinputbox.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/toolbar.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/article.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/blob.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/file.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 499 499 500 500 $serverTagProcessorFile = JPATH_SITE . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'content' . DIRECTORY_SEPARATOR 501 . 'customtables' . DIRECTORY_SEPARATOR . 'protagprocessor' . DIRECTORY_SEPARATOR . ' servertags.php';501 . 'customtables' . DIRECTORY_SEPARATOR . 'protagprocessor' . DIRECTORY_SEPARATOR . 'helpers.php'; 502 502 503 503 if (!file_exists($serverTagProcessorFile)) -
customtables/trunk/libraries/customtables/html/value/image.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/imagegallery.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/log.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/tablejoin.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/tablejoinlist.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/html/value/user.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/integrity/coretables.php
r3428455 r3476791 6 6 * @author Ivan Komlev <support@joomlaboat.com> 7 7 * @link https://joomlaboat.com 8 * @copyright (C) 2018-202 5. Ivan Komlev8 * @copyright (C) 2018-2026. Ivan Komlev 9 9 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 10 10 **/ -
customtables/trunk/libraries/customtables/integrity/fields.php
r3428455 r3476791 6 6 * @author Ivan Komlev <support@joomlaboat.com> 7 7 * @link https://joomlaboat.com 8 * @copyright (C) 2018-202 5. Ivan Komlev8 * @copyright (C) 2018-2026. Ivan Komlev 9 9 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 10 10 **/ -
customtables/trunk/libraries/customtables/integrity/fieldtype_filebox.php
r3428455 r3476791 6 6 * @author Ivan Komlev <support@joomlaboat.com> 7 7 * @link https://joomlaboat.com 8 * @copyright (C) 2018-202 5. Ivan Komlev8 * @copyright (C) 2018-2026. Ivan Komlev 9 9 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 10 10 **/ -
customtables/trunk/libraries/customtables/integrity/fieldtype_gallery.php
r3428455 r3476791 6 6 * @author Ivan Komlev <support@joomlaboat.com> 7 7 * @link https://joomlaboat.com 8 * @copyright (C) 2018-202 5. Ivan Komlev8 * @copyright (C) 2018-2026. Ivan Komlev 9 9 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 10 10 **/ -
customtables/trunk/libraries/customtables/integrity/integrity.php
r3428455 r3476791 6 6 * @author Ivan Komlev <support@joomlaboat.com> 7 7 * @link https://joomlaboat.com 8 * @copyright (C) 2018-202 5. Ivan Komlev8 * @copyright (C) 2018-2026. Ivan Komlev 9 9 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 10 10 **/ -
customtables/trunk/libraries/customtables/integrity/tables.php
r3428455 r3476791 6 6 * @author Ivan Komlev <support@joomlaboat.com> 7 7 * @link https://joomlaboat.com 8 * @copyright (C) 2018-202 5. Ivan Komlev8 * @copyright (C) 2018-2026. Ivan Komlev 9 9 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 10 10 **/ -
customtables/trunk/libraries/customtables/languages/languages.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/Twig_Document_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 217 217 * @since 3.2.9 218 218 */ 219 function layout(string $layoutName = '' ): ?string219 function layout(string $layoutName = '', bool $parseContentPlugins = false): ?string 220 220 { 221 221 //TODO: the use if this tag must be reflected in the dependence tab of the layout used. … … 267 267 } 268 268 } 269 270 if ($parseContentPlugins and !empty($html_result)) 271 CTMiscHelper::applyContentPlugins($html_result); 269 272 270 273 return $html_result; … … 358 361 return $this->ct->LayoutVariables['globalVariables'][$variable]; 359 362 } 363 364 /** 365 * @throws Exception 366 * @since 3.7.1 367 */ 368 function cookie($param): ?string 369 { 370 if (!$this->ct->Env->advancedTagProcessor) 371 throw new Exception('Warning: The {{ document.cookie }} ' . esc_html__("Available in PRO Version", "customtables")); 372 373 return common::getCookie($param); 374 } 360 375 } -
customtables/trunk/libraries/customtables/layouts/Twig_Fields_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/Twig_HTML_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 722 722 return ''; 723 723 724 //if ($this->ct->Env->isPlugin or !empty($this->ct->Params->ModuleId))725 //return '';726 727 724 $class = 'ctSearchBox'; 728 725 … … 743 740 } 744 741 745 function searchreset($linkType = '', $label = '', $class_ = ''): string 746 { 747 if ($this->ct->Env->print == 1 or ($this->ct->Env->frmt != 'html' and $this->ct->Env->frmt != '')) 748 return ''; 749 750 //if ($this->ct->Env->isPlugin or !empty($this->ct->Params->ModuleId)) 751 //return ''; 742 function searchreset($linkType = '', $defaultLabel = '', $class_ = ''): string 743 { 744 if ($this->ct->Env->print == 1 or ($this->ct->Env->frmt != 'html' and $this->ct->Env->frmt != '')) 745 return ''; 752 746 753 747 $class = 'ctSearchBox'; -
customtables/trunk/libraries/customtables/layouts/Twig_Record_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/Twig_Table_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/Twig_Tables_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 176 176 throw new Exception('{{ tables.getrecords("' . $layoutname . '","' . $filter . '","' . $orderby . '") }} - Could not load records.'); 177 177 } 178 179 function sqlselect(string $query = '', string $mode = 'auto') 180 { 181 if (defined('_JEXEC')) { 182 $file_path = CUSTOMTABLES_PRO_PATH . 'protagprocessor' . DIRECTORY_SEPARATOR . 'sqlselect.php'; 183 } elseif (defined('WPINC')) { 184 $file_path = CUSTOMTABLES_PRO_PATH . 'inputbox' . DIRECTORY_SEPARATOR . 'sqlselect.php'; 185 } else { 186 throw new Exception('{{ tables.sqlselect() }} - not supported in this environment.'); 187 } 188 189 if (file_exists($file_path)) { 190 require_once($file_path); 191 } else { 192 throw new Exception('{{ tables.sqlselect() }} - ' . esc_html__("Available in PRO Version", "customtables")); 193 } 194 195 if (!$this->ct->Env->SQLSelectEnabled) 196 throw new Exception('{{ tables.sqlselect() }} - Disabled. Go to Plugins / Custom Tables to enable it.'); 197 198 if (empty($query)) 199 throw new Exception('{{ tables.sqlselect() }} - Requires a query.'); 200 201 // Enforce SELECT-only queries 202 $trimmed = ltrim($query); 203 if (stripos($trimmed, 'SELECT') !== 0) { 204 throw new Exception('{{ tables.sqlselect() }} - Only SELECT queries are allowed.'); 205 } 206 207 return SQLSelect::runQuery($query, $mode); 208 } 178 209 } -
customtables/trunk/libraries/customtables/layouts/Twig_URL_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/Twig_User_Tags.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/defaults/csv.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/defaults/details.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 20 20 if (!in_array($field['type'], $fieldTypes_to_skip) and (int)$field['published'] === 1) { 21 21 $result .= '<div class="control-group">'; 22 23 //if ($field['type'] == 'creationtime' or $field['type'] == 'changetime' or $field['type'] == 'lastviewtime')24 22 $fieldTag = '{{ ' . $field['fieldname'] . ' }}'; 25 23 $result .= '<div class="control-label">{{ ' . $field['fieldname'] . '.title }}</div><div class="controls"> ' . $fieldTag . ' </div>'; -
customtables/trunk/libraries/customtables/layouts/defaults/edit.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/defaults/edit_wp.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/defaults/email.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/defaults/simple_catalog.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/layouts/layouts.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 33 33 var ?string $layoutCodeCSS; 34 34 var ?string $layoutCodeJS; 35 var bool $stealth; 35 36 36 37 function __construct(&$ct) … … 44 45 $this->layoutCodeCSS = null; 45 46 $this->layoutCodeJS = null; 47 $this->stealth = false; 46 48 } 47 49 … … 423 425 424 426 if (!empty($row['params'])) { 427 425 428 try { 426 429 $params = json_decode($row['params'], true); … … 439 442 } 440 443 444 if (isset($params['stealth'])) { 445 $this->stealth = (bool)intval($params['stealth']); 446 } 447 448 441 449 if (!$this->ct->Env->advancedTagProcessor) { 442 450 //Do not apply Layout params in Free version as they are inaccessible. … … 448 456 $params['publishstatus'] = null; 449 457 $params['mimetype'] = null; 458 $params['stealth'] = null; 450 459 } 451 460 … … 1136 1145 $layoutDetailsContent = CTMiscHelper::applyContentPlugins($layoutDetailsContent); 1137 1146 1138 if (! is_null($this->ct->Table->record)) {1147 if (!$this->stealth and !is_null($this->ct->Table->record)) { 1139 1148 //Save view log 1140 1149 $this->SaveViewLogForRecord(); -
customtables/trunk/libraries/customtables/layouts/twig.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/loader.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 31 31 } 32 32 } 33 /* 34 if (class_exists('\Symfony\Polyfill\Mbstring\Mbstring') && !method_exists('\Symfony\Polyfill\Mbstring\Mbstring', 'mb_trim')) { 35 class_alias('\Symfony\Polyfill\Mbstring\Mbstring', '__MbstringTemp__'); 36 37 class MbstringFixed extends __MbstringTemp__ 38 { 39 public static function mb_trim($string) 40 { 41 return preg_replace('/^[\p{Z}\s]+|[\p{Z}\s]+$/u', '', $string); 42 } 43 } 44 45 // Replace the original class reference 46 class_alias('MbstringFixed', '\Symfony\Polyfill\Mbstring\Mbstring'); 47 } 48 */ 33 49 34 function CustomTablesLoader($include_utilities = false, $include_html = false, $PLUGIN_NAME_DIR = null, $componentName = 'com_customtables', bool $loadTwig = true): void 50 35 { -
customtables/trunk/libraries/customtables/media/css/dashboard.css
r3219911 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-202 5.6 * @copyright Copyright (C) 2018-2026. 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ … … 85 85 width: 17%; 86 86 min-height: 194px; 87 min-width: 96px; 87 min-width: 163px; 88 } 89 90 .dashboard-wraper img { 91 width: 100%; 88 92 } 89 93 … … 217 221 white-space: nowrap; 218 222 } 223 224 225 /* ------------------------------ */ 226 227 @media (min-width: 1200px) { 228 .tableMobileLabel { 229 display: none; 230 } 231 232 .tableDesktopLabel { 233 display: inline-block; 234 } 235 } 236 237 238 @media (max-width: 1199px) { 239 #tableList, 240 #tableList thead, 241 #tableList tbody, 242 #tableList tr, 243 #tableList th, 244 #tableList td { 245 display: block !important; 246 width: 100%; 247 } 248 249 #tableList thead { 250 display: none !important; 251 } 252 253 #tableList tr { 254 border: 1px solid #ccc; 255 margin-bottom: 1rem; 256 } 257 258 #tableList td { 259 display: flex !important; 260 /*justify-content: space-between;*/ 261 padding: 0.5rem; 262 box-sizing: border-box; 263 text-align: left; 264 } 265 266 #tableList td::before { 267 /*content: attr(data-label);*/ 268 font-weight: 600; 269 padding-right: 1rem; 270 } 271 272 273 .tableMobileLabel { 274 display: inline-block; 275 } 276 277 .tableDesktopLabel { 278 display: none; 279 } 280 281 #tableList .firstColumn { 282 text-align: left !important; 283 } 284 285 #tableList .firstColumn span { 286 margin-left: 10px; 287 } 288 289 #tableList .firstColumn span i { 290 margin-right: 5px; 291 } 292 293 .hiddenColumnInMobile { 294 display: none; 295 visibility: hidden; 296 height: 0; 297 padding: 0 !important; 298 } 299 } 300 -
customtables/trunk/libraries/customtables/media/css/fieldtypes.css
r3219911 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright Copyright (C) 2018-202 5.7 * @copyright Copyright (C) 2018-2026. 8 8 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/media/css/layouteditor.css
r3219911 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright Copyright (C) 2018-202 5.7 * @copyright Copyright (C) 2018-2026. 8 8 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/media/css/modal.css
r3219911 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright Copyright (C) 2018-202 5.7 * @copyright Copyright (C) 2018-2026. 8 8 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/media/js/catalog.js
r3428455 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-202 5. All Rights Reserved6 * @copyright Copyright (C) 2018-2026. All Rights Reserved 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ … … 89 89 90 90 let params = 'task=' + task + '&listing_id=' + recordId; 91 92 /*93 if (CTEditHelper.cmsName === 'Joomla') {94 if (typeof ModuleId !== 'undefined' && ModuleId !== null && ModuleId !== 0)95 params += '&ModuleId=' + ModuleId;96 else97 params += '&Itemid=' + CTEditHelper.itemId;98 }99 */100 console.log("params:", params);101 102 91 let http = CreateHTTPRequestObject(); // defined in ajax.js 103 92 let addParams = ['option=com_customtables', 'view=edititem', 'clean=1', 'frmt=json']; … … 257 246 if (!table) return -2; 258 247 let lookingFor = '#' + icon + tableid + "x" + id; 259 console.warn("lookingFor", lookingFor)260 248 let rows = table.rows; 261 console.log("count:", rows.length) 249 262 250 for (let i = 0; i < rows.length; i++) { 263 251 -
customtables/trunk/libraries/customtables/media/js/edit.js
r3428455 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-2025. All Rights Reserved6 * @copyright (C) 2018-2026. All Rights Reserved 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ -
customtables/trunk/libraries/customtables/media/js/extratasks.js
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright Copyright (C) 2018-202 5. All Rights Reserved7 * @copyright Copyright (C) 2018-2026. All Rights Reserved 8 8 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/media/js/layouteditor.js
r3428455 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-202 5. All Rights Reserved6 * @copyright Copyright (C) 2018-2026. All Rights Reserved 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ … … 907 907 908 908 if (tagSetAttributes.name === 'filters') 909 fullTagName = tag.examplevalue + ' | ' + fullTagName;909 fullTagName = tag.examplevalue + ' | ' + tag.name;//fullTagName; 910 910 911 911 -
customtables/trunk/libraries/customtables/media/js/layoutwizard.js
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright Copyright (C) 2018-202 5. All Rights Reserved7 * @copyright Copyright (C) 2018-2026. All Rights Reserved 8 8 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/media/js/settings.js
r3428455 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-202 5. All Rights Reserved6 * @copyright Copyright (C) 2018-2026. All Rights Reserved 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ -
customtables/trunk/libraries/customtables/media/js/typeparams.js
r3428455 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-202 5. All Rights Reserved6 * @copyright Copyright (C) 2018-2026. All Rights Reserved 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ -
customtables/trunk/libraries/customtables/media/js/typeparams_common.js
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright Copyright (C) 2018-202 5. All Rights Reserved7 * @copyright Copyright (C) 2018-2026. All Rights Reserved 8 8 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/media/js/typeparams_j4.js
r3428455 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-202 5. All Rights Reserved6 * @copyright Copyright (C) 2018-2026. All Rights Reserved 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ -
customtables/trunk/libraries/customtables/media/js/uploader.js
r3428455 r3476791 4 4 * @author Ivan Komlev <support@joomlaboat.com> 5 5 * @link https://joomlaboat.com 6 * @copyright Copyright (C) 2018-202 5. All Rights Reserved6 * @copyright Copyright (C) 2018-2026. All Rights Reserved 7 7 * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html 8 8 **/ -
customtables/trunk/libraries/customtables/media/xml/fieldtypes.xml
r3424598 r3476791 313 313 </type> 314 314 315 <!-- Not used in WordPress version and will be obsolete in Joomla version in December 2024 -->316 <type ct_name="customtables" deprecated="1" name="customtables" label="Hierarchical List"317 description="Hierarchical List."318 rawquotes="1" ct_alias="customtables" disabled="false" ct_special="false" priority="3" proversion="1">319 <params>320 <param name="option" label="Option" description="" default="" type="string"/>321 <param name="selector" label="Selector" description="How to select records." default="single" type="list"322 example="multi">323 <option value="single" label="Single (Select Box)"/>324 <option value="multi" label="Multiple (List Box)"/>325 </param>326 </params>327 328 <editparams name="customtables" label="Input Element Parameters" description="">329 <params>330 <param type="string" name="cssclass" label="CSS Class" description="Name or names of CSS class(es)."/>331 <param name="attributes" label="Attributes"332 description="Optional attributes like: disabled, onclick, onchange, etc." default=""333 type="string"/>334 </params>335 </editparams>336 </type>337 338 315 <!-- WordPress Ready 32 --> 339 316 <type ct_name="id" label="Auto-increment ID" description="Custom record ID." -
customtables/trunk/libraries/customtables/media/xml/tags.xml
r3424598 r3476791 786 786 </params> 787 787 </tag> 788 789 <tag name="sqlquery" label="SQL SELECT Query" startchar="{" endchar="}" 790 description="Executes a custom SQL SELECT query using a read-only database connection. Only SELECT statements are allowed; UPDATE, DELETE, INSERT, and other write operations are blocked." 791 twigclass="tables" proversion="1" wordpress="false"> 792 <params> 793 <param name="query" label="Query" type="string" 794 description="The SQL SELECT query to execute. Must be a valid SELECT statement. Use the #__ prefix for Joomla table names and concatenate Twig variables using '~'." 795 example="SELECT COUNT(id) FROM #__users" 796 /> 797 <param name="mode" 798 label="Result Mode" 799 type="list" 800 default="auto" 801 description="Controls how the query result is returned" 802 > 803 <option value="auto" label="Auto detect"/> 804 <option value="scalar" label="Single value"/> 805 <option value="row" label="Single row"/> 806 <option value="list" label="Multiple rows"/> 807 </param> 808 </params> 809 </tag> 810 788 811 </tagset> 789 812 … … 1295 1318 1296 1319 <tag name="layout" label="Extend Layout" startchar="{" endchar="}" 1297 description="Includes the content of selected layout." hidedefaultexample="0" proversion="1" 1320 description="Includes and renders the content of the selected layout file." hidedefaultexample="0" 1321 proversion="1" 1298 1322 twigclass="document" wordpress="true"> 1299 1323 <params> 1300 <param name="layoutname" label="Layout Name" type="layout" description="Layout Name." 1324 <param name="layoutname" label="Layout Name" type="layout" 1325 description="The name of the layout to include." 1301 1326 examplenoquotes="0" table="current" example="my_script_layout"/> 1302 <!-- <param name="process" label="Process content" description="Process content plugins such as Content - Email Cloaking etc." type="radio" default="" options="|No,process|Process"/> --> 1327 <param name="process" label="Content plugins" 1328 description="If enabled, runs Joomla content plugins after rendering (e.g., Content - Email Cloaking)." 1329 type="radio" default="" options="false|False,true|True"/> 1303 1330 </params> 1304 1331 </tag> … … 1356 1383 </params> 1357 1384 </tag> 1385 1386 <tag name="cookie" label="Cookie" startchar="{" endchar="}" hidedefaultexample="1" 1387 description="Returns the value of an HTTP cookie sent with the current request." 1388 proversion="0" twigclass="document" 1389 layouttypes="1,2,4,5,6" wordpress="true"> 1390 <params> 1391 <param name="text" label="Cookie name" type="string" 1392 example="token" 1393 description="The name of the cookie to read from the current request (same as PHP $_COOKIE)."/> 1394 </params> 1395 </tag> 1396 1358 1397 1359 1398 <!-- Deprecated --> -
customtables/trunk/libraries/customtables/ordering/ordering.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/Save_blob.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/Save_file.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/Save_image.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/Save_imagegallery.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/Save_records.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/Save_usergroups.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/record.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/records/savefieldqueryset.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/utilities/ExportTables.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 118 118 } else { 119 119 $whereClause->addCondition('link', 'index.php?option=com_customtables&view=', 'INSTR'); 120 $whereClause->addCondition('params', '"establename":"' . $table['tablename'] . '"', 'INSTR'); 120 121 $whereClauseOr = new MySQLWhereClause(); 122 $whereClauseOr->addOrCondition('params', '"establename":"' . $table['tablename'] . '"', 'INSTR'); 123 $whereClauseOr->addOrCondition('params', '"establename":"' . $table['id'] . '"', 'INSTR'); 124 125 $whereClause->addNestedCondition($whereClauseOr); 121 126 } 122 127 -
customtables/trunk/libraries/customtables/utilities/ImportTables.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 24 24 */ 25 25 public static function processFile($filename, $menuType, ?string $message, $category = '', 26 $importFields = true, $importLayouts = true, $importMenu = true, string $fieldPrefix = null): void26 $importFields = true, $importLayouts = true, $importMenu = true, ?string $fieldPrefix = null): void 27 27 { 28 28 $ct = new CT([], true); … … 80 80 { 81 81 foreach ($JSON_data as $table) { 82 $importedTableFieldPrefix = $table['table']['customfieldprefix'] ;82 $importedTableFieldPrefix = $table['table']['customfieldprefix'] ?? 'ct_'; 83 83 $importedTableRealIdFieldName = empty($table['table']['customidfield']) ? 'id' : $table['table']['customidfield']; 84 84 … … 412 412 } else { 413 413 //Create field record 414 $field_new['id'] = null; //This is important to prevent duplicate records. 414 415 $fieldid = ImportTables::insertRecords('#__customtables_fields', $field_new); 415 416 if ($fieldid != 0) { -
customtables/trunk/libraries/customtables/views/admin-diagram.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/views/admin-documentation.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/views/admin-listoffields.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/views/admin-listoflayouts.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 171 171 $params['publishstatus'] = common::inputPostInt('publishstatus', null, 'create-edit-layout'); 172 172 $params['mimetype'] = common::inputPostString('mimetype', null, 'create-edit-layout'); 173 $params['stealth'] = common::inputPostString('stealth', null, 'create-edit-layout'); 173 174 174 175 $data['params'] = json_encode($params); -
customtables/trunk/libraries/customtables/views/admin-listoftables.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/libraries/customtables/views/catalog.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ … … 21 21 var ?string $layoutCodeCSS; 22 22 var ?string $layoutCodeJS; 23 var bool $stealth; 23 24 24 25 function __construct(CT &$ct) … … 27 28 $this->layoutCodeCSS = ''; 28 29 $this->layoutCodeJS = ''; 30 $this->stealth = false; 29 31 } 30 32 … … 46 48 if ($layoutName !== null) { 47 49 $pageLayout = $Layouts->getLayout($layoutName); 50 48 51 if (isset($Layouts->layoutId)) { 49 52 $pageLayoutNameString = ($layoutName == '' ? 'InlinePageLayout' : $layoutName); … … 56 59 } 57 60 } 61 62 $this->stealth = $Layouts->stealth; 58 63 59 64 // -------------------- Table -
customtables/trunk/libraries/customtables/views/edit.php
r3428455 r3476791 5 5 * @author Ivan Komlev <support@joomlaboat.com> 6 6 * @link https://joomlaboat.com 7 * @copyright (C) 2018-202 5. Ivan Komlev7 * @copyright (C) 2018-2026. Ivan Komlev 8 8 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html 9 9 **/ -
customtables/trunk/readme.txt
r3428455 r3476791 6 6 Requires at least: 6.0 7 7 Tested up to: 6.9 8 Stable tag: 1. 6.68 Stable tag: 1.7.1 9 9 Requires PHP: 7.4 10 10 License: GPLv2 … … 50 50 51 51 == Changelog == 52 53 = 1.7.1 = 54 - {{ html.search() }} button icon fixed. 55 - {{ html.searchreset() }} button label and icon fixed. 56 57 = 1.7.0 = 58 - Import tables duplicate field records bug fixed. 59 60 = 1.6.9 = 61 - {{ tables.sqlselect() }} tag added. 62 63 = 1.6.8 = 64 - PHP 8.4 Warnings fixed. 65 66 = 1.6.7 = 67 - PHP 8.4 Compatibility Warnings fixed. CT Library Updated. 52 68 53 69 = 1.6.6 =
Note: See TracChangeset
for help on using the changeset viewer.