Version 3.4.5

This commit is contained in:
Neo committed 2025-12-19 00:38:12 -08:00
1 parent fb6b5baabc
commit e4478369d8
1360 files changed
+228921 -179445

No files matched your search

+25 -6
View File
@@ -3,10 +3,10 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* RSS Import
* Owner: Matt Mecham
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-05-16 11:23:35 -0400 (Thu, 16 May 2013) $
* </pre>
*
* @author Matt Mecham
@@ -15,7 +15,7 @@
* @package IP.Board
* @link http://www.invisionpower.com
* @since 24th November 2009
* @version $Revision: 10914 $
* @version $Revision: 12255 $
*/
/**
@@ -219,7 +219,26 @@ class rss_import
ipsRegistry::getClass('class_localization')->loadLanguageFile( array( 'public_global' ), 'core' );
$this->_settings['LinkBack'] = "<a href=\"{url}\">" . $this->registry->getClass('class_localization')->words['_rssimportsource'] . "</a>";
/* Are we checking for external links */
$rels = array();
$rel = '';
if( ipsRegistry::$settings['posts_add_nofollow'] )
{
$rels[] = "nofollow";
}
if( ipsRegistry::$settings['links_external'] )
{
$rels[] = "external";
}
if( count($rels) )
{
$rel = " rel='" . implode( ' ', $rels ) . "'";
}
$this->_settings['LinkBack'] = "<a href=\"{url}\" {$rel}>" . $this->registry->getClass('class_localization')->words['_rssimportsource'] . "</a>";
/* Reset class */
$this->_reset();
@@ -278,7 +297,7 @@ class rss_import
* Build a RSS import query
*
* @access public
* @param array Data
* @param mixed False on error/no entries, or an array of imported entries
*/
public function build( $data )
{
@@ -376,7 +395,7 @@ class rss_import
if ( ! count( $check_guids ) )
{
$rss_error[] = $this->lang->words['im_noitems'];
continue;
return false;
}
$this->DB->build( array( 'select' => 'rss_guid',