summaryrefslogtreecommitdiff
path: root/browse.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-21 19:26:26 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-21 19:26:26 +0100
commit4ba9b3906b27e3571767689d2764b67dfe007e30 (patch)
tree494f4e6a65d34a4338c14de4144595a2df8c65b5 /browse.php
downloadstock-4ba9b3906b27e3571767689d2764b67dfe007e30.tar.gz
stock-4ba9b3906b27e3571767689d2764b67dfe007e30.tar.bz2
stock-4ba9b3906b27e3571767689d2764b67dfe007e30.zip
Initial stock package — forked from fisheye
StockAssembly (was FisheyeGallery), StockComponent (was FisheyeImage), StockBase (was FisheyeBase). All fisheye_ table prefixes and FISHEYE_ constants renamed to stock_/STOCK_. DB schema will need rework before install; this gives a non-clashing base to diverge from fisheye. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'browse.php')
-rwxr-xr-xbrowse.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/browse.php b/browse.php
new file mode 100755
index 0000000..8c15360
--- /dev/null
+++ b/browse.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * @version $Header$
+ * @package stock
+ * @subpackage functions
+ */
+
+/**
+ * required setup
+ */
+namespace Bitweaver\Stock;
+
+require_once '../kernel/includes/setup_inc.php';
+
+global $gBitSystem, $gBitSmarty;
+
+$gStockAssembly = new StockAssembly();
+$galleryList = $gStockAssembly->getList( $_REQUEST );
+$gBitSmarty->assign( 'galleryList', $galleryList );
+
+$gBitSystem->display( "bitpackage:stock/browse_galleries.tpl" , null, [ 'display_mode' => 'display' ] );