diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-26 14:55:36 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-26 14:55:36 +0100 |
| commit | 70c559432ece25dd3def8c64ddb7c1908b4d49e0 (patch) | |
| tree | 9627e43fbe0d0eb082e4d54fa47773cda77e58f7 /templates/menu_stock.tpl | |
| parent | 0579f237e179c8815c1c44d9c5cef94ad2a33588 (diff) | |
| download | stock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.tar.gz stock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.tar.bz2 stock-70c559432ece25dd3def8c64ddb7c1908b4d49e0.zip | |
Add xref support, assembly/component views, and import tooling
- add_xref.php, edit_xref.php: xref record add/edit for stock content types
- admin xref group/source pages for stock_assembly and stock_component
- assembly_views/: auto_flow, fixed_grid, position_number, simple_list layouts
- Full assembly and component listing, tree, ordering, and detail pages
- Import tooling (ImportAssembly, ImportComponent, load scripts)
- liberty_plugins for assembly and component data types
- schema_inc.php updated; StockAssembly, StockBase, StockComponent,
StockMovement classes updated with xref group/item/multiple renames
- Templates updated throughout for xref rename (source→item, group→x_group)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates/menu_stock.tpl')
| -rwxr-xr-x | templates/menu_stock.tpl | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/templates/menu_stock.tpl b/templates/menu_stock.tpl index 20e1406..6f23750 100755 --- a/templates/menu_stock.tpl +++ b/templates/menu_stock.tpl @@ -2,26 +2,11 @@ {if !empty($packageMenuTitle)}<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a>{/if} <ul class="{$packageMenuClass}"> {if $gBitUser->hasPermission('p_stock_view')} - <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}list_galleries.php">{booticon iname="icon-list" iexplain="List Galleries" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}list_assemblies.php">{booticon iname="icon-list" iexplain="List Assemblies" ilocation=menu}</a></li> {/if} {if $gBitUser->hasPermission('p_stock_create')} - <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}list_galleries.php?user_id={$gBitUser->mUserId}">{booticon iname="icon-picture" iexplain="My Galleries" ilocation=menu}</a></li> - <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}edit.php">{booticon iname="icon-camera" iexplain="Create a Gallery" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}list_assemblies.php?user_id={$gBitUser->mUserId}">{booticon iname="icon-picture" iexplain="My Assemblies" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}edit.php">{booticon iname="icon-camera" iexplain="Create an Assembly" ilocation=menu}</a></li> {/if} - {if $gBitUser->hasPermission('p_stock_upload')} - <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}upload.php">{booticon iname="fa-cloud-arrow-up" iexplain="Upload Images" ilocation=menu}</a></li> - {/if} - {* if $gBitUser->hasPermission('p_stock_view')} - <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}gallery_tree.php">{booticon iname="icon-sitemap" iexplain="growser gallery tree" ilocation=menu} Browse Gallery Tree</a></li> - {/if *} - {if $gBitUser->isRegistered() && $gBitSystem->isPackageActive('quota')} - <li><a class="item" href="{$smarty.const.QUOTA_PKG_URL}">{booticon iname="icon-hdd" iexplain="Usage" ilocation=menu}</a></li> - {/if} - {if $gBitUser->isRegistered() && $gBitSystem->isPackageActive('gatekeeper')} - <li><a class="item" href="{$smarty.const.GATEKEEPER_PKG_URL}">{booticon iname="fa-lock" iexplain="Security" ilocation=menu}</a></li> - {/if} - {*if $gBitUser->hasPermission('p_stock_admin')} - <li><a class="item" href="{$smarty.const.STOCK_PKG_URL}admin/admin_imagegals.php">{tr}Admin Galleries{/tr}</a></li> - {/if*} </ul> {/strip} |
