Version 5.0.13

This commit is contained in:
Neo committed 2025-12-19 19:04:57 -08:00
1 parent b89858b2ff
commit 5efe744c5f
1407 files changed
+69690 -30177

No files matched your search

@@ -14,6 +14,7 @@ namespace IPS\gallery\extensions\core\ContentRouter;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Application\Module;
use IPS\Content\Filter;
use IPS\Extensions\ContentRouterAbstract;
use IPS\gallery\Album\Item;
use IPS\gallery\Application;
@@ -81,7 +82,7 @@ class Gallery extends ContentRouterAbstract
{
if( !in_array( $className, $this->classes ) or $className == 'IPS\gallery\Album\Item' )
{
return new Content( $className, $url, $where );
return new Content( $className, $url, $where, null, Filter::FILTER_AUTOMATIC, 'read' );
}
Output::i()->jsFiles = array_merge( Output::i()->jsFiles, Output::i()->js('front_browse.js', 'gallery' ) );
@@ -89,7 +90,7 @@ class Gallery extends ContentRouterAbstract
Application::outputCss();
$table = new Table( $className, $url, $where, NULL, FALSE );
$table = new Table( $className, $url, $where, NULL, Filter::FILTER_AUTOMATIC, 'read' );
$table->tableTemplate = array( Theme::i()->getTemplate( 'browse', 'gallery' ), 'imageTable' );
/* Get rows template */