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

+4 -2
View File
@@ -93,8 +93,6 @@ implements Polymorphic
return new $widgetClass( $uniqueKey, $configuration, $access, $orientation, $layout );
}
parent::__construct( $uniqueKey, $configuration, $access, $orientation, $layout );
/* Force the database to be set to the DatabaseID */
if( !isset( $this->configuration['cms_rf_database'] ) )
{
@@ -104,6 +102,10 @@ implements Polymorphic
$this->key = 'RecordFeed' . static::$customDatabaseId;
static::$class = 'IPS\cms\Records' . static::$customDatabaseId;
parent::__construct( $uniqueKey, $configuration, $access, $orientation, $layout );
/* Load block title and description */
Member::loggedIn()->language()->words[ 'block_RecordFeed' . static::$customDatabaseId ] = Member::loggedIn()->language()->addToStack( 'cms_db_feed_block_with_name', FALSE, array('sprintf' => array( Member::loggedIn()->language()->addToStack('content_db_' . static::$customDatabaseId ) ) ) );
Member::loggedIn()->language()->words[ 'block_RecordFeed' . static::$customDatabaseId . '_desc' ] = Member::loggedIn()->language()->addToStack( 'cms_db_feed_block_with_name_desc', false, array( 'sprintf' => array( Member::loggedIn()->language()->addToStack( 'content_db_lang_pl_' . static::$customDatabaseId ) ) ) );