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

@@ -110,7 +110,7 @@ class Widgets extends EditorLocationsAbstract
if ( $area !== NULL )
{
return Module::get( $area[0], $area[1] );
return Module::get( $area[0], $area[1],'front' );
}
throw new LogicException;
@@ -65,7 +65,7 @@ class MoveComments extends QueueAbstract
case 'forums':
if ( isset( $data['categoryId'] ) )
{
$where = array( Db::i()->in( 'comment_record_id', iterator_to_array( Db::i()->select( 'record_id', "cms_custom_database_{$data['databaseId']}", array( "category_id=?", $data['categoryId'] ) ) ) ) );
$where = array( Db::i()->in( 'comment_record_id', iterator_to_array( Db::i()->select( 'primary_id_field', "cms_custom_database_{$data['databaseId']}", array( "category_id=?", $data['categoryId'] ) ) ) ) );
}
else
{
@@ -75,16 +75,6 @@ class RssImport extends RssImportAbstract
}
}
/**
* Show in the Admin CP?
*
* @return boolean
*/
public function showInAdminCp(): bool
{
return true;
}
/**
* Return available options for a Form\Select
*
@@ -35,6 +35,7 @@ class CopyTopicToDatabase extends Item
$link = new Menu\Link( Url::internal( 'app=cms&module=database&controller=topic&id=' . $item->tid . '&_new=1', 'front', 'topic_copy', $item->title_seo ), 'copy_topic_to_database' );
$link->opensDialog( 'copy_select_database', 'narrow', remoteSubmit: true );
$link->position = 'delete';
$link->icon = 'fa-solid fa-copy';
$newLinks['cms'] = $link;
}
return $newLinks;