summaryrefslogtreecommitdiff
path: root/templates/admin_stock.tpl
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 /templates/admin_stock.tpl
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 'templates/admin_stock.tpl')
-rwxr-xr-xtemplates/admin_stock.tpl12
1 files changed, 1 insertions, 11 deletions
diff --git a/templates/admin_stock.tpl b/templates/admin_stock.tpl
index f46d8f5..9b96118 100755
--- a/templates/admin_stock.tpl
+++ b/templates/admin_stock.tpl
@@ -5,8 +5,6 @@ function updateGalleryPagination() {
BitBase.hideById('auto_flow-pagination');
BitBase.hideById('position_number-pagination');
BitBase.hideById('simple_list-pagination');
- BitBase.hideById('matteo-pagination');
- BitBase.hideById('galleriffic-pagination');
var input = document.getElementById('gallery-pagination');
var i = input.selectedIndex;
@@ -99,7 +97,7 @@ function updateGalleryPagination() {
</div>
<div class="form-group">
- {html_options id="gallery-pagination" name="default_gallery_pagination" id="gallery-pagination" options=$galleryPaginationTypes selected=$gBitSystem->getConfig('default_gallery_pagination',$smarty.const.STOCK_PAGINATION_GALLERIFFIC) onchange="updateGalleryPagination();"}
+ {html_options id="gallery-pagination" name="default_gallery_pagination" id="gallery-pagination" options=$galleryPaginationTypes selected=$gBitSystem->getConfig('default_gallery_pagination',$smarty.const.STOCK_PAGINATION_FIXED_GRID) onchange="updateGalleryPagination();"}
<div id="fixed_grid-pagination">
<input type="text" id="gallery-rows-per-page" name="rows_per_page" size="2" maxlength="2" value="{$gContent->mInfo.rows_per_page|default:$gBitSystem->getConfig('stock_gallery_default_rows_per_page')}"/> {tr}Rows per page{/tr}<br/>
@@ -117,14 +115,6 @@ function updateGalleryPagination() {
<input type="text" id="gallery-rows-per-page" name="lines_per_page" size="2" maxlength="2" value="{$gBitSystem->getConfig('stock_gallery_default_rows_per_page')}"/> {tr}Total lines per page{/tr}
{formhelp note="This option allows a single column display of images with mime details where available."}
</div>
- <div id="matteo-pagination">
- <input type="text" id="gallery-rows-per-page" name="images_per_page" size="2" maxlength="2" value="{$gBitSystem->getConfig('stock_gallery_default_rows_per_page')}"/> {tr}Total images per page{/tr}
- {formhelp note="This option provides an ajax powered scrolling display using the mbGallery jquery library."}
- </div>
- <div id="galleriffic-pagination">
- <input type="text" id="galleriffic-style" name="galleriffic_style" size="2" maxlength="2" value="{$gBitSystem->getConfig('stock_gallery_default_galleriffic_style')}"/> {tr}Galleriffic layout style{/tr}
- {formhelp note="This option provides a javascript powered tabbed thumbnail list display using the galleriffic jquery library."}
- </div>
</div>
<div class="form-group">