Version 4.2.0

This commit is contained in:
Neo committed 2025-12-19 05:44:59 -08:00
1 parent 0dc2aee5ed
commit 96997ddd8e
2074 files changed
+125454 -55780

No files matched your search

+4 -5
View File
@@ -1,13 +1,12 @@
<?php
/**
* @brief Custom Blocks Block
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Content
* @since 17 Oct 2014
* @version SVN_VERSION_NUMBER
*/
namespace IPS\cms\widgets;
+4 -5
View File
@@ -1,13 +1,12 @@
<?php
/**
* @brief Categories Widget
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Content
* @since 24 Sept 2014
* @version SVN_VERSION_NUMBER
*/
namespace IPS\cms\widgets;
+4 -5
View File
@@ -1,13 +1,12 @@
<?php
/**
* @brief Database Widget
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Content
* @since 22 Aug 2014
* @version SVN_VERSION_NUMBER
*/
namespace IPS\cms\widgets;
+4 -5
View File
@@ -1,13 +1,12 @@
<?php
/**
* @brief DatabaseFilters Widget
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Content
* @since 02 Sept 2014
* @version SVN_VERSION_NUMBER
*/
namespace IPS\cms\widgets;
+4 -9
View File
@@ -1,13 +1,12 @@
<?php
/**
* @brief RecordFeed Widget
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Content
* @since 24 Nov 2014
* @version SVN_VERSION_NUMBER
*/
namespace IPS\cms\widgets;
@@ -223,10 +222,6 @@ class _RecordFeed extends \IPS\Content\Widget
$fieldClass = 'IPS\cms\Fields' . $this->configuration['cms_rf_database'];
$customFields = $fieldClass::data( 'view', NULL, $fieldClass::FIELD_SKIP_TITLE_CONTENT | $fieldClass::FIELD_DISPLAY_FILTERS );
if ( !isset( $this->configuration['widget_feed_use_perms'] ) or $this->configuration['widget_feed_use_perms'] )
{
$where['container'][] = array( 'category_can_view_others=1' );
}
foreach( $this->_getCustomValuesFromConfiguration( TRUE ) as $f => $v )
{
$k = 'field_' . $f;
+20 -18
View File
@@ -1,13 +1,12 @@
<?php
/**
* @brief Rss Widget
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Content
* @since 10 Dec 2014
* @version SVN_VERSION_NUMBER
*/
namespace IPS\cms\widgets;
@@ -116,23 +115,26 @@ class _Rss extends \IPS\Widget\StaticCache
$i = 0;
$items = array();
foreach ( $request->decodeXml()->articles() as $guid => $article )
if( $request )
{
if ( isset( $article['title'] ) and isset( $article['link'] ) )
foreach ( $request->decodeXml()->articles() as $guid => $article )
{
$items[ $guid ] = array(
'title' => $article['title'],
'content' => \IPS\Text\Parser::parseStatic( $article['content'] ),
'link' => (string) $article['link'],
'date' => ( $article['date'] instanceof \IPS\DateTime ) ? $article['date']->getTimestamp() : $article['date']
);
}
if ( isset( $article['title'] ) and isset( $article['link'] ) )
{
$items[ $guid ] = array(
'title' => $article['title'],
'content' => \IPS\Text\Parser::parseStatic( $article['content'] ),
'link' => (string) $article['link'],
'date' => ( $article['date'] instanceof \IPS\DateTime ) ? $article['date']->getTimestamp() : $article['date']
);
}
$i++;
$i++;
if ( $i >= $this->configuration['block_rss_import_number'] )
{
break;
if ( $i >= $this->configuration['block_rss_import_number'] )
{
break;
}
}
}
}
+4 -5
View File
@@ -1,13 +1,12 @@
<?php
/**
* @brief WYSIWYG Widget
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Community Suite
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Content
* @since 22 Aug 2014
* @version SVN_VERSION_NUMBER
*/
namespace IPS\cms\widgets;