|
From: <be...@us...> - 2014-03-03 01:29:13
|
Revision: 12342
http://sourceforge.net/p/xoops/svn/12342
Author: beckmi
Date: 2014-03-03 01:28:59 +0000 (Mon, 03 Mar 2014)
Log Message:
-----------
Adding RSSFit release 1.22 by Hervet
Modified Paths:
--------------
XoopsModules/rssfit/trunk/rss/README.txt
XoopsModules/rssfit/trunk/rss/admin/about.php
XoopsModules/rssfit/trunk/rss/admin/admin_header.php
XoopsModules/rssfit/trunk/rss/admin/do_channel.php
XoopsModules/rssfit/trunk/rss/admin/do_intro.php
XoopsModules/rssfit/trunk/rss/admin/do_plugins.php
XoopsModules/rssfit/trunk/rss/admin/do_sticky.php
XoopsModules/rssfit/trunk/rss/admin/do_subfeeds.php
XoopsModules/rssfit/trunk/rss/admin/footer.php
XoopsModules/rssfit/trunk/rss/admin/index.php
XoopsModules/rssfit/trunk/rss/admin/menu.php
XoopsModules/rssfit/trunk/rss/class/misc.php
XoopsModules/rssfit/trunk/rss/class/plugins.php
XoopsModules/rssfit/trunk/rss/class/rssfeed.php
XoopsModules/rssfit/trunk/rss/header.php
XoopsModules/rssfit/trunk/rss/images/rss.gif
XoopsModules/rssfit/trunk/rss/images/rssfit.png
XoopsModules/rssfit/trunk/rss/include/common.php
XoopsModules/rssfit/trunk/rss/include/functions.php
XoopsModules/rssfit/trunk/rss/include/install.php
XoopsModules/rssfit/trunk/rss/index.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.ams.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.cbb.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.comments.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.mydownloads.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.mylinks.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb2.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.news.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.smartfaq.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.smartpartner.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.smartsection.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.wfsection.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.wfsection2.php
XoopsModules/rssfit/trunk/rss/rss.php
XoopsModules/rssfit/trunk/rss/templates/rssfit_rss.html
XoopsModules/rssfit/trunk/rss/xoops_version.php
Added Paths:
-----------
XoopsModules/rssfit/trunk/rss/changelog.txt
XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguide.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidemanufacturers.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidenews.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.myalbum.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.pical.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.pluginsample.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.wfdownloads_podcast.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.wflinks.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.xoopstube.php
Property Changed:
----------------
XoopsModules/rssfit/trunk/rss/README.txt
XoopsModules/rssfit/trunk/rss/admin/about.php
XoopsModules/rssfit/trunk/rss/admin/admin_header.php
XoopsModules/rssfit/trunk/rss/admin/do_channel.php
XoopsModules/rssfit/trunk/rss/admin/do_intro.php
XoopsModules/rssfit/trunk/rss/admin/do_plugins.php
XoopsModules/rssfit/trunk/rss/admin/do_sticky.php
XoopsModules/rssfit/trunk/rss/admin/do_subfeeds.php
XoopsModules/rssfit/trunk/rss/admin/footer.php
XoopsModules/rssfit/trunk/rss/admin/index.php
XoopsModules/rssfit/trunk/rss/admin/menu.php
XoopsModules/rssfit/trunk/rss/class/misc.php
XoopsModules/rssfit/trunk/rss/class/plugins.php
XoopsModules/rssfit/trunk/rss/class/rssfeed.php
XoopsModules/rssfit/trunk/rss/header.php
XoopsModules/rssfit/trunk/rss/include/common.php
XoopsModules/rssfit/trunk/rss/include/functions.php
XoopsModules/rssfit/trunk/rss/include/install.php
XoopsModules/rssfit/trunk/rss/index.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.ams.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.cbb.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.comments.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.mydownloads.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.mylinks.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb2.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.news.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.smartfaq.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.smartpartner.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.smartsection.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.wfsection.php
XoopsModules/rssfit/trunk/rss/plugins/rssfit.wfsection2.php
XoopsModules/rssfit/trunk/rss/rss.php
XoopsModules/rssfit/trunk/rss/sql/mysql.sql
XoopsModules/rssfit/trunk/rss/templates/rssfit_rss.html
Modified: XoopsModules/rssfit/trunk/rss/README.txt
===================================================================
--- XoopsModules/rssfit/trunk/rss/README.txt 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/README.txt 2014-03-03 01:28:59 UTC (rev 12342)
@@ -1,10 +1,10 @@
RSSFit - Extendable XML news feed generator
Presented by Brandycoke Productions <http://www.brandycoke.com/>
-Copyright (c) 2004-2005 NS Tai (aka tuff)
+Copyright (c) 2004-2006 NS Tai (aka tuff)
Information
----------------------
-Current Version: 1.2 / 1.5
+Current Version: 1.21
RSSFit is a module for XOOPS generates RSS 2.0 validated XML feed. Web masters can decide what to be displayed in the XML output by activating installed plug-ins.
Key features:
- Plug-in system with several modules prepared
@@ -14,8 +14,9 @@
System Requirements
----------------------
+RSSFit 1.21: XOOPS 2.0.14
RSSFit 1.2: XOOPS 2.0.12-13.2 ; XOOPS Cube 2.0.12/13a
-RSSFit 1.5: XOOPS 2.2.3a
+RSSFit 1.5 (Suspended): XOOPS 2.2.3a
PHP 4.3.x or later with (optional) mbstring extension installed for UTF-8 encoding conversion
Using RSSFit
@@ -56,6 +57,10 @@
Version History
----------------------
+Jul 25, 2006: Version 1.21
+- Fixed compatibility problem with XOOPS 2.0.14
+- Modified WF-Downloads plugin for padcasting (requires WF-Downloads version 3.1)
+----------------------
Dec 23, 2005: Version 1.2 / 1.5
- (Version 1.5) Fixed incompatibility with XOOPS 2.2.3a
- New editable feed information: copyright
Property changes on: XoopsModules/rssfit/trunk/rss/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/about.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/about.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/about.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -38,9 +38,9 @@
<img src="../images/rssfit.png" alt="RSSFit" style="float: left; margin: 0 10px 5px 0;" />
<h4 style="margin: 0;">RSSFit</h4>
<p style="margin-top: 0;">
-Version <?=number_format($xoopsModule->getVar('version')/100, 2);?><br />
+Version <?php echo number_format($xoopsModule->getVar('version')/100, 2);?><br />
Presented by <a href="http://www.brandycoke.com/" target="_blank">Brandycoke Productions</a> <br />
-Copyright © 2003-2005 NS Tai (tuff)
+Copyright © 2003-2006 NS Tai (tuff)
<br clear="all" />
</p>
Property changes on: XoopsModules/rssfit/trunk/rss/admin/about.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/admin_header.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/admin_header.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/admin_header.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/admin/admin_header.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/do_channel.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/do_channel.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/do_channel.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -33,7 +33,7 @@
## Project: RSSFit ##
###############################################################################
-if( !preg_match('/\/admin\/index\.php/', $_SERVER['PHP_SELF']) ){
+if( !defined("RSSFIT_OK") ){
header('Location: index.php');
}
Property changes on: XoopsModules/rssfit/trunk/rss/admin/do_channel.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/do_intro.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/do_intro.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/do_intro.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -33,7 +33,8 @@
## Project: RSSFit ##
###############################################################################
-if( !preg_match('/\/admin\/index\.php/', $_SERVER['PHP_SELF']) ){
+
+if( !defined("RSSFIT_OK") ){
header('Location: index.php');
}
@@ -62,7 +63,7 @@
$sub = new XoopsFormTextArea(_AM_EDIT_INTRO_SUB, 'sub', $myts->makeTboxData4PreviewInForm($setting['sub']));
$sub->setDescription(_AM_EDIT_INTRO_SUB_DESC);
-
+
$form = new XoopsThemeForm(_AM_EDIT_INTRO, 'editintro', RSSFIT_ADMIN_URL);
$form->addElement($title);
$form->addElement($tray_content);
Property changes on: XoopsModules/rssfit/trunk/rss/admin/do_intro.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/do_plugins.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/do_plugins.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/do_plugins.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -33,7 +33,7 @@
## Project: RSSFit ##
###############################################################################
-if( !preg_match('/\/admin\/index\.php/', $_SERVER['PHP_SELF']) ){
+if( !defined("RSSFIT_OK") ){
header('Location: index.php');
}
@@ -164,7 +164,7 @@
}
$ret .= "</table>\n";
}
-
+
if( !empty($ret) ){
$hidden = new XoopsFormHidden('op', 'save');
$ret = "<form action='".RSSFIT_ADMIN_URL."' method='post'>\n".$ret
@@ -190,16 +190,16 @@
default:
$result = $plugins_handler->insert($plugin);
break;
-
+
case 'u': // uninstall
$result = $plugins_handler->delete($plugin);
break;
-
+
case 'd': // deactivate
$plugin->setVar('rssf_activated', 0);
$result = $plugins_handler->insert($plugin);
break;
-
+
case 'a': // activate
$plugin->setVar('rssf_activated', 1);
$result = $plugins_handler->insert($plugin);
Property changes on: XoopsModules/rssfit/trunk/rss/admin/do_plugins.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/do_sticky.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/do_sticky.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/do_sticky.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -33,7 +33,7 @@
## Project: RSSFit ##
###############################################################################
-if( !preg_match('/\/admin\/index\.php/', $_SERVER['PHP_SELF']) ){
+if( !defined("RSSFIT_OK") ){
header('Location: index.php');
}
@@ -60,11 +60,11 @@
$dobr = new XoopsFormCheckbox('', 'dobr', $setting['dobr']);
$dobr->addOption(1, _AM_DO_BR);
$tray_content->addElement($dobr);
-
+
$link = new XoopsFormText(_AM_STICKY_LINK, 'link', 50, 255, $myts->makeTboxData4PreviewInForm($setting['link']));
-
+
$applyto = $rss->feedSelectBox(_AM_STICKY_APPLYTO, $setting['feeds'], 10);
-
+
$form = new XoopsThemeForm(_AM_STICKY_EDIT, 'editsticky', RSSFIT_ADMIN_URL);
$form->addElement($title);
$form->addElement($tray_content);
Property changes on: XoopsModules/rssfit/trunk/rss/admin/do_sticky.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/do_subfeeds.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/do_subfeeds.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/do_subfeeds.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -33,7 +33,7 @@
## Project: RSSFit ##
###############################################################################
-if( !preg_match('/\/admin\/index\.php/', $_SERVER['PHP_SELF']) ){
+if( !defined("RSSFIT_OK") ){
header('Location: index.php');
}
@@ -109,7 +109,7 @@
$sub =& $plugins_handler->get($id);
if( !$handler =& $plugins_handler->checkPlugin($sub) ){
$plugins_handler->forceDeactivate($sub);
- }
+ }
}
if( empty($id) || !$sub ){
redirect_header(RSSFIT_ADMIN_URL, 0, _AM_SUB_PLUGIN_NONE);
@@ -128,7 +128,7 @@
$form->addElement(new XoopsFormText('url', 'img_url', 50, 255, $sub->getVar('img_url', 'e')));
$form->addElement(new XoopsFormText('link', 'img_link', 50, 255, $sub->getVar('img_link', 'e')));
$form->addElement(new XoopsFormText('title', 'img_title', 50, 255, $sub->getVar('img_title', 'e')));
-
+
$form->addElement(new XoopsFormHidden('feed', $id));
$form->addElement(new XoopsFormHidden('op', 'savefeed'));
$form->addElement($hidden_do);
@@ -141,7 +141,7 @@
$sub =& $plugins_handler->get($id);
if( !$handler =& $plugins_handler->checkPlugin($sub) ){
$plugins_handler->forceDeactivate($sub);
- }
+ }
}
if( empty($id) || !$sub || !$handler ){
redirect_header(RSSFIT_ADMIN_URL, 0, _AM_SUB_PLUGIN_NONE);
@@ -159,7 +159,7 @@
redirect_header(RSSFIT_ADMIN_URL.'?do='.$do, 0, _AM_DBUPDATED);
}else{
rssfitAdminHeader();
- echo $sub->getHtmlErrors();
+ echo $sub->getHtmlErrors();
}
break;
}
Property changes on: XoopsModules/rssfit/trunk/rss/admin/do_subfeeds.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/footer.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/footer.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/footer.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -33,8 +33,8 @@
## Project: RSSFit ##
###############################################################################
-echo "<div style='text-align: right; font-size: x-small; margin-top: 15px;'>Powered by <a href='about.php'>".RSSFIT_VERSION."</a>";
-if( !preg_match('/2\.0\.(12|13)/', XOOPS_VERSION) ){
+echo "<div style='text-align: right; font-size: x-small; margin-top: 15px;'>Powered by <a href='about.php'>".RSSFIT_VERSION."</a> | <a href='".RSSFIT_URL."LICENSE.txt' target='_blank'>LICENSE</a> | <a href='".RSSFIT_URL."README.txt' target='_blank'>README</a>";
+if( !preg_match('/2\.0\.14/', XOOPS_VERSION) ){
echo '<br /><span style="color: #F00;"><b>'._AM_XOOPS_VERSION_WRONG.'</b></span>';
}
echo '</div>';
Property changes on: XoopsModules/rssfit/trunk/rss/admin/footer.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/index.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/index.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/index.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -37,6 +37,7 @@
$do = isset($_POST['do']) ? trim($_POST['do']) : $do;
$op = isset($_GET['op']) ? trim($_GET['op']) : 'list';
$op = isset($_POST['op']) ? trim($_POST['op']) : $op;
+define("RSSFIT_OK", 1);
if( file_exists(RSSFIT_ROOT_PATH.'admin/do_'.$do.'.php') ){
include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
Property changes on: XoopsModules/rssfit/trunk/rss/admin/index.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/admin/menu.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/admin/menu.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/admin/menu.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/admin/menu.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Added: XoopsModules/rssfit/trunk/rss/changelog.txt
===================================================================
--- XoopsModules/rssfit/trunk/rss/changelog.txt (rev 0)
+++ XoopsModules/rssfit/trunk/rss/changelog.txt 2014-03-03 01:28:59 UTC (rev 12342)
@@ -0,0 +1,6 @@
+********
+* 1.22 *
+********
+Changes made by Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com)
+With some configurations of PHP, it was not possible to access the different parts of the module's administration.
+This version corrects the problem and you should now be able to access all the parts of the administration.
Property changes on: XoopsModules/rssfit/trunk/rss/changelog.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/class/misc.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/class/misc.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/class/misc.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/class/misc.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/class/plugins.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/class/plugins.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/class/plugins.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/class/plugins.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/class/rssfeed.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/class/rssfeed.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/class/rssfeed.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -261,7 +261,7 @@
$text = htmlspecialchars($text, ENT_QUOTES, $this->charset);
$text = preg_replace('/&(#[0-9]+);/i', '&$1;', $text);
}
- if( $this->charset != 'UTF-8' || XOOPS_USE_MULTIBYTES != 1 ){
+ if( !preg_match('/utf-8/i', $this->charset) || XOOPS_USE_MULTIBYTES != 1 ){
$text = str_replace(array_map('chr', array_keys($this->escaped)), $this->escaped, $text);
}
}
Property changes on: XoopsModules/rssfit/trunk/rss/class/rssfeed.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/header.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/header.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/header.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/header.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/images/rss.gif
===================================================================
(Binary files differ)
Modified: XoopsModules/rssfit/trunk/rss/images/rssfit.png
===================================================================
(Binary files differ)
Modified: XoopsModules/rssfit/trunk/rss/include/common.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/include/common.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/include/common.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/include/common.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/include/functions.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/include/functions.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/include/functions.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
@@ -55,9 +55,9 @@
$links[] = array(0 => XOOPS_URL.'/modules/system/admin.php?fct=preferences&op=showmod&mod='.$xoopsModule->getVar('mid'), 1 => _PREFERENCES);
$admin_links = '<table class="outer" width="100%" cellspacing="1"><tr>';
for( $i=0; $i<count($links); $i++ ){
- $admin_links .= '<td class="even" style="width: 16%; text-align: center;"><a href="'.$links[$i][0].'" accesskey="'.($i+1).'">'.$links[$i][1].'</a></td>';
+ $admin_links .= '<td class="even" style="width: 14%; text-align: center;"><a href="'.$links[$i][0].'" accesskey="'.($i+1).'">'.$links[$i][1].'</a></td>';
}
- $admin_links .= "</tr></table><br clear=all />\n";
+ $admin_links .= "<td class='even' style='width: 14%; text-align: center;'><a href='about.php'>About</a></td></tr></table><br clear='all' />\n";
xoops_cp_header();
echo $admin_links;
}
Property changes on: XoopsModules/rssfit/trunk/rss/include/functions.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/include/install.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/include/install.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/include/install.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/include/install.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/index.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/index.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/index.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/index.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/plugins/rssfit.ams.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.ams.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.ams.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.ams.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Added: XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguide.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguide.php (rev 0)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguide.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -0,0 +1,85 @@
+<?php
+// $Id$
+###############################################################################
+## RSSFit - Extendable XML news feed generator ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
+## <http://www.brandycoke.com/> ##
+###############################################################################
+## XOOPS - PHP Content Management System ##
+## Copyright (c) 2000 XOOPS.org ##
+## <http://www.xoops.org/> ##
+###############################################################################
+## This program is free software; you can redistribute it and/or modify ##
+## it under the terms of the GNU General Public License as published by ##
+## the Free Software Foundation; either version 2 of the License, or ##
+## (at your option) any later version. ##
+## ##
+## You may not change or alter any portion of this comment or credits ##
+## of supporting developers from this source code or any supporting ##
+## source code which is considered copyrighted (c) material of the ##
+## original comment or credit authors. ##
+## ##
+## This program is distributed in the hope that it will be useful, ##
+## but WITHOUT ANY WARRANTY; without even the implied warranty of ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
+## GNU General Public License for more details. ##
+## ##
+## You should have received a copy of the GNU General Public License ##
+## along with this program; if not, write to the Free Software ##
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
+###############################################################################
+/*
+ * About this RSSFit plug-in
+ * Author: Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com)
+ * Requirements (Tested with):
+ * Module: Buyersguide
+ * Version: 1.33
+ * Flux RSS : Derniers produits
+ * RSSFit verision: 1.22
+ * XOOPS version: 2.0.18.1
+ */
+
+if( !defined('RSSFIT_ROOT_PATH') ){ exit(); }
+class RssfitBuyersguide{
+ var $dirname = 'buyersguide';
+ var $modname;
+ var $grab;
+
+ function RssfitBuyersguide(){
+ }
+
+ function loadModule(){
+ $mod =& $GLOBALS['module_handler']->getByDirname($this->dirname);
+ if( !$mod || !$mod->getVar('isactive') ){
+ return false;
+ }
+ $this->modname = $mod->getVar('name');
+ return $mod;
+ }
+
+ function &grabEntries(&$obj){
+ $ret = false;
+ include XOOPS_ROOT_PATH.'/modules/buyersguide/include/common.php';
+ $items = $hBgProduct->getRecentProducts(0, 0, $this->grab);
+ $i = 0;
+
+ if( false != $items && count($items) > 0 ){
+ foreach($items as $item) {
+ $ret[$i]['link'] = $ret[$i]['guid'] = $item->getLink();
+ $ret[$i]['title'] = $item->getVar('prod_title', 'n');
+ $ret[$i]['timestamp'] = $item->getVar('prod_submited_date');
+ if(xoops_trim($item->getVar('prod_summary')) != '') {
+ $description = $item->getVar('prod_summary');
+ } else {
+ $description = $item->getVar('prod_description');
+ }
+ $ret[$i]['description'] = $description;
+ $ret[$i]['category'] = $this->modname;
+ $ret[$i]['domain'] = XOOPS_URL.'/modules/'.$this->dirname.'/';
+ $i++;
+ }
+ }
+ return $ret;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguide.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Added: XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidemanufacturers.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidemanufacturers.php (rev 0)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidemanufacturers.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -0,0 +1,80 @@
+<?php
+// $Id$
+###############################################################################
+## RSSFit - Extendable XML news feed generator ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
+## <http://www.brandycoke.com/> ##
+###############################################################################
+## XOOPS - PHP Content Management System ##
+## Copyright (c) 2000 XOOPS.org ##
+## <http://www.xoops.org/> ##
+###############################################################################
+## This program is free software; you can redistribute it and/or modify ##
+## it under the terms of the GNU General Public License as published by ##
+## the Free Software Foundation; either version 2 of the License, or ##
+## (at your option) any later version. ##
+## ##
+## You may not change or alter any portion of this comment or credits ##
+## of supporting developers from this source code or any supporting ##
+## source code which is considered copyrighted (c) material of the ##
+## original comment or credit authors. ##
+## ##
+## This program is distributed in the hope that it will be useful, ##
+## but WITHOUT ANY WARRANTY; without even the implied warranty of ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
+## GNU General Public License for more details. ##
+## ##
+## You should have received a copy of the GNU General Public License ##
+## along with this program; if not, write to the Free Software ##
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
+###############################################################################
+/*
+ * About this RSSFit plug-in
+ * Author: Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com)
+ * Requirements (Tested with):
+ * Module: Buyersguide
+ * Version: 1.33
+ * Flux RSS : Derniers Fabricants
+ * RSSFit verision: 1.22
+ * XOOPS version: 2.0.18.1
+ */
+
+if( !defined('RSSFIT_ROOT_PATH') ){ exit(); }
+class RssfitBuyersguidemanufacturers{
+ var $dirname = 'buyersguide';
+ var $modname;
+ var $grab;
+
+ function RssfitBuyersguidemanufacturers(){
+ }
+
+ function loadModule(){
+ $mod =& $GLOBALS['module_handler']->getByDirname($this->dirname);
+ if( !$mod || !$mod->getVar('isactive') ){
+ return false;
+ }
+ $this->modname = $mod->getVar('name');
+ return $mod;
+ }
+
+ function &grabEntries(&$obj){
+ $ret = false;
+ include XOOPS_ROOT_PATH.'/modules/buyersguide/include/common.php';
+ $items = $hBgManufacturer->getListofActivteManufacturers(0, $this->grab, 'manu_date_added', 'DESC');
+ $i = 0;
+
+ if( false != $items && count($items) > 0 ){
+ foreach($items as $item) {
+ $ret[$i]['link'] = $ret[$i]['guid'] = $item->getLink();
+ $ret[$i]['title'] = $item->getVar('manu_name', 'n');
+ $ret[$i]['timestamp'] = $item->getVar('manu_date_added');
+ $ret[$i]['description'] = $item->getVar('manu_description');
+ $ret[$i]['category'] = $this->modname;
+ $ret[$i]['domain'] = XOOPS_URL.'/modules/'.$this->dirname.'/';
+ $i++;
+ }
+ }
+ return $ret;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidemanufacturers.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Added: XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidenews.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidenews.php (rev 0)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidenews.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -0,0 +1,80 @@
+<?php
+// $Id$
+###############################################################################
+## RSSFit - Extendable XML news feed generator ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
+## <http://www.brandycoke.com/> ##
+###############################################################################
+## XOOPS - PHP Content Management System ##
+## Copyright (c) 2000 XOOPS.org ##
+## <http://www.xoops.org/> ##
+###############################################################################
+## This program is free software; you can redistribute it and/or modify ##
+## it under the terms of the GNU General Public License as published by ##
+## the Free Software Foundation; either version 2 of the License, or ##
+## (at your option) any later version. ##
+## ##
+## You may not change or alter any portion of this comment or credits ##
+## of supporting developers from this source code or any supporting ##
+## source code which is considered copyrighted (c) material of the ##
+## original comment or credit authors. ##
+## ##
+## This program is distributed in the hope that it will be useful, ##
+## but WITHOUT ANY WARRANTY; without even the implied warranty of ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
+## GNU General Public License for more details. ##
+## ##
+## You should have received a copy of the GNU General Public License ##
+## along with this program; if not, write to the Free Software ##
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
+###############################################################################
+/*
+ * About this RSSFit plug-in
+ * Author: Herv\xE9 Thouzard of Instant Zero (http://www.instant-zero.com)
+ * Requirements (Tested with):
+ * Module: Buyersguide
+ * Version: 1.33
+ * Flux RSS : Derniers Fabricants
+ * RSSFit verision: 1.22
+ * XOOPS version: 2.0.18.1
+ */
+
+if( !defined('RSSFIT_ROOT_PATH') ){ exit(); }
+class RssfitBuyersguidenews{
+ var $dirname = 'buyersguide';
+ var $modname;
+ var $grab;
+
+ function RssfitBuyersguidenews(){
+ }
+
+ function loadModule(){
+ $mod =& $GLOBALS['module_handler']->getByDirname($this->dirname);
+ if( !$mod || !$mod->getVar('isactive') ){
+ return false;
+ }
+ $this->modname = $mod->getVar('name');
+ return $mod;
+ }
+
+ function &grabEntries(&$obj){
+ $ret = false;
+ include XOOPS_ROOT_PATH.'/modules/buyersguide/include/common.php';
+ $items = $hBgNews->getRecentNews(0, $this->grab);
+ $i = 0;
+
+ if( false != $items && count($items) > 0 ){
+ foreach($items as $item) {
+ $ret[$i]['link'] = $ret[$i]['guid'] = $item->getLink();
+ $ret[$i]['title'] = $item->getVar('news_title', 'n');
+ $ret[$i]['timestamp'] = $item->getVar('news_date');
+ $ret[$i]['description'] = $item->getShortenText();
+ $ret[$i]['category'] = $this->modname;
+ $ret[$i]['domain'] = XOOPS_URL.'/modules/'.$this->dirname.'/';
+ $i++;
+ }
+ }
+ return $ret;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.buyersguidenews.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/plugins/rssfit.cbb.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.cbb.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.cbb.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.cbb.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/plugins/rssfit.comments.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.comments.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.comments.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.comments.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Added: XoopsModules/rssfit/trunk/rss/plugins/rssfit.myalbum.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.myalbum.php (rev 0)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.myalbum.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -0,0 +1,79 @@
+<?php
+// $Id$
+###############################################################################
+## RSSFit - Extendable XML news feed generator ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
+## <http://www.brandycoke.com/> ##
+###############################################################################
+## XOOPS - PHP Content Management System ##
+## Copyright (c) 2000 XOOPS.org ##
+## <http://www.xoops.org/> ##
+###############################################################################
+## This program is free software; you can redistribute it and/or modify ##
+## it under the terms of the GNU General Public License as published by ##
+## the Free Software Foundation; either version 2 of the License, or ##
+## (at your option) any later version. ##
+## ##
+## You may not change or alter any portion of this comment or credits ##
+## of supporting developers from this source code or any supporting ##
+## source code which is considered copyrighted (c) material of the ##
+## original comment or credit authors. ##
+## ##
+## This program is distributed in the hope that it will be useful, ##
+## but WITHOUT ANY WARRANTY; without even the implied warranty of ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
+## GNU General Public License for more details. ##
+## ##
+## You should have received a copy of the GNU General Public License ##
+## along with this program; if not, write to the Free Software ##
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
+###############################################################################
+/*
+* About this RSSFit plug-in
+* Author: jayjay <http://www.sint-niklaas.be/>
+* Requirements (Tested with):
+* Module: Myalbum <http://www.xoops.org/>
+* Version: 1.0
+* RSSFit version: 1.21
+* XOOPS version: 2.0.18.1
+*/
+
+if( !defined('RSSFIT_ROOT_PATH') ){ exit(); }
+class RssfitMyalbum{
+ var $dirname = 'myalbum';
+ var $modname;
+ var $grab;
+
+ function RssfitMyalbum(){
+ }
+
+ function loadModule(){
+ $mod =& $GLOBALS['module_handler']->getByDirname($this->dirname);
+ if( !$mod || !$mod->getVar('isactive') ){
+ return false;
+ }
+ $this->modname = $mod->getVar('name');
+ return $mod;
+ }
+
+ function &grabEntries(&$obj){
+ global $xoopsDB;
+ $myts =& MyTextSanitizer::getInstance();
+ $ret = false;
+ $i = 0;
+ $sql = "SELECT p.lid, p.cid, p.title as ptitle, p.ext, p.hits, p.submitter, p.date, t.description, c.title as ctitle FROM ".$xoopsDB->prefix("myalbum_photos")." p, ".$xoopsDB->prefix("myalbum_text")." t, ".$xoopsDB->prefix("myalbum_cat")." c WHERE t.lid=p.lid AND p.cid=c.cid AND p.status>0 ORDER BY p.date DESC";
+ $result = $xoopsDB->query($sql, $this->grab, 0);
+ while( $row = $xoopsDB->fetchArray($result) ){
+ $ret[$i]['title'] = $row['ptitle'];
+ $link = XOOPS_URL.'/modules/'.$this->dirname.'/photo.php?cid='.$row['cid'].'&lid='.$row['lid'];
+ $ret[$i]['link'] = $ret[$i]['guid'] = $link;
+ $ret[$i]['timestamp'] = $row['date'];
+ $ret[$i]['description'] = $myts->displayTarea($row['description']);
+ $ret[$i]['category'] = $this->modname;
+ $ret[$i]['domain'] = XOOPS_URL.'/modules/'.$this->dirname.'/';
+ $i++;
+ }
+ return $ret;
+ }
+}
+?>
\ No newline at end of file
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.myalbum.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/plugins/rssfit.mydownloads.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.mydownloads.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.mydownloads.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.mydownloads.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/plugins/rssfit.mylinks.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.mylinks.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.mylinks.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.mylinks.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb.php
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-native
+LF
\ No newline at end of property
Modified: XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb2.php
===================================================================
--- XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb2.php 2014-03-03 00:52:29 UTC (rev 12341)
+++ XoopsModules/rssfit/trunk/rss/plugins/rssfit.newbb2.php 2014-03-03 01:28:59 UTC (rev 12342)
@@ -2,7 +2,7 @@
// $Id$
###############################################################################
## RSSFit - Extendable XML news feed generator ##
-## Copyright (c) 2004 - 2005 NS Tai (aka tuff) ##
+## Copyright (c) 2004 - 2006 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
###############################################################################
## XOOPS - PHP Content Management System ##
Property changes on: XoopsModules/rssfit/tr...
[truncated message content] |