diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-02 13:54:50 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-02 13:54:50 +0100 |
| commit | ce4dc08e96c18dd88ffbc1ad641b1f18d4baf3bd (patch) | |
| tree | cde393007ffbb07a7a78fc0bba5fd027c861cf69 /modules/mod_banner_rand.php | |
| parent | a80e36d404a07a2c1ff7f39f990f8147adc1d62d (diff) | |
| download | stock-ce4dc08e96c18dd88ffbc1ad641b1f18d4baf3bd.tar.gz stock-ce4dc08e96c18dd88ffbc1ad641b1f18d4baf3bd.tar.bz2 stock-ce4dc08e96c18dd88ffbc1ad641b1f18d4baf3bd.zip | |
Remove old fisheye-era files superseded by stock rewrite
Removes gallery views, image editing, carousel/gallery liberty plugins,
gallery/image templates, and supporting includes that predate the
stock package rewrite. None of these exist in the current bitweaver5
working tree.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'modules/mod_banner_rand.php')
| -rwxr-xr-x | modules/mod_banner_rand.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/mod_banner_rand.php b/modules/mod_banner_rand.php deleted file mode 100755 index e083bf1..0000000 --- a/modules/mod_banner_rand.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/** - * @version $Header$ - * @package stock - * @subpackage modules - */ - -/** - * required setup - */ -namespace Bitweaver\Stock; - -global $gBitSmarty, $gContent; -// makes things in older modules easier - -if ( !empty($gBitSmarty->tpl_vars) ) { - $tpls = $gBitSmarty->tpl_vars; - $module_params = $tpls['moduleParams']; - $listHash = $module_params->value; - $listHash['assembly_id'] = $module_params->value['module_rows']; -} -$image = new StockComponent(); - -$display = true; - -$listHash['size'] = 'extra-large'; -$listHash['max_records'] = 5; -$listHash['sort_mode'] = 'random'; - -$images = $image->getList( $listHash ); -$moduleTitle = 'Banner Image'; -$gBitSmarty->assign( 'moduleTitle', $moduleTitle ); -$gBitSmarty->assign( 'modImages', $images ); -$gBitSmarty->assign( 'module_params', $listHash ); |
