Skip to content

Commit d81a29f

Browse files
committed
3.1.0
1 parent 21cdfaf commit d81a29f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/global/code/Core.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class Core
273273
/**
274274
* The release date: YYYYMMDD
275275
*/
276-
private static $releaseDate = "20191019";
276+
private static $releaseDate = "20230220";
277277

278278
/**
279279
* The minimum required PHP version needed to run Form Tools.

src/global/code/Themes.class.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* This file defines all methods relating to Form Tools themes. Note: the Theme setting tab/page
66
* is updated via Settings::updateThemeSettings.
77
*
8-
* @copyright Benjamin Keen 2018
8+
* @copyright Benjamin Keen 2023
99
* @author Benjamin Keen <ben.keen@gmail.com>
10-
* @package 3-0-x
10+
* @package 3-1-x
1111
* @subpackage Themes
1212
*/
1313

@@ -25,7 +25,7 @@ public static function getList($enabled_only = false)
2525
$enabled_only_clause = ($enabled_only) ? "WHERE is_enabled = 'yes'" : "";
2626

2727
$db->query("
28-
SELECT *
28+
SELECT *
2929
FROM {PREFIX}themes
3030
$enabled_only_clause
3131
ORDER BY theme_name
@@ -99,9 +99,9 @@ public static function updateThemeList()
9999
try {
100100
foreach ($themes as $theme_info) {
101101
$db->query("
102-
INSERT INTO {PREFIX}themes (theme_folder, theme_name, uses_swatches, swatches, author, theme_link,
102+
INSERT INTO {PREFIX}themes (theme_folder, theme_name, uses_swatches, swatches, author, theme_link,
103103
description, is_enabled, theme_version)
104-
VALUES (:folder, :theme_name, :theme_uses_swatches, :swatches, :theme_author, :theme_link,
104+
VALUES (:folder, :theme_name, :theme_uses_swatches, :swatches, :theme_author, :theme_link,
105105
:theme_description, :is_enabled, :theme_version)
106106
");
107107
$db->bindAll(array(
@@ -261,7 +261,7 @@ public static function displayModulePage($module_folder, $template, $page_vars =
261261
$LANG[$module_folder] = $module_lang_strings;
262262
$smarty->assign("L", $module_lang_strings);
263263

264-
extract(Hooks::processHookCalls("end", compact("account_type", "module_folder"), array()), EXTR_OVERWRITE);
264+
extract(Hooks::processHookCalls("end", compact("module_folder"), array()), EXTR_OVERWRITE);
265265

266266
$settings = Sessions::getWithFallback("settings", array());
267267
$smarty->assign("settings", $settings);
@@ -316,7 +316,7 @@ public static function displayModulePage($module_folder, $template, $page_vars =
316316

317317
$smarty->assign("module_folder", $module_folder);
318318

319-
extract(Hooks::processHookCalls("main", compact("g_smarty", "template", "page_vars"), array("g_smarty")), EXTR_OVERWRITE);
319+
extract(Hooks::processHookCalls("main", compact("smarty", "template", "page_vars"), array("g_smarty")), EXTR_OVERWRITE);
320320

321321
$smarty->display("$root_dir/modules/$module_folder/$template");
322322
}

0 commit comments

Comments
 (0)