Version 4.3.0

This commit is contained in:
Neo committed 2025-12-19 05:47:12 -08:00
1 parent 96997ddd8e
commit fe1acf984a
1349 files changed
+116159 -67711

No files matched your search

+10
View File
@@ -60,6 +60,16 @@ class _Blocks extends \IPS\Widget\PermissionCache
{
$this->neverCache = TRUE;
}
else if ( $block->type === 'plugin' )
{
try
{
/* loads and JS and CSS needed */
$block->orientation = $orientation;
$block->widget()->init();
}
catch( \Exception $e ) { }
}
}
}
catch( \Exception $e ) { }
+6
View File
@@ -45,6 +45,12 @@ class _Categories extends \IPS\Widget\PermissionCache
*/
public function render()
{
/* If we're not on a Pages page, return nothing */
if( !\IPS\cms\Pages\Page::$currentPage )
{
return '';
}
/* Scope makes it possible for this block to fire before the main block which sets up the dispatcher */
$db = NULL;
if ( ! \IPS\cms\Databases\Dispatcher::i()->databaseId )
+1 -1
View File
@@ -84,7 +84,7 @@ class _DatabaseFilters extends \IPS\Widget
$fields = array();
$cookie = $category->getFilterCookie();
$cookieValues = ( $cookie !== NULL ) ? array_combine( array_map( create_function( '$k', 'return "field_" . $k;'), array_keys( $cookie ) ), $cookie ) : array();
$cookieValues = ( $cookie !== NULL ) ? array_combine( array_map( function( $k ) { return "field_" . $k; }, array_keys( $cookie ) ), $cookie ) : array();
$urlValues = array();
+1 -13
View File
@@ -37,19 +37,7 @@ class _Rss extends \IPS\Widget\StaticCache
* @brief Plugin
*/
public $plugin = '';
/**
* Initialise this widget
*
* @return void
*/
public function init()
{
parent::init();
// Use this to perform any set up and to assign a template that is not in the following format:
// $this->template( array( \IPS\Theme::i()->getTemplate( 'widgets', $this->app, 'front' ), $this->key ) );
}
/**
* Specify widget configuration
*