summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-21 19:53:44 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-21 19:53:44 +0100
commita60c653c8c4dd30f6f93def08d363db5fa2eac26 (patch)
treec92309a7999841ad039dfe0b61af61c451adbc33 /admin
parent8439f9a17d01d58057ef65e439bdd3fb6475f69f (diff)
downloadstock-a60c653c8c4dd30f6f93def08d363db5fa2eac26.tar.gz
stock-a60c653c8c4dd30f6f93def08d363db5fa2eac26.tar.bz2
stock-a60c653c8c4dd30f6f93def08d363db5fa2eac26.zip
Strip galleriffic and matteo from stock package
Neither is appropriate for a stock control system. Removed gallery_views/galleriffic and gallery_views/matteo directories, all related constants, switch cases, template divs, and preference keys. Default layout changed to fixed_grid; remaining options are fixed_grid, auto_flow, position_number, simple_list. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/admin_stock_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/admin_stock_inc.php b/admin/admin_stock_inc.php
index 6ef727e..7ec0ed5 100755
--- a/admin/admin_stock_inc.php
+++ b/admin/admin_stock_inc.php
@@ -165,7 +165,7 @@ if (!empty($_REQUEST['stockAdminSubmit'])) {
simple_set_toggle($item, STOCK_PKG_NAME);
}
- foreach( [ 'stock_list_thumbnail_size', 'stock_gallery_default_thumbnail_size', 'default_assembly_pagination', 'rows_per_page', 'cols_per_page', 'total_per_page', 'lines_per_page', 'galleriffic_style', 'stock_gallery_default_sort_mode' ] as $key ) {
+ foreach( [ 'stock_list_thumbnail_size', 'stock_gallery_default_thumbnail_size', 'default_assembly_pagination', 'rows_per_page', 'cols_per_page', 'total_per_page', 'lines_per_page', 'stock_gallery_default_sort_mode' ] as $key ) {
$gBitSystem->storeConfig($key, $_REQUEST[$key], STOCK_PKG_NAME);
}