|
From: <be...@us...> - 2014-08-29 16:17:58
|
Revision: 12756
http://sourceforge.net/p/xoops/svn/12756
Author: beckmi
Date: 2014-08-29 16:17:43 +0000 (Fri, 29 Aug 2014)
Log Message:
-----------
updates, work in progress
Modified Paths:
--------------
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/category.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/icon.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/moderate.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/newbbtree.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/online.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.category.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/plugin/userlog.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/post.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/rate.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/read.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/report.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/stats.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/text.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/topic.renderer.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/tree.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/type.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/uploader.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/user.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/userstats.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/xmlrss.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/xoopsformloader.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/footer.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/header.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/form.forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/form.post.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.config.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.ini.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.language.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.read.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.recon.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.render.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.rpc.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.session.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.stats.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.text.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.time.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.user.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.welcome.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/module.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/notification.inc.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.dist.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.tag.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/search.inc.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/vars.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/search.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/seo_url.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/blocks/newbb_tag_block_cloud.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/blocks/newbb_tag_block_top.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_index.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_search.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewall.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewforum.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewpost.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewtopic.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/css/language/english/style.css
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/xoops_version.php
Added Paths:
-----------
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog-rev10095.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog-rev10109.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog-rev9883.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_author.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_post.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_text.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_topic.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_cloud.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_top.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_edit_post.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index_menu.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_notification_select.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_online.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_results.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_view.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_rss.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_search.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_searchresults.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_thread.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewall.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_menu.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_subforum.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewpost.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewtopic.tpl
Removed Paths:
-------------
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev9883.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_author.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_post.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_text.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_block_topic.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_cloud.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/blocks/newbb_tag_block_top.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_edit_post.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index_menu.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_notification_select.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_online.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_results.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_poll_view.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_rss.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_search.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_searchresults.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_thread.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewall.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_menu.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum_subforum.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewpost.html
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewtopic.html
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php 2014-08-29 13:19:01 UTC (rev 12755)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php 2014-08-29 16:17:43 UTC (rev 12756)
@@ -53,7 +53,7 @@
{
$target = str_replace("..", "", $target);
// http://www.php.net/manual/en/function.mkdir.php
- return is_dir($target) or ( newbb_admin_mkdir(dirname($target), $mode) and mkdir($target, $mode) );
+ return is_dir($target) || ( newbb_admin_mkdir(dirname($target), $mode) and mkdir($target, $mode) );
}
function newbb_admin_chmod($target, $mode = 0777)
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php 2014-08-29 13:19:01 UTC (rev 12755)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php 2014-08-29 16:17:43 UTC (rev 12756)
@@ -11,7 +11,7 @@
* @package module::newbb
*/
-defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined");
+// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined");
if (defined('LIST_TOPIC_DEFINED')) return;
define('LIST_TOPIC_DEFINED',true);
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php 2014-08-29 13:19:01 UTC (rev 12755)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php 2014-08-29 16:17:43 UTC (rev 12756)
@@ -28,7 +28,7 @@
// URL: http://xoopsforge.com, http://xoops.org.cn //
// Project: Article Project //
// ------------------------------------------------------------------------ //
-defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined');
+// defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined');
// irmtfan use full path because block maybe used outside newbb
include_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.ini.php";
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php 2014-08-29 13:19:01 UTC (rev 12755)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php 2014-08-29 16:17:43 UTC (rev 12756)
@@ -10,7 +10,7 @@
* @package module::newbb/tag
*/
-defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined');
+// defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined');
/**#@+
* Function to display tag cloud
Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt 2014-08-29 13:19:01 UTC (rev 12755)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10095.txt 2014-08-29 16:17:43 UTC (rev 12756)
@@ -1,40 +0,0 @@
-date: 2012-08-25
-================================================
-1- Extra new lines removed from php files.
-newbb/votepolls.php, newbb/include/notification.inc.php, newbb/class/permission.forum.php, newbb/admin/admin_groupmod.php
-
-2- Apply Alfred Id in the head of php files:
-newbb/class/xoopsformloader.php, newbb/votepolls.php, newbb/class/tree.php, newbb/topicmanager.php, newbb/class/readtopic.php
-newbb/class/readforum.php, newbb/class/read.php, newbb/ratethread.php, newbb/class/rate.php, newbb/class/newbbtree.php
-newbb/blocks/newbb_block_tag.php, newbb/index.php, newbb/admin/*.php,
-newbb/include/sitemap.plugin.php, newbb/include/search.inc.php, newbb/include/notification.inc.php, newbb/include/functions.user.php,
-newbb/include/module.v100.php, newbb/include/module.v220.php, newbb/include/module.php, newbb/include/functions.ini.php
-newbb/include/form.forum.php,
-newbb/notification_update.php, newbb/report.php, newbb/reply.php
-
-3- Change the status of module to RC4.
-newbb/xoops_version.php
-
-4- Solve SEO (replace files from Alfred)
-newbb/viewpost.php, newbb/viewtopic.php, newbb/blocks/newbb_block.php
-
-5- Add do_latestedit config to display the latest edit (do_latestedit=0) or all edit (do_latestedit=1) by Alfred
-newbb/class/post.php, newbb/include/plugin.php
-
-6- Replace files from Alfred (better code, bug fixes, merge and develop):
-newbb/class/permission.php, newbb/class/forum.php, newbb/sql/mysql.400.sql, newbb/rss.php, newbb/admin/admin_permissions.php
-newbb/include/functions.image.php, newbb/include/form.post.php, newbb/viewforum.php
-newbb/seo.php, newbb/post.php, newbb/search.php, newbb/docs/changelog.txt, newbb/language/german/*.php
-
-7- Add new language definitions.
-newbb/language/english/admin.php, newbb/language/english/main.php, newbb/language/persian/admin.php, newbb/language/persian/main.php,
-newbb/docs/lang_diff.txt
-
-8- Fix Undefined variable: pseudo_height (Cesag/irmtfan)
-in newbb/include/functions.image.php line 86
-
-9- Change the default syncOnUpdate value to false. It is dangerous because it will delete all pending and deleted posts/topics/forums from database on update.
-newbb/include/plugin.php
-
-10- easier group getting - reduce queries - use Xoops API instead of directly access to db (irmtfan)
-newbb/class/user.php
Deleted: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt 2014-08-29 13:19:01 UTC (rev 12755)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/changelog-rev10109.txt 2014-08-29 16:17:43 UTC (rev 12756)
@@ -1,634 +0,0 @@
-date 2013-08-27
-===================================
-1- bug fix: Notice: Undefined index: fct in file /modules/newbb/xoops_version.php line 767 (Cesag)
-
-date 2013-08-24
-===================================
-1- bug fix: check if xoops poll module is available in newbb/admin/index.php (Cesag)
-2- bug fix: single quotes inside language definitions break onClick event (Cesag/Irmtfan/Mamba)
-
-date 2013-05-28
-===================================
-1- improve: rewrite topic synchronization function. add pid sync and remove hard-code db access in newbb/class/topic.php
-2- improve: rewrite forum cleanOrphan function. add parent_forum and cat_id orphan check in newbb/class/forum.php
-3- enhance: rewrite admin > sync and recon functions. remove hard-codes access to db. in newbb/admin/admin_synchronization.php and newbb/include/functions.recon.php
-4- improve: irmtfan - move cleanOrphan to synchronization function in newbb/include/functions.recon.php and newbb/class/topic.php
-date 2013-05-25
-===================================
-1- improve: add $formtype = "hidden" | "select" for poll_module config to be effect in Onupdate process. in newbb/xoops_version.php
-2- improve: findPollModule function: just select needed "poll_id" field from topic table in newbb/class/topic.php
-
-date 2013-05-23
-===================================
-1- add: findPollModule function to 'NewbbTopicHandler' class to find poll module that is in used in the current newbb installtion. in newbb/class/topic.php
-2- improve: add getActivePolls function to 'NewbbTopicHandler' class to get all active poll modules in the current xoops installtion. in newbb/class/topic.php
-3- add: add getPoll function to 'Topic' class to get a poll object from a poll module. in newbb/class/topic.php
-4- enhance: add a $pollModule dirname of the poll module to loadOldPoll function in 'Topic' class to Load functions needed for old poll module. in newbb/class/topic.php
-5- add: special check to find and save the used poll module on the newbb update process. in newbb/xoops_version.pp
-6- add: special check to find and save the used poll module on the newbb saving preferences process. in newbb/xoops_version.pp
-7- change version to 4.33 RC7 in newbb/xoops_version.php
-
-date 2013-05-22
-===================================
-bug fix: in topic merge: the old topic will be deleted if user input a not exist new topic in newbb/topicmanager.php
-improve: in topic merge: less query to update new topic_views in newbb/topicmanager.php
-fix: in topic merge: new forum should be synchronized after merge in newbb/topicmanager.php
-improve: in topic merge: better method for delete the old topic and synchronize the new topic, old forum and new forum in newbb/topicmanager.php
-add: in topic merge: if old topic has a poll and new topic has not a poll, move poll from old topic to new topic in newbb/topicmanager.php
-fix: in topic merge: update vote data instead of deleting them in newbb/topicmanager.php
-improve: add deletePoll function to 'Topic' class to use with ease in newbb/class/topic.php, newbb/class/post.php, newbb/topicmanager.php
-add: better poll module display link and version in admin index. in newbb/admin/index.php
-
-date 2013-05-21
-===================================
-1- poll_module: force user to only select poll module once in preferences in newbb/xoops_version.php
-2- bug fix: poll_module handler in newbb/class/post.php
-
-date 2013-05-19
-===================================
-1- add: poll_module: rewrite polls.php to accept xoopspoll 1.4 by zyspec and all old xoopspoll and umfrage versions and all clones.
-in newbb/class/topic.php and newbb/polls.php , newbb/votepolls.php , newbb/viewtopic.php , newbb/class/post.php , newbb/topicmanager.php
-and newbb/templates/newbb_poll_results.html , newbb/templates/newbb_poll_view.html
-and newbb/templates_fulldiv_opacity/newbb_poll_results.html , newbb/templates_fulldiv_opacity/newbb_poll_view.html
-
-2- add: $xoopspoll in header for backward compatibility. in newbb/header.php
-3- improve: priorities for default poll module : 1- xoopspoll 2- last element in array 3- if no poll module => 0 in newbb/xoops_version.php
-
-date 2013-05-19
-===================================
-1- add poll_module config to avoid writing hard-code poll dirname (eg: clones) in newbb/xoops_version.php and newbb/header.php and newbb/admin/index.php
-2- change version to 4.32 in newbb/xoops_version.php
-
-date 2013-05-14
-===================================
-1- add: itemId($item_name) plugin: any module can define a plugin to get its itemId based on item_name. now newbb:
- In newbb > viewtopic.php the topic_id is not always in the URL $_REQUEST.
- in newbb/class/plugin/userlog.php (2013/05/14)
-
-date 2013-04-23
-===================================
-1- add last_login to viewtopic.php (Mamba) in newbb/viewtopic.php and newbb/class/user.php and newbb/templates/newbb_thread.html and newbb/templates_fulldiv_opacity/newbb_thread.html
-
-date 2013-04-20
-===================================
-1- bug fix: remove ALTER TABLE `bb_posts` DROP INDEX `approved`; and add to mysql.php and change version to 431 in newbb/sql/mysql.430.sql and newbb/sql/mysql.php and newbb/xoops_version.php
-2- improve: add check version in user database to dont run update script if user has the latest version. in newbb/include/module.php
-3- Change status to RC6
-4- add: forum name in newbb/moderate.php
-date 2013-04-17
-===================================
-1- bug fix: should not ban the user in forum who is moderator of that forum. in newbb/include/form.post.php and newbb/class/moderate.php
-2- bug fix: uid=0 for anonymous users in newbb/class/moderate.php
-3- bug fix: if forum=0 should return true in any forum in newbb/class/moderate.php
-4- bug fix: should not show quick reply for suspend users otherwise they can post in newbb/viewtopic.php
-5- add: forum select box for admins to be able to suspend users in any forum or all forums in newbb/moderate.php
-6- bug fix: only show all bans for module admin - for moderator just show its forum_id bans in newbb/moderate.php
-
-date 2013-04-15
-===================================
-1- improve: add anon users to topic poster and last poster in NewbbTopicRenderer class (used in block and list.topic.php)
-newbb/class/topic.renderer.php, newbb/xoops_version.php,
-newbb/list.topic.php, newbb/blocks/list_topic.php
-
-date 2013-02-11
-===================================
-1- improve: add multi topic poster and multi last poster to NewbbTopicRenderer class (used in block and list.topic.php)
-newbb/class/topic.renderer.php, newbb/xoops_version.php,
-newbb/list.topic.php, newbb/blocks/list_topic.php
-
-2- improve and fix: multi status and multi display header in NewbbTopicRenderer class
-newbb/class/topic.renderer.php, newbb/list.topic.php, newbb/blocks/list_topic.php
-
-date 2013-02-07
-===================================
-1- improve: enhance the advance block. add more sorts: lastposttime, lastposter, lastpostmsgicon . add more display mode: attachment, read, pagenav
-newbb/class/topic.renderer.php, newbb/xoops_version.php,
- newbb/blocks/list_topic.php, newbb/templates/blocks/newbb_block_list_topic.html, newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html
- newbb/language/LANG/main.php, newbb/docs/lang_diff.txt
-
-2- change default from sticky to lastpost
-newbb/class/topic.renderer.php
-
-3- bug fix: read status: read topics do not show for readmode = 1 in list.topic.php
-newbb/class/topic.renderer.php
-
-date 2013-02-06
-===================================
-1- bug fix: Undefined variable: forumCookie revert last change - use global instead of include_once
-in newbb/footer.php
-
-2- bug fix: Undefined index: newbb config in blocks activated in some modules like profile
-in newbb/class/post.php
-
-3- bug fix: dont show topic title in list.topic.php
-in newbb/class/topic.renderer.php, newbb/templates/blocks/newbb_block_list_topic.html, newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html
-
-date 2013-02-05
-===================================
-1- bug fix: when update the type for a specific forum it delete other forum's types too.(important)
-in newbb/class/type.php
-
-2- bug fix: t.topic_rating to t.rating in viewforum and topic renderer pages
-in newbb/viewforum.php, newbb/class/topic.renderer.php
-
-3- bug fix: dont add sort to criteria if sort=null eg: /list.topic.php?sort= will cause db error
-in newbb/class/topic.renderer.php
-
-4- bug fix: if user set post_excerpt = 0 in preferences, there is no join in criteria and Undefined index: join error occured.
-in newbb/class/topic.renderer.php
-
-5- feature add: NewbbTopicRenderer class can accept multiple status. more status and sort is added.
- status supproted: all(by default), sticky, digest,lock, poll, voted, viewed, replied, read, (UN_) , active, pending, deleted (admin)
-in newbb/class/topic.renderer.php
-
-6- feature add: add "topic_title_excerpt" setting. render topics with the specific title length. 0 = dont excerpt and show the whole topic title.
-in newbb/include/plugin.php, newbb/class/topic.renderer.php
-
-7- feature add: a new block for topics using NewbbTopicRenderer class.
- users can drop old "Recent Topics" and "Recent Replied Topics" block and use this block instead.
-in newbb/xoops_version.php, newbb/language/LANG/main.php, newbb/language/LANG/blocks.php, newbb/language/LANG/modinfo.php, newbb/docs/lang_diff.txt
-newbb/list.topic.php,
-add: newbb/blocks/list_topic.php, newbb/templates/blocks/newbb_block_list_topic.html, newbb/templates/js/language/english/newbb_validation.js
- newbb/templates_fulldiv_opacity/blocks/newbb_block_list_topic.html, newbb/templates_fulldiv_opacity/js/language/english/newbb_validation.js
-
-8- fix: remove hardcoded items from topic_icon and topic_folder smarty and add sticky, digest, poll, lock, publish time and rating smarty
-in newbb/templates_fulldiv_opacity/viewall.html, in newbb/templates/viewall.html
-
-9- bug fix: remove hardcoded access to database for creating forum selection box (multiple and single) in admin prune.
-in newbb/admin/admin_forum_prune.php
-
-10- fix: change $xoopsUser to $GLOBALS["xoopsUser"] because $xoopsUser is not defined in admin side
-in newbb/include/vars.php
-
-11- bug fix: Undefined variable: forumCookie
-in newbb/footer.php
-
-12- fix: _MD_NEWBB_GOTOLASTPOST already defined
-in newbb/blocks/newbb_block.php
-
-13- change the status to RC5
-in newbb/xoops_version.php
-
-date 2012-12-26
-===================================
-1- bug fix: Warning: xoopsOption[template_main] should be defined before including header.php in file /footer.php line 59
-in newbb/edit.php, newbb/header.php, newbb/index.php, newbb/list.topic.php, newbb/newtopic.php, newbb/post.php, newbb/reply.php,
-newbb/search.php, newbb/topicmanager.php, newbb/viewforum.php, newbb/viewpost.php, newbb/viewtopic.ph...
[truncated message content] |
|
From: <be...@us...> - 2015-02-18 15:24:30
|
Revision: 12991
http://sourceforge.net/p/xoops/svn/12991
Author: beckmi
Date: 2015-02-18 15:24:25 +0000 (Wed, 18 Feb 2015)
Log Message:
-----------
4.33 RC8
Modified Paths:
--------------
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.post.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/about.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_blocks.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_cat_manager.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_digest.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_manager.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_prune.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_reorder.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_groupmod.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_permissions.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_report.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_synchronization.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_type_manager.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_votedata.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/index.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/menu.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/list_topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/blocks/newbb_block_tag.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/category.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/digest.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/icon.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/moderate.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/newbbtree.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/online.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.category.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/permission.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/plugin/userlog.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/post.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/rate.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/read.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/readforum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/readtopic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/report.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/stats.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/text.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/topic.renderer.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/tree.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/type.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/uploader.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/user.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/userstats.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/xmlrss.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/class/xoopsformloader.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/delete.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/dl_attachment.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/docs/changelog.txt
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/edit.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/footer.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/header.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/display.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/form.forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/form.post.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.config.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.forum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.image.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.ini.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.language.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.read.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.recon.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.render.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.rpc.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.session.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.stats.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.text.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.time.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.user.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.welcome.inc.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/functions.welcome.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/images.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/module.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/notification.inc.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.dist.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/plugin.tag.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/search.inc.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/include/vars.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/index.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/english/modinfo.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/forum_newpost_notify.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/forum_newthread_notify.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/forum_report.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/global_digest_notify.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/global_newforum_notify.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/global_newfullpost_notify.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/global_newpost_notify.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/language/italian/mail_template/thread_newpost_notify.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/list.topic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/makepdf.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/moderate.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/newtopic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/notification_update.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/polls.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/post.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/print.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/ratethread.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/reply.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/report.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/rss.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/search.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/seo_url.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/css/language/english/style.css
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/css/language/persian/style.css
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/images/icon/pdf.png
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_index.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_thread.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewforum.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates/newbb_viewtopic.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/css/language/english/style.css
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_index.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/templates_fulldiv_opacity/newbb_viewforum.tpl
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/topicmanager.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/update_type.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/view.tag.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/viewforum.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/viewpost.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/viewtopic.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/votepolls.php
XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/xoops_version.php
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.post.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.post.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.post.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -9,7 +9,7 @@
* @version $Id $
* @package module::newbb
*/
-include_once dirname(__FILE__) . "/header.php";
+include_once __DIR__ . "/header.php";
$topic_id = isset($_POST['topic_id']) ? intval($_POST['topic_id']) : 0;
$post_id = !empty($_GET['post_id']) ? intval($_GET['post_id']) : 0;
@@ -22,7 +22,6 @@
if ( empty($post_id) || empty($op)) {
// irmtfan - issue with javascript:history.go(-1)
redirect_header($_SERVER['HTTP_REFERER'], 2, _MD_NORIGHTTOACCESS);
- exit();
}
$post_handler =& xoops_getmodulehandler('post', 'newbb');
@@ -39,7 +38,6 @@
if (!$isadmin) {
redirect_header("index.php", 2, _MD_NORIGHTTOACCESS);
- exit();
}
switch ($op) {
@@ -208,5 +206,5 @@
redirect_header(XOOPS_URL."/modules/newbb/viewpost.php?uid=$uid", 2, _MD_DBUPDATED);
}
// irmtfan move to footer.php
-include_once dirname(__FILE__) . "/footer.php";
+include_once __DIR__ . "/footer.php";
include XOOPS_ROOT_PATH.'/footer.php';
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.topic.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.topic.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/action.topic.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -9,7 +9,7 @@
* @version $Id $
* @package module::newbb
*/
-include_once dirname(__FILE__) . "/header.php";
+include_once __DIR__ . "/header.php";
$forum_id = isset($_POST['forum_id']) ? intval($_POST['forum_id']) : 0;
$topic_id = !empty($_POST['topic_id']) ? $_POST['topic_id'] : null;
@@ -19,7 +19,6 @@
if ( empty($topic_id) || empty($op)) {
// irmtfan - issue with javascript:history.go(-1)
redirect_header($_SERVER['HTTP_REFERER'], 2, _MD_NORIGHTTOACCESS);
- exit();
}
$topic_id = array_values($topic_id);
@@ -30,7 +29,6 @@
if (!$isadmin) {
redirect_header("index.php", 2, _MD_NORIGHTTOACCESS);
- exit();
}
switch ($op) {
case "restore":
@@ -172,5 +170,5 @@
redirect_header(XOOPS_URL."/modules/newbb/viewforum.php?forum=$forum_id", 2, _MD_DBUPDATED);
}
// irmtfan move to footer.php
-include_once dirname(__FILE__) . "/footer.php";
+include_once __DIR__ . "/footer.php";
include XOOPS_ROOT_PATH.'/footer.php';
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/about.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/about.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/about.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -29,7 +29,7 @@
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include( "admin_header.php" );
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
if ($newXoopsModuleGui) {
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_blocks.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_blocks.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_blocks.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -33,5 +33,5 @@
// - XOOPS block admin for each modules - //
// GIJOE <http://www.peak.ne.jp/> //
// ------------------------------------------------------------------------- //
-include("admin_header.php");
+include_once __DIR__ . '/admin_header.php';
header("Location: ".XOOPS_URL."/modules/system/admin.php?fct=blocksadmin&selmod=".$xoopsModule->getVar("mid"));
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_cat_manager.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_cat_manager.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_cat_manager.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -28,7 +28,7 @@
// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include('admin_header.php');
+include_once __DIR__ . '/admin_header.php';
mod_loadFunctions("render", "newbb");
xoops_cp_header();
echo "<fieldset>";
@@ -71,7 +71,7 @@
$category_obj->setVar('cat_image', '');
$category_obj->setVar('cat_description', '');
$category_obj->setVar('cat_order', 0);
- $category_obj->setVar('cat_url', 'http://www.simple-xoops.de newBB Support');
+ $category_obj->setVar('cat_url', 'http://xoops.org newBB Support');
}
$sform->addElement(new XoopsFormText(_AM_NEWBB_SETCATEGORYORDER, 'cat_order', 5, 10, $category_obj->getVar('cat_order')), false);
@@ -159,7 +159,6 @@
$category_handler->applyPermissionTemplate($category_obj);
}
redirect_header("admin_cat_manager.php", 2, $message);
- exit();
default:
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_digest.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_digest.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_digest.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -29,7 +29,7 @@
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include('admin_header.php');
+include_once __DIR__ . '/admin_header.php';
include_once XOOPS_ROOT_PATH."/class/pagenav.php";
$op = !empty($_GET['op'])? $_GET['op'] : (!empty($_POST['op'])?$_POST['op']:"default");
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_manager.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_manager.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_manager.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -28,7 +28,7 @@
// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include 'admin_header.php';
+include_once __DIR__ . '/admin_header.php';
include XOOPS_ROOT_PATH . "/class/xoopstree.php";
include_once XOOPS_ROOT_PATH . "/class/pagenav.php";
mod_loadFunctions("forum", "newbb");
@@ -71,7 +71,6 @@
} else {
redirect_header('./admin_forum_manager.php?op=manage', 2, _AM_NEWBB_MSG_ERR_FORUM_MOVED);
}
- exit();
} else {
$box = '<select name="dest_forum">';
$box .= '<option value=0 selected>' . _SELECT . '</option>';
@@ -126,7 +125,6 @@
} else {
redirect_header('./admin_forum_manager.php?op=manage', 2, _AM_NEWBB_MSG_ERR_FORUM_MOVED);
}
- exit();
} else {
$box = '<select name="dest_forum">';
@@ -193,10 +191,8 @@
}
}
redirect_header("admin_forum_manager.php", 2, $message);
- exit();
} else {
redirect_header("admin_forum_manager.php?op=mod&forum=" . $forum_obj->getVar('forum_id') . "", 2, _AM_NEWBB_FORUM_ERROR);
- exit();
}
case "mod":
@@ -219,7 +215,6 @@
$forum_handler->delete($forum_obj);
mod_clearCacheFile("forum", "newbb");
redirect_header("admin_forum_manager.php?op=manage", 1, _AM_NEWBB_FORUMREMOVED);
- exit();
}
break;
@@ -291,7 +286,7 @@
$f_move_link = "<a href=\"admin_forum_manager.php?op=moveforum&forum=" . $f . "\">".newbb_displayImage('admin_move',_AM_NEWBB_MOVE)."</a>";
$f_merge_link = "<a href=\"admin_forum_manager.php?op=mergeforum&forum=" . $f . "\">".newbb_displayImage('admin_merge',_AM_NEWBB_MERGE)."</a>";
- $class = ((++$i)%2)?"odd":"even";
+ $class = (($i++)%2)?"odd":"even";
$echo .= "<tr class='".$class."' align='left'><td></td>";
$echo .= "<td><strong>" . $f_link . "</strong></td>";
$echo .= "<td align='center'>" . $f_edit_link . "</td>";
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_prune.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_prune.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_prune.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -24,7 +24,7 @@
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
-include("admin_header.php");
+include_once __DIR__ . '/admin_header.php';
include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar("dirname") . "/class/xoopsformloader.php";
xoops_cp_header();
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_reorder.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_reorder.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_forum_reorder.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -28,7 +28,7 @@
// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include 'admin_header.php';
+include_once __DIR__ . '/admin_header.php';
if (isset($_POST['cat_orders'])) $cat_orders = $_POST['cat_orders'];
if (isset($_POST['orders'])) $orders = $_POST['orders'];
@@ -36,14 +36,14 @@
if (isset($_POST['forum'])) $forum = $_POST['forum'];
if (!empty($_POST['submit'])) {
- for ($i = 0; $i < count($cat_orders); $i++) {
+ for ($i = 0; $i < count($cat_orders); ++$i) {
$sql = "update " . $xoopsDB->prefix("bb_categories") . " set cat_order = " . $cat_orders[$i] . " WHERE cat_id=$cat[$i]";
if (!$result = $xoopsDB->query($sql)) {
redirect_header("admin_forum_reorder.php", 1, _AM_NEWBB_FORUM_ERROR);
}
}
- for ($i = 0; $i < count($orders); $i++) {
+ for ($i = 0; $i < count($orders); ++$i) {
$sql = "update " . $xoopsDB->prefix("bb_forums") . " set forum_order = " . $orders[$i] . " WHERE forum_id=".$forum[$i];
if (!$result = $xoopsDB->query($sql)) {
redirect_header("admin_forum_reorder.php", 1, _AM_NEWBB_FORUM_ERROR);
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_groupmod.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_groupmod.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_groupmod.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -28,7 +28,7 @@
// URL: http://www.mymyxoops.org/, http://simple-xoops.de/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include('admin_header.php');
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
echo "<fieldset>";
include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/class/xoopsformloader.php";
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_permissions.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_permissions.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_permissions.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -28,7 +28,7 @@
// URL: http://www.xoops.org/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include 'admin_header.php';
+include_once __DIR__ . '/admin_header.php';
include_once XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar("dirname")."/class/xoopsformloader.php";
include_once XOOPS_ROOT_PATH . '/class/xoopsform/grouppermform.php';
@@ -172,7 +172,7 @@
$ii = 0;
$option_ids = array();
foreach ($perms as $perm) {
- $ii++;
+ ++$ii;
if ($ii % 5 ==0) {
$ret_ele .= '</tr><tr>';
}
@@ -209,13 +209,11 @@
} else {
redirect_header("admin_permissions.php?action=template", 2, _AM_NEWBB_PERM_TEMPLATE_ERROR);
}
- exit();
case "apply":
$perm_template = $newbbperm_handler->getTemplate();
if ($perm_template === null) {
redirect_header("admin_permissions.php?action=template", 2, _AM_NEWBB_PERM_TEMPLATE);
- exit();
}
xoops_cp_header();
echo $indexAdmin->addNavigation('admin_permissions.php');
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_report.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_report.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_report.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -29,7 +29,7 @@
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
-include('admin_header.php');
+include_once __DIR__ . '/admin_header.php';
include_once XOOPS_ROOT_PATH."/class/pagenav.php";
$op = !empty($_POST['submit']) ? "save" : ( !empty($_POST['delete']) ? "delete" : "default");
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_synchronization.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_synchronization.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_synchronization.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -10,7 +10,7 @@
* @package module::newbb
*/
// irmtfan - TODO - should be changed completly with Newbb new function newbb_synchronization
-include 'admin_header.php';
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
mod_loadFunctions("recon", "newbb");
$form = '<fieldset>';
@@ -28,7 +28,6 @@
$result = newbb_synchronization("forum");
if (!empty($result)) {
redirect_header("admin_synchronization.php", 2, _AM_NEWBB_SYNC_TYPE_FORUM . "<br />" . _AM_NEWBB_DATABASEUPDATED);
- exit();
}
break;
// irmtfan rewrite topic sync
@@ -47,14 +46,12 @@
}
$result = newbb_synchronization("topic");
redirect_header("admin_synchronization.php?type=topic&start=".($start+$limit)."&limit={$limit}", 2, _AM_NEWBB_SYNCHING." {$count}: {$start} - ".($start+$limit));
- exit();
break;
// irmtfan rewrite post sync
case "post":
$result = newbb_synchronization("post");
if (!empty($result)) {
redirect_header("admin_synchronization.php", 2, _AM_NEWBB_SYNC_TYPE_POST . "<br />" . _AM_NEWBB_DATABASEUPDATED);
- exit();
}
break;
// irmtfan - user is not in recon functions - only here
@@ -94,7 +91,6 @@
}
redirect_header("admin_synchronization.php?type=user&start=".($start+$limit)."&limit={$limit}", 2, _AM_NEWBB_SYNCHING." {$count}: {$start} - ".($start+$limit));
- exit();
break;
// irmtfan rewrite stats reset
case "stats":
Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_type_manager.php
===================================================================
--- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_type_manager.php 2015-02-18 14:52:02 UTC (rev 12990)
+++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/newbb/admin/admin_type_manager.php 2015-02-18 15:24:25 UTC (rev 12991)
@@ -11,7 +11,7 @@
* @package module::newbb
*/
-include('admin_header.php');
+include_once __DIR__ . '/admin_header.php';
xoops_cp_header();
echo "<fieldset>";
echo "<br />";
@@ -83,7 +83,6 @@
$types_obj = $type_handler->getAll();
if (count($types_obj) ==0) {
redirect_header(xoops_getenv("PHP_SELF"), 2, _AM_NEWBB_TYPE_ADD);
- exit();
}
echo "<a style='border: 1px solid #5E5D63; color: #000000; font-family: verdana, tahoma, arial, helvetica, sans-serif; font-size: 1em; padding: 4px 8px...
[truncated message content] |