You can subscribe to this list here.
2012 |
Jan
|
Feb
(214) |
Mar
(139) |
Apr
(198) |
May
(187) |
Jun
(151) |
Jul
(210) |
Aug
(169) |
Sep
(58) |
Oct
(53) |
Nov
(54) |
Dec
(301) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(348) |
Feb
(178) |
Mar
(219) |
Apr
(154) |
May
(117) |
Jun
(194) |
Jul
(61) |
Aug
(132) |
Sep
(121) |
Oct
(110) |
Nov
(11) |
Dec
(18) |
2014 |
Jan
(34) |
Feb
(50) |
Mar
(82) |
Apr
(98) |
May
(39) |
Jun
(111) |
Jul
(67) |
Aug
(36) |
Sep
(33) |
Oct
(26) |
Nov
(53) |
Dec
(44) |
2015 |
Jan
(29) |
Feb
(47) |
Mar
(25) |
Apr
(19) |
May
(23) |
Jun
(20) |
Jul
(49) |
Aug
(7) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(25) |
2016 |
Jan
(8) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(5) |
2017 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(15) |
Jun
|
Jul
(18) |
Aug
(24) |
Sep
|
Oct
(14) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(22) |
Mar
|
Apr
(11) |
May
(1) |
Jun
(17) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(5) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
From: <txm...@us...> - 2012-03-05 21:45:58
|
Revision: 9099 http://xoops.svn.sourceforge.net/xoops/?rev=9099&view=rev Author: txmodxoops Date: 2012-03-05 21:45:51 +0000 (Mon, 05 Mar 2012) Log Message: ----------- Delete files Removed Paths: ------------- XoopsModules/twitter/admin/ XoopsModules/twitter/blocks/ XoopsModules/twitter/class/ XoopsModules/twitter/css/ XoopsModules/twitter/docs/ XoopsModules/twitter/header.php XoopsModules/twitter/images/ XoopsModules/twitter/include/ XoopsModules/twitter/index.php XoopsModules/twitter/language/ XoopsModules/twitter/sql/ XoopsModules/twitter/templates/ XoopsModules/twitter/xoops_version.php Deleted: XoopsModules/twitter/header.php =================================================================== --- XoopsModules/twitter/header.php 2012-03-05 21:41:09 UTC (rev 9098) +++ XoopsModules/twitter/header.php 2012-03-05 21:45:51 UTC (rev 9099) @@ -1,46 +0,0 @@ -<?php -/** - * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * **************************************************************************** - * TWITTER - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.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. - * - * ------------------------------------------------------------------------ - * - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package twitter - * @author TXMod Xoops (in...@tx...) - * - * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ - * **************************************************************************** - */ - -include "../../mainfile.php"; -global $xoopsConfig, $xoopsModule; -include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/configs.php"; -include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/functions.php"; -$myts =& MyTextSanitizer::getInstance(); -$style = "modules/".$xoopsModule->getVar('dirname')."/css/style.css"; -if(file_exists($style)); {return true;} -?> \ No newline at end of file Deleted: XoopsModules/twitter/index.php =================================================================== --- XoopsModules/twitter/index.php 2012-03-05 21:41:09 UTC (rev 9098) +++ XoopsModules/twitter/index.php 2012-03-05 21:45:51 UTC (rev 9099) @@ -1,73 +0,0 @@ -<?php -/** - * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * **************************************************************************** - * TWITTER - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) - * - * 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. - * - * ------------------------------------------------------------------------ - * - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package twitter - * @author TXMod Xoops (in...@tx...) - * - * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ - * **************************************************************************** - */ -include "header.php"; -$xoopsOption['template_main'] = 'twitter_index.html'; -include_once XOOPS_ROOT_PATH."/header.php"; -// Include Styles -$GLOBALS['xoTheme']->addStylesheet($style); -//keywords -$keywords = $GLOBALS['xoopsModuleConfig']['keywords']; -$keywords .= substr($keywords, 0); -$GLOBALS['xoTheme']->addMeta('meta', 'keywords', $keywords); -//description -$GLOBALS['xoTheme']->addMeta('meta', 'description', _MD_TWITTER_DESC); -$GLOBALS['xoopsTpl']->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise_text']); -$GLOBALS['xoopsTpl']->assign('ads120x600', $GLOBALS['xoopsModuleConfig']['advertise_120']); - -$GLOBALS['xoopsTpl']->assign('users_title', 'Users'); -$GLOBALS['xoopsTpl']->assign('tweets_title', 'Tweets'); - -$url = $GLOBALS['xoopsModuleConfig']['default_url']; -if (isset($_POST['query'])) { - $full_query = $url . urlencode($_POST['query']); - $raw_json = file_get_contents($full_query); - $json = json_decode($raw_json); - - foreach ($json->results as $r) { - $GLOBALS['xoopsTpl']->append('tweets', array('image_url' => $r->profile_image_url, 'from_user' => $r->from_user, 'text' => $r->text)); - } - /*$ret = "<table style='width:600px;'>"; - $ret .= "<tr><th>user</th><th>tweet</th></tr>"; - foreach ($json->results as $r) { - - $ret .= '<tr><td><a href="https://twitter.com/'. $r->from_user . '"><img src="' . $r->profile_image_url . '" /></a></td>'; - $ret .= '<td style="border-bottom: #ccc solid 1px;">'. $r->from_user . '<br />' . $r->text . '</td>'; - $ret .= '</tr>'; - } - $ret .= "</table>"; - $GLOBALS['xoopsTpl']->assign('tweets', $ret);*/ -} - -if($GLOBALS['xoopsModuleConfig']['act_socialnetworks'] == 1){ -$social = $GLOBALS['xoopsModuleConfig']['socialnetworks']; -$act_social = $GLOBALS['xoopsModuleConfig']['act_socialnetworks']; -$GLOBALS['xoopsTpl']->assign('act_social', $act_social); -$GLOBALS['xoopsTpl']->assign('social', $social); } - -include_once XOOPS_ROOT_PATH."/footer.php"; -?> \ No newline at end of file Deleted: XoopsModules/twitter/xoops_version.php =================================================================== --- XoopsModules/twitter/xoops_version.php 2012-03-05 21:41:09 UTC (rev 9098) +++ XoopsModules/twitter/xoops_version.php 2012-03-05 21:45:51 UTC (rev 9099) @@ -1,162 +0,0 @@ -<?php -/** - * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) - * **************************************************************************** - * TWITTER - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) - * - * 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. - * - * ------------------------------------------------------------------------ - * - * @copyright TXMod Xoops (http://www.txmodxoops.org) - * @license GPL see LICENSE - * @package twitter - * @author TXMod Xoops (in...@tx...) - * - * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ - * **************************************************************************** - */ - -if (!defined('XOOPS_ROOT_PATH')){ exit(); } - -$dirname = basename( dirname( __FILE__ ) ) ; - -$modversion['name'] = _MI_TWITTER_NAME; -$modversion['version'] = 1.01; -$modversion['description'] = _MI_TWITTER_DESC; -$modversion['author'] = "TXMod Xoops"; -$modversion['author_mail'] = "in...@tx..."; -$modversion['author_website_url'] = "http://www.txmodxoops.org"; -$modversion['author_website_name'] = "TXMod Xoops"; -$modversion['credits'] = "Timgno"; -$modversion['license'] = "GPL see LICENSE"; -$modversion['help'] = 'page=help'; -$modversion['license'] = 'GNU GPL 2.0'; -$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; - -$modversion['release_info'] = "Beta 1 05/03/2012"; -$modversion['release_file'] = XOOPS_URL."/modules/{$dirname}/docs/changelog.txt"; -$modversion['release_date'] = "2012/03/05"; - -$modversion['manual'] = "Install Manual"; -$modversion['manual_file'] = XOOPS_URL."/modules/{$dirname}/docs/install.txt"; -$modversion['min_php'] = "5.2"; -$modversion['min_xoops'] = "2.5"; -$modversion['min_admin']= "1.1"; -$modversion['min_db']= array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); -$modversion['image'] = "images/TDMLogo.png"; -$modversion['dirname'] = "{$dirname}"; - -$modversion['dirmoduleadmin'] = 'Frameworks/moduleclasses'; -$modversion['icons16'] = 'Frameworks/moduleclasses/icons/16'; -$modversion['icons32'] = 'Frameworks/moduleclasses/icons/32'; - -//About -$modversion['demo_site_url'] = "http://www.txmodxoops.org/modules/twitter"; -$modversion['demo_site_name'] = "Twitter TXMod Xoops"; -$modversion['forum_site_url'] = "http://www.txmodxoops.org/modules/newbb/"; -$modversion['forum_site_name'] = "TXMod Xoops Community"; -$modversion['module_website_url'] = "http://www.txmodxoops.org/"; -$modversion['module_website_name'] = "TXMod Xoops"; -$modversion['release'] = "05/03/2012"; -$modversion['module_status'] = "Beta 1"; - -// Admin things -$modversion['hasAdmin'] = 1; -// Admin system menu -$modversion['system_menu'] = 1; - -$modversion["adminindex"] = "admin/index.php"; -$modversion["adminmenu"] = "admin/menu.php"; - - -// Scripts to run upon installation or update -$modversion["onInstall"] = "include/install.php"; -//$modversion["onUpdate"] = "include/update.php"; - -// Menu -$modversion["hasMain"] = 1; - -// Templates -$i = 1; -$modversion["templates"][$i]["file"] = "twitter_index.html"; -$modversion["templates"][$i]["description"] = "twitter index page"; -$i++; -$modversion["templates"][$i]["file"] = "twitter_header.html"; -$modversion["templates"][$i]["description"] = "twitter header page"; -$i++; -$modversion["templates"][$i]["file"] = "twitter_footer.html"; -$modversion["templates"][$i]["description"] = "twitter footer page"; -unset( $i ); - -// Config -$i = 1; -include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; -$modversion["config"][$i]["name"] = "twitter_editor"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_EDITOR"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_EDITOR_DESC"; -$modversion["config"][$i]["formtype"] = "select"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = "dhtmltextarea"; -$modversion["config"][$i]["options"] = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . "/class/xoopseditor"); -$modversion["config"][$i]["category"] = "global"; -$i++; -$modversion["config"][$i]["name"] = "keywords"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_KEYWORDS"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_KEYWORDS_DESC"; -$modversion["config"][$i]["formtype"] = "textbox"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = ''; -$i++; -$modversion["config"][$i]["name"] = "default_url"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_DEFAULT_URL"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_DEFAULT_URL_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = 'http://search.twitter.com/search.json?lang=en&q='; -$i++; -$modversion["config"][$i]["name"] = "advertise_text"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_ADVERTISE"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_ADVERTISE_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = ''; -$i++; -$modversion["config"][$i]["name"] = "query_search"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_QUERY_SEARCH"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_QUERY_SEARCH_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = 'txmodxoops'; -$i++; -$modversion["config"][$i]["name"] = "advertise_120"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_ADVERTISE"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_ADVERTISE_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = ''; -$i++; -$modversion["config"][$i]["name"] = "act_socialnetworks"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_ACTSOCIALNETWORKS"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_ACTSOCIALNETWORKS_DESC"; -$modversion["config"][$i]["formtype"] = "yesno"; -$modversion["config"][$i]["aluetype"] = "int"; -$modversion["config"][$i]["default"] = 0; -$i++; -$modversion["config"][$i]["name"] = "socialnetworks"; -$modversion["config"][$i]["title"] = "_MI_TWITTER_SOCIALNETWORKS"; -$modversion["config"][$i]["description"] = "_MI_TWITTER_SOCIALNETWORKS_DESC"; -$modversion["config"][$i]["formtype"] = "textarea"; -$modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = ''; -unset($i); -?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-05 21:41:15
|
Revision: 9098 http://xoops.svn.sourceforge.net/xoops/?rev=9098&view=rev Author: txmodxoops Date: 2012-03-05 21:41:09 +0000 (Mon, 05 Mar 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html Modified: XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php 2012-03-05 21:34:59 UTC (rev 9097) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/admin.php 2012-03-05 21:41:09 UTC (rev 9098) @@ -236,8 +236,7 @@ define("_AM_NEWBB_MODULE_DISCLAIMER", "dichiarazione di non responsabilità"); define("_AM_NEWBB_AUTHOR_WORD", "Dell'Autore Word"); define("_AM_NEWBB_BY", "<PROTECTED> BY <PROTECTED>"); -define('_AM_NEWBB_AUTHOR_WORD_EXTRA', " -"); +define('_AM_NEWBB_AUTHOR_WORD_EXTRA', ""); // admin_report.php define("_AM_NEWBB_REPORTADMIN", "Riferito messaggi direttore"); Modified: XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html 2012-03-05 21:34:59 UTC (rev 9097) +++ XoopsModules/newbb/branches/alfred/newbb/language/italian/help/help.html 2012-03-05 21:41:09 UTC (rev 9098) @@ -29,7 +29,7 @@ <h4 class="odd">Tutorial</h4> <p class="even"> - Coming soon </a> + Coming soon </a></p> <!-- -----Help Content ---------- --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-05 21:35:09
|
Revision: 9097 http://xoops.svn.sourceforge.net/xoops/?rev=9097&view=rev Author: txmodxoops Date: 2012-03-05 21:34:59 +0000 (Mon, 05 Mar 2012) Log Message: ----------- Restructuring Added Paths: ----------- XoopsModules/twitter/branches/ XoopsModules/twitter/releases/ XoopsModules/twitter/releases/1.0/ XoopsModules/twitter/releases/1.0/twitter/ XoopsModules/twitter/releases/1.0/twitter/admin/ XoopsModules/twitter/releases/1.0/twitter/admin/about.php XoopsModules/twitter/releases/1.0/twitter/admin/admin_footer.php XoopsModules/twitter/releases/1.0/twitter/admin/admin_header.php XoopsModules/twitter/releases/1.0/twitter/admin/index.html XoopsModules/twitter/releases/1.0/twitter/admin/index.php XoopsModules/twitter/releases/1.0/twitter/admin/menu.php XoopsModules/twitter/releases/1.0/twitter/blocks/ XoopsModules/twitter/releases/1.0/twitter/blocks/index.html XoopsModules/twitter/releases/1.0/twitter/class/ XoopsModules/twitter/releases/1.0/twitter/class/index.html XoopsModules/twitter/releases/1.0/twitter/css/ XoopsModules/twitter/releases/1.0/twitter/css/index.html XoopsModules/twitter/releases/1.0/twitter/css/style.css XoopsModules/twitter/releases/1.0/twitter/docs/ XoopsModules/twitter/releases/1.0/twitter/docs/changelog.txt XoopsModules/twitter/releases/1.0/twitter/docs/credits.txt XoopsModules/twitter/releases/1.0/twitter/docs/index.html XoopsModules/twitter/releases/1.0/twitter/docs/install.txt XoopsModules/twitter/releases/1.0/twitter/docs/lang_diff.txt XoopsModules/twitter/releases/1.0/twitter/docs/licence.txt XoopsModules/twitter/releases/1.0/twitter/docs/readme.txt XoopsModules/twitter/releases/1.0/twitter/header.php XoopsModules/twitter/releases/1.0/twitter/images/ XoopsModules/twitter/releases/1.0/twitter/images/icons/ XoopsModules/twitter/releases/1.0/twitter/images/icons/index.html XoopsModules/twitter/releases/1.0/twitter/images/icons/off.png XoopsModules/twitter/releases/1.0/twitter/images/icons/on.png XoopsModules/twitter/releases/1.0/twitter/images/index.html XoopsModules/twitter/releases/1.0/twitter/images/menu/ XoopsModules/twitter/releases/1.0/twitter/images/menu/bg.png XoopsModules/twitter/releases/1.0/twitter/images/menu/index.html XoopsModules/twitter/releases/1.0/twitter/images/menu/left_both.png XoopsModules/twitter/releases/1.0/twitter/images/menu/right_both.png XoopsModules/twitter/releases/1.0/twitter/images/twitter_slogo.png XoopsModules/twitter/releases/1.0/twitter/include/ XoopsModules/twitter/releases/1.0/twitter/include/configs.php XoopsModules/twitter/releases/1.0/twitter/include/functions.php XoopsModules/twitter/releases/1.0/twitter/include/index.html XoopsModules/twitter/releases/1.0/twitter/include/install.php XoopsModules/twitter/releases/1.0/twitter/index.php XoopsModules/twitter/releases/1.0/twitter/language/ XoopsModules/twitter/releases/1.0/twitter/language/english/ XoopsModules/twitter/releases/1.0/twitter/language/english/admin.php XoopsModules/twitter/releases/1.0/twitter/language/english/blocks.php XoopsModules/twitter/releases/1.0/twitter/language/english/help/ XoopsModules/twitter/releases/1.0/twitter/language/english/help/help.html XoopsModules/twitter/releases/1.0/twitter/language/english/help/index.html XoopsModules/twitter/releases/1.0/twitter/language/english/index.html XoopsModules/twitter/releases/1.0/twitter/language/english/main.php XoopsModules/twitter/releases/1.0/twitter/language/english/modinfo.php XoopsModules/twitter/releases/1.0/twitter/language/index.html XoopsModules/twitter/releases/1.0/twitter/language/italian/ XoopsModules/twitter/releases/1.0/twitter/language/italian/admin.php XoopsModules/twitter/releases/1.0/twitter/language/italian/blocks.php XoopsModules/twitter/releases/1.0/twitter/language/italian/help/ XoopsModules/twitter/releases/1.0/twitter/language/italian/help/help.html XoopsModules/twitter/releases/1.0/twitter/language/italian/help/index.html XoopsModules/twitter/releases/1.0/twitter/language/italian/index.html XoopsModules/twitter/releases/1.0/twitter/language/italian/main.php XoopsModules/twitter/releases/1.0/twitter/language/italian/modinfo.php XoopsModules/twitter/releases/1.0/twitter/sql/ XoopsModules/twitter/releases/1.0/twitter/sql/index.html XoopsModules/twitter/releases/1.0/twitter/templates/ XoopsModules/twitter/releases/1.0/twitter/templates/admin/ XoopsModules/twitter/releases/1.0/twitter/templates/admin/index.html XoopsModules/twitter/releases/1.0/twitter/templates/admin/twitter_admin_about.html XoopsModules/twitter/releases/1.0/twitter/templates/admin/twitter_admin_help.html XoopsModules/twitter/releases/1.0/twitter/templates/blocks/ XoopsModules/twitter/releases/1.0/twitter/templates/blocks/index.html XoopsModules/twitter/releases/1.0/twitter/templates/index.html XoopsModules/twitter/releases/1.0/twitter/templates/twitter_footer.html XoopsModules/twitter/releases/1.0/twitter/templates/twitter_header.html XoopsModules/twitter/releases/1.0/twitter/templates/twitter_index.html XoopsModules/twitter/releases/1.0/twitter/xoops_version.php XoopsModules/twitter/trunk/ Added: XoopsModules/twitter/releases/1.0/twitter/admin/about.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/admin/about.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/admin/about.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,48 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + + +include "admin_header.php"; +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderabout($GLOBALS['xoopsModuleConfig']['id_paypal'], false); + +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/admin/admin_footer.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/admin/admin_footer.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/admin/admin_footer.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,45 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +global $pathImageAdmin; +echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> + <img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_TWITTER_MAINTAINEDBY." + <a href='http://www.txmodxoops.org/modules/newbb/' title='Visit TXMod Xoops Community' class='tooltip' rel='external'>TXMod Xoops Community</a></div>"; +xoops_cp_footer(); Added: XoopsModules/twitter/releases/1.0/twitter/admin/admin_header.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/admin/admin_header.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/admin/admin_header.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,93 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; + +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globlang = $GLOBALS['xoopsConfig']['language']; + +if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ + include_once $pathDir.'/language/'.$globlang.'/main.php'; + }else{ + include_once $pathDir.'/language/english/main.php'; + } + +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; + //return true; + }else{ + xoops_cp_header(); + echo xoops_error(_AM_ERROR_NOFRAMEWORKS); + xoops_cp_footer(); + //return false; + } +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); +//xoops_cp_header(); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); Added: XoopsModules/twitter/releases/1.0/twitter/admin/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/admin/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/admin/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/admin/index.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/admin/index.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/admin/index.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,48 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + echo $indexAdmin->addNavigation("index.php") ; + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/admin/menu.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/admin/menu.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/admin/menu.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,60 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + + +$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; + +$module_handler =& xoops_gethandler("module"); +$xoopsModule =& XoopsModule::getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid")); +$pathImageAdmin = $moduleInfo->getInfo("icons32"); + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]["title"] = _MI_TWITTER_ADMENU1; +$adminmenu[$i]["link"] = "admin/index.php"; +//$adminmenu[$i]["desc"] = _MI_TWITTER_ADMENU1_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png"; +$i++; +$adminmenu[$i]["title"] = _MI_TWITTER_ADMENU2; +$adminmenu[$i]["link"] = "admin/about.php"; +//$adminmenu[$i]["desc"] = _MI_TWITTER_ADMENU2_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png"; +unset( $i ); +?> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/blocks/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/blocks/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/blocks/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/class/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/class/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/class/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/css/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/css/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/css/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/css/style.css =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/css/style.css (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/css/style.css 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,47 @@ +/* + * Module Twitter + * Created Tru 05/03/2012 + * Copyright TXMod Xoops <in...@tx...> + * $Id Timgno + */ +table { + border: 1px solid #ccc; + width: 100%; +} + +tr.even{ + background-color: #C8C8C8; +} + +tr.odd { + background-color: #E2E2E2; +} + +th.title { + float: left; + margin-left: 3px; + height: 15px; + background: transparent; +} + +th.title span { + margin-left: 30px; + text-align: left; + background: transparent; +} + +td a { + margin: 0px; + width: 40px; + height: 40px; + background: transparent; +} + +td.user a { + border-bottom: 1px solid #ccc; + margin: 1px; + width: 90px; + height: 10px; + color: #0000ff; + background: transparent; +} \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/docs/changelog.txt =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/docs/changelog.txt (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/docs/changelog.txt 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,5 @@ + +==================================== + 2012/03/05 18:12:44 Version 1.01 +==================================== + - Original release twitter (TXMod Xoops) Added: XoopsModules/twitter/releases/1.0/twitter/docs/credits.txt =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/docs/credits.txt (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/docs/credits.txt 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/docs/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/docs/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/docs/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/docs/install.txt =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/docs/install.txt (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/docs/install.txt 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/docs/lang_diff.txt =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/docs/lang_diff.txt (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/docs/lang_diff.txt 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/docs/licence.txt =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/docs/licence.txt (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/docs/licence.txt 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + 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. + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/twitter/releases/1.0/twitter/docs/readme.txt =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/docs/readme.txt (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/docs/readme.txt 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/header.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/header.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/header.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,46 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +include "../../mainfile.php"; +global $xoopsConfig, $xoopsModule; +include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/configs.php"; +include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/functions.php"; +$myts =& MyTextSanitizer::getInstance(); +$style = "modules/".$xoopsModule->getVar('dirname')."/css/style.css"; +if(file_exists($style)); {return true;} +?> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/images/icons/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/images/icons/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/images/icons/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/images/icons/off.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/releases/1.0/twitter/images/icons/off.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/releases/1.0/twitter/images/icons/on.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/releases/1.0/twitter/images/icons/on.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/releases/1.0/twitter/images/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/images/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/images/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/images/menu/bg.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/releases/1.0/twitter/images/menu/bg.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/releases/1.0/twitter/images/menu/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/images/menu/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/images/menu/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/images/menu/left_both.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/releases/1.0/twitter/images/menu/left_both.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/releases/1.0/twitter/images/menu/right_both.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/releases/1.0/twitter/images/menu/right_both.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/releases/1.0/twitter/images/twitter_slogo.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/releases/1.0/twitter/images/twitter_slogo.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/releases/1.0/twitter/include/configs.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/include/configs.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/include/configs.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,58 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; + +global $xoopsConfig, $xoopsModule; + +// module information +$mod_url = XOOPS_URL . "/modules/".$xoopsModule->getVar('dirname'); +$mod_path = XOOPS_ROOT_PATH . "/modules/".$xoopsModule->getVar('dirname'); +$mod_img = XOOPS_URL . "/modules/".$xoopsModule->getVar('dirname')."/images/txmodxoops_logo.png"; +// Attention: if don't have declared ( _ADMIN ) variable, you can do in languages/yourlanguage/global.php +$mod_admin = "<a href='".$mod_url."/admin/index.php'><strong>"._MD_TWITTER_ADMIN."</strong></a>"; +$mod_copyright = "<a href='http://www.txmodxoops.org' title='TXMod Xoops' target='_blank'> + <img src='".$mod_img."' alt='TXMod Xoops' /></a>"; + +// global language file +if ( file_exists( $mod_path."/language/".$xoopsConfig['language']."/main.php" ) ) { + include_once $mod_path."/language/".$xoopsConfig['language']."/main.php" ; +} else { + include_once $mod_path."/language/english/main.php" ; +} +?> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/include/functions.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/include/functions.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/include/functions.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,104 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + + +/***************Blocks***************/ +function twitter_block_addCatSelect($cats) { + if(is_array($cats)) + { + $cat_sql = "(".current($cats); + array_shift($cats); + foreach($cats as $cat) + { + $cat_sql .= ",".$cat; + } + $cat_sql .= ")"; + } + return $cat_sql; +} + +function twitter_checkModuleAdmin() +{ + if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + return true; + }else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + return false; + } +} + +function twitter_CleanVars( &$global, $key, $default = '', $type = 'int' ) { + switch ( $type ) { + case 'string': + $ret = ( isset( $global[$key] ) ) ? filter_var( $global[$key], FILTER_SANITIZE_MAGIC_QUOTES ) : $default; + break; + case 'int': default: + $ret = ( isset( $global[$key] ) ) ? filter_var( $global[$key], FILTER_SANITIZE_NUMBER_INT ) : $default; + break; + } + if ( $ret === false ) { + return $default; + } + return $ret; +} + +function xoops_meta_keywords($content) +{ + global $xoopsTpl, $xoTheme; + $myts =& MyTextSanitizer::getInstance(); + $content= $myts->undoHtmlSpecialChars($myts->displayTbox($content)); + if(isset($xoTheme) && is_object($xoTheme)) { + $xoTheme->addMeta( 'meta', 'keywords', strip_tags($content)); + } else { // Compatibility for old Xoops versions + $xoopsTpl->assign('xoops_meta_keywords', strip_tags($content)); + } +} + +function xoops_meta_description($content) +{ + global $xoopsTpl, $xoTheme; + $myts =& MyTextSanitizer::getInstance(); + $content= $myts->undoHtmlSpecialChars($myts->displayTarea($content)); + if(isset($xoTheme) && is_object($xoTheme)) { + $xoTheme->addMeta( 'meta', 'description', strip_tags($content)); + } else { // Compatibility for old Xoops versions + $xoopsTpl->assign('xoops_meta_description', strip_tags($content)); + } +} +?> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/include/index.html =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/include/index.html (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/include/index.html 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/include/install.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/include/install.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/include/install.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,49 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +$indexFile = XOOPS_ROOT_PATH."/modules/TDMCreate/include/index.html"; +$blankFile = XOOPS_ROOT_PATH."/modules/TDMCreate/images/deco/blank.gif"; + +//Creation du dossier "uploads" pour le module à la racine du site +$module_uploads = XOOPS_ROOT_PATH."/uploads/twitter"; +if(!is_dir($module_uploads)) + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); +copy($indexFile, XOOPS_ROOT_PATH."/uploads/twitter/index.html"); + +?> \ No newline at end of file Added: XoopsModules/twitter/releases/1.0/twitter/index.php =================================================================== --- XoopsModules/twitter/releases/1.0/twitter/index.php (rev 0) +++ XoopsModules/twitter/releases/1.0/twitter/index.php 2012-03-05 21:34:59 UTC (rev 9097) @@ -0,0 +1,73 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS +... [truncated message content] |
From: <txm...@us...> - 2012-03-05 20:58:21
|
Revision: 9096 http://xoops.svn.sourceforge.net/xoops/?rev=9096&view=rev Author: txmodxoops Date: 2012-03-05 20:58:11 +0000 (Mon, 05 Mar 2012) Log Message: ----------- New module - twitter Added Paths: ----------- XoopsModules/twitter/ XoopsModules/twitter/admin/ XoopsModules/twitter/admin/about.php XoopsModules/twitter/admin/admin_footer.php XoopsModules/twitter/admin/admin_header.php XoopsModules/twitter/admin/index.html XoopsModules/twitter/admin/index.php XoopsModules/twitter/admin/menu.php XoopsModules/twitter/blocks/ XoopsModules/twitter/blocks/index.html XoopsModules/twitter/class/ XoopsModules/twitter/class/index.html XoopsModules/twitter/css/ XoopsModules/twitter/css/index.html XoopsModules/twitter/css/style.css XoopsModules/twitter/docs/ XoopsModules/twitter/docs/changelog.txt XoopsModules/twitter/docs/credits.txt XoopsModules/twitter/docs/index.html XoopsModules/twitter/docs/install.txt XoopsModules/twitter/docs/lang_diff.txt XoopsModules/twitter/docs/licence.txt XoopsModules/twitter/docs/readme.txt XoopsModules/twitter/header.php XoopsModules/twitter/images/ XoopsModules/twitter/images/icons/ XoopsModules/twitter/images/icons/index.html XoopsModules/twitter/images/icons/off.png XoopsModules/twitter/images/icons/on.png XoopsModules/twitter/images/index.html XoopsModules/twitter/images/menu/ XoopsModules/twitter/images/menu/bg.png XoopsModules/twitter/images/menu/index.html XoopsModules/twitter/images/menu/left_both.png XoopsModules/twitter/images/menu/right_both.png XoopsModules/twitter/images/twitter_slogo.png XoopsModules/twitter/include/ XoopsModules/twitter/include/configs.php XoopsModules/twitter/include/functions.php XoopsModules/twitter/include/index.html XoopsModules/twitter/include/install.php XoopsModules/twitter/index.php XoopsModules/twitter/language/ XoopsModules/twitter/language/english/ XoopsModules/twitter/language/english/admin.php XoopsModules/twitter/language/english/blocks.php XoopsModules/twitter/language/english/help/ XoopsModules/twitter/language/english/help/help.html XoopsModules/twitter/language/english/help/index.html XoopsModules/twitter/language/english/index.html XoopsModules/twitter/language/english/main.php XoopsModules/twitter/language/english/modinfo.php XoopsModules/twitter/language/index.html XoopsModules/twitter/language/italian/ XoopsModules/twitter/language/italian/admin.php XoopsModules/twitter/language/italian/blocks.php XoopsModules/twitter/language/italian/help/ XoopsModules/twitter/language/italian/help/help.html XoopsModules/twitter/language/italian/help/index.html XoopsModules/twitter/language/italian/index.html XoopsModules/twitter/language/italian/main.php XoopsModules/twitter/language/italian/modinfo.php XoopsModules/twitter/sql/ XoopsModules/twitter/sql/index.html XoopsModules/twitter/templates/ XoopsModules/twitter/templates/admin/ XoopsModules/twitter/templates/admin/index.html XoopsModules/twitter/templates/admin/twitter_admin_about.html XoopsModules/twitter/templates/admin/twitter_admin_help.html XoopsModules/twitter/templates/blocks/ XoopsModules/twitter/templates/blocks/index.html XoopsModules/twitter/templates/index.html XoopsModules/twitter/templates/twitter_footer.html XoopsModules/twitter/templates/twitter_header.html XoopsModules/twitter/templates/twitter_index.html XoopsModules/twitter/xoops_version.php Added: XoopsModules/twitter/admin/about.php =================================================================== --- XoopsModules/twitter/admin/about.php (rev 0) +++ XoopsModules/twitter/admin/about.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,48 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + + +include "admin_header.php"; +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderabout($GLOBALS['xoopsModuleConfig']['id_paypal'], false); + +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/twitter/admin/admin_footer.php =================================================================== --- XoopsModules/twitter/admin/admin_footer.php (rev 0) +++ XoopsModules/twitter/admin/admin_footer.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,45 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +global $pathImageAdmin; +echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> + <img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_TWITTER_MAINTAINEDBY." + <a href='http://www.txmodxoops.org/modules/newbb/' title='Visit TXMod Xoops Community' class='tooltip' rel='external'>TXMod Xoops Community</a></div>"; +xoops_cp_footer(); Added: XoopsModules/twitter/admin/admin_header.php =================================================================== --- XoopsModules/twitter/admin/admin_header.php (rev 0) +++ XoopsModules/twitter/admin/admin_header.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,93 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; + +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globlang = $GLOBALS['xoopsConfig']['language']; + +if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ + include_once $pathDir.'/language/'.$globlang.'/main.php'; + }else{ + include_once $pathDir.'/language/english/main.php'; + } + +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; + //return true; + }else{ + xoops_cp_header(); + echo xoops_error(_AM_ERROR_NOFRAMEWORKS); + xoops_cp_footer(); + //return false; + } +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); +//xoops_cp_header(); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); Added: XoopsModules/twitter/admin/index.html =================================================================== --- XoopsModules/twitter/admin/index.html (rev 0) +++ XoopsModules/twitter/admin/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/admin/index.php =================================================================== --- XoopsModules/twitter/admin/index.php (rev 0) +++ XoopsModules/twitter/admin/index.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,48 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + echo $indexAdmin->addNavigation("index.php") ; + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; +?> \ No newline at end of file Added: XoopsModules/twitter/admin/menu.php =================================================================== --- XoopsModules/twitter/admin/menu.php (rev 0) +++ XoopsModules/twitter/admin/menu.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,60 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + + +$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; + +$module_handler =& xoops_gethandler("module"); +$xoopsModule =& XoopsModule::getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid")); +$pathImageAdmin = $moduleInfo->getInfo("icons32"); + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]["title"] = _MI_TWITTER_ADMENU1; +$adminmenu[$i]["link"] = "admin/index.php"; +//$adminmenu[$i]["desc"] = _MI_TWITTER_ADMENU1_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png"; +$i++; +$adminmenu[$i]["title"] = _MI_TWITTER_ADMENU2; +$adminmenu[$i]["link"] = "admin/about.php"; +//$adminmenu[$i]["desc"] = _MI_TWITTER_ADMENU2_DESC; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png"; +unset( $i ); +?> \ No newline at end of file Added: XoopsModules/twitter/blocks/index.html =================================================================== --- XoopsModules/twitter/blocks/index.html (rev 0) +++ XoopsModules/twitter/blocks/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/class/index.html =================================================================== --- XoopsModules/twitter/class/index.html (rev 0) +++ XoopsModules/twitter/class/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/css/index.html =================================================================== --- XoopsModules/twitter/css/index.html (rev 0) +++ XoopsModules/twitter/css/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/css/style.css =================================================================== --- XoopsModules/twitter/css/style.css (rev 0) +++ XoopsModules/twitter/css/style.css 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,47 @@ +/* + * Module Twitter + * Created Tru 05/03/2012 + * Copyright TXMod Xoops <in...@tx...> + * $Id Timgno + */ +table { + border: 1px solid #ccc; + width: 100%; +} + +tr.even{ + background-color: #C8C8C8; +} + +tr.odd { + background-color: #E2E2E2; +} + +th.title { + float: left; + margin-left: 3px; + height: 15px; + background: transparent; +} + +th.title span { + margin-left: 30px; + text-align: left; + background: transparent; +} + +td a { + margin: 0px; + width: 40px; + height: 40px; + background: transparent; +} + +td.user a { + border-bottom: 1px solid #ccc; + margin: 1px; + width: 90px; + height: 10px; + color: #0000ff; + background: transparent; +} \ No newline at end of file Added: XoopsModules/twitter/docs/changelog.txt =================================================================== --- XoopsModules/twitter/docs/changelog.txt (rev 0) +++ XoopsModules/twitter/docs/changelog.txt 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,5 @@ + +==================================== + 2012/03/05 18:12:44 Version 1.01 +==================================== + - Original release twitter (TXMod Xoops) Added: XoopsModules/twitter/docs/credits.txt =================================================================== --- XoopsModules/twitter/docs/credits.txt (rev 0) +++ XoopsModules/twitter/docs/credits.txt 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/docs/index.html =================================================================== --- XoopsModules/twitter/docs/index.html (rev 0) +++ XoopsModules/twitter/docs/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/docs/install.txt =================================================================== --- XoopsModules/twitter/docs/install.txt (rev 0) +++ XoopsModules/twitter/docs/install.txt 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/docs/lang_diff.txt =================================================================== --- XoopsModules/twitter/docs/lang_diff.txt (rev 0) +++ XoopsModules/twitter/docs/lang_diff.txt 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/docs/licence.txt =================================================================== --- XoopsModules/twitter/docs/licence.txt (rev 0) +++ XoopsModules/twitter/docs/licence.txt 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + 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. + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/twitter/docs/readme.txt =================================================================== --- XoopsModules/twitter/docs/readme.txt (rev 0) +++ XoopsModules/twitter/docs/readme.txt 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/twitter/header.php =================================================================== --- XoopsModules/twitter/header.php (rev 0) +++ XoopsModules/twitter/header.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,46 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +include "../../mainfile.php"; +global $xoopsConfig, $xoopsModule; +include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/configs.php"; +include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/functions.php"; +$myts =& MyTextSanitizer::getInstance(); +$style = "modules/".$xoopsModule->getVar('dirname')."/css/style.css"; +if(file_exists($style)); {return true;} +?> \ No newline at end of file Added: XoopsModules/twitter/images/icons/index.html =================================================================== --- XoopsModules/twitter/images/icons/index.html (rev 0) +++ XoopsModules/twitter/images/icons/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/images/icons/off.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/images/icons/off.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/images/icons/on.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/images/icons/on.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/images/index.html =================================================================== --- XoopsModules/twitter/images/index.html (rev 0) +++ XoopsModules/twitter/images/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/images/menu/bg.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/images/menu/bg.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/images/menu/index.html =================================================================== --- XoopsModules/twitter/images/menu/index.html (rev 0) +++ XoopsModules/twitter/images/menu/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/images/menu/left_both.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/images/menu/left_both.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/images/menu/right_both.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/images/menu/right_both.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/images/twitter_slogo.png =================================================================== (Binary files differ) Property changes on: XoopsModules/twitter/images/twitter_slogo.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/twitter/include/configs.php =================================================================== --- XoopsModules/twitter/include/configs.php (rev 0) +++ XoopsModules/twitter/include/configs.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,58 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; + +global $xoopsConfig, $xoopsModule; + +// module information +$mod_url = XOOPS_URL . "/modules/".$xoopsModule->getVar('dirname'); +$mod_path = XOOPS_ROOT_PATH . "/modules/".$xoopsModule->getVar('dirname'); +$mod_img = XOOPS_URL . "/modules/".$xoopsModule->getVar('dirname')."/images/txmodxoops_logo.png"; +// Attention: if don't have declared ( _ADMIN ) variable, you can do in languages/yourlanguage/global.php +$mod_admin = "<a href='".$mod_url."/admin/index.php'><strong>"._MD_TWITTER_ADMIN."</strong></a>"; +$mod_copyright = "<a href='http://www.txmodxoops.org' title='TXMod Xoops' target='_blank'> + <img src='".$mod_img."' alt='TXMod Xoops' /></a>"; + +// global language file +if ( file_exists( $mod_path."/language/".$xoopsConfig['language']."/main.php" ) ) { + include_once $mod_path."/language/".$xoopsConfig['language']."/main.php" ; +} else { + include_once $mod_path."/language/english/main.php" ; +} +?> \ No newline at end of file Added: XoopsModules/twitter/include/functions.php =================================================================== --- XoopsModules/twitter/include/functions.php (rev 0) +++ XoopsModules/twitter/include/functions.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,104 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + + +/***************Blocks***************/ +function twitter_block_addCatSelect($cats) { + if(is_array($cats)) + { + $cat_sql = "(".current($cats); + array_shift($cats); + foreach($cats as $cat) + { + $cat_sql .= ",".$cat; + } + $cat_sql .= ")"; + } + return $cat_sql; +} + +function twitter_checkModuleAdmin() +{ + if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + return true; + }else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + return false; + } +} + +function twitter_CleanVars( &$global, $key, $default = '', $type = 'int' ) { + switch ( $type ) { + case 'string': + $ret = ( isset( $global[$key] ) ) ? filter_var( $global[$key], FILTER_SANITIZE_MAGIC_QUOTES ) : $default; + break; + case 'int': default: + $ret = ( isset( $global[$key] ) ) ? filter_var( $global[$key], FILTER_SANITIZE_NUMBER_INT ) : $default; + break; + } + if ( $ret === false ) { + return $default; + } + return $ret; +} + +function xoops_meta_keywords($content) +{ + global $xoopsTpl, $xoTheme; + $myts =& MyTextSanitizer::getInstance(); + $content= $myts->undoHtmlSpecialChars($myts->displayTbox($content)); + if(isset($xoTheme) && is_object($xoTheme)) { + $xoTheme->addMeta( 'meta', 'keywords', strip_tags($content)); + } else { // Compatibility for old Xoops versions + $xoopsTpl->assign('xoops_meta_keywords', strip_tags($content)); + } +} + +function xoops_meta_description($content) +{ + global $xoopsTpl, $xoTheme; + $myts =& MyTextSanitizer::getInstance(); + $content= $myts->undoHtmlSpecialChars($myts->displayTarea($content)); + if(isset($xoTheme) && is_object($xoTheme)) { + $xoTheme->addMeta( 'meta', 'description', strip_tags($content)); + } else { // Compatibility for old Xoops versions + $xoopsTpl->assign('xoops_meta_description', strip_tags($content)); + } +} +?> \ No newline at end of file Added: XoopsModules/twitter/include/index.html =================================================================== --- XoopsModules/twitter/include/index.html (rev 0) +++ XoopsModules/twitter/include/index.html 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/twitter/include/install.php =================================================================== --- XoopsModules/twitter/include/install.php (rev 0) +++ XoopsModules/twitter/include/install.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,49 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ + +$indexFile = XOOPS_ROOT_PATH."/modules/TDMCreate/include/index.html"; +$blankFile = XOOPS_ROOT_PATH."/modules/TDMCreate/images/deco/blank.gif"; + +//Creation du dossier "uploads" pour le module à la racine du site +$module_uploads = XOOPS_ROOT_PATH."/uploads/twitter"; +if(!is_dir($module_uploads)) + mkdir($module_uploads, 0777); + chmod($module_uploads, 0777); +copy($indexFile, XOOPS_ROOT_PATH."/uploads/twitter/index.html"); + +?> \ No newline at end of file Added: XoopsModules/twitter/index.php =================================================================== --- XoopsModules/twitter/index.php (rev 0) +++ XoopsModules/twitter/index.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,73 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * TWITTER - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package twitter + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Mon 2012/03/05 18:12:44 : Timgno Exp $ + * **************************************************************************** + */ +include "header.php"; +$xoopsOption['template_main'] = 'twitter_index.html'; +include_once XOOPS_ROOT_PATH."/header.php"; +// Include Styles +$GLOBALS['xoTheme']->addStylesheet($style); +//keywords +$keywords = $GLOBALS['xoopsModuleConfig']['keywords']; +$keywords .= substr($keywords, 0); +$GLOBALS['xoTheme']->addMeta('meta', 'keywords', $keywords); +//description +$GLOBALS['xoTheme']->addMeta('meta', 'description', _MD_TWITTER_DESC); +$GLOBALS['xoopsTpl']->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise_text']); +$GLOBALS['xoopsTpl']->assign('ads120x600', $GLOBALS['xoopsModuleConfig']['advertise_120']); + +$GLOBALS['xoopsTpl']->assign('users_title', 'Users'); +$GLOBALS['xoopsTpl']->assign('tweets_title', 'Tweets'); + +$url = $GLOBALS['xoopsModuleConfig']['default_url']; +if (isset($_POST['query'])) { + $full_query = $url . urlencode($_POST['query']); + $raw_json = file_get_contents($full_query); + $json = json_decode($raw_json); + + foreach ($json->results as $r) { + $GLOBALS['xoopsTpl']->append('tweets', array('image_url' => $r->profile_image_url, 'from_user' => $r->from_user, 'text' => $r->text)); + } + /*$ret = "<table style='width:600px;'>"; + $ret .= "<tr><th>user</th><th>tweet</th></tr>"; + foreach ($json->results as $r) { + + $ret .= '<tr><td><a href="https://twitter.com/'. $r->from_user . '"><img src="' . $r->profile_image_url . '" /></a></td>'; + $ret .= '<td style="border-bottom: #ccc solid 1px;">'. $r->from_user . '<br />' . $r->text . '</td>'; + $ret .= '</tr>'; + } + $ret .= "</table>"; + $GLOBALS['xoopsTpl']->assign('tweets', $ret);*/ +} + +if($GLOBALS['xoopsModuleConfig']['act_socialnetworks'] == 1){ +$social = $GLOBALS['xoopsModuleConfig']['socialnetworks']; +$act_social = $GLOBALS['xoopsModuleConfig']['act_socialnetworks']; +$GLOBALS['xoopsTpl']->assign('act_social', $act_social); +$GLOBALS['xoopsTpl']->assign('social', $social); } + +include_once XOOPS_ROOT_PATH."/footer.php"; +?> \ No newline at end of file Added: XoopsModules/twitter/language/english/admin.php =================================================================== --- XoopsModules/twitter/language/english/admin.php (rev 0) +++ XoopsModules/twitter/language/english/admin.php 2012-03-05 20:58:11 UTC (rev 9096) @@ -0,0 +1,71 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers ... [truncated message content] |
From: <tst...@us...> - 2012-03-05 14:58:37
|
Revision: 9095 http://xoops.svn.sourceforge.net/xoops/?rev=9095&view=rev Author: tstempko Date: 2012-03-05 14:58:31 +0000 (Mon, 05 Mar 2012) Log Message: ----------- some new definitions translated Modified Paths: -------------- XoopsLanguages/polish/modules/extgallery/language/polish/admin.php Modified: XoopsLanguages/polish/modules/extgallery/language/polish/admin.php =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/admin.php 2012-03-05 14:46:53 UTC (rev 9094) +++ XoopsLanguages/polish/modules/extgallery/language/polish/admin.php 2012-03-05 14:58:31 UTC (rev 9095) @@ -171,9 +171,9 @@ define('_AM_EXTGALLERY_GVIEW_CONF',"Widok galerii - konfiguracja"); define('_AM_EXTGALLERY_GRIA_CONF',"Galeria - konfiguracja"); define('_AM_EXTGALLERY_GFIC_CONF',"Konfiguracja Galleriffic"); -define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE',"SlideShow not enabled . you can set slidshow options at here but for use slideshow in user side you must enable slideshow from module Preferences"); -define('_AM_EXTGALLERY_SLIDESHOW_ENABLE',"SlideShow enabled . you can select which script you want use and set options"); -define('_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS',"Type of show SlideShow"); +define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE',"Pokaz slajdów nie jest włączony. Możesz ustawić opcje pokazu slajdów ale aby użytkownicy zobaczyli pokaz musisz włączyć pokaz slajdów w ustawieniach modułu."); +define('_AM_EXTGALLERY_SLIDESHOW_ENABLE',"Pokaz slajdów włączony. Możesz wybrać skrypt którego chcesz używać do wyświetlania pokazu i ustawić jego opcje"); +define('_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS',"Rodzaj Pokazu slajdów"); define('_AM_EXTGALLERY_SLIDESHOW_GVIEW',"galleryview"); define('_AM_EXTGALLERY_SLIDESHOW_GRIA',"galleria"); define('_AM_EXTGALLERY_SLIDESHOW_MICRO',"microgallery"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tst...@us...> - 2012-03-05 14:47:03
|
Revision: 9094 http://xoops.svn.sourceforge.net/xoops/?rev=9094&view=rev Author: tstempko Date: 2012-03-05 14:46:53 +0000 (Mon, 05 Mar 2012) Log Message: ----------- 1.09 - tlumaczenie niepelne zgodne z wersja 1.09 - czesc tekstow zostala w jezyku angielskim Modified Paths: -------------- XoopsLanguages/polish/modules/extgallery/language/polish/admin.php XoopsLanguages/polish/modules/extgallery/language/polish/blocks.php XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/album_new_photo.tpl XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_html.tpl XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_text.tpl XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo.tpl XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo_pending.tpl XoopsLanguages/polish/modules/extgallery/language/polish/main.php XoopsLanguages/polish/modules/extgallery/language/polish/modinfo.php Added Paths: ----------- XoopsLanguages/polish/modules/extgallery/language/polish/extention.php XoopsLanguages/polish/modules/extgallery/language/polish/help/ XoopsLanguages/polish/modules/extgallery/language/polish/help/extgallery.html XoopsLanguages/polish/modules/extgallery/language/polish/help/index.html XoopsLanguages/polish/modules/extgallery/language/polish/help/module_index.html Removed Paths: ------------- XoopsLanguages/polish/modules/extgallery/language/polish/lang_dbupdater.php Modified: XoopsLanguages/polish/modules/extgallery/language/polish/admin.php =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/admin.php 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/admin.php 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,151 +1,330 @@ <?php -define('_AM_EXTGALLERY_CATEGORY',"Wybierz kategori\xEA"); +define('_AM_EXTGALLERY_CATEGORY',"Wybierz kategorię"); define('_AM_EXTGALLERY_INFORMATION',"Informacje"); -define('_AM_EXTGALLERY_PARENT_CAT',"Parent category"); +define('_AM_EXTGALLERY_PARENT_CAT',"Kategoria nadrzędna"); define('_AM_EXTGALLERY_DESC',"Opis"); define('_AM_EXTGALLERY_PHOTO',"Zdjcie"); define('_AM_EXTGALLERY_WEIGHT',"Waga"); -define('_AM_EXTGALLERY_TITLE',"Tytu\xB3"); +define('_AM_EXTGALLERY_TITLE',"Tytuł"); // Main administration menu -define('_AM_EXTGALLERY_GO_TO_MODULE',"Id\xBC do modu\xB3u"); +define('_AM_EXTGALLERY_GO_TO_MODULE',"Idź do modułu"); define('_AM_EXTGALLERY_PREFERENCES',"Preferencje"); define('_AM_EXTGALLERY_ADMINISTRATION',"- Administracja"); // Index page define('_AM_EXTGALLERY_UPDATE',"Uaktualnij"); -define('_AM_EXTGALLERY_CHECK_UPDATE_ERROR',"B\xB3\xB1d podczas pobierana informacji o ostatniej wersji eXtGalley."); -define('_AM_EXTGALLERY_UPDATE_KO',"Twoja wersja eXtGallery jest przestarza\xB3a. Zalecamy instalacj\xEA najnowszej wersji eXtGallery z <a href=\"http://www.zoullou.net/\">Zoullou.net</a>."); +define('_AM_EXTGALLERY_UPDATE_INFO',"Uaktualnienie - informacje"); +define('_AM_EXTGALLERY_UPDATE_UPGRADE',"Kliknij tutaj aby uaktualnić moduł do nowszej wersji"); +define('_AM_EXTGALLERY_CHECK_UPDATE_ERROR',"Błąd podczas pobierana informacji o ostatniej wersji eXtGalley."); +define('_AM_EXTGALLERY_UPDATE_KO',"Twoja wersja eXtGallery jest przestarzała. Zalecamy instalację najnowszej wersji eXtGallery z <a href=\"http://www.zoullou.net/\">Zoullou.net</a>."); define('_AM_EXTGALLERY_UPDATE_OK',"Twoja wersja eXtGallery jest aktualna."); define('_AM_EXTGALLERY_SERVER_CONF',"Konfiguracja serwera"); define('_AM_EXTGALLERY_XOOPS_VERSION',"Wersja XOOPS"); define('_AM_EXTGALLERY_GRAPH_GD_LIB_VERSION',"Wersja biblioteki <b>GD</b>"); define('_AM_EXTGALLERY_GRAPH_IM_LIB_VERSION',"Wersja biblioteki <b>ImageMagick</b>"); -define('_AM_EXTGALLERY_GIF_SUPPORT',"Dost\xEApno\xB6\xE6 GIF"); -define('_AM_EXTGALLERY_JPEG_SUPPORT',"Dost\xEApno\xB6\xE6 JPEG"); -define('_AM_EXTGALLERY_PNG_SUPPORT',"Dost\xEApno\xB6\xE6 PNG"); -define('_AM_EXTGALLERY_PUBLIC_ORIG_PATH',"Public original path"); -define('_AM_EXTGALLERY_PUBLIC_LARGE_PATH',"Public large path"); -define('_AM_EXTGALLERY_PUBLIC_MEDIUM_PATH',"Public medium path"); -define('_AM_EXTGALLERY_PUBLIC_THUMB_PATH',"Public thumb path"); +define('_AM_EXTGALLERY_GIF_SUPPORT',"Dostępność GIF"); +define('_AM_EXTGALLERY_JPEG_SUPPORT',"Dostępność JPEG"); +define('_AM_EXTGALLERY_PNG_SUPPORT',"Dostępność PNG"); +define('_AM_EXTGALLERY_PUBLIC_ORIG_PATH',"Katalog zdjęć oryginalnych"); +define('_AM_EXTGALLERY_PUBLIC_LARGE_PATH',"Katalog zdjęć dużych"); +define('_AM_EXTGALLERY_PUBLIC_MEDIUM_PATH',"Katalog zdjęć średnich"); +define('_AM_EXTGALLERY_PUBLIC_THUMB_PATH',"Katalog miniaturek"); define('_AM_EXTGALLERY_NOT_CREATED',"Nie utworzono"); -define('_AM_EXTGALLERY_NOT_WRITABLE',"Brak mo\xBFliwo\xB6ci zapisu "); +define('_AM_EXTGALLERY_NOT_WRITABLE',"Brak możliwości zapisu "); +define('_AM_EXTGALLERY_CHANGELOG',"Lista zmian (changelog)"); +define('_AM_EXTGALLERY_XOOPS_VERSION_NOT_SUPPORTED',"Twoja wersja XOOPS nie współpracuje z nową wersją eXtGallery. Uaktualnij proszę XOOPS do wersj <b>%s</b> lub wyższej."); +define('_AM_EXTGALLERY_EXTGALLERY_VERSION',"Wersja eXtGallery"); + // Public category page -define('_AM_EXTGALLERY_MODDELETE_PUBLICCAT',"Modyfikuj lub usu\xF1 kategori\xEA"); -define('_AM_EXTGALLERY_MODDELETE_PUBLICCAT_INFO',"Tutaj znajduje si\xEA lista wszystkich kategorii/album\xF3w umieszczonych na stronie. Numer w nawiasie oznacza wag\xEA kategorii."); -define('_AM_EXTGALLERY_ADD_PUBLIC_CAT',"Dodaj kategori\xEA"); -define('_AM_EXTGALLERY_ADD_PUBLIC_CAT_INFO',"Mo\xBFesz doda\xE6 kategori\xEA tylko pod istniej\xB1c\xB1 kategori\xEA bez zdj\xEA\xE6. Tylko te kategorie, kt\xF3re spe\xB3niaj\xB1 ten warunek, s\xB1 umieszczone poni\xBFej.."); +define('_AM_EXTGALLERY_MODDELETE_PUBLICCAT',"Modyfikuj lub usuń kategorię"); +define('_AM_EXTGALLERY_MODDELETE_PUBLICCAT_INFO',"Tutaj znajduje się lista wszystkich kategorii/albumów umieszczonych na stronie. Numer w nawiasie oznacza wagę kategorii."); +define('_AM_EXTGALLERY_ADD_PUBLIC_CAT',"Dodaj kategorię"); +define('_AM_EXTGALLERY_ADD_PUBLIC_CAT_INFO',"Możesz dodać kategorię tylko pod istniejącą kategorię bez zdjęć. Tylko te kategorie, które spełniają ten warunek, są umieszczone poniżej.."); define('_AM_EXTGALLERY_NAME',"Nazwa"); -define('_AM_EXTGALLERY_DELETE_CAT_CONFIRM',"Ca\xB3a zawarto\xB6 tej kategorii b\xB1d\xBC tego albumu zostanie usuni\xEAta."); +define('_AM_EXTGALLERY_DELETE_CAT_CONFIRM',"Cała zawartoś tej kategorii bądź tego albumu zostanie usunięta."); define('_AM_EXTGALLERY_MOD_PUBLIC_CAT',"Modify a public category"); +define('_AM_EXTGALLERY_CAT_IMG',"Obrazek kategorii"); define('_AM_EXTGALLERY_THUMB',"Miniaturka"); -define('_AM_EXTGALLERY_CAT_IMG',"Obrazek kategorii"); -define('_AM_EXTGALLERY_CAT_CREATED',"Utworzono kategori\xEA"); +define('_AM_EXTGALLERY_CAT_CREATED',"Utworzono kategorię"); define('_AM_EXTGALLERY_CAT_MODIFIED',"Kategoria zmodyfikowana"); -define('_AM_EXTGALLERY_CAT_DELETED',"Kategoria usuni\xEAta"); -define('_AM_EXTGALLERY_NO_CATEGORY_SELECTED',"Nie wybrano \xBFadnej kategorii"); +define('_AM_EXTGALLERY_CAT_DELETED',"Kategoria usunięta"); +define('_AM_EXTGALLERY_NO_CATEGORY_SELECTED',"Nie wybrano żadnej kategorii"); // Photo page -define('_AM_EXTGALLERY_ADD_BATCH',"Masowe dodawanie zdj\xEA\xE6"); -define('_AM_EXTGALLERY_BATCH_PATH',"Folder dla zdj\xEA\xE6"); -define('_AM_EXTGALLERY_ADD_BATCH_INFO',"W folderze znajduje si\xEA <b>%d</b> zdj\xEA\xE6. Poprzez naci\xB6ni\xEAcie guzika ZAPISZ poni\xBFej, wszystkie zdj\xEAcia z folderu masowego dodawania zostan\xB1 przpisane do wybranej kategorii."); -define('_AM_EXTGALLERY_EDITDELETE_PHOTO',"Edytuj/Kasuj zdj\xEAcie"); -define('_AM_EXTGALLERY_EDITDELETE_PHOTO_INFO',"Wybierz kategori\xEA, z kt\xF3rej chcesz edytowa\xE6 lub kasowa\xE6 zdj\xEAcie."); -define('_AM_EXTGALLERY_PENDING_PHOTO',"Zdj\xEAcia oczekuj\xB1ce"); -define('_AM_EXTGALLERY_APPROVE_INFO',"<b>Zatwierd\xBC</b> to zdj\xEAcie"); -define('_AM_EXTGALLERY_EDIT_INFO',"<b>Edytuj</b> to zdj\xEAcie przed zatwierdzeniem"); -define('_AM_EXTGALLERY_DELETE_INFO',"<b>Kasuj</b> to zdj\xEAcie"); +define('_AM_EXTGALLERY_ADD_BATCH',"Masowe dodawanie zdjęć"); +define('_AM_EXTGALLERY_BATCH_PATH',"Folder dla zdjęć"); +define('_AM_EXTGALLERY_ADD_BATCH_INFO',"W folderze znajduje się <b>%d</b> zdjęć. Poprzez naciśnięcie guzika ZAPISZ poniżej, wszystkie zdjęcia z folderu masowego dodawania zostaną przpisane do wybranej kategorii."); +define('_AM_EXTGALLERY_EDITDELETE_PHOTO',"Edytuj/Kasuj zdjęcie"); +define('_AM_EXTGALLERY_EDITDELETE_PHOTO_INFO',"Wybierz kategorię, z której chcesz edytować lub kasować zdjęcie."); +define('_AM_EXTGALLERY_PENDING_PHOTO',"Zdjęcia oczekujące"); +define('_AM_EXTGALLERY_APPROVE_INFO',"<b>Zatwierdź</b> to zdjęcie"); +define('_AM_EXTGALLERY_EDIT_INFO',"<b>Edytuj</b> to zdjęcie przed zatwierdzeniem"); +define('_AM_EXTGALLERY_DELETE_INFO',"<b>Kasuj</b> to zdjęcie"); define('_AM_EXTGALLERY_ACTION',"Akcja"); -define('_AM_EXTGALLERY_APPROVE',"Zatwierd\xBC"); -define('_AM_EXTGALLERY_EDITDELETE_PHOTOTABLE_INFO',"Tylko zdj\xEAcie, kt\xF3re zosta\xB3o zaznaczone zostanie edytowane lub skasowane."); -define('_AM_EXTGALLERY_APPLY_CHANGE',"Zatwierd\xBC zmiany"); -define('_AM_EXTGALLERY_X_PHOTO_ADDED',"Liczba dodanych zdj\xEA\xE6: %d "); -define('_AM_EXTGALLERY_X_PHOTO_APPROVED',"Liczba zatwierdzonych zdj\xEA\xE6: %d "); -define('_AM_EXTGALLERY_X_PHOTO_DELETED',"Liczba skasowanych zdj\xEA\xE6: %d "); -define('_AM_EXTGALLERY_X_PHOTO_MODIFIED',"Liczba zmodyfikowanych zdj\xEA\xE6: %d "); -define('_AM_EXTGALLERY_PHOTO_MODIFIED',"Zdj\xEAcie zosta\xB3o zmodyfikowane"); -define('_AM_EXTGALLERY_BATCH_CONTINUE_MESSAGE',"Dodano zdj\xEA\xE6: %d , %d wi\xEAcej. Kliknij aby kontynuowa\xE6."); -define('_AM_EXTGALLERY_NOT_AN_ALBUM',"Musisz zaznaczy\xE6 odpowiedni album"); +define('_AM_EXTGALLERY_APPROVE',"Zatwierdź"); +define('_AM_EXTGALLERY_EDITDELETE_PHOTOTABLE_INFO',"Tylko zdjęcie, które zostało zaznaczone zostanie edytowane lub skasowane."); +define('_AM_EXTGALLERY_APPLY_CHANGE',"Zatwierdź zmiany"); +define('_AM_EXTGALLERY_X_PHOTO_ADDED',"Liczba dodanych zdjęć: %d "); +define('_AM_EXTGALLERY_X_PHOTO_APPROVED',"Liczba zatwierdzonych zdjęć: %d "); +define('_AM_EXTGALLERY_X_PHOTO_DELETED',"Liczba skasowanych zdjęć: %d "); +define('_AM_EXTGALLERY_X_PHOTO_MODIFIED',"Liczba zmodyfikowanych zdjęć: %d "); +define('_AM_EXTGALLERY_PHOTO_MODIFIED',"Zdjęcie zostało zmodyfikowane"); +define('_AM_EXTGALLERY_BATCH_CONTINUE_MESSAGE',"Dodano zdjęć: %d , %d więcej. Kliknij aby kontynuować."); +define('_AM_EXTGALLERY_NOT_AN_ALBUM',"Musisz zaznaczyć odpowiedni album"); define('_AM_EXTGALLERY_ALBUM',"Album"); -define('_AM_EXTGALLERY_NO_PHOTO_IN_BATCH_DIR',"Nie ma zdj\xEA\xE6 w folderze masowego dodawania."); -define('_AM_EXTGALLERY_NO_PHOTO_SELECTED',"To nie s\xB1 zaznaczone zdj\xEAcia"); -define('_AM_EXTGALLERY_NO_PHOTO_IN_THIS_ALBUM',"Nie ma \xBFadnych zdj\xEA\xE6 w tym albumie"); +define('_AM_EXTGALLERY_NO_PHOTO_IN_BATCH_DIR',"Nie ma zdjęć w folderze masowego dodawania."); +define('_AM_EXTGALLERY_NO_PHOTO_SELECTED',"To nie są zaznaczone zdjęcia"); +define('_AM_EXTGALLERY_NO_PHOTO_IN_THIS_ALBUM',"Nie ma żadnych zdjęć w tym albumie"); +define('_AM_EXTGALLERY_THUMB_REBUILDED',"Miniaturki zostały przbudowane"); +define('_AM_EXTGALLERY_REBUILD_THUMB',"Przebuduj miniaturki"); +define('_AM_EXTGALLERY_REBUILD_THUMB_INFO',"Wybierz kategorię w której miniaturki mają być przebudowane. Ta funkcja jest przydatna jeśli chcesz zmieniż wielkość miniaturek lub ich jakość."); // Permissions -define('_AM_EXTGALLERY_PUBLIC_PERM_MASK',"Publiczna maska uprawnie\xF1"); -define('_AM_EXTGALLERY_PUBLIC_PERM_MASK_INFO',"Tutaj mo\xBFesz ustawi\xE6 domy\xB6ln\xB1 mask\xEA uprawnie\xF1, kt\xF3ra b\xEAdzie dotyczy\xB3a nowej kategorii. B\xB1d\xBC ostro\xBFny, poniewa\xBF takie same uprawnienia b\xEAd\xB1 nadawane ka\xBFdym kolejnie tworzonym kategoriom."); +define('_AM_EXTGALLERY_PUBLIC_PERM_MASK',"Publiczna maska uprawnień"); +define('_AM_EXTGALLERY_PUBLIC_PERM_MASK_INFO',"Tutaj możesz ustawić domyślną maskę uprawnień, która będzie dotyczyła nowej kategorii. Bądź ostrożny, ponieważ takie same uprawnienia będą nadawane każdym kolejnie tworzonym kategoriom."); define('_AM_EXTGALLERY_GROUP_NAME',"Nazwa grupy"); -define('_AM_EXTGALLERY_CAN_ACCESS',"Ma dost\xEAp"); -define('_AM_EXTGALLERY_CAN_RATE',"Mo\xBFe ocenia\xE6"); -define('_AM_EXTGALLERY_CAN_SEND_ECARD',"Mo\xBFe wysy\xB3a\xE6 e-kartki"); -define('_AM_EXTGALLERY_CAN_DOWNLOAD',"Mo\xBFe pobiera\xE6 zdj\xEAcia"); -define('_AM_EXTGALLERY_CAN_DOWNLOAD_ORIG',"Mo\xBFe pobiera\xE6 oryginalne zdj\xEAcia"); -define('_AM_EXTGALLERY_CAN_UPLOAD',"Mo\xBFe wysy\xB3a\xE6 zdj\xEAcia na serwer"); -define('_AM_EXTGALLERY_AUTOAPPROVE',"Zdj\xEAcie nie musi by\xE6 zatwierdzane przez admina"); +define('_AM_EXTGALLERY_CAN_ACCESS',"Ma dostęp"); +define('_AM_EXTGALLERY_CAN_RATE',"Może oceniać"); +define('_AM_EXTGALLERY_CAN_SEND_ECARD',"Może wysyłać e-kartki"); +define('_AM_EXTGALLERY_CAN_DOWNLOAD',"Może pobierać zdjęcia"); +define('_AM_EXTGALLERY_CAN_DOWNLOAD_ORIG',"Może pobierać oryginalne zdjęcia"); +define('_AM_EXTGALLERY_CAN_UPLOAD',"Może wysyłać zdjęcia na serwer"); +define('_AM_EXTGALLERY_AUTOAPPROVE',"Zdjęcie nie musi być zatwierdzane przez admina"); +define('_AM_EXTGALLERY_DISPLAYED',"Widoczność albumu"); -define('_AM_EXTGALLERY_PERM_MASK_UPDATED',"Maska uprawnie\xF1 uaktualniona"); +define('_AM_EXTGALLERY_PERM_MASK_UPDATED',"Maska uprawnień uaktualniona"); -define('_AM_EXTGALLERY_ACCESS_PERM',"Uprawnienia dost\xEApu"); -define('_AM_EXTGALLERY_ACCESS_PERM_DESC',"Wybierz kategorie, kt\xF3re b\xEAd\xB1 dost\xEApne"); -define('_AM_EXTGALLERY_ACCESS_PERM_INFO',"This permission allow you to retrict the acces to category. An user can't see a category who isn't allowed to access."); +define('_AM_EXTGALLERY_SELECT_PERM',"Wybierz uprawnienia"); +define('_AM_EXTGALLERY_SELECT_PERM_DESC',"Sprawdź proszę wszystkie części i uaktualnij uprawnienia. Jeśli chcesz aby użytkownicy mieli dostęp do oglądania albumów i zdjęć musisz wybrać uprawnienia dla wszystkich grup"); +define('_AM_EXTGALLERY_ACCESS_PERM',"Uprawnienia dostępu"); +define('_AM_EXTGALLERY_ACCESS_PERM_DESC',"Wybierz kategorie, które będą dostępne"); +define('_AM_EXTGALLERY_ACCESS_PERM_INFO',"To uprawnienie pozwala ograniczyć dostęp do kategorii. Bez tego uprawnienia użytkownik nie będzie widział kategorii."); + define('_AM_EXTGALLERY_RATE_PERM',"Ocenianie"); -define('_AM_EXTGALLERY_RATE_PERM_DESC',"Wybierz kategorie, w kt\xF3rych u\xBFytkownik mo\xBFe ocenia\xE6 zdj\xEAcia"); -define('_AM_EXTGALLERY_RATE_PERM_INFO',"This permission allow you to restrict the rating feature. An disallowed user can rate in a cat but can see the score of picture."); +define('_AM_EXTGALLERY_RATE_PERM_DESC',"Wybierz kategorie, w których użytkownik może oceniać zdjęcia"); +define('_AM_EXTGALLERY_RATE_PERM_INFO',"To uprawnienie pozwala ograniczyć dostępność funkcji oceniania. Bez tego uprawnienia nie można oceniać w kategorii ale nadal można oglądać jak inni ocenili zdjęcie."); -define('_AM_EXTGALLERY_PUBLIC_ECARD',"Wysy\xB3anie eCards (e-kartki)"); -define('_AM_EXTGALLERY_PUBLIC_ECARD_DESC',"Wybierz kategorie, z kt\xF3rych u\xBFytkownik mo\xBFe wysy\xB3a\xE6 e-kartki"); -define('_AM_EXTGALLERY_PUBLIC_ECARD_INFO',"This permission allow you to restrict the send eCard feature. All eCard's sender IP are logged."); +define('_AM_EXTGALLERY_PUBLIC_ECARD',"Wysyłanie eCards (e-kartki)"); +define('_AM_EXTGALLERY_PUBLIC_ECARD_DESC',"Wybierz kategorie, z których użytkownik może wysyłać e-kartki"); +define('_AM_EXTGALLERY_PUBLIC_ECARD_INFO',"To uprawnienie pozwala ograniczyć możliwość wysyłania e-kartek. (Dla bezpieczeństwa eXtGallery zapisuje (loguje) wszystkie adresy IP wysyłających e-kartki)."); define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD',"Pobieranie"); -define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_DESC',"Wybierz kategorie, z kt\xF3rych u\xBFytkownik mo\xBFe pobiera\xE6 zdj\xEAcia"); -define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_INFO',"This permission allow you to restrict the download of large image. If an user is allowed to download, he can access to the large image if the \"Save large photo\" is enable in preferences."); +define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_DESC',"Wybierz kategorie, z których użytkownik może pobierać zdjęcia"); +define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_INFO',"To uprawnienie pozwala ograniczyć możliwość pobierania dużych wersji zdjęć. Jeśli użytkownik jest uprawniony do pobierania dużych zdjęć, może to robić jeśli opcja \"Zapisz duże zdjęcia\" jest włączona w preferencjach modułu."); -define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG',"Pobieranie orygina\xB3\xF3w"); -define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG_DESC',"Wybierz kategorie, z kt\xF3rych u\xBFytkownik mo\xBFe pobiera\xE6 oryginalne zdj\xEAcia.<br />Opcja zachowania oryginalnych obrazk\xF3w musi by\xE6 w\xB3\xB1czona w opcjach."); -define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG_INFO',"This permission allow you to restrict the download of original image. If an user is allowed to download original, he can access to the original image (without border and watermark, and not resized) if the \"Save original photo\" is enable in preferences."); +define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG',"Pobieranie oryginałów"); +define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG_DESC',"Wybierz kategorie, z których użytkownik może pobierać oryginalne zdjęcia.<br />Opcja zachowania oryginalnych obrazków musi być włączona w opcjach."); +define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG_INFO',"To uprawnienie pozwala ograniczyć możliwość pobierania oryginalnych wersji zdjęć. Jeśli użytkownik jest do tego uprawniony, będzie mógł pobierać oryginalne zdjęcia (bez ramki, znaku wodnego, przed przeskalowaniem) jeśli tylko opcja \"Zapisz oryginały zdjęć\" jest włączona w preferencjach modułu."); -define('_AM_EXTGALLERY_PUBLIC_UPLOAD',"Wysy\xB3anie na serwer"); -define('_AM_EXTGALLERY_PUBLIC_UPLOAD_DESC',"Wybierz kategorie, do kt\xF3rych u\xBFytkownik mo\xBFe wysy\xB3a\xE6 zdj\xEAcia"); -define('_AM_EXTGALLERY_PUBLIC_UPLOAD_INFO',"This permission allow you to restrict the upload/submit of new image on public albums."); +define('_AM_EXTGALLERY_PUBLIC_UPLOAD',"Wysyłanie na serwer"); +define('_AM_EXTGALLERY_PUBLIC_UPLOAD_DESC',"Wybierz kategorie, do których użytkownik może wysyłać zdjęcia"); +define('_AM_EXTGALLERY_PUBLIC_UPLOAD_INFO',"To uprawnienie ogranicza możliwość wysyłania nowych zdjęć do publicznych abumów."); define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE',"Kategorie bez zatwierdzania"); -define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_DESC',"Wybierz kategorie, w kt\xF3rych zdj\xEAcia nie b\xEAd\xB1 wymaga\xB3y zatwierdzania"); -define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_INFO',"This permission allow you to don't display submitted image until they are approve by an admin. Select category where user upload mustn't be approve. User's must are allowed to submit photo to enable this permission."); +define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_DESC',"Wybierz kategorie, w których zdjęcia nie będą wymagały zatwierdzania"); +define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_INFO',"To uprawnienie pozwala wybrać kategorie w których nie będzie wymagane zatwierdzenie zdjęcia przez administratora. W pozostałych kategoriach zdjęcie przesłane do albumu będzie oczekiwało na zatwierdzenie przez administratora zanim zostanie opublikowane."); +define('_AM_EXTGALLERY_PUBLIC_DISPLAYED',"Wyświetl uprawnienia albumów"); +define('_AM_EXTGALLERY_PUBLIC_DISPLAYED_DESC',"Wybierz kategorie do wyświetlenia"); +define('_AM_EXTGALLERY_PUBLIC_DISPLAYED_INFO',"Pozwala ukryć nazwy kategorii, a jednocześnie wyświetlać zdjęcia z ukrytej kategorii. To może być wykorzystane np. gdy chcesz użyć zdjęć jako część swojego serwisu www i nie chcesz by te zdjęcia były widoczne jako album."); + // Watermark and border page -define('_AM_EXTGALLERY_AVAILABLE_FONT',"Dost\xEApne czcionki"); -define('_AM_EXTGALLERY_ADD_FONT',"Dodaj czionk\xEA (TTF)"); -define('_AM_EXTGALLERY_FONT_FILE',"Plik z czcionk\xB1"); -define('_AM_EXTGALLERY_FONT_MANAGMENT',"Zarz\xB1dzanie czcionkami"); -define('_AM_EXTGALLERY_ADD_FONT_LINK',"Dost\xEApnych czcionek: %s . <a href=\"watermark-border.php?op=uploadfont\">Klknij tutaj</a> aby doda\xE6"); -define('_AM_EXTGALLERY_WATERMARK_CONF',"Watermarks configuration"); +define('_AM_EXTGALLERY_AVAILABLE_FONT',"Dostępne czcionki"); +define('_AM_EXTGALLERY_ADD_FONT',"Dodaj czionkę (TTF)"); +define('_AM_EXTGALLERY_FONT_FILE',"Plik z czcionką"); +define('_AM_EXTGALLERY_FONT_MANAGMENT',"Zarządzanie czcionkami"); +define('_AM_EXTGALLERY_ADD_FONT_LINK',"Dostępnych czcionek: %s . <a href=\"watermark-border.php?op=uploadfont\">Klknij tutaj</a> aby dodać"); +define('_AM_EXTGALLERY_WATERMARK_FREETYPE_WARN',"<b>PHP musi być skompilowane z FreeType by działały znaki wodne. Zobacz <a href=\"http://www.freetype.org/\">FreeType.org</a> aby uzyskać więcej informacji.</b>"); +define('_AM_EXTGALLERY_WATERMARK_CONF',"Konfiguracja znaków wodnych"); define('_AM_EXTGALLERY_FONT',"Czcionka"); -define('_AM_EXTGALLERY_WATERMARK_TEXT',"Tre\xB6\xE6 znaku wodnego"); +define('_AM_EXTGALLERY_WATERMARK_TEXT',"Treść znaku wodnego"); define('_AM_EXTGALLERY_POSITION',"Pozycja"); -define('_AM_EXTGALLERY_TOP_LEFT',"G\xF3ra lewo"); -define('_AM_EXTGALLERY_TOP_RIGHT',"G\xF3ra prawo"); -define('_AM_EXTGALLERY_BOTTOM_LEFT',"D\xF3\xB3 lewo"); -define('_AM_EXTGALLERY_BOTTOM_RIGHT',"D\xF3\xB3 prawo"); -define('_AM_EXTGALLERY_TOP_CENTER',"G\xF3ra \xB6rodek"); -define('_AM_EXTGALLERY_BOTTOM_CENTER',"D\xF3\xB3 \xB6rodek"); -define('_AM_EXTGALLERY_LEFT_CENTER',"Lewo \xB6rodek"); -define('_AM_EXTGALLERY_RIGHT_CENTER',"Prawo \xB6rodek"); -define('_AM_EXTGALLERY_CENTER_CENTER',"\xA6rodek"); +define('_AM_EXTGALLERY_TOP_LEFT',"Góra lewo"); +define('_AM_EXTGALLERY_TOP_RIGHT',"Góra prawo"); +define('_AM_EXTGALLERY_BOTTOM_LEFT',"Dół lewo"); +define('_AM_EXTGALLERY_BOTTOM_RIGHT',"Dół prawo"); +define('_AM_EXTGALLERY_TOP_CENTER',"Góra środek"); +define('_AM_EXTGALLERY_BOTTOM_CENTER',"Dół środek"); +define('_AM_EXTGALLERY_LEFT_CENTER',"Lewo środek"); +define('_AM_EXTGALLERY_RIGHT_CENTER',"Prawo środek"); +define('_AM_EXTGALLERY_CENTER_CENTER',"¦rodek"); define('_AM_EXTGALLERY_WATERMARK_COLOR',"Kolor tekstu"); define('_AM_EXTGALLERY_WATERMARK_FONT_SIZE',"Rozmiar czcionki (px)"); define('_AM_EXTGALLERY_WATERMARK_PADDING',"Padding (px)"); define('_AM_EXTGALLERY_BORDER_CONF',"Ustawienia ramki"); -define('_AM_EXTGALLERY_INNER_BORDER_COLOR',"Kolor ramki wewn\xEAtrznej"); -define('_AM_EXTGALLERY_INNER_BORDER_SIZE',"Rozmiar ramki wewn\xEAtrznej (px)"); -define('_AM_EXTGALLERY_OUTER_BORDER_COLOR',"Kolor ramki zewn\xEAtrznej"); -define('_AM_EXTGALLERY_OUTER_BORDER_SIZE',"Rozmiar ramki zewn\xEAtrznej (px)"); -define('_AM_EXTGALLERY_WATERMARK_BORDER_EXEMPLE',"Przyk\xB3ad znaku wodnego i ramki"); -define('_AM_EXTGALLERY_WATERMARK_BORDER_EXEMPLE_INFO',"Je\xBFeli nie widzisz obrazka - od\xB6wie\xBF stron\xEA."); +define('_AM_EXTGALLERY_INNER_BORDER_COLOR',"Kolor ramki wewnętrznej"); +define('_AM_EXTGALLERY_INNER_BORDER_SIZE',"Rozmiar ramki wewnętrznej (px)"); +define('_AM_EXTGALLERY_OUTER_BORDER_COLOR',"Kolor ramki zewnętrznej"); +define('_AM_EXTGALLERY_OUTER_BORDER_SIZE',"Rozmiar ramki zewnętrznej (px)"); +define('_AM_EXTGALLERY_WATERMARK_BORDER_EXEMPLE',"Przykład znaku wodnego i ramki"); +define('_AM_EXTGALLERY_WATERMARK_BORDER_EXEMPLE_INFO',"Jeżeli nie widzisz obrazka - odśwież stronę."); define('_AM_EXTGALLERY_FONT_ADDED',"Czionka dodana"); define('_AM_EXTGALLERY_CONFIGURATION_SAVED',"Ustawienia zapisane"); -define('_AM_EXTGALLERY_PRINT_SUBMITTER_UNAME',"Wy\xB6wietl nazw\xEA dodaj\xB1cego"); +define('_AM_EXTGALLERY_PRINT_SUBMITTER_UNAME',"Wyświetl nazwę dodającego"); -?> \ No newline at end of file +// Slideshow +define('_AM_EXTGALLERY_SLIDESHOW_CONF',"Pokaz slajdów - konfiguracja"); +define('_AM_EXTGALLERY_GVIEW_CONF',"Widok galerii - konfiguracja"); +define('_AM_EXTGALLERY_GRIA_CONF',"Galeria - konfiguracja"); +define('_AM_EXTGALLERY_GFIC_CONF',"Konfiguracja Galleriffic"); +define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE',"SlideShow not enabled . you can set slidshow options at here but for use slideshow in user side you must enable slideshow from module Preferences"); +define('_AM_EXTGALLERY_SLIDESHOW_ENABLE',"SlideShow enabled . you can select which script you want use and set options"); +define('_AM_EXTGALLERY_USE_SLIDESHOW_EFFECTS',"Type of show SlideShow"); +define('_AM_EXTGALLERY_SLIDESHOW_GVIEW',"galleryview"); +define('_AM_EXTGALLERY_SLIDESHOW_GRIA',"galleria"); +define('_AM_EXTGALLERY_SLIDESHOW_MICRO',"microgallery"); +define('_AM_EXTGALLERY_SLIDESHOW_GFIC',"galleriffic"); +define('_AM_EXTGALLERY_GVIEW_PANELWIDE',"Panel width"); +define('_AM_EXTGALLERY_GVIEW_PANELHEIGHT',"Panle hight"); +define('_AM_EXTGALLERY_GVIEW_FARMEWIDTH',"Farme width"); +define('_AM_EXTGALLERY_GVIEW_FARMEHEIGHT',"Farme hight"); +define('_AM_EXTGALLERY_GVIEW_TSPEED',"Transition speed"); +define('_AM_EXTGALLERY_GVIEW_TTERVAL',"Transitionin terval"); +define('_AM_EXTGALLERY_GVIEW_OPACITY',"Overlay opacity"); +define('_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT',"Overlay height"); +define('_AM_EXTGALLERY_GVIEW_OVERLAYFS',"Overlay font size"); +define('_AM_EXTGALLERY_GVIEW_BORDERWIDTH',"Border width"); +define('_AM_EXTGALLERY_GVIEW_BORDERCOLOR',"Border color"); +define('_AM_EXTGALLERY_GVIEW_BGCOLOR',"Background color"); +define('_AM_EXTGALLERY_GVIEW_OVERLAYCOLOR',"Overlay color"); +define('_AM_EXTGALLERY_GVIEW_OVERLAYTC',"Overlay text color"); +define('_AM_EXTGALLERY_GVIEW_CAPTIONTC',"Caption text color"); +define('_AM_EXTGALLERY_GVIEW_NAVTHEME',"Nav theme"); +define('_AM_EXTGALLERY_GVIEW_LIGHT',"Light"); +define('_AM_EXTGALLERY_GVIEW_DARK',"Dark"); +define('_AM_EXTGALLERY_GVIEW_CUSTOM',"Custom"); +define('_AM_EXTGALLERY_GVIEW_POSITION',"Position"); +define('_AM_EXTGALLERY_GVIEW_BOTTOM',"Bottom"); +define('_AM_EXTGALLERY_GVIEW_TOP',"Top"); +define('_AM_EXTGALLERY_GVIEW_EASING',"Easing"); +define('_AM_EXTGALLERY_GVIEW_EASING_OP1',"swing"); +define('_AM_EXTGALLERY_GVIEW_EASING_OP2',"linear"); +define('_AM_EXTGALLERY_GVIEW_EASING_OP3',"easeInOutBack"); +define('_AM_EXTGALLERY_GVIEW_EASING_OP4',"easeInOutQuad"); +define('_AM_EXTGALLERY_GVIEW_EASING_OP5',"easeOutBounce"); +define('_AM_EXTGALLERY_GRIA_HEIGHT',"Height"); +define('_AM_EXTGALLERY_GRIA_PANELWIDTH',"Panel width"); +define('_AM_EXTGALLERY_GRIA_BGCOLOR',"Background color"); +define('_AM_EXTGALLERY_GRIA_BCOLOR',"Border color"); +define('_AM_EXTGALLERY_GRIA_BGIMG',"Background image"); +define('_AM_EXTGALLERY_GRIA_BGIMG_OP1',"white"); +define('_AM_EXTGALLERY_GRIA_BGIMG_OP2',"block"); +define('_AM_EXTGALLERY_GRIA_AUTOPLAY',"Activate Autoplay"); +define('_AM_EXTGALLERY_GRIA_TRANS',"Transition type"); +define('_AM_EXTGALLERY_GRIA_TRANS_TYP1',"fade"); +define('_AM_EXTGALLERY_GRIA_TRANS_TYP2',"flash"); +define('_AM_EXTGALLERY_GRIA_TRANS_TYP3',"pulse"); +define('_AM_EXTGALLERY_GRIA_TRANS_TYP4',"slide"); +define('_AM_EXTGALLERY_GRIA_TRANS_TYP5',"fadeslide"); +define('_AM_EXTGALLERY_GRIA_TSPEED',"Transition speed"); +define('_AM_EXTGALLERY_GFIC_HEIGHT',"Max picture height"); +define('_AM_EXTGALLERY_GFIC_WIDTH',"Max picture width"); +define('_AM_EXTGALLERY_GFIC_BGCOLOR',"Background color"); +define('_AM_EXTGALLERY_GFIC_BCOLOR',"Border color"); +define('_AM_EXTGALLERY_GFIC_FONTCOLOR',"Font color"); +define('_AM_EXTGALLERY_GFIC_AUTOPLAY',"Activate Autoplay"); +define('_AM_EXTGALLERY_GFIC_NB_THUMBS',"Number of thumbs in thumbsnavigation"); +define('_AM_EXTGALLERY_GFIC_NB_COLTHUMBS',"Number of columns in thumbsnavigation"); +define('_AM_EXTGALLERY_GFIC_NB_PRELOAD',"Number of preloaded pictures"); +define('_AM_EXTGALLERY_GFIC_TDELAY',"Transition delay"); +define('_AM_EXTGALLERY_GFIC_TSPEED',"Transition speed"); +define('_AM_EXTGALLERY_GFIC_SHOW_DESCR',"Show picture description"); +define('_AM_EXTGALLERY_GFIC_DOWNLOAD',"Allow download of original picture (if available)"); + +// Album +define('_AM_EXTGALLERY_USE_AJAX_EFFECTS',"Ajax effects "); +define('_AM_EXTGALLERY_USE_AJAX_EFFECTS_DESC',"Selecting effects will change photo display when thumbs are clicked. Ajax effects or Normal can be selected.<br /><br /> <b>Normal</b> : No effects<br /><b>Lightbox</b> : Use Lightbox effect<br /><b>Overlay</b> : use Overlay effect<br /><b>Tooltip</b> : use Tooltip effect<br /><b>Fancybox</b> : use Fancybox effect<br /><b>PrettyPhoto</b> : use PrettyPhoto effect<br />"); +define('_AM_EXTGALLERY_ALBUM_CONF',"Album configuration"); +define('_AM_EXTGALLERY_OVERLAY_CONF',"Overlay configuration"); +define('_AM_EXTGALLERY_TOOLTIP_CONF',"Tooltip configuration"); +define('_AM_EXTGALLERY_FANCYBOX_CONF',"Fancybox configuration"); +define('_AM_EXTGALLERY_PRETTPHOTO_CONF',"PrettPhoto configuration"); +define('_AM_EXTGALLERY_ALBUM_NOT_ENABLE',"Album not enabled. you can set Album options at here but for use Album in user side you must enable Album from module Preferences"); +define('_AM_EXTGALLERY_ALBUM_ENABLE',"Album enabled. you can select which script you want use and set options"); +define('_AM_EXTGALLERY_AJAX_NONE',"Normal"); +define('_AM_EXTGALLERY_AJAX_LIGHTBOX',"Lightbox"); +define('_AM_EXTGALLERY_AJAX_OVERLAY',"Overlay"); +define('_AM_EXTGALLERY_AJAX_TOOLTIP',"Tooltip"); +define('_AM_EXTGALLERY_AJAX_FANCYBOX',"Fancybox"); +define('_AM_EXTGALLERY_AJAX_PRETTPHOTO',"PrettPhoto"); +define('_AM_EXTGALLERY_FANCYBOX_BGCOLOR',"Background color"); +define('_AM_EXTGALLERY_FANCYBOX_OPACITY',"Opacity"); +define('_AM_EXTGALLERY_FANCYBOX_TIN',"Transition in"); +define('_AM_EXTGALLERY_FANCYBOX_TOUT',"Transition out"); +define('_AM_EXTGALLERY_FANCYBOX_NONE',"None"); +define('_AM_EXTGALLERY_FANCYBOX_ELASTIC',"Elastic"); +define('_AM_EXTGALLERY_FANCYBOX_TITLEPOSITION',"Title position"); +define('_AM_EXTGALLERY_FANCYBOX_OVER',"Over"); +define('_AM_EXTGALLERY_FANCYBOX_INSIDE',"Inside"); +define('_AM_EXTGALLERY_FANCYBOX_OUTSIDE',"Outside"); +define('_AM_EXTGALLERY_FANCYBOX_SHOWTYPE',"Show type"); +define('_AM_EXTGALLERY_FANCYBOX_SINGLE',"Single"); +define('_AM_EXTGALLERY_FANCYBOX_GROUP',"Group"); +define('_AM_EXTGALLERY_OVERLAY_BG',"Overlay background"); +define('_AM_EXTGALLERY_OVERLAY_WIDHT',"Overlay widht"); +define('_AM_EXTGALLERY_OVERLAY_HEIGHT',"Overlay height"); +define('_AM_EXTGALLERY_TOOLTIP_WIDHT',"Tooltip Widht"); +define('_AM_EXTGALLERY_TOOLTIP_BORDER_WIDHT',"Tooltip border Widht"); +define('_AM_EXTGALLERY_TOOLTIP_BORDERCOLOR',"Tooltip border color"); +define('_AM_EXTGALLERY_PRETTPHOTO_SPEED',"Animation Speed"); +define('_AM_EXTGALLERY_PRETTPHOTO_FAST',"Fast"); +define('_AM_EXTGALLERY_PRETTPHOTO_SLOW',"Slow"); +define('_AM_EXTGALLERY_PRETTPHOTO_THEME',"Theme"); +define('_AM_EXTGALLERY_PRETTPHOTO_THEME1',"dark_rounded"); +define('_AM_EXTGALLERY_PRETTPHOTO_THEME2',"dark_square"); +define('_AM_EXTGALLERY_PRETTPHOTO_THEME3',"facebook"); +define('_AM_EXTGALLERY_PRETTPHOTO_THEME4',"light_rounded"); +define('_AM_EXTGALLERY_PRETTPHOTO_THEME5',"light_square"); +define('_AM_EXTGALLERY_PRETTPHOTO_AUTOPLAY',"Slideshow autoplay"); +define('_AM_EXTGALLERY_PRETTPHOTO_AUTOPLAY_T',"true"); +define('_AM_EXTGALLERY_PRETTPHOTO_AUTOPLAY_F',"false"); +define('_AM_EXTGALLERY_PRETTPHOTO_SLIDESPEED',"Slideshow speed"); + +// Update +define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST',"Module files don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s"); +define('_AM_EXTGALLERY_LG_FILE_DONT_EXIST',"Language files don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s"); +define('_AM_EXTGALLERY_DOWN_DONE',"Downloading done. Click here to install files"); +define('_AM_EXTGALLERY_INSTALL',"Install files"); +define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST_SHORT',"Module files don't exist"); +define('_AM_EXTGALLERY_INSTALL_DONE',"Installing done. Click here to update your module"); + +// Extention +define('_AM_EXTGALLERY_EXTENTION_INFO',"Extention information"); +define('_AM_EXTGALLERY_EXTENTION_NOT_INSTALLED',"Extention not installed"); +define('_AM_EXTGALLERY_INSTALL_EXTENTION',"Install extention"); +define('_AM_EXTGALLERY_EXTENTION_OK',"Extention availlable"); +define('_AM_EXTGALLERY_EXTENTION_NOTICE',"This extention allow you to display photo on all the site just by adding a <b>gallery</b> tag to your text. A button (<img src=\"../images/extgallery-posticon.gif\" />) is displayed on XOOPS editor."); +define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST',"Extention file don't exist on repository :<br /><b>Server : </b>%s<br /><b>File : </b>%s"); +define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST_SHORT',"Extention file don't exist"); +define('_AM_EXTGALLERY_EXTENTION_INSTALLED',"Extention installed"); +define('_AM_EXTGALLERY_EXTENTION_HOWTO',"How to use:"); +define('_AM_EXTGALLERY_EXTENTION_HOWTODESC',"For install manual and use this Extention you must do these steps: <br /> +<div class=\"marg10\">1- Add <b>gallery.php</b> to <b>XOOPS_ROOT_PACH /class/textsanitizer/gallery/gallery.php</b> ( you can find gallery.php in module archive)</div> +<div class=\"marg10\">2- Edit <b>XOOPS_ROOT_PACH /class/textsanitizer/config.php</b> and add (( <b>\"gallery\" => 1</b> )) to config extensions array ( you can find edited file in module archive)</div> +<div class=\"marg10\"><img src=\"../images/extensions.png\" /></div> +<div class=\"marg10\">3- You can download <b>gallery.php</b> and <b>config.php</b> at XOOPS SVN</div> +<div class=\"marg10\">4- If you want use module install function you must <b>XOOPS_ROOT_PACH /class/textsanitizer</b> chmod to 777 . after installtion you must change chmod to 644.</div> +"); +define('_AM_EXTGALLERY_EXTENTION_DOWNLOAD',"Download files from XOOPS SVN"); + +// About.php +define("_AM_EXTGALLERY_ABOUT_RELEASEDATE", "Update date: "); +define("_AM_EXTGALLERY_ABOUT_AUTHOR", "Author: "); +define("_AM_EXTGALLERY_ABOUT_CREDITS", "Credits: "); +define("_AM_EXTGALLERY_ABOUT_LICENSE", "License: "); +define("_AM_EXTGALLERY_ABOUT_MODULE_STATUS", "Status: "); +define("_AM_EXTGALLERY_ABOUT_WEBSITE", "Website: "); +define("_AM_EXTGALLERY_ABOUT_AUTHOR_NAME", "Author name: "); +define("_AM_EXTGALLERY_ABOUT_CHANGELOG", "Change Log"); +define("_AM_EXTGALLERY_ABOUT_MODULE_INFO", "Module Infos"); +define("_AM_EXTGALLERY_ABOUT_AUTHOR_INFO", "Author Infos"); +define("_AM_EXTGALLERY_ABOUT_DESCRIPTION", "Description: "); + +// text in admin footer +define("_AM_EXTGALLERY_ADMIN_FOOTER", "<div class='right smallsmall italic pad5'>XOOPS Tag is maintened by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visitez XOOPS Community'>XOOPS Community</a></div>"); +define('_EXTGALLERY_ADMIN_'," "); // +?> Modified: XoopsLanguages/polish/modules/extgallery/language/polish/blocks.php =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/blocks.php 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/blocks.php 2012-03-05 14:46:53 UTC (rev 9094) @@ -25,10 +25,116 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // -define('_MB_EXTGALLERY_PHOTO_NUMBER',"Liczba zdj\xEA\xE6 do pokazania"); -define('_MB_EXTGALLERY_DIRECTION',"Kierunek wy\xB6wietlania zdj\xEA\xE6"); +define('_MB_EXTGALLERY_PHOTO_NUMBER',"Liczba zdjęć do pokazania"); +define('_MB_EXTGALLERY_DIRECTION',"Kierunek wyświetlania zdjęć"); define('_MB_EXTGALLERY_HORIZONTALLY',"Poziomo"); define('_MB_EXTGALLERY_VERTICALLY',"Pionowo"); -define('_MB_EXTGALLERY_DISPLAY_DESC',"Wy\xB6wietl opis zdj\xEA\xE6"); +define('_MB_EXTGALLERY_DISPLAY_TITLE',"Wyświetl tytuł zdjęcia"); +define('_MB_EXTGALLERY_ALL_CATEGORIES',"Wszystkie kategorie"); +define('_MB_EXTGALLERY_USER_NUMBER',"Numer użytkownika do wyświetlenia"); +define('_MB_EXTGALLERY_PANEL_WIDTH',"szerokość panelu"); +define('_MB_EXTGALLERY_PANEL_HEIGHT',"wysokość panelu"); +define('_MB_EXTGALLERY_FRAME_WIDTH',"szerokość ramki"); +define('_MB_EXTGALLERY_FRAME_HEIGHT',"wysokość ramki"); +define('_MB_EXTGALLERY_BACKGROUND',"kolor tła"); +define('_MB_EXTGALLERY_MOREINFO',"Więcej"); +define('_MB_EXTGALLERY_TRANSITION_SPEED',"prędkość przewijania slajdów"); +define('_MB_EXTGALLERY_TRANSITION_INTERVAL',"czas pokazywania slajdów"); +define('_MB_EXTGALLERY_OVERLAY_HEIGHT',"overlay height"); +define('_MB_EXTGALLERY_OVERLAY_COLOR',"overlay color"); +define('_MB_EXTGALLERY_OVERLAY_TEXT_COLOR',"overlay text color"); +define('_MB_EXTGALLERY_CAPTION_TEXT_COLOR',"caption text color"); +define('_MB_EXTGALLERY_BORDER',"border"); +define('_MB_EXTGALLERY_OVERLAY_OPACITY',"overlay opacity"); +define('_MB_EXTGALLERY_OVERLAY_FONT_SIZE',"overlay font size"); +define('_MB_EXTGALLERY_SELECT_THEME',"Select theme"); +define('_MB_EXTGALLERY_LIGHT',"light"); +define('_MB_EXTGALLERY_DARK',"dark"); +define('_MB_EXTGALLERY_CUSTOM',"custom"); +define('_MB_EXTGALLERY_POSITION',"Position"); +define('_MB_EXTGALLERY_BOTTOM',"Bottom"); +define('_MB_EXTGALLERY_TOP',"Top"); +define('_MB_EXTGALLERY_EASING',"Easing"); +define('_MB_EXTGALLERY_EASING_OP1',"swing"); +define('_MB_EXTGALLERY_EASING_OP2',"linear"); +define('_MB_EXTGALLERY_EASING_OP3',"easeInOutBack"); +define('_MB_EXTGALLERY_EASING_OP4',"easeInOutQuad"); +define('_MB_EXTGALLERY_EASING_OP5',"easeOutBounce"); +define('_MB_EXTGALLERY_SHOW_TYPE',"Set order"); +define('_MB_EXTGALLERY_TYPE_OP1',"Random Photo"); +define('_MB_EXTGALLERY_TYPE_OP2',"Last Photo"); +define('_MB_EXTGALLERY_TYPE_OP3',"Top View Photo"); +define('_MB_EXTGALLERY_TYPE_OP4',"Top Rated Photo"); +define('_MB_EXTGALLERY_TYPE_OP5',"Top Ecard Photo"); +define('_MB_EXTGALLERY_USE_AJAX_EFFECTS',"Ajax effects "); +define('_MB_EXTGALLERY_AJAX_NONE',"Normal"); +define('_MB_EXTGALLERY_AJAX_LIGHTBOX',"Lightbox"); +define('_MB_EXTGALLERY_AJAX_OVERLAY',"Overlay"); +define('_MB_EXTGALLERY_AJAX_TOOLTIP',"Tooltip"); +define('_MB_EXTGALLERY_AJAX_FANCYBOX',"Fancybox"); +define('_MB_EXTGALLERY_FANCYBOX_BGCOLOR',"Background color"); +define('_MB_EXTGALLERY_FANCYBOX_OPACITY',"Opacity"); +define('_MB_EXTGALLERY_FANCYBOX_TIN',"Transition in"); +define('_MB_EXTGALLERY_FANCYBOX_TOUT',"Transition out"); +define('_MB_EXTGALLERY_FANCYBOX_NONE',"None"); +define('_MB_EXTGALLERY_FANCYBOX_ELASTIC',"Elastic"); +define('_MB_EXTGALLERY_FANCYBOX_TITLEPOSITION',"Title position"); +define('_MB_EXTGALLERY_FANCYBOX_OVER',"Over"); +define('_MB_EXTGALLERY_FANCYBOX_INSIDE',"Inside"); +define('_MB_EXTGALLERY_FANCYBOX_OUTSIDE',"Outside"); +define('_MB_EXTGALLERY_FANCYBOX_SHOWTYPE',"Show type"); +define('_MB_EXTGALLERY_FANCYBOX_SINGLE',"Single"); +define('_MB_EXTGALLERY_FANCYBOX_GROUP',"Group"); +define('_MB_EXTGALLERY_OVERLAY_BG',"Overlay background"); +define('_MB_EXTGALLERY_OVERLAY_WIDHT',"Overlay widht"); +define('_MB_EXTGALLERY_OVERLAY_HEIGHT',"Overlay height"); +define('_MB_EXTGALLERY_TOOLTIP_WIDHT',"Tooltip Widht"); +define('_MB_EXTGALLERY_TOOLTIP_BORDER_WIDHT',"Tooltip border Widht"); +define('_MB_EXTGALLERY_TOOLTIP_BORDERCOLOR',"Tooltip border color"); +define('_MB_EXTGALLERY_ALBUM_CONF',"Album configuration"); +define('_MB_EXTGALLERY_ALBUM_NOT_ENABLE',"Album not enabled"); +define('_MB_EXTGALLERY_AJAX_PRETTPHOTO',"PrettPhoto"); +define('_MB_EXTGALLERY_PRETTPHOTO_SPEED',"Animation Speed"); +define('_MB_EXTGALLERY_PRETTPHOTO_FAST',"Fast"); +define('_MB_EXTGALLERY_PRETTPHOTO_SLOW',"Slow"); +define('_MB_EXTGALLERY_PRETTPHOTO_THEME',"Theme"); +define('_MB_EXTGALLERY_PRETTPHOTO_THEME1',"dark_rounded"); +define('_MB_EXTGALLERY_PRETTPHOTO_THEME2',"dark_square"); +define('_MB_EXTGALLERY_PRETTPHOTO_THEME3',"facebook"); +define('_MB_EXTGALLERY_PRETTPHOTO_THEME4',"light_rounded"); +define('_MB_EXTGALLERY_PRETTPHOTO_THEME5',"light_square"); +define('_MB_EXTGALLERY_PRETTPHOTO_AUTOPLAY',"Slideshow autoplay"); +define('_MB_EXTGALLERY_PRETTPHOTO_SLIDESPEED',"Slideshow speed"); +define('_MB_EXTGALLERY_GVIEW',"Galleryview"); +define('_MB_EXTGALLERY_GRIA',"Galleria"); +define('_MB_EXTGALLERY_GRIA_WIDTH',"Panel width"); +define('_MB_EXTGALLERY_GRIA_HEIGHT',"Height"); +define('_MB_EXTGALLERY_GRIA_BGCOLOR',"Background color"); +define('_MB_EXTGALLERY_GRIA_BCOLOR',"Border color"); +define('_MB_EXTGALLERY_GRIA_BGIMG',"Background image"); +define('_MB_EXTGALLERY_GRIA_BGIMG_OP1',"white"); +define('_MB_EXTGALLERY_GRIA_BGIMG_OP2',"block"); +define('_MB_EXTGALLERY_GRIA_AUTOPLAY',"Activate Autoplay"); +define('_MB_EXTGALLERY_GRIA_TRANS',"Transition type"); +define('_MB_EXTGALLERY_GRIA_TRANS_TYP1',"fade"); +define('_MB_EXTGALLERY_GRIA_TRANS_TYP2',"flash"); +define('_MB_EXTGALLERY_GRIA_TRANS_TYP3',"pulse"); +define('_MB_EXTGALLERY_GRIA_TRANS_TYP4',"slide"); +define('_MB_EXTGALLERY_GRIA_TRANS_TYP5',"fadeslide"); +define('_MB_EXTGALLERY_GRIA_TSPEED',"Transition speed"); +define('_MB_EXTGALLERY_AJAX_JCAROUSEL',"jCarousel"); +define('_MB_EXTGALLERY_JCAROUSEL_HWIDTH',"jCarousel horizontal width"); +define('_MB_EXTGALLERY_JCAROUSEL_VWIDTH',"jCarousel vertical width"); +define('_MB_EXTGALLERY_JCAROUSEL_VHIGHT',"jCarousel vertical height"); +define('_MB_EXTGALLERY_JQUERY',"Use jquery"); +define('_MB_EXTGALLERY_MICRO',"microgallery"); +define('_MB_EXTGALLERY_MICRO_SIZE',"Microgallery size"); +define('_MB_EXTGALLERY_MICRO_SIZE_OP1',"small"); +define('_MB_EXTGALLERY_MICRO_SIZE_OP2',"medium"); +define('_MB_EXTGALLERY_MICRO_SIZE_OP3',"large"); +define('_MB_EXTGALLERY_TRUE',"true"); +define('_MB_EXTGALLERY_FALSE',"false"); +define('_MB_EXTGALLERY_PHOTO_NUMBER_TABLE',"Nubmer of columns in table show"); +define('_MB_EXTGALLERY_TABLE',"Table"); ?> \ No newline at end of file Added: XoopsLanguages/polish/modules/extgallery/language/polish/extention.php =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/extention.php (rev 0) +++ XoopsLanguages/polish/modules/extgallery/language/polish/extention.php 2012-03-05 14:46:53 UTC (rev 9094) @@ -0,0 +1,7 @@ +<?php + +define("_EXT_EXTGALLERY_ALTWMP","Dodaj zdjęcie z modułu eXtGallery"); +define("_EXT_EXTGALLERY_TEXTID","Id zdjęcia z eXtGallery które chcesz wstawić"); +define("_EXT_EXTGALLERY_TEXTTITLE","Podaj tytuł zdjęcia"); + +?> \ No newline at end of file Property changes on: XoopsLanguages/polish/modules/extgallery/language/polish/help ___________________________________________________________________ Added: bugtraq:number + true Added: XoopsLanguages/polish/modules/extgallery/language/polish/help/extgallery.html =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/help/extgallery.html (rev 0) +++ XoopsLanguages/polish/modules/extgallery/language/polish/help/extgallery.html 2012-03-05 14:46:53 UTC (rev 9094) @@ -0,0 +1,92 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: eXtGallery</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +eXtGallery is a powerful web gallery module for XOOPS +</p> + +<h4 class="odd">Category/Albums</h4> +<p class="even"><br /> +<b>Modify or delete public category:</b><br /> +You can find a list of all categories/albums available on your web site. The number between the bracket at the end of the category name is the weight of the category.<br /><br /> +<b>Add a public category:</b><br /> +You can add a category only under a category without a photo. Only valid category are diplayed in the selection below.<br /><br /> +</p> + +<h4 class="odd">Photos</h4> +<p class="even"> +<b>Add batch photos:</b><br /> +Batch folder path : /opt/lampp/htdocs/local/test/tdm1/modules/extgallery/batch/<br /> +By pressing the SUBMIT button below, all photos in the batch folder will be uploaded to the album/albums selected below.<br /><br /> + + +<b>Rebuild Thumb:</b><br /> +Select the categorie where thumb will be rebuilded. This feature is usefull if you want to change thumb size or quality<br /><br /> + +<b>Edit/Delete photo:</b><br /> +Select the category in which you wish to edit or delete photos.<br /><br /> +</p> + +<h4 class="odd">Permissions</h4> +<p class="even"> +<b>Select permission:</b><br /> +Please cheack all parts and update permission. If you want users can see your albums and photos you must select permission for all group<br /><br /> + +<b>Public permissions mask:</b><br /> +Here you can set the default mask permissions that will be applied to a new category. Don't give over generous permissions here because all new categories will inherit them.<br /><br /> + +<b>Access permission:</b><br /> +Allows you to restrict access to this category. A restricted user can't see a category unless they have permission set to do so.<br /><br /> + +<b>Rating permission permission:</b><br /> +Allows you to restrict the ratings feature. A restricted user cannot rate in a category but can still see the rating for the image.<br /><br /> + +<b>Public eCard permission:</b><br /> +Allows you to restrict the send eCard feature. All eCard's senders IP addresses are logged.<br /><br /> + +<b>Public download permission:</b><br /> +Allows you to restrict the download of large image. If a user is allowed to download, they will also have access to large image downloads if the "Save large photo" is enabled in preferences.<br /><br /> + +<b>Download original permissions:</b><br /> +Allows you to restrict the download of original images. If a user is allowed to download original they can access the original image (without border and watermark, and not resized) if the "Save original photo" is enabled in preferences.<br /><br /> + +<b>Public upload permission:</b><br /> +Allows you to restrict the upload/submit of new images on public albums.<br /><br /> + +<b>Public auto approve permission:</b><br /> +Allows you to prevent the automatic display of submitted public image until they are approved by an admin. Select category where public user uploads need not be approved. Public sser's must be allowed to submit photos to enable this permission.<br /><br /> + +<b>Display album permissions:</b><br /> +Allows you to not display category names but still allow image access. For example, you could use photos in these categories for your site content.<br /><br /> +</p> + +<h4 class="odd">Watermark & Border</h4> +<p class="even"> + +</p> + +<h4 class="odd">Slideshow</h4> +<p class="even"> + +</p> + +<h4 class="odd">Extention</h4> +<p class="even"> + +</p> + +<h4 class="odd">Album</h4> +<p class="even"> +<b>Album configuration:</b><br /> + +Selecting effects will change photo display when thumbs are clicked. Ajax effects or Normal can be selected.<br /><br /> + +Normal : No effects<br /> +Lightbox : Use Lightbox effect<br /> +Overlay : use Overlay effect<br /> +Tooltip : use Tooltip effect<br /> +Fancybox : use Fancybox effect<br /> +PrettyPhoto : use PrettyPhoto effect<br /> +</p> +</div> Added: XoopsLanguages/polish/modules/extgallery/language/polish/help/index.html =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/help/index.html (rev 0) +++ XoopsLanguages/polish/modules/extgallery/language/polish/help/index.html 2012-03-05 14:46:53 UTC (rev 9094) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsLanguages/polish/modules/extgallery/language/polish/help/module_index.html =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/help/module_index.html (rev 0) +++ XoopsLanguages/polish/modules/extgallery/language/polish/help/module_index.html 2012-03-05 14:46:53 UTC (rev 9094) @@ -0,0 +1,92 @@ +<div id="help-template" class="outer"> +<h1 class="head">Help: eXtGallery</h1> + +<h4 class="odd">Description</h4> +<p class="even"> +eXtGallery is a powerful web gallery module for XOOPS +</p> + +<h4 class="odd">Category/Albums</h4> +<p class="even"><br /> +<b>Modify or delete public category:</b><br /> +You can find a list of all categories/albums available on your web site. The number between the bracket at the end of the category name is the weight of the category.<br /><br /> +<b>Add a public category:</b><br /> +You can add a category only under a category without a photo. Only valid category are diplayed in the selection below.<br /><br /> +</p> + +<h4 class="odd">Photos</h4> +<p class="even"> +<b>Add batch photos:</b><br /> +Batch folder path : /opt/lampp/htdocs/local/test/tdm1/modules/extgallery/batch/<br /> +By pressing the SUBMIT button below, all photos in the batch folder will be uploaded to the album/albums selected below.<br /><br /> + + +<b>Rebuild Thumb:</b><br /> +Select the categorie where thumb will be rebuilded. This feature is usefull if you want to change thumb size or quality<br /><br /> + +<b>Edit/Delete photo:</b><br /> +Select the category in which you wish to edit or delete photos.<br /><br /> +</p> + +<h4 class="odd">Permissions</h4> +<p class="even"> +<b>Select permission:</b><br /> +Please cheack all parts and update permission. If you want users can see your albums and photos you must select permission for all group<br /><br /> + +<b>Public permissions mask:</b><br /> +Here you can set the default mask permissions that will be applied to a new category. Don't give over generous permissions here because all new categories will inherit them.<br /><br /> + +<b>Access permission:</b><br /> +Allows you to restrict access to this category. A restricted user can't see a category unless they have permission set to do so.<br /><br /> + +<b>Rating permission permission:</b><br /> +Allows you to restrict the ratings feature. A restricted user cannot rate in a category but can still see the rating for the image.<br /><br /> + +<b>Public eCard permission:</b><br /> +Allows you to restrict the send eCard feature. All eCard's senders IP addresses are logged.<br /><br /> + +<b>Public download permission:</b><br /> +Allows you to restrict the download of large image. If a user is allowed to download, they will also have access to large image downloads if the "Save large photo" is enabled in preferences.<br /><br /> + +<b>Download original permissions:</b><br /> +Allows you to restrict the download of original images. If a user is allowed to download original they can access the original image (without border and watermark, and not resized) if the "Save original photo" is enabled in preferences.<br /><br /> + +<b>Public upload permission:</b><br /> +Allows you to restrict the upload/submit of new images on public albums.<br /><br /> + +<b>Public auto approve permission:</b><br /> +Allows you to prevent the automatic display of submitted public image until they are approved by an admin. Select category where public user uploads need not be approved. Public sser's must be allowed to submit photos to enable this permission.<br /><br /> + +<b>Display album permissions:</b><br /> +Allows you to not display category names but still allow image access. For example, you could use photos in these categories for your site content.<br /><br /> +</p> + +<h4 class="odd">Watermark & Border</h4> +<p class="even"> + +</p> + +<h4 class="odd">Slideshow</h4> +<p class="even"> + +</p> + +<h4 class="odd">Extention</h4> +<p class="even"> + +</p> + +<h4 class="odd">Album</h4> +<p class="even"> +<b>Album configuration:</b><br /> + +Selecting effects will change photo display when thumbs are clicked. Ajax effects or Normal can be selected.<br /><br /> + +Normal : No effects<br /> +Lightbox : Use Lightbox effect<br /> +Overlay : use Overlay effect<br /> +Tooltip : use Tooltip effect<br /> +Fancybox : use Fancybox effect<br /> +PrettyPhoto : use PrettyPhoto effect<br /> +</p> +</div> Deleted: XoopsLanguages/polish/modules/extgallery/language/polish/lang_dbupdater.php =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/lang_dbupdater.php 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/lang_dbupdater.php 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,34 +0,0 @@ -<?php - -/** -* $Id: lang_dbupdater.php,v 1.1 2007/07/16 09:17:56 kurak_bu Exp $ -* Module: SmartContent -* Author: The SmartFactory <www.smartfactory.ca> -* Licence: GNU -*/ -if (!defined("XOOPS_ROOT_PATH")) { - die("XOOPS root path not defined"); -} - -define("_SDU_IMPORT", "Import"); -define("_SDU_CURRENTVER", "Current version: <span class='currentVer'>%s</span>"); -define("_SDU_DBVER", "Database Version %s"); -define("_SDU_MSG_ADD_DATA", "Data added in table %s"); -define("_SDU_MSG_ADD_DATA_ERR", "Error adding data in table %s"); -define("_SDU_MSG_CHGFIELD", "Changing field %s in table %s"); -define("_SDU_MSG_CHGFIELD_ERR", "Error changing field %s in table %s"); -define("_SDU_MSG_CREATE_TABLE", "Table %s created"); -define("_SDU_MSG_CREATE_TABLE_ERR", "Error creating table %s"); -define("_SDU_MSG_NEWFIELD", "Successfully added field %s"); -define("_SDU_MSG_NEWFIELD_ERR", "Error adding field %s"); -define("_SDU_NEEDUPDATE", "Your database is out-of-date. Please upgrade your database tables!<br><b>Note : The SmartFactory strongly recommends you to backup all SmartSection tables before running this upgrade script.</b><br>"); -define("_SDU_NOUPDATE", "Your database is up-to-date. No updates are necessary."); -define("_SDU_UPDATE_DB", "Updating Database"); -define("_SDU_UPDATE_ERR", "Errors updating to version %s"); -define("_SDU_UPDATE_NOW", "Update Now!"); -define("_SDU_UPDATE_OK", "Successfully updated to version %s"); -define("_SDU_UPDATE_TO", "Updating to version %s"); -define("_SDU_UPDATE_UPDATING_DATABASE", "Updating database..."); - - -?> \ No newline at end of file Modified: XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/album_new_photo.tpl =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/album_new_photo.tpl 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/album_new_photo.tpl 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,17 +1,17 @@ -Hello {X_UNAME}, +Witaj {X_UNAME}, -{X_ITEM_NBPHOTO} new photo has been added on "{X_ITEM_CAT}" at {X_SITENAME}. +{X_ITEM_NBPHOTO} nowe zdjęcie zostało dodane w witrynie {X_SITENAME} w albumie "{X_ITEM_CAT}". -You can view it here : {X_ITEM_URL} +Możesz obejrzeć je tutaj : {X_ITEM_URL} ----------- -You are receiving this message because you selected to be notified when new photo are added to our site. +Otrzymałeś tę wiadomość ponieważ wybrałeś by być powiadamianym gdy nowe zdjęcia są dodawane do albumu "{X_ITEM_CAT}". -If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +Jeśli to pomyłka, albo nie życzysz sobie więcej takich powiadomień, proszę uaktualnij swoje ustawienia pod adresem: {X_UNSUBSCRIBE_URL} -Please do not reply to this message. +Proszę nie odpowiadaj na tę wiadomość. ----------- Modified: XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_html.tpl =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_html.tpl 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_html.tpl 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,6 +1,6 @@ <p style="text-align:center;"> <a href="{ECARD_LINK}"> - Click here if you have problem to see your eCard + Kliknij tutaj jeśli masz problem z obejrzeniem e-Kartki </a> </p> <table style="border:1px solid black; padding:7px; margin:0px auto 0px auto;"> @@ -20,5 +20,5 @@ </tr> </table> <p style="text-align:center;"> - <a href="{MODULE_LINK}">Click here to see more photo !</a> + <a href="{MODULE_LINK}">Kliknij tu aby zobaczyć więcej zdjęć!</a> </p> \ No newline at end of file Modified: XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_text.tpl =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_text.tpl 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/ecard_text.tpl 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,8 +1,9 @@ -Dear {REC_NAME}, +Drogi {REC_NAME}, -{EXP_NAME} ({EXP_EMAIL}) sent you an eCard. +{EXP_NAME} ({EXP_EMAIL}) wysłał Tobie e-Kartkę. -You can view it here : {ECARD_LINK} +Możesz zobaczyć ją tutaj : {ECARD_LINK} -Yours -{SITE_NAME} team ({SITE_URL}) \ No newline at end of file +Pozdrawiamy +Administratorzy {SITE_NAME} +({SITE_URL}) \ No newline at end of file Modified: XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo.tpl =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo.tpl 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo.tpl 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,17 +1,18 @@ -Hello {X_UNAME}, +Witaj {X_UNAME}, -{X_ITEM_NBPHOTO} new photo has been added on "{X_ITEM_CAT}" at {X_SITENAME}. +{X_ITEM_NBPHOTO} nowe zdjęcie zostało dodane w witrynie {X_SITENAME} w albumie "{X_ITEM_CAT}". -You can view it here : {X_ITEM_URL} +Możesz obejrzeć je tutaj : {X_ITEM_URL} ----------- -You are receiving this message because you selected to be notified when new photo are added to our site. -If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +Otrzymałeś tę wiadomość ponieważ wybrałeś by być powiadamianym gdy nowe zdjęcia są dodawane do naszej witryny. + +Jeśli to pomyłka, albo nie życzysz sobie więcej takich powiadomień, proszę uaktualnij swoje ustawienia pod adresem: {X_UNSUBSCRIBE_URL} -Please do not reply to this message. +Proszę nie odpowiadaj na tę wiadomość. ----------- Modified: XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo_pending.tpl =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo_pending.tpl 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/mail_template/global_new_photo_pending.tpl 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,17 +1,17 @@ -Hello {X_UNAME}, +Witaj {X_UNAME}, -{X_ITEM_NBPHOTO} new photo has been added on "{X_ITEM_CAT}" at {X_SITENAME} and are waiting for approvement. +{X_ITEM_NBPHOTO} nowe zdjęcie zostało dodane do "{X_ITEM_CAT}" w witrynie {X_SITENAME} i czeka na zatwierdzenie. -You can view it here : {X_ITEM_URL} +Możesz zobaczyć je tutaj : {X_ITEM_URL} ----------- -You are receiving this message because you selected to be notified when new photo are added to our site. +Otrzymałeś tę wiadomość ponieważ wybrałeś by być powiadamianym gdy nowe zdjęcia są dodawane do naszej witryny. -If this is an error or you wish not to receive further such notifications, please update your subscriptions by visiting the link below: +Jeśli to pomyłka, albo nie życzysz sobie więcej takich powiadomień, proszę uaktualnij swoje ustawienia pod adresem: {X_UNSUBSCRIBE_URL} -Please do not reply to this message. +Proszę nie odpowiadaj na tę wiadomość. ----------- Modified: XoopsLanguages/polish/modules/extgallery/language/polish/main.php =================================================================== --- XoopsLanguages/polish/modules/extgallery/language/polish/main.php 2012-03-05 11:08:01 UTC (rev 9093) +++ XoopsLanguages/polish/modules/extgallery/language/polish/main.php 2012-03-05 14:46:53 UTC (rev 9094) @@ -1,70 +1,43 @@ <?php -// $Id: main.php,v 1.3 2007/08/23 20:07:40 kurak_bu Exp $ -// ------------------------------------------------------------------------ // -// xcGallery - XOOPS Gallery Modul // -// Copyright (c) 2003 Derya Kiran // -// mee...@gm... // -// http://www.myxoopsforge.org/modules/xfmod/project/?xcgal // -// -----------------------------... [truncated message content] |
From: <txm...@us...> - 2012-03-05 11:08:14
|
Revision: 9093 http://xoops.svn.sourceforge.net/xoops/?rev=9093&view=rev Author: txmodxoops Date: 2012-03-05 11:08:01 +0000 (Mon, 05 Mar 2012) Log Message: ----------- Added feed champs Changed plugins champs added feed blocks Revision files Added Paths: ----------- XoopsModules/feeds/releases/1.01/Frameworks/ XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/ XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/ XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/32/ XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/32/addfeed.png XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/32/addplugin.png XoopsModules/feeds/releases/1.01/modules/ XoopsModules/feeds/releases/1.01/modules/feeds/ XoopsModules/feeds/releases/1.01/modules/feeds/admin/ XoopsModules/feeds/releases/1.01/modules/feeds/admin/about.php XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_footer.php XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_header.php XoopsModules/feeds/releases/1.01/modules/feeds/admin/feed.php XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.html XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.php XoopsModules/feeds/releases/1.01/modules/feeds/admin/menu.php XoopsModules/feeds/releases/1.01/modules/feeds/admin/plugin.php XoopsModules/feeds/releases/1.01/modules/feeds/blocks/ XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_feed.php XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_plugin.php XoopsModules/feeds/releases/1.01/modules/feeds/blocks/index.html XoopsModules/feeds/releases/1.01/modules/feeds/class/ XoopsModules/feeds/releases/1.01/modules/feeds/class/feeds_feed.php XoopsModules/feeds/releases/1.01/modules/feeds/class/feeds_plugin.php XoopsModules/feeds/releases/1.01/modules/feeds/class/index.html XoopsModules/feeds/releases/1.01/modules/feeds/css/ XoopsModules/feeds/releases/1.01/modules/feeds/css/index.html XoopsModules/feeds/releases/1.01/modules/feeds/css/style.css XoopsModules/feeds/releases/1.01/modules/feeds/docs/ XoopsModules/feeds/releases/1.01/modules/feeds/docs/changelog.txt XoopsModules/feeds/releases/1.01/modules/feeds/docs/credits.txt XoopsModules/feeds/releases/1.01/modules/feeds/docs/index.html XoopsModules/feeds/releases/1.01/modules/feeds/docs/install.txt XoopsModules/feeds/releases/1.01/modules/feeds/docs/lang_diff.txt XoopsModules/feeds/releases/1.01/modules/feeds/docs/licence.txt XoopsModules/feeds/releases/1.01/modules/feeds/docs/readme.txt XoopsModules/feeds/releases/1.01/modules/feeds/header.php XoopsModules/feeds/releases/1.01/modules/feeds/images/ XoopsModules/feeds/releases/1.01/modules/feeds/images/feeds_slogo.png XoopsModules/feeds/releases/1.01/modules/feeds/images/icons/ XoopsModules/feeds/releases/1.01/modules/feeds/images/icons/index.html XoopsModules/feeds/releases/1.01/modules/feeds/images/icons/off.png XoopsModules/feeds/releases/1.01/modules/feeds/images/icons/on.png XoopsModules/feeds/releases/1.01/modules/feeds/images/index.html XoopsModules/feeds/releases/1.01/modules/feeds/images/menu/ XoopsModules/feeds/releases/1.01/modules/feeds/images/menu/bg.png XoopsModules/feeds/releases/1.01/modules/feeds/images/menu/index.html XoopsModules/feeds/releases/1.01/modules/feeds/images/menu/left_both.png XoopsModules/feeds/releases/1.01/modules/feeds/images/menu/right_both.png XoopsModules/feeds/releases/1.01/modules/feeds/images/rss_rect.png XoopsModules/feeds/releases/1.01/modules/feeds/images/subscribe_rss.png XoopsModules/feeds/releases/1.01/modules/feeds/include/ XoopsModules/feeds/releases/1.01/modules/feeds/include/configs.php XoopsModules/feeds/releases/1.01/modules/feeds/include/functions.php XoopsModules/feeds/releases/1.01/modules/feeds/include/index.html XoopsModules/feeds/releases/1.01/modules/feeds/include/install.php XoopsModules/feeds/releases/1.01/modules/feeds/include/notification.inc.php XoopsModules/feeds/releases/1.01/modules/feeds/index.php XoopsModules/feeds/releases/1.01/modules/feeds/language/ XoopsModules/feeds/releases/1.01/modules/feeds/language/english/ XoopsModules/feeds/releases/1.01/modules/feeds/language/english/admin.php XoopsModules/feeds/releases/1.01/modules/feeds/language/english/blocks.php XoopsModules/feeds/releases/1.01/modules/feeds/language/english/help/ XoopsModules/feeds/releases/1.01/modules/feeds/language/english/help/help.html XoopsModules/feeds/releases/1.01/modules/feeds/language/english/help/index.html XoopsModules/feeds/releases/1.01/modules/feeds/language/english/index.html XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/ XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/category_filesubmit_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/category_newfile_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/file_approve_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/global_filebroken_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/global_filemodify_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/global_filesubmit_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/global_newcategory_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/global_newfile_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/english/mail_template/index.html XoopsModules/feeds/releases/1.01/modules/feeds/language/english/main.php XoopsModules/feeds/releases/1.01/modules/feeds/language/english/modinfo.php XoopsModules/feeds/releases/1.01/modules/feeds/language/index.html XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/ XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/admin.php XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/blocks.php XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/help/ XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/help/help.html XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/help/index.html XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/index.html XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/ XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/category_filesubmit_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/category_newfile_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/file_approve_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/global_filebroken_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/global_filemodify_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/global_filesubmit_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/global_newcategory_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/global_newfile_notify.tpl XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/mail_template/index.html XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/main.php XoopsModules/feeds/releases/1.01/modules/feeds/language/italian/modinfo.php XoopsModules/feeds/releases/1.01/modules/feeds/makefeed.php XoopsModules/feeds/releases/1.01/modules/feeds/plugins/ XoopsModules/feeds/releases/1.01/modules/feeds/plugins/index.html XoopsModules/feeds/releases/1.01/modules/feeds/rss.php XoopsModules/feeds/releases/1.01/modules/feeds/singlefeed.php XoopsModules/feeds/releases/1.01/modules/feeds/sql/ XoopsModules/feeds/releases/1.01/modules/feeds/sql/feeds_plugin.sql XoopsModules/feeds/releases/1.01/modules/feeds/sql/index.html XoopsModules/feeds/releases/1.01/modules/feeds/sql/mysql.sql XoopsModules/feeds/releases/1.01/modules/feeds/templates/ XoopsModules/feeds/releases/1.01/modules/feeds/templates/admin/ XoopsModules/feeds/releases/1.01/modules/feeds/templates/admin/feeds_admin_about.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/admin/feeds_admin_help.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/admin/index.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/ XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/feeds_feed_block_day.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/feeds_feed_block_random.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/feeds_feed_block_recent.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/feeds_plugin_block_day.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/feeds_plugin_block_random.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/feeds_plugin_block_recent.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/blocks/index.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/feeds_footer.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/feeds_header.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/feeds_index.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/feeds_rss.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/feeds_singlefeed.html XoopsModules/feeds/releases/1.01/modules/feeds/templates/index.html XoopsModules/feeds/releases/1.01/modules/feeds/xoops_version.php XoopsModules/feeds/releases/1.01/uploads/ XoopsModules/feeds/releases/1.01/uploads/feeds/ XoopsModules/feeds/releases/1.01/uploads/feeds/images/ XoopsModules/feeds/releases/1.01/uploads/feeds/images/directory_rss.png XoopsModules/feeds/releases/1.01/uploads/feeds/images/downloads_rss.png XoopsModules/feeds/releases/1.01/uploads/feeds/images/forum_rss.png XoopsModules/feeds/releases/1.01/uploads/feeds/images/index.html XoopsModules/feeds/releases/1.01/uploads/feeds/images/news_rss.png XoopsModules/feeds/releases/1.01/uploads/feeds/images/publisher_rss.png XoopsModules/feeds/releases/1.01/uploads/feeds/images/tutorials_rss.png XoopsModules/feeds/releases/1.01/uploads/feeds/index.html XoopsModules/feeds/releases/1.01/uploads/index.html Removed Paths: ------------- XoopsModules/feeds/releases/1.01/feeds/ Added: XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/32/addfeed.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/32/addfeed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/32/addplugin.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/Frameworks/moduleclasses/icons/32/addplugin.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/about.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/about.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/about.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,33 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); +$aboutAdmin = new ModuleAdmin(); +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderabout('25J998Y3QEDZW', false); +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_footer.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_footer.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_footer.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,34 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +global $pathImageAdmin; +echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> + <img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center smallsmall italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_FEEDS_MAINTAINEDBY." + <a href='http://www.txmodxoops.org/modules/newbb/' title='Visit TXMod Xoops Community' class='tooltip' rel='external'>TXMod Xoops Community</a></div>"; +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_header.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_header.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/admin_header.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,85 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sun 2012/02/26 0:02:53 : Timgno Exp $ + * **************************************************************************** + */ +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +include_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +include_once '../include/functions.php'; + +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globlang = $GLOBALS['xoopsConfig']['language']; + +if ( file_exists($pathDir.'/language/'.$globlang.'/main.php')){ + include_once $pathDir.'/language/'.$globlang.'/main.php'; +}else{ + include_once $pathDir.'/language/english/main.php'; +} + +if ( file_exists($pathDir.'/moduleadmin.php')){ + include_once $pathDir.'/moduleadmin.php'; + //return true; +}else{ + xoops_cp_header(); + echo xoops_error(_AM_ERROR_NOFRAMEWORKS); + xoops_cp_footer(); + //return false; +} + +$dirname = basename(dirname(dirname( __FILE__ ) )); +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$feedHandler=& xoops_getModuleHandler('feeds_feed', $dirname); +$pluginHandler=& xoops_getModuleHandler('feeds_plugin', $dirname); + +$myts =& MyTextSanitizer::getInstance(); + +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); + +//Load languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/feed.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/feed.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/feed.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,243 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); +global $pathImageIcon, $xoopsModuleConfig; +$op = feeds_CleanVars($_REQUEST, 'op', 'list_feed', 'string'); +$feedAdmin = new ModuleAdmin(); +switch ($op) +{ + case "list_feed": + default: + echo $feedAdmin->addNavigation('feed.php'); + $feedAdmin->addItemButton(_AM_FEEDS_FEED_NEW, 'feed.php?op=new_feed', 'add'); + echo $feedAdmin->renderButton(); + + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('feed_id', 0, '>')); + $criteria->setSort('feed_weight ASC, feed_name'); + $criteria->setOrder('ASC'); + $numrows = $feedHandler->getCount(); + + if (isset($_REQUEST['limit'])) { + $criteria->setLimit($_REQUEST['limit']); + $limit = $_REQUEST['limit']; + } else { + $criteria->setLimit($xoopsModuleConfig['perpageadmin']); + $limit = $xoopsModuleConfig['perpageadmin']; + } + if (isset($_REQUEST['start'])) { + $criteria->setStart($_REQUEST['start']); + $start = $_REQUEST['start']; + } else { + $criteria->setStart(0); + $start = 0; + } + + $tri = 1; + $order = 1; + if (isset($_REQUEST['order'])) { + if ($_REQUEST['order']==1){ + $criteria->setOrder('ASC'); + $order=1; + } + if ($_REQUEST['order']==2){ + $criteria->setOrder('DESC'); + $order=2; + } + } else { + $criteria->setOrder('DESC'); + } + $feed_arr = $feedHandler->getall($criteria); + unset($criteria); + if ( $numrows > $limit ) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'op=list_feed&limit=' . $limit . '&tri=' . $tri. '&order=' . $order); + $pagenav = $pagenav->renderNav(4); + } else { + $pagenav = ''; + } + // Fixed tables + if ($numrows>0) + { + echo "<table width='100%' cellspacing='1' class='outer'> + <tr> + <th class='center'>"._AM_FEEDS_FEED_ID."</th> + <th class='center'>"._AM_FEEDS_FEED_NAME."</th> + <th class='center'>"._AM_FEEDS_FEED_VERSION."</th> + <th class='center'>"._AM_FEEDS_FEED_IMG."</th> + <th class='center'>"._AM_FEEDS_FEED_WEIGHT."</th> + <th class='center'>"._AM_FEEDS_FEED_SUBMITTER."</th> + <th class='center'>"._AM_FEEDS_FEED_CREATED."</th> + <th class='center'>"._AM_FEEDS_FEED_ONLINE."</th> + <th class='center' width='5%'>"._AM_FEEDS_FORMACTION."</th> + </tr>"; + $class = "odd"; + foreach (array_keys($feed_arr) as $i) + { + echo "<tr class='".$class."'>"; + $class = ($class == "even") ? "odd" : "even"; + echo "<td class='center'>".$feed_arr[$i]->getVar("feed_id")."</td>"; + echo "<td class='center'>".$feed_arr[$i]->getVar("feed_name")."</td>"; + echo "<td class='center'>".$feed_arr[$i]->getVar("feed_version")."</td>"; + echo "<td class='center'><img src='".XOOPS_UPLOAD_URL."/feeds/images/".$feed_arr[$i]->getVar("feed_img")."' height='30px' alt='feed_img'></td>"; + echo "<td class='center'>".$feed_arr[$i]->getVar("feed_weight")."</td>"; + echo "<td class='center'>".XoopsUser::getUnameFromId($feed_arr[$i]->getVar("feed_submitter"),"S")."</td>"; + echo "<td class='center'>".formatTimeStamp($feed_arr[$i]->getVar("feed_created"),"S")."</td>"; + + $online = $feed_arr[$i]->getVar("feed_online"); + if( $online == 1 ) { + echo "<td class='center'><a href='./feed.php?op=update_online_feed&feed_id=".$feed_arr[$i]->getVar("feed_id")."&feed_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._ONLINE."' title='"._ONLINE."'></a></td>"; + } else { + echo "<td class='center'><a href='./feed.php?op=update_online_feed&feed_id=".$feed_arr[$i]->getVar("feed_id")."&feed_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._OFFLINE."' title='"._OFFLINE."'></a></td>"; + } + echo "<td class='center' width='5%'> + <a href='feed.php?op=edit_feed&feed_id=".$feed_arr[$i]->getVar("feed_id")."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> + <a href='feed.php?op=delete_feed&feed_id=".$feed_arr[$i]->getVar("feed_id")."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> + </td>"; + echo "</tr>"; + } + echo "</table><br />"; + echo "<div class='right'>".$pagenav."</div><br />"; + } else { + echo "<table width='100%' cellspacing='1' class='outer'> + <tr> + <th class='center'>"._AM_FEEDS_FEED_ID."</th> + <th class='center'>"._AM_FEEDS_FEED_NAME."</th> + <th class='center'>"._AM_FEEDS_FEED_VERSION."</th> + <th class='center'>"._AM_FEEDS_FEED_IMG."</th> + <th class='center'>"._AM_FEEDS_FEED_WEIGHT."</th> + <th class='center'>"._AM_FEEDS_FEED_SUBMITTER."</th> + <th class='center'>"._AM_FEEDS_FEED_CREATED."</th> + <th class='center'>"._AM_FEEDS_FEED_ONLINE."</th> + <th class='center' width='5%'>"._AM_FEEDS_FORMACTION."</th> + </tr></table><br />"; + } + break; + + case "new_feed": + echo $feedAdmin->addNavigation("feed.php"); + $feedAdmin->addItemButton(_AM_FEEDS_FEED_LIST, 'feed.php?op=list_feed', 'list'); + echo $feedAdmin->renderButton(); + + $obj =& $feedHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_feed": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("feed.php", 3, implode(",", $GLOBALS['xoopsSecurity']->getErrors())); + } + $feed_id = feeds_CleanVars($_REQUEST, 'feed_id', 0, 'int'); + if (isset($_REQUEST["feed_id"])) { + $obj =& $feedHandler->get($feed_id); + } else { + $obj =& $feedHandler->create(); + } + + //Form feed_name + $obj->setVar("feed_name", $_REQUEST["feed_name"]); + //Form feed_version + $obj->setVar("feed_version", $_REQUEST["feed_version"]); + //Form feed_img + include_once XOOPS_ROOT_PATH."/class/uploader.php"; + $uploaddir = XOOPS_UPLOAD_PATH."/feeds/images/"; + $uploader = new XoopsMediaUploader($uploaddir, "gif|jpeg|pjpeg|png", 104857600, null, null); + if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { + /*$extension = preg_replace( "/^.+\.([^.]+)$/sU" , "\\1" , $_FILES["attachedfile"]['name']); + $name_img = $_GET['feed_name'].'.'.$extension; + $uploader->setTargetFileName($name_img);*/ + $uploader->setPrefix("feed_img_"); + $uploader->fetchMedia($_POST['xoops_upload_file'][0]); + if (!$uploader->upload()) { + $errors = $uploader->getErrors(); + redirect_header("javascript:history.go(-1)",3, $errors); + } else { + $obj->setVar("feed_img", $uploader->getSavedFileName()); + } + } else { + $obj->setVar("feed_img", $_REQUEST["feed_img"]); + } + //Form feed_weight + $obj->setVar("feed_weight", $_REQUEST["feed_weight"]); + //Form feed_submitter + $obj->setVar("feed_submitter", $_REQUEST["feed_submitter"]); + //Form feed_created + $obj->setVar("feed_created", feeds_convertDate($_REQUEST["feed_created"])); + //Form feed_online + $verif_feed_online = ($_REQUEST["feed_online"] == 1) ? "1" : "0"; + $obj->setVar("feed_online", $verif_feed_online); + + if ($feedHandler->insert($obj)) { + redirect_header("feed.php?op=list_feed", 2, _AM_FEEDS_FORMOK); + } + + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + + case "edit_feed": + echo $feedAdmin->addNavigation("feed.php"); + $feedAdmin->addItemButton(_AM_FEEDS_FEED_NEW, 'feed.php?op=new_feed', 'add'); + $feedAdmin->addItemButton(_AM_FEEDS_FEED_LIST, 'feed.php?op=list_feed', 'list'); + echo $feedAdmin->renderButton(); + $obj = $feedHandler->get($_REQUEST["feed_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_feed": + $obj =& $feedHandler->get($_REQUEST["feed_id"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("feed.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($feedHandler->delete($obj)) { + redirect_header("feed.php", 3, _AM_FEEDS_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "feed_id" => $_REQUEST["feed_id"], "op" => "delete_feed"), $_SERVER["REQUEST_URI"], sprintf(_AM_FEEDS_FORMSUREDEL, $obj->getVar("feed"))); + } + break; + + case "update_online_feed": + if (isset($_REQUEST["feed_id"])) { + $obj =& $feedHandler->get($_REQUEST["feed_id"]); + } + $obj->setVar("feed_online", $_REQUEST["feed_online"]); + if ($feedHandler->insert($obj)) { + redirect_header("feed.php", 3, _AM_FEEDS_FORMOK); + } + echo $obj->getHtmlErrors(); + break; +} +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.html =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.html (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.html 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/index.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,54 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +include "admin_header.php"; +xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + + //count "total" feeds + $count_feed = $feedHandler->getCount(); + //count "total" plugins + $count_plugin = $pluginHandler->getCount(); + //count "online" + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria("feed_online", 1)); + $feeds_online = $feedHandler->getCount($criteria); + + $color_feeds = ($count_feed == 0) ? 'red' : 'green'; + $color_feeds_online = ($feeds_online == 0) ? 'red' : 'green'; + $color_plugins = ($count_plugin == 0) ? 'red' : 'green'; + + $indexAdmin->addInfoBox(_AM_FEEDS_STATISTICS); + $indexAdmin->addInfoBoxLine(_AM_FEEDS_STATISTICS,_AM_FEEDS_THEREARE_FEEDS, $count_feed, $color_feeds); + $indexAdmin->addInfoBoxLine(_AM_FEEDS_STATISTICS,_AM_FEEDS_THEREARE_FEEDS_ONLINE, $feeds_online, $color_feeds_online); + $indexAdmin->addInfoBoxLine(_AM_FEEDS_STATISTICS,_AM_FEEDS_THEREARE_PLUGINS, $count_plugin, $color_plugins); + + echo $indexAdmin->addNavigation("index.php") ; + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/menu.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/menu.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/menu.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,46 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; +$module_handler =& xoops_gethandler("module"); +$xoopsModule =& XoopsModule::getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid")); +$pathImageAdmin = $moduleInfo->getInfo("icons32"); +$adminmenu = array(); $i = 1; +$adminmenu[$i]["title"] = _MI_FEEDS_ADMENU1; +$adminmenu[$i]["link"] = "admin/index.php"; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/home.png"; $i++; +$adminmenu[$i]["title"] = _MI_FEEDS_ADMENU2; +$adminmenu[$i]["link"] = "admin/feed.php"; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/addfeed.png"; $i++; +$adminmenu[$i]["title"] = _MI_FEEDS_ADMENU3; +$adminmenu[$i]["link"] = "admin/plugin.php"; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/addplugin.png"; $i++; +$adminmenu[$i]["title"] = _MI_FEEDS_ADMENU4; +$adminmenu[$i]["link"] = "admin/about.php"; +$adminmenu[$i]["icon"] = "../../".$pathImageAdmin."/about.png"; +unset( $i ); \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/admin/plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/admin/plugin.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/admin/plugin.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,251 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package plugins + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +include 'admin_header.php'; +xoops_cp_header(); +$pluginAdmin = new ModuleAdmin(); +$op = feeds_CleanVars($_REQUEST, 'op', 'list_plugin', 'string'); +switch ($op) +{ + case "list_plugin": + default: + echo $pluginAdmin->addNavigation('plugin.php'); + $pluginAdmin->addItemButton(_AM_FEEDS_PLUGIN_NEW, 'plugin.php?op=new_plugin', 'add'); + echo $pluginAdmin->renderButton(); + + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('plugin_id', 0, '>')); + $criteria->setSort('plugin_weight ASC, plugin_name'); + $criteria->setOrder('ASC'); + $numrows = $pluginHandler->getCount(); + + if (isset($_REQUEST['limit'])) { + $criteria->setLimit($_REQUEST['limit']); + $limit = $_REQUEST['limit']; + } else { + $criteria->setLimit($xoopsModuleConfig['perpageadmin']); + $limit = $xoopsModuleConfig['perpageadmin']; + } + if (isset($_REQUEST['start'])) { + $criteria->setStart($_REQUEST['start']); + $start = $_REQUEST['start']; + } else { + $criteria->setStart(0); + $start = 0; + } + + $tri = 1; + $order = 1; + if (isset($_REQUEST['order'])) { + if ($_REQUEST['order']==1){ + $criteria->setOrder('ASC'); + $order=1; + } + if ($_REQUEST['order']==2){ + $criteria->setOrder('DESC'); + $order=2; + } + } else { + $criteria->setOrder('DESC'); + } + $plugin_arr = $pluginHandler->getall($criteria); + unset($criteria); + if ( $numrows > $limit ) { + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'op=list_plugin&limit=' . $limit . '&tri=' . $tri. '&order=' . $order); + $pagenav = $pagenav->renderNav(4); + } else { + $pagenav = ''; + } + // Fixed tables + if ($numrows>0) + { + echo "<table width='100%' cellspacing='1' class='outer'> + <tr> + <th class='center'>"._AM_FEEDS_PLUGIN_ID."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_MODULENAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CLASSNAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_TABLENAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_FILENAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CID."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_LID."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_TITLE."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_DESC."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_DATE."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CREATED."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_WEIGHT."</th> + <th class='center' width='5%'>"._AM_FEEDS_FORMACTION."</th> + </tr>"; + $class = "odd"; + foreach (array_keys($plugin_arr) as $i) + { + echo "<tr class='".$class."'>"; + $class = ($class == "even") ? "odd" : "even"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_id")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_modulename")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_classname")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_tablename")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_filename")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_cid")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_lid")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_champ_title")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_champ_desc")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_champ_date")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_created")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_weight")."</td>"; + echo "<td class='center' width='5%'> + <a href='plugin.php?op=edit_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> + <a href='plugin.php?op=delete_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> + </td>"; + echo "</tr>"; + } + echo "</table><br />"; + echo "<div class='right'>".$pagenav."</div><br />"; + } else { + echo "<table width='100%' cellspacing='1' class='outer'> + <tr> + <th class='center'>"._AM_FEEDS_PLUGIN_ID."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_MODULENAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CLASSNAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_TABLENAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_FILENAME."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CID."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_LID."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_TITLE."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_DESC."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_DATE."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CREATED."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_WEIGHT."</th> + <th class='center' width='5%'>"._AM_FEEDS_FORMACTION."</th> + </tr></table><br />"; + } + break; + + case "new_plugin": + echo $pluginAdmin->addNavigation("plugin.php"); + $pluginAdmin->addItemButton(_AM_FEEDS_PLUGIN_LIST, 'plugin.php?op=list_plugin', 'list'); + echo $pluginAdmin->renderButton(); + + $obj =& $pluginHandler->create(); + $form = $obj->getForm(); + $form->display(); + break; + + case "save_plugin": + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("plugin.php", 3, implode(",", $GLOBALS['xoopsSecurity']->getErrors())); + } + $plugin_id = plugins_CleanVars($_REQUEST, 'plugin_id', 0, 'int'); + if (isset($_REQUEST["plugin_id"])) { + $obj =& $pluginHandler->get($plugin_id); + } else { + $obj =& $pluginHandler->create(); + } + + //Form plugin_modulename + $obj->setVar("plugin_name", $_REQUEST["plugin_modulename"]); + //Form plugin_classname + $obj->setVar("plugin_name", $_REQUEST["plugin_classname"]); + //Form plugin_tablename + $obj->setVar("plugin_name", $_REQUEST["plugin_tablename"]); + //Form plugin_filename + $obj->setVar("plugin_name", $_REQUEST["plugin_filename"]); + //Form plugin_cid + $obj->setVar("plugin_cid", $_REQUEST["plugin_cid"]); + //Form plugin_lid + $obj->setVar("plugin_cid", $_REQUEST["plugin_lid"]); + //Form plugin_champ_title + $obj->setVar("plugin_champ_title", $_REQUEST["plugin_champ_title"]); + //Form plugin_champ_desc + $obj->setVar("plugin_champ_desc", $_REQUEST["plugin_champ_desc"]); + //Form plugin_champ_date + $obj->setVar("plugin_champ_date", $_REQUEST["plugin_champ_date"]); + //Form plugin_created + $obj->setVar("plugin_created", feeds_convertDate($_REQUEST["plugin_created"])); + //Form plugin_weight + $obj->setVar("plugin_weight", $_REQUEST["plugin_weight"]); + + if ($pluginHandler->insert($obj)) { + redirect_header("plugin.php?op=list_plugin", 2, _AM_FEEDS_FORMOK); + } + + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('plugin_id', $_REQUEST["plugin_id"])); + $plugin = $pluginHandler->getObject($criteria); + unset($criteria); + //Debut + if ($pluginHandler->create()) { + //Variables + $plugin_id = $plugin->getVar('plugin_id'); + $modName = $plugin->getVar('plugin_modulename'); + $className = $plugin->getVar('plugin_classname'); + $tableName = $plugin->getVar('plugin_tablename'); + $fileName = $plugin->getVar('plugin_filename'); + $ch_cid = $plugin->getVar('plugin_cid'); + $ch_lid = $plugin->getVar('plugin_lid'); + $ch_title = $plugin->getVar('plugin_champ_title'); + $ch_desc = $plugin->getVar('plugin_champ_desc'); + $ch_date = $plugin->getVar('plugin_champ_date'); + + //Creation of plugin files + plugins_MakePlugin($modName, $className, $tableName, $fileName, $ch_cid, $ch_lid, $ch_title, $ch_desc, $ch_date, $plugin_id, _AM_FEEDS_OK_WRITED, _AM_FEEDS_NOTOK_WRITABLE, _AM_FEEDS_NOTOK_ACCESSIBLE); + + redirect_header("plugin.php", 3, _AM_FEEDS_FORMDELOK); + } + + echo $obj->getHtmlErrors(); + $form =& $obj->getForm(); + $form->display(); + break; + + case "edit_plugin": + echo $pluginAdmin->addNavigation("plugin.php"); + $pluginAdmin->addItemButton(_AM_FEEDS_PLUGIN_NEW, 'plugin.php?op=new_plugin', 'add'); + $pluginAdmin->addItemButton(_AM_FEEDS_PLUGIN_LIST, 'plugin.php?op=list_plugin', 'list'); + echo $pluginAdmin->renderButton(); + $obj = $pluginHandler->get($_REQUEST["plugin_id"]); + $form = $obj->getForm(); + $form->display(); + break; + + case "delete_plugin": + $obj =& $pluginHandler->get($_REQUEST["plugin_id"]); + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("plugin.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($pluginHandler->delete($obj)) { + redirect_header("plugin.php", 3, _AM_FEEDS_FORMDELOK); + } else { + echo $obj->getHtmlErrors(); + } + } else { + xoops_confirm(array("ok" => 1, "plugin_id" => $_REQUEST["plugin_id"], "op" => "delete_plugin"), $_SERVER["REQUEST_URI"], sprintf(_AM_FEEDS_FORMSUREDEL, $obj->getVar("plugin"))); + } + break; +} +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_feed.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_feed.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_feed.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,94 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +include_once XOOPS_ROOT_PATH."/modules/feeds/include/functions.php"; +function b_feeds_feed($options) { +$myts =& MyTextSanitizer::getInstance(); + +$feed = array(); +$type_block = $options[0]; +$nb_feed = $options[1]; +$lenght_title = $options[2]; + +$feedHandler =& xoops_getModuleHandler("feeds_feed", "feeds"); +$criteria = new CriteriaCompo(); +array_shift($options); +array_shift($options); +array_shift($options); + +switch ($type_block) +{ + // pour le bloc: feed recents + case "recent": + $criteria->add(new Criteria("feed_online", 1)); + $criteria->setSort("feed_created"); + $criteria->setOrder("DESC"); + break; + // pour le bloc: feed du jour + case "day": + $criteria->add(new Criteria("feed_online", 1)); + $criteria->add(new Criteria("feed_created", strtotime(date("Y/m/d")), ">=")); + $criteria->add(new Criteria("feed_created", strtotime(date("Y/m/d"))+86400, "<=")); + $criteria->setSort("feed_created"); + $criteria->setOrder("ASC"); + break; + // pour le bloc: feed aléatoires + case "random": + $criteria->add(new Criteria("feed_online", 1)); + $criteria->setSort("RAND()"); + break; +} + + +$criteria->setLimit($nb_feed); +$feed_arr = $feedHandler->getall($criteria); +foreach (array_keys($feed_arr) as $i) +{ + $feed[$i]["feed_id"] = $feed_arr[$i]->getVar("feed_id"); + $feed[$i]["feed_name"] = $feed_arr[$i]->getVar("feed_name"); + $feed[$i]["feed_created"] = formatTimeStamp($feed_arr[$i]->getVar("feed_created"),"S"); + $feed[$i]["feed_online"] = $feed_arr[$i]->getVar("feed_online"); +} +return $feed; +} + +function b_feeds_feed_edit($options) { + $form = ""._MB_FEEDS_FEED_DISPLAY."\n"; + $form .= "<input type=\"hidden\" name=\"options[0]\" value=\"".$options[0]."\" />"; + $form .= "<input name=\"options[1]\" size=\"5\" maxlength=\"255\" value=\"".$options[1]."\" type=\"text\" /> <br />"; + $form .= ""._MB_FEEDS_FEED_TITLELENGTH." : <input name=\"options[2]\" size=\"5\" maxlength=\"255\" value=\"".$options[2]."\" type=\"text\" /><br /><br />"; + array_shift($options); + array_shift($options); + array_shift($options); + $form .= ""._MB_FEEDS_FEED_CATTODISPLAY."<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">"; + $form .= "<option value=\"0\" " . (array_search(0, $options) === false ? "" : "selected=\"selected\"") . ">" ._MB_FEEDS_FEED_ALLCAT . "</option>"; + foreach (array_keys($topic_arr) as $i) { + $form .= "<option value=\"" . $topic_arr[$i]->getVar("feed_id") . "\" " . (array_search($topic_arr[$i]->getVar("feed_id"), $options) === false ? "" : "selected=\"selected\"") . ">".$topic_arr[$i]->getVar("feed_name")."</option>"; + } + $form .= "</select>"; + return $form; +} \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_plugin.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/blocks/blocks_plugin.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,91 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +include_once XOOPS_ROOT_PATH."/modules/feeds/include/functions.php"; +function b_feeds_plugin($options) { +$myts =& MyTextSanitizer::getInstance(); + +$plugin = array(); +$type_block = $options[0]; +$nb_plugin = $options[1]; +$lenght_title = $options[2]; + +$pluginHandler =& xoops_getModuleHandler("feeds_plugin", "feeds"); +$criteria = new CriteriaCompo(); +array_shift($options); +array_shift($options); +array_shift($options); + +switch ($type_block) +{ + // pour le bloc: plugin recents + case "recent": + $criteria->setSort("plugin_created"); + $criteria->setOrder("DESC"); + break; + // pour le bloc: plugin du jour + case "day": + $criteria->add(new Criteria("plugin_created", strtotime(date("Y/m/d")), ">=")); + $criteria->add(new Criteria("plugin_created", strtotime(date("Y/m/d"))+86400, "<=")); + $criteria->setSort("plugin_created"); + $criteria->setOrder("ASC"); + break; + // pour le bloc: plugin aléatoires + case "random": + $criteria->add(new Criteria("plugin_modulename")); + $criteria->setSort("RAND()"); + break; +} + + +$criteria->setLimit($nb_plugin); +$plugin_arr = $pluginHandler->getall($criteria); +foreach (array_keys($plugin_arr) as $i) +{ + $plugin[$i]["plugin_id"] = $plugin_arr[$i]->getVar("plugin_id"); + $plugin[$i]["plugin_modulename"] = $plugin_arr[$i]->getVar("plugin_modulename"); + $plugin[$i]["plugin_created"] = formatTimeStamp($plugin_arr[$i]->getVar("plugin_created"),"S"); +} +return $plugin; +} + +function b_feeds_plugin_edit($options) { + $form = ""._MB_FEEDS_PLUGIN_DISPLAY."\n"; + $form .= "<input type=\"hidden\" name=\"options[0]\" value=\"".$options[0]."\" />"; + $form .= "<input name=\"options[1]\" size=\"5\" maxlength=\"255\" value=\"".$options[1]."\" type=\"text\" /> <br />"; + $form .= ""._MB_FEEDS_PLUGIN_TITLELENGTH." : <input name=\"options[2]\" size=\"5\" maxlength=\"255\" value=\"".$options[2]."\" type=\"text\" /><br /><br />"; + array_shift($options); + array_shift($options); + array_shift($options); + $form .= ""._MB_FEEDS_PLUGIN_CATTODISPLAY."<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">"; + $form .= "<option value=\"0\" " . (array_search(0, $options) === false ? "" : "selected=\"selected\"") . ">" ._MB_FEEDS_PLUGIN_ALLCAT . "</option>"; + foreach (array_keys($topic_arr) as $i) { + $form .= "<option value=\"" . $topic_arr[$i]->getVar("plugin_id") . "\" " . (array_search($topic_arr[$i]->getVar("plugin_id"), $options) === false ? "" : "selected=\"selected\"") . ">".$topic_arr[$i]->getVar("plugin_modulename")."</option>"; + } + $form .= "</select>"; + return $form; +} \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/blocks/index.html =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/blocks/index.html (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/blocks/index.html 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/modules/feeds/class/feeds_feed.php =================================================================== --- XoopsModules/feeds/releases/1.01/modules/feeds/class/feeds_feed.php (rev 0) +++ XoopsModules/feeds/releases/1.01/modules/feeds/class/feeds_feed.php 2012-03-05 11:08:01 UTC (rev 9093) @@ -0,0 +1,114 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +if (!class_exists("XoopsPersistableObjectHandler")) { + include_once XOOPS_ROOT_PATH."/kernel/object.php"; +} + +class feeds_feed extends XoopsObject +{ + //Constructor + function __construct() + { + $this->XoopsObject(); + $this->initVar("feed_id", XOBJ_DTYPE_INT, null, false, 8); + $this->initVar("feed_name", XOBJ_DTYPE_TXTBOX, null, false, 20); + $this->initVar("feed_version", XOBJ_DTYPE_TXTBOX, null, false, 5); + $this->initVar("feed_img", XOBJ_DTYPE_TXTBOX, null, false, 100); + $this->initVar("feed_weight", XOBJ_DTYPE_INT, null, false, 11); + $this->initVar("feed_submitter", XOBJ_DTYPE_INT, null, false, 10); + $this->initVar("feed_created", XOBJ_DTYPE_INT, null, false, 10); + $this->initVar("feed_online", XOBJ_DTYPE_INT, null, false, 1); + } + + function feeds_feed() + { + $this->__construct(); + } + + function getForm($action = false) + { + global $xoopsDB, $xoopsModuleConfig; + + if ($action === false) { + $action = $_SERVER["REQUEST_URI"]; + } + + $title = $this->isNew() ? sprintf(_AM_FEEDS_FEED_ADD) : sprintf(_AM_FEEDS_FEED_EDIT); + + include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + + $form = new XoopsThemeForm($title, "form", $action, "post", true); + $form->setExtra('enctype="multipart/form-data"'); + + $form->addElement(new XoopsFormText(_AM_FEEDS_FEED_NAME, "feed_name", 50, 255, $this->getVar("feed_name")), true); + $form->addElement(new XoopsFormText(_VERSION, "feed_version", 10, 25, $this->getVar("feed_version")), true); + + $feed_img = $this->getVar("feed_img") ? $this->getVar("feed_img") : 'blank.gif'; + + $uploadirectory = '/uploads/feeds/images'; + $imgtray = new XoopsFormElementTray(_AM_FEEDS_FEED_IMG,'<br />'); + $imgpath = sprintf(_AM_FEEDS_FORMIMAGE_PATH, '.'.$uploadirectory); + $imageselect = new XoopsFormSelect($imgpath, 'feed_img', $feed_img); + $image_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH.$uploadirectory ); + foreach( $image_array as $image ) { + $imageselect->addOption("$image", $image); + } + $imageselect->setExtra( "onchange='showImgSelected(\"image3\", \"feed_img\", \"".$uploadirectory."\", \"\", \"".XOOPS_URL."\")'" ); + $imgtray->addElement($imageselect, false); + $imgtray->addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".$uploadirectory."/".$feed_img."' name='image3' id='image3' alt='' />" ) ); + $fileseltray = new XoopsFormElementTray('','<br />'); + $fileseltray->addElement(new XoopsFormFile(_AM_FEEDS_FORMUPLOAD , "attachedfile", 104857600), false); + $fileseltray->addElement(new XoopsFormLabel(''), false); + $imgtray->addElement($fileseltray); + $form->addElement($imgtray); + + $form->addElement(new XoopsFormText(_WEIGHT, "feed_weight", 10, 25, $this->getVar("feed_weight")), true); + $form->addElement(new XoopsFormSelectUser(_SUBMITTER, "feed_submitter", false, $this->getVar("feed_submitter"), 1, false), true); + $form->addElement(new XoopsFormTextDateSelect(_CREATED, "feed_created", "", $this->getVar("feed_created"))); + $feed_online = $this->isNew() ? 0 : $this->getVar("feed_online"); + $check_feed_online = new XoopsFormCheckBox(_ONLINE, "feed_online", $feed_online); + $check_feed_online->addOption(1, " "); + $form->addElement($check_feed_online); + + $form->addElement(new XoopsFormHidden("op", "save_feed")); + $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); + return $form; + } +} +class feedsfeeds_feedHandler extends XoopsPersistableObjectHandler +{ + function __construct(&$db) + { + parent::__construct($db, "f... [truncated message content] |
From: <JJ...@us...> - 2012-03-05 08:57:37
|
Revision: 9092 http://xoops.svn.sourceforge.net/xoops/?rev=9092&view=rev Author: JJDai Date: 2012-03-05 08:57:26 +0000 (Mon, 05 Mar 2012) Log Message: ----------- 05-03-2012 : JJDai(fr) Correction template, url de redirection sur validation des envois de mails Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/send_mails.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/templates/admin/mailusers_admin_send_mail.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/send_mails.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/send_mails.php 2012-03-04 19:55:23 UTC (rev 9091) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/admin/send_mails.php 2012-03-05 08:57:26 UTC (rev 9092) @@ -58,8 +58,8 @@ case 'list': default: - $display_criteria = 1; - $form = new XoopsThemeForm(_AM_MAILUSERS_LIST, "mailusers", "admin.php?fct=mailusers", 'post', true); + $display_criteria = 1; + $form = new XoopsThemeForm(_AM_MAILUSERS_LIST, "mailusers", "send_mails.php?", 'post', true); //---------------------------------------- if (!empty($_POST['memberslist_id'])) { $user_count = count($_POST['memberslist_id']); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/templates/admin/mailusers_admin_send_mail.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/templates/admin/mailusers_admin_send_mail.html 2012-03-04 19:55:23 UTC (rev 9091) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/templates/admin/mailusers_admin_send_mail.html 2012-03-05 08:57:26 UTC (rev 9092) @@ -9,4 +9,4 @@ <{includeq file="admin:system|admin_buttons.html"}> -<{$form}> \ No newline at end of file +<{$form}> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php 2012-03-04 19:55:23 UTC (rev 9091) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/mailusers/xoops_version.php 2012-03-05 08:57:26 UTC (rev 9092) @@ -57,7 +57,7 @@ $modversion['adminmenu'] = 'admin/menu.php'; // Admin Templates -$modversion['templates'][] = array( 'file' => 'mailusers_admin_edit.html', +$modversion['templates'][] = array( 'file' => 'mailusers_admin_send_mail.html', 'description' => '', 'type' => 'admin' ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-03-04 19:55:32
|
Revision: 9091 http://xoops.svn.sourceforge.net/xoops/?rev=9091&view=rev Author: beckmi Date: 2012-03-04 19:55:23 +0000 (Sun, 04 Mar 2012) Log Message: ----------- Adding index.html files Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlist/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autolink/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/iespell/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/insertdatetime/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/layer/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/legacyoutput/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/nonbreaking/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/print/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/save/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/tabfocus/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/visualchars/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/wordcount/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/js/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/skins/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/langs/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/skins/default/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/skins/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/img/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/index.html XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/utils/index.html Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlist/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlist/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlist/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autolink/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autolink/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autolink/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autoresize/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/iespell/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/iespell/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/iespell/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/insertdatetime/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/insertdatetime/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/insertdatetime/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/layer/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/layer/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/layer/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/legacyoutput/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/legacyoutput/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/legacyoutput/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/nonbreaking/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/nonbreaking/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/nonbreaking/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/print/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/print/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/print/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/save/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/save/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/save/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/tabfocus/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/tabfocus/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/tabfocus/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/css/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/css/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/css/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/js/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/js/index.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/js/index.html 2012-03-04 19:55:23 UTC (rev 9091) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/index.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/class/xoopseditor/tinymce... [truncated message content] |
From: <vo...@us...> - 2012-03-04 05:03:56
|
Revision: 9090 http://xoops.svn.sourceforge.net/xoops/?rev=9090&view=rev Author: voltan1 Date: 2012-03-04 05:03:50 +0000 (Sun, 04 Mar 2012) Log Message: ----------- Set topic limit Modified Paths: -------------- XoopsModules/fmcontent/branches/news/blocks/list.php Modified: XoopsModules/fmcontent/branches/news/blocks/list.php =================================================================== --- XoopsModules/fmcontent/branches/news/blocks/list.php 2012-03-04 05:01:59 UTC (rev 9089) +++ XoopsModules/fmcontent/branches/news/blocks/list.php 2012-03-04 05:03:50 UTC (rev 9090) @@ -47,6 +47,7 @@ $block['showmore'] = $options[11]; $block['morelink'] = $options[12]; $day = $options[13]; + $topiclimit = $options[14]; array_shift($options); array_shift($options); @@ -78,8 +79,8 @@ $story_infos['story_publish'] = 0; } - // Set topics - if(true) { + // Set topic limit + if($topiclimit) { $topics = array(); $topics[] = NewsUtils::News_CleanVars ( $_GET, 'storytopic', 0, 'int' ); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-03-04 05:02:08
|
Revision: 9089 http://xoops.svn.sourceforge.net/xoops/?rev=9089&view=rev Author: voltan1 Date: 2012-03-04 05:01:59 +0000 (Sun, 04 Mar 2012) Log Message: ----------- Add two new blocks Modified Paths: -------------- XoopsModules/fmcontent/branches/news/class/story.php XoopsModules/fmcontent/branches/news/include/functions_update.php XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php XoopsModules/fmcontent/branches/news/language/english/blocks.php XoopsModules/fmcontent/branches/news/language/english/modinfo.php XoopsModules/fmcontent/branches/news/language/persian/modinfo.php XoopsModules/fmcontent/branches/news/sql/mysql.sql XoopsModules/fmcontent/branches/news/xoops_version.php Added Paths: ----------- XoopsModules/fmcontent/branches/news/blocks/marquee.php XoopsModules/fmcontent/branches/news/blocks/slide.php XoopsModules/fmcontent/branches/news/css/marquee.css XoopsModules/fmcontent/branches/news/css/scrollable.css XoopsModules/fmcontent/branches/news/css/sliderkit-core.css XoopsModules/fmcontent/branches/news/css/sliderkit-demos.css XoopsModules/fmcontent/branches/news/js/marquee/ XoopsModules/fmcontent/branches/news/js/marquee/index.html XoopsModules/fmcontent/branches/news/js/marquee/marquee.js XoopsModules/fmcontent/branches/news/js/marquee/setting.js XoopsModules/fmcontent/branches/news/js/scrollable/ XoopsModules/fmcontent/branches/news/js/scrollable/index.html XoopsModules/fmcontent/branches/news/js/scrollable/scrollable.js XoopsModules/fmcontent/branches/news/js/scrollable/setting.js XoopsModules/fmcontent/branches/news/js/sliderkit/ XoopsModules/fmcontent/branches/news/js/sliderkit/index.html XoopsModules/fmcontent/branches/news/js/sliderkit/sliderkit.min.js XoopsModules/fmcontent/branches/news/js/sliderkit/sliderkitsetting.js XoopsModules/fmcontent/branches/news/templates/blocks/news_block_marquee.html XoopsModules/fmcontent/branches/news/templates/blocks/news_block_slide.html Added: XoopsModules/fmcontent/branches/news/blocks/marquee.php =================================================================== --- XoopsModules/fmcontent/branches/news/blocks/marquee.php (rev 0) +++ XoopsModules/fmcontent/branches/news/blocks/marquee.php 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,97 @@ +<?php +/* + 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. +*/ + +/** + * Module block marquee file + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @author Hossein Azizabadi (Aka Voltan) + * @version $Id$ + */ + +function news_marquee_show($options) { + + $story_handler = xoops_getmodulehandler ( 'story', 'news' ); + $topic_handler = xoops_getmodulehandler ( 'topic', 'news' ); + $module_handler = xoops_gethandler('module'); + + require_once XOOPS_ROOT_PATH . '/modules/news/include/functions.php'; + require_once XOOPS_ROOT_PATH . '/modules/news/class/perm.php'; + require_once XOOPS_ROOT_PATH . '/modules/news/class/utils.php'; + + global $xoTheme; + + $block = array(); + $story_infos = array(); + $NewsModule = $options[0]; + $story_infos['story_limit'] = $options[1]; + $story_infos['title_lenght'] = $options[2]; + $block['show_date'] = $options[3]; + + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + + $NewsModule = $module_handler->getByDirname($NewsModule); + $story_infos['topics'] = $topic_handler->getall (); + $block['marquee'] = $story_handler->News_Marquee($NewsModule, $story_infos ,$options); + + $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); + $xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/marquee/marquee.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/marquee/setting.js'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/css/marquee.css'); + + return $block; +} + +function news_marquee_edit($options) { + + //appel de la class + $story_handler = xoops_getmodulehandler('story', 'news'); + $topic_handler = xoops_getmodulehandler('topic', 'news'); + $module_handler = xoops_gethandler('module'); + $NewsModule = $module_handler->getByDirname($options[0]); + + $criteria = new CriteriaCompo(); + $criteria->setSort('topic_weight ASC, topic_title'); + $criteria->setOrder('ASC'); + $topic_arr = $topic_handler->getall($criteria); + + $form = "<input type=\"hidden\" name=\"options[]\" value=\"" . $options[0] . "\" />"; + $form .= _NEWS_MB_NUMBER . " : <input type=\"text\" name=\"options[1]\" size=\"5\" maxlength=\"10\" value=\"" . $options[1] . "\" type=\"text\" /><br />\n"; + $form .= _NEWS_MB_CHARS . ":<input type=\"text\" name=\"options[2]\" size=\"5\" maxlength=\"10\" value=\"" . $options[2] . "\" /><br />"; + + if ($options[3] == false) { + $checked_yes = ''; + $checked_no = 'checked="checked"'; + } else { + $checked_yes = 'checked="checked"'; + $checked_no = ''; + } + $form .= _NEWS_MB_DATE . " : <input name=\"options[3]\" value=\"1\" type=\"radio\" " . $checked_yes . "/>" . _YES . " \n"; + $form .= "<input name=\"options[3]\" value=\"0\" type=\"radio\" " . $checked_no . "/>" . _NO . "<br />\n"; + + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + + $form .= _NEWS_MB_TOPICDISPLAY . "<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">\n"; + $form .= "<option value=\"0\" " . (array_search(0, $options) === false ? '' : 'selected="selected"') . ">" . _NEWS_MB_ALLMENUS . "</option>\n"; + foreach (array_keys($topic_arr) as $i) { + $form .= "<option value=\"" . $topic_arr[$i]->getVar('topic_id') . "\" " . (array_search($topic_arr[$i]->getVar('topic_id'), $options) === false ? '' : 'selected="selected"') . ">" . $topic_arr[$i]->getVar('topic_title') . "</option>\n"; + } + $form .= "</select>\n"; + return $form; +} +?> \ No newline at end of file Added: XoopsModules/fmcontent/branches/news/blocks/slide.php =================================================================== --- XoopsModules/fmcontent/branches/news/blocks/slide.php (rev 0) +++ XoopsModules/fmcontent/branches/news/blocks/slide.php 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,150 @@ +<?php +/* + 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. +*/ + +/** + * Module block slide file + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @author Hossein Azizabadi (Aka Voltan) + * @version $Id$ + */ + +function news_slide_show($options) { + $story_handler = xoops_getmodulehandler ( 'story', 'news' ); + $topic_handler = xoops_getmodulehandler ( 'topic', 'news' ); + $module_handler = xoops_gethandler('module'); + + require_once XOOPS_ROOT_PATH . '/modules/news/include/functions.php'; + require_once XOOPS_ROOT_PATH . '/modules/news/class/perm.php'; + require_once XOOPS_ROOT_PATH . '/modules/news/class/utils.php'; + + global $xoTheme; + + $block = array(); + $story_infos = array(); + + $NewsModule = $options[0]; + $story_infos['story_limit'] = $options[1]; + $block['slidetype'] = $options[2]; + $story_infos['title_lenght'] = $options[3]; + $story_infos['desc_lenght'] = $options[4]; + $block['slidewidth'] = $options[5]; + $block['slideheight'] = $options[6]; + $block['imagewidth'] = $options[7]; + $block['imageheight'] = $options[8]; + + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + + $NewsModule = $module_handler->getByDirname($NewsModule); + $story_infos['topics'] = $topic_handler->getall (); + $block['slide'] = $story_handler->News_Slide($NewsModule, $story_infos ,$options); + + switch($block['slidetype']) { + + case 'scrollable': + $style = ' + .slider { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight']*1.06 .'px; + } + .slider .main { + height: '. $block['slideheight']*1.06 .'px; + } + .slider .page { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight'] .'px; + } + .slider .scrollable { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight'] .'px; + } + .slider .item { + width: '. $block['slidewidth'] .'px; + height: '. $block['slideheight'] .'px; + } + .slider .item .itemleft img { + width: '. $block['slidewidth']/2 .'px; + }'; + $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); + $xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/scrollable/scrollable.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/scrollable/setting.js'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/css/scrollable.css'); + $xoTheme->addStylesheet( null, array ('rel' => 'stylesheet'), $style ); + break; + + case 'sliderkit': + $xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js"); + $xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/sliderkit/sliderkit.min.js'); + $xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/sliderkit/sliderkitsetting.js'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/css/sliderkit-core.css'); + $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/css/sliderkit-demos.css'); + break; + } + + return $block; + +} + +function news_slide_edit($options) { + + //appel de la class + $story_handler = xoops_getmodulehandler('story', 'news'); + $topic_handler = xoops_getmodulehandler('topic', 'news'); + $module_handler = xoops_gethandler('module'); + $NewsModule = $module_handler->getByDirname($options[0]); + + $criteria = new CriteriaCompo(); + $criteria->setSort('topic_weight ASC, topic_title'); + $criteria->setOrder('ASC'); + $topic_arr = $topic_handler->getall($criteria); + + $form = "<input type=\"hidden\" name=\"options[]\" value=\"" . $options[0] . "\" />"; + $form .= _NEWS_MB_NUMBER . " : <input type=\"text\" name=\"options[1]\" size=\"5\" maxlength=\"10\" value=\"" . $options[1] . "\" type=\"text\" /><br />\n"; + $slide = new XoopsFormSelect(_NEWS_MB_SLIDETYPE, 'options[]', $options[2]); + $slide->addOption("scrollable", _NEWS_MB_SLIDETYPE_1); + $slide->addOption("sliderkit", _NEWS_MB_SLIDETYPE_2); + $form .= _NEWS_MB_SLIDETYPE . " : " . $slide->render() . '<br />'; + $form .= _NEWS_MB_CHARS . ":<input type=\"text\" name=\"options[3]\" size=\"5\" maxlength=\"10\" value=\"" . $options[3] . "\" /><br />"; + $form .= _NEWS_MB_CHARS_DESC . ":<input type=\"text\" name=\"options[4]\" size=\"5\" maxlength=\"10\" value=\"" . $options[4] . "\" /><br />"; + + $form .= _NEWS_MB_SLIDEW . ":<input type=\"text\" name=\"options[5]\" size=\"5\" maxlength=\"10\" value=\"" . $options[5] . "\" /><br />"; + $form .= _NEWS_MB_SLIDEh . ":<input type=\"text\" name=\"options[6]\" size=\"5\" maxlength=\"10\" value=\"" . $options[6] . "\" /><br />"; + $form .= _NEWS_MB_IMAGEW . ":<input type=\"text\" name=\"options[7]\" size=\"5\" maxlength=\"10\" value=\"" . $options[7] . "\" /><br />"; + $form .= _NEWS_MB_IMAGEH . ":<input type=\"text\" name=\"options[8]\" size=\"5\" maxlength=\"10\" value=\"" . $options[8] . "\" /><br />"; + + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + array_shift($options); + + $form .= _NEWS_MB_TOPICDISPLAY . "<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">\n"; + $form .= "<option value=\"0\" " . (array_search(0, $options) === false ? '' : 'selected="selected"') . ">" . _NEWS_MB_ALLMENUS . "</option>\n"; + foreach (array_keys($topic_arr) as $i) { + $form .= "<option value=\"" . $topic_arr[$i]->getVar('topic_id') . "\" " . (array_search($topic_arr[$i]->getVar('topic_id'), $options) === false ? '' : 'selected="selected"') . ">" . $topic_arr[$i]->getVar('topic_title') . "</option>\n"; + } + $form .= "</select>\n"; + return $form; +} +?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/class/story.php =================================================================== --- XoopsModules/fmcontent/branches/news/class/story.php 2012-03-03 20:16:34 UTC (rev 9088) +++ XoopsModules/fmcontent/branches/news/class/story.php 2012-03-04 05:01:59 UTC (rev 9089) @@ -43,7 +43,7 @@ $this->initVar ( 'story_alias', XOBJ_DTYPE_TXTBOX, '' ); $this->initVar ( 'story_status', XOBJ_DTYPE_INT, 1 ); $this->initVar ( 'story_slide', XOBJ_DTYPE_INT, 0 ); - $this->initVar ( 'story_marque', XOBJ_DTYPE_INT, 0 ); + $this->initVar ( 'story_marquee', XOBJ_DTYPE_INT, 0 ); $this->initVar ( 'story_important', XOBJ_DTYPE_INT, 0 ); $this->initVar ( 'story_default', XOBJ_DTYPE_INT, 0 ); $this->initVar ( 'story_create', XOBJ_DTYPE_INT, '' ); @@ -238,7 +238,7 @@ // Slide $form->addElement ( new XoopsFormRadioYN ( _NEWS_AM_CONTENT_SLIDE, 'story_slide', $this->getVar ( 'story_slide', 'e' ) ) ); // Marque - $form->addElement ( new XoopsFormRadioYN ( _NEWS_AM_CONTENT_MARQUE, 'story_marque', $this->getVar ( 'story_marque', 'e' ) ) ); + $form->addElement ( new XoopsFormRadioYN ( _NEWS_AM_CONTENT_MARQUE, 'story_marquee', $this->getVar ( 'story_marquee', 'e' ) ) ); // Submit buttons $button_tray = new XoopsFormElementTray ( '', '' ); $submit_btn = new XoopsFormButton ( '', 'post', _SUBMIT, 'submit' ); @@ -1154,6 +1154,141 @@ $this->deleteAll($criteria); return true; } + + function News_Slide($NewsModule, $story_infos ,$topics) { + $ret = array(); + $access_topic = NewsPermission::News_GetItemIds ( 'news_access', $NewsModule); + if (! (count ( $topics ) == 1 && $topics [0] == 0)) { + $topiclist = array_intersect($access_topic , $topics); + } else { + $topiclist = $access_topic; + } + + $criteria = new CriteriaCompo (); + + $part1 = new CriteriaCompo (); + $part1->add ( new Criteria ( 'story_topic', '(' . implode ( ',', $topiclist ) . ')', 'IN' )); + $criteria->add($part1); + + $part2 = new CriteriaCompo (); + $part2->add ( new Criteria ( 'story_status', '1' )); + $criteria->add($part2); + + $q3 = new CriteriaCompo (); + $q3->add ( new Criteria ( 'story_slide', '1' )); + $criteria->add($q3); + + $part4 = new CriteriaCompo (); + $part4->add ( new Criteria ( 'story_publish', time() , '<=' )); + $part4->add ( new Criteria ( 'story_publish', 0 , '>' )); + $criteria->add($part4); + + $part5 = new CriteriaCompo (); + $part5->add ( new Criteria ( 'story_expire', time() , '>=' )); + $part5->add ( new Criteria ( 'story_expire', 0 ) ,'OR'); + $criteria->add($part5); + + $criteria->setSort ( 'story_publish' ); + $criteria->setOrder ( 'DESC' ); + $criteria->setLimit ( $story_infos ['story_limit'] ); + + $obj = $this->getObjects ( $criteria, false ); + if ($obj) { + foreach ( $obj as $root ) { + $tab = array (); + $tab = $root->toArray (); + + foreach ( array_keys ( $story_infos ['topics'] ) as $i ) { + $list [$i] ['topic_title'] = $story_infos ['topics'] [$i]->getVar ( "topic_title" ); + $list [$i] ['topic_id'] = $story_infos ['topics'] [$i]->getVar ( "topic_id" ); + $list [$i] ['topic_alias'] = $story_infos ['topics'] [$i]->getVar ( "topic_alias" ); + } + if ($root->getVar ( 'story_topic' )) { + $tab ['topic'] = $list [$root->getVar ( 'story_topic' )] ['topic_title']; + $tab ['topic_alias'] = $list [$root->getVar ( 'story_topic' )] ['topic_alias']; + $tab ['topicurl'] = NewsUtils::News_TopicUrl ( $NewsModule->getVar ( 'dirname' ), array('topic_id'=>$list [$root->getVar ( 'story_topic' )] ['topic_id'], 'topic_alias'=>$list [$root->getVar ( 'story_topic' )] ['topic_alias'] )); + } + + $tab ['url'] = NewsUtils::News_Url ( $NewsModule->getVar ( 'dirname' ), $tab ); + $tab ['story_publish'] = formatTimestamp ( $root->getVar ( 'story_publish' ), _MEDIUMDATESTRING ); + $tab ['imageurl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/medium/' . $root->getVar ( 'story_img' ); + $tab ['thumburl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/thumb/' . $root->getVar ( 'story_img' ); + $tab ['story_title'] = mb_substr ( strip_tags($root->getVar ( 'story_title' )), 0, $story_infos['title_lenght'], 'utf-8' ); + + if(!$root->getVar ( 'story_short' )) { + $tab ['story_short'] = mb_substr ( strip_tags($root->getVar ( 'story_text' )), 0, $story_infos['desc_lenght'], 'utf-8' ) . "..."; + } else { + $tab ['story_short'] = mb_substr ( strip_tags($root->getVar ( 'story_short' )), 0, $story_infos['desc_lenght'], 'utf-8' ) . "..."; + } + + $ret [] = $tab; + } + } + return $ret; + } + + function News_Marquee($NewsModule, $story_infos ,$topics) { + $ret = array(); + $access_topic = NewsPermission::News_GetItemIds ( 'news_access', $NewsModule); + if (! (count ( $topics ) == 1 && $topics [0] == 0)) { + $topiclist = array_intersect($access_topic , $topics); + } else { + $topiclist = $access_topic; + } + + $criteria = new CriteriaCompo (); + + $part1 = new CriteriaCompo (); + $part1->add ( new Criteria ( 'story_topic', '(' . implode ( ',', $topiclist ) . ')', 'IN' )); + $criteria->add($part1); + + $part2 = new CriteriaCompo (); + $part2->add ( new Criteria ( 'story_status', '1' )); + $criteria->add($part2); + + $q3 = new CriteriaCompo (); + $q3->add ( new Criteria ( 'story_marquee', '1' )); + $criteria->add($q3); + + $part4 = new CriteriaCompo (); + $part4->add ( new Criteria ( 'story_publish', time() , '<=' )); + $part4->add ( new Criteria ( 'story_publish', 0 , '>' )); + $criteria->add($part4); + + $part5 = new CriteriaCompo (); + $part5->add ( new Criteria ( 'story_expire', time() , '>=' )); + $part5->add ( new Criteria ( 'story_expire', 0 ) ,'OR'); + $criteria->add($part5); + + $criteria->setSort ( 'story_publish' ); + $criteria->setOrder ( 'DESC' ); + $criteria->setLimit ( $story_infos ['story_limit'] ); + + $obj = $this->getObjects ( $criteria, false ); + if ($obj) { + foreach ( $obj as $root ) { + $tab = array (); + $tab = $root->toArray (); + + foreach ( array_keys ( $story_infos ['topics'] ) as $i ) { + $list [$i] ['topic_title'] = $story_infos ['topics'] [$i]->getVar ( "topic_title" ); + $list [$i] ['topic_id'] = $story_infos ['topics'] [$i]->getVar ( "topic_id" ); + $list [$i] ['topic_alias'] = $story_infos ['topics'] [$i]->getVar ( "topic_alias" ); + } + if ($root->getVar ( 'story_topic' )) { + $tab ['topic'] = $list [$root->getVar ( 'story_topic' )] ['topic_title']; + $tab ['topic_alias'] = $list [$root->getVar ( 'story_topic' )] ['topic_alias']; + $tab ['topicurl'] = NewsUtils::News_TopicUrl ( $NewsModule->getVar ( 'dirname' ), array('topic_id'=>$list [$root->getVar ( 'story_topic' )] ['topic_id'], 'topic_alias'=>$list [$root->getVar ( 'story_topic' )] ['topic_alias'] )); + } + + $tab ['url'] = NewsUtils::News_Url ( $NewsModule->getVar ( 'dirname' ), $tab ); + $tab ['story_publish'] = formatTimestamp ( $root->getVar ( 'story_publish' ), _MEDIUMDATESTRING ); + $tab ['story_title'] = mb_substr ( strip_tags($root->getVar ( 'story_title' )), 0, $story_infos['title_lenght'], 'utf-8' ); + $ret [] = $tab; + } + } + return $ret; + } } ?> \ No newline at end of file Added: XoopsModules/fmcontent/branches/news/css/marquee.css =================================================================== --- XoopsModules/fmcontent/branches/news/css/marquee.css (rev 0) +++ XoopsModules/fmcontent/branches/news/css/marquee.css 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,34 @@ +#marquee { + height: 40px; + font-size: 1.1em; + font-weight: bold; + text-align: center; +} + + +ul.marquee { + display: block; + padding: 0; + margin: 0; + list-style: none; + line-height: 1; + position: relative; + overflow: hidden; + height: 25px; +} + +ul.marquee li { + position: absolute; + top: -999em; + display: block; + padding-top: 5px; + white-space: nowrap; + text-align: center !important; +} + +ul.marquee li a { + text-align: center !important; +} + +ul.marquee li a:hover { +} \ No newline at end of file Added: XoopsModules/fmcontent/branches/news/css/scrollable.css =================================================================== --- XoopsModules/fmcontent/branches/news/css/scrollable.css (rev 0) +++ XoopsModules/fmcontent/branches/news/css/scrollable.css 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,108 @@ +.slider { + /* width: 650px; + height: 260px; */ + margin: 0 auto; +} +.slider .navi { + width: 100%; + height: 20px; +} + +.slider .navi a { + width: 8px; + height: 8px; + float: left; + margin: 3px; + background: #525572; + display: block; + font-size: 1px; + text-align: center; + border-radius: 6px; + -moz-border-radius: 10px; + -khtml-border-radius: 6px; +} + +.slider .navi a: hover { + background: #F3F3F3; +} + +.slider .navi a.active { + background: #F3F3F3; +} + +.slider .main { + position: relative; + overflow: hidden; + /* height: 260px; */ +} + +.slider .pages { + position: absolute; +} + +.slider .page { + /* height: 260px; + width: 650px; */ +} + +.slider .scrollable { + position: relative; + overflow: hidden; + /* width: 650px; + height: 230px; */ +} + +.slider .scrollable .items { + width: 20000em; + position: absolute; + clear: both; +} + +.slider .item { + float: right; + cursor: pointer; + /* width: 650px; + height: 230px; */ + padding: 0; +} + +.slider .item .itemleft { + float: left; + width: 49%; +} + +.slider .item .itemright { + float: right; + width: 49%; + padding-top: 20px; + color: #000; +} + +.slider .item h2 { + text-align: center; + padding: 2px; +} + +.slider .item .itemshort { + +} + +.slider .item .itemmore { + margin: 20px 50px 10px 50px; + background-color: #ff0000; + width: 80px; + text-align: center; + float: right; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + +.slider .item .itemmore a { + color: #fff; + font-weight: bold; +} + +.slider .item .itemmore a:hover { + color: #000; +} \ No newline at end of file Added: XoopsModules/fmcontent/branches/news/css/sliderkit-core.css =================================================================== --- XoopsModules/fmcontent/branches/news/css/sliderkit-core.css (rev 0) +++ XoopsModules/fmcontent/branches/news/css/sliderkit-core.css 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,60 @@ +/* + * sliderkit-core.css + * > Core CSS styles + * + * This file is part of Slider Kit jQuery plugin. + * http://www.kyrielles.net/sliderkit/ + * + * Copyright (c) 2010-2011 Alan Frog + * Licensed under the GNU General Public License + * See <license.txt> or <http://www.gnu.org/licenses/> + * + */ + +/* + * PLUGIN BASICS + * ------------------------------------------------ + */ +.sliderkit{display:none;position:relative;overflow:hidden;text-align:left;} +.sliderkit a, +.sliderkit a:hover{text-decoration:none;} +.sliderkit a:focus{outline:1px dotted #000;/*optional*/} +.sliderkit img{border:0;} + +/*--------------------------------- + * Navigation + *---------------------------------*/ +.sliderkit .sliderkit-nav{z-index:10;position:absolute;text-align:center;} + +/* Nav > Clip */ +.sliderkit .sliderkit-nav-clip{position:relative;overflow:hidden;margin:0 auto;} +.sliderkit .sliderkit-nav-clip ul{position:relative;left:0;top:0;list-style:none;margin:0;padding:0;} +.sliderkit .sliderkit-nav-clip ul li{float:left;} +.sliderkit .sliderkit-nav-clip ul li a{display:block;overflow:hidden;} + +/*--------------------------------- + * Buttons + *---------------------------------*/ +.sliderkit .sliderkit-btn{z-index:10;} + +/*--------------------------------- + * Panels + *---------------------------------*/ +.sliderkit .sliderkit-panel{z-index:1;position:absolute;overflow:hidden;} +.sliderkit .sliderkit-panel-active{z-index:5;} +.sliderkit .sliderkit-panel-old{z-index:4;} + +/* Panels > Overlay */ +.sliderkit .sliderkit-panel .sliderkit-panel-textbox{position:absolute;z-index:1;} +.sliderkit .sliderkit-panel .sliderkit-panel-text{position:absolute;z-index:3;top:0;left:0;} +.sliderkit .sliderkit-panel .sliderkit-panel-overlay{position:absolute;z-index:2;top:0;left:0;} + +/*--------------------------------- + * Counter + *---------------------------------*/ +.sliderkit .sliderkit-count{position:absolute;top:5px;right:5px;z-index:10;padding:5px;color:#fff;background:#000;} + +/*--------------------------------- + * Loader + *---------------------------------*/ +.sliderkit .sliderkit-timer{position:absolute;top:0;left:0;z-index:10;height:3px;background:#ccc;} Added: XoopsModules/fmcontent/branches/news/css/sliderkit-demos.css =================================================================== --- XoopsModules/fmcontent/branches/news/css/sliderkit-demos.css (rev 0) +++ XoopsModules/fmcontent/branches/news/css/sliderkit-demos.css 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,38 @@ +/*--------------------------------- + * Photos slider > 1 click + *---------------------------------*/ +.photoslider-1click{width:280px;height:220px;} + +/* Nav */ +.photoslider-1click .sliderkit-nav{position:absolute;bottom:10px;right:10px;} +.photoslider-1click .sliderkit-nav-clip ul li{float:left;margin:0 1px 0 0;} +.photoslider-1click .sliderkit-nav-clip ul li a{display:block;padding:2px 6px;color:#fff;background:#000} +.photoslider-1click .sliderkit-nav-clip ul li.sliderkit-selected a{color:#000;background:#fff;} +.photoslider-1click .sliderkit-nav-clip ul a:hover{color:#fff;background:#00668d;} + + +/*--------------------------------- + * News slider > Vertical + *---------------------------------*/ +.newslider-vertical{width: 600px;height: 380px;} + +/* Nav */ +.newslider-vertical .sliderkit-nav{width:200px; height:380px;} +.newslider-vertical .sliderkit-nav-clip li{height:45px; width:190px;margin-bottom:5px;padding-left:10px;} +.newslider-vertical .sliderkit-nav-clip li.sliderkit-selected a{ background-color: #E6E306 !important; color: #000 !important;} +.newslider-vertical .sliderkit-nav-clip li a {height:40px;width:180px;padding:5px;text-align: right;font-size:1em;color:#fff;text-decoration:none; background-color: #80AC00;} +.newslider-vertical .sliderkit-nav-clip li a:hover, +.newslider-vertical .sliderkit-nav-clip li a:focus{color:#fff;} + +/* Panel */ +.newslider-vertical .sliderkit-panels{ position:absolute; right:200px; width:390px; height:360px; overflow:hidden; border:1px solid #fff;} +.newslider-vertical .sliderkit-panel{ right:0; top:0; width:380px; height:350px; padding:10px; background:#fff;} + +/* News block */ +.newslider-vertical .sliderkit-news h3, +.newslider-vertical .sliderkit-news h3 a{ color:#000; font-weight: bold; text-align: right; } +.newslider-vertical .sliderkit-news h3{font-size:1em;} +.newslider-vertical .sliderkit-news img{width:380px; height: 250px; margin:0 5px; overflow:hidden;} +.newslider-vertical .sliderkit-news p{margin:0; text-align: right;} +.newslider-vertical .sliderkit-news-readmore{} + Modified: XoopsModules/fmcontent/branches/news/include/functions_update.php =================================================================== --- XoopsModules/fmcontent/branches/news/include/functions_update.php 2012-03-03 20:16:34 UTC (rev 9088) +++ XoopsModules/fmcontent/branches/news/include/functions_update.php 2012-03-04 05:01:59 UTC (rev 9089) @@ -37,9 +37,9 @@ NewsUtils::News_AddField('`story_slide` TINYINT( 1 ) NOT NULL AFTER `story_status`' ,$db->prefix('news_story')); } - if(!NewsUtils::News_FieldExists('story_marque' ,$db->prefix('news_story'))) + if(!NewsUtils::News_FieldExists('story_marquee' ,$db->prefix('news_story'))) { - NewsUtils::News_AddField('`story_marque` TINYINT( 1 ) NOT NULL AFTER `story_slide`' ,$db->prefix('news_story')); + NewsUtils::News_AddField('`story_marquee` TINYINT( 1 ) NOT NULL AFTER `story_slide`' ,$db->prefix('news_story')); } } @@ -139,7 +139,7 @@ `story_default` tinyint(1) NOT NULL, `story_status` tinyint(1) NOT NULL, `story_slide` tinyint(1) NOT NULL, - `story_marque` tinyint(1) NOT NULL, + `story_marquee` tinyint(1) NOT NULL, `story_create` int (10) NOT NULL default '0', `story_update` int (10) NOT NULL default '0', `story_publish` int (10) NOT NULL default '0', Added: XoopsModules/fmcontent/branches/news/js/marquee/index.html =================================================================== --- XoopsModules/fmcontent/branches/news/js/marquee/index.html (rev 0) +++ XoopsModules/fmcontent/branches/news/js/marquee/index.html 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/fmcontent/branches/news/js/marquee/marquee.js =================================================================== --- XoopsModules/fmcontent/branches/news/js/marquee/marquee.js (rev 0) +++ XoopsModules/fmcontent/branches/news/js/marquee/marquee.js 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,262 @@ +/*! + * Marquee jQuery Plug-in + * + * Copyright 2009 Giva, Inc. (http://www.givainc.com/labs/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Date: 2009-05-20 + * Rev: 1.0.01 + */ +;(function($){ + // set the version of the link select + $.marquee = {version: "1.0.01"}; + + $.fn.marquee = function(options) { + var method = typeof arguments[0] == "string" && arguments[0]; + var args = method && Array.prototype.slice.call(arguments, 1) || arguments; + // get a reference to the first marquee found + var self = (this.length == 0) ? null : $.data(this[0], "marquee"); + + // if a method is supplied, execute it for non-empty results + if( self && method && this.length ){ + + // if request a copy of the object, return it + if( method.toLowerCase() == "object" ) return self; + // if method is defined, run it and return either it's results or the chain + else if( self[method] ){ + // define a result variable to return to the jQuery chain + var result; + this.each(function (i){ + // apply the method to the current element + var r = $.data(this, "marquee")[method].apply(self, args); + // if first iteration we need to check if we're done processing or need to add it to the jquery chain + if( i == 0 && r ){ + // if this is a jQuery item, we need to store them in a collection + if( !!r.jquery ){ + result = $([]).add(r); + // otherwise, just store the result and stop executing + } else { + result = r; + // since we're a non-jQuery item, just cancel processing further items + return false; + } + // keep adding jQuery objects to the results + } else if( !!r && !!r.jquery ){ + result = result.add(r); + } + }); + + // return either the results (which could be a jQuery object) or the original chain + return result || this; + // everything else, return the chain + } else return this; + // initializing request + } else { + // create a new marquee for each object found + return this.each(function (){ + new $.Marquee(this, options); + }); + }; + }; + + $.Marquee = function (marquee, options){ + options = $.extend({}, $.Marquee.defaults, options); + + var self = this, $marquee = $(marquee), $lis = $marquee.find("> li"), current = -1, hard_paused = false, paused = false, loop_count = 0; + + // store a reference to this marquee + $.data($marquee[0], "marquee", self); + + // pause the marquee + this.pause = function (){ + // mark as hard pause (no resume on hover) + hard_paused = true; + // pause scrolling + pause(); + } + + // resume the marquee + this.resume = function (){ + // mark as hard pause (no resume on hover) + hard_paused = false; + // resume scrolling + resume(); + } + + // update the marquee + this.update = function (){ + var iCurrentCount = $lis.length; + + // update the line items + $lis = $marquee.find("> li"); + + // if we only have one item, show the next item by resuming playback (which will scroll to the next item) + if( iCurrentCount <= 1 ) resume(); + } + + // code to introduce the new marquee message + function show(i){ + // if we're already scrolling an item, stop processing + if( $lis.filter("." + options.cssShowing).length > 0 ) return false; + + var $li = $lis.eq(i); + + // run the beforeshow callback + if( $.isFunction(options.beforeshow) ) options.beforeshow.apply(self, [$marquee, $li]); + + var params = { + top: (options.yScroll == "top" ? "-" : "+") + $li.outerHeight() + "px" + , left: 0 + }; + + $marquee.data("marquee.showing", true); + $li.addClass(options.cssShowing); + + $li.css(params).animate({top: "0px"}, options.showSpeed, options.fxEasingShow, function (){ + // run the show callback + if( $.isFunction(options.show) ) options.show.apply(self, [$marquee, $li]); + $marquee.data("marquee.showing", false); + scroll($li); + }); + } + + // keep the message on the screen for the user to read, scrolling long messages + function scroll($li, delay){ + // if paused, stop processing + if( paused == true ) return false; + + // get the delay speed + delay = delay || options.pauseSpeed; + // if item is wider than marquee, then scroll + if( doScroll($li) ){ + setTimeout(function (){ + // if paused, stop processing (we need to check to see if the pause state has changed) + if( paused == true ) return false; + + var width = $li.outerWidth(), endPos = width * -1, curPos = parseInt($li.css("left"), 10); + + // scroll the message to the left + $li.animate({left: endPos + "px"}, ((width + curPos) * options.scrollSpeed), options.fxEasingScroll, function (){ finish($li); }); + }, delay); + } else if ( $lis.length > 1 ){ + setTimeout(function (){ + // if paused, stop processing (we need to check to see if the pause state has changed) + if( paused == true ) return false; + + // scroll the message down + $li.animate({top: (options.yScroll == "top" ? "+" : "-") + $marquee.innerHeight() + "px"}, options.showSpeed, options.fxEasingScroll); + // finish showing this message + finish($li); + }, delay); + } + + } + + function finish($li){ + // run the aftershow callback, only after we've displayed the first option + if( $.isFunction(options.aftershow) ) options.aftershow.apply(self, [$marquee, $li]); + + // mark that we're done scrolling this element + $li.removeClass(options.cssShowing); + + // show the next message + showNext(); + } + + // this function will pause the current animation + function pause(){ + // mark the message as paused + paused = true; + // don't stop animation if we're just beginning to show the marquee message + if( $marquee.data("marquee.showing") != true ){ + // we must dequeue() the animation to ensure that it does indeed stop animation + $lis.filter("." + options.cssShowing).dequeue().stop(); + } + } + + // this function will resume the previous animation + function resume(){ + // mark the message as resumed + paused = false; + // don't resume animation if we haven't completed introducing the message + if( $marquee.data("marquee.showing") != true ) scroll($lis.filter("." + options.cssShowing), 1); + } + + // determine if we should pause on hover + if( options.pauseOnHover ){ + $marquee.hover( + function (){ + // if hard paused, prevent hover events + if( hard_paused ) return false; + // pause scrolling + pause(); + } + , function (){ + // if hard paused, prevent hover events + if( hard_paused ) return false; + // resume scrolling + resume(); + } + ); + } + + // determines if the message needs to be scrolled to read + function doScroll($li){ + return ($li.outerWidth() > $marquee.innerWidth()); + } + + // show the next message in the queue + function showNext(){ + // increase the current counter (starts at -1, to indicate a new marquee beginning) + current++; + + // if we only have 1 entry and it doesn't need to scroll, just cancel processing + if( current >= $lis.length ){ + // if we've reached our loop count, cancel processing + if( !isNaN(options.loop) && options.loop > 0 && (++loop_count >= options.loop ) ) return false; + current = 0; + } + + // show the next message + show(current); + } + + // run the init callback + if( $.isFunction(options.init) ) options.init.apply(self, [$marquee, options]); + + // show the first item + showNext(); + }; + + $.Marquee.defaults = { + yScroll: "top" // the position of the marquee initially scroll (can be either "top" or "bottom") + , showSpeed: 850 // the speed of to animate the initial dropdown of the messages + , scrollSpeed: 12 // the speed of the scrolling (keep number low) + , pauseSpeed: 5000 // the time to wait before showing the next message or scrolling current message + , pauseOnHover: true // determine if we should pause on mouse hover + , loop: -1 // determine how many times to loop through the marquees (#'s < 0 = infinite) + , fxEasingShow: "swing" // the animition easing to use when showing a new marquee + , fxEasingScroll: "linear" // the animition easing to use when showing a new marquee + + // define the class statements + , cssShowing: "marquee-showing" + + // event handlers + , init: null // callback that occurs when a marquee is initialized + , beforeshow: null // callback that occurs before message starts scrolling on screen + , show: null // callback that occurs when a new marquee message is displayed + , aftershow: null // callback that occurs after the message has scrolled + }; + +})(jQuery); Added: XoopsModules/fmcontent/branches/news/js/marquee/setting.js =================================================================== --- XoopsModules/fmcontent/branches/news/js/marquee/setting.js (rev 0) +++ XoopsModules/fmcontent/branches/news/js/marquee/setting.js 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,3 @@ +$(document).ready(function (){ + $("#marquee2").marquee({yScroll: "bottom"}); +}); \ No newline at end of file Added: XoopsModules/fmcontent/branches/news/js/scrollable/index.html =================================================================== --- XoopsModules/fmcontent/branches/news/js/scrollable/index.html (rev 0) +++ XoopsModules/fmcontent/branches/news/js/scrollable/index.html 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1 @@ +<script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/fmcontent/branches/news/js/scrollable/scrollable.js =================================================================== --- XoopsModules/fmcontent/branches/news/js/scrollable/scrollable.js (rev 0) +++ XoopsModules/fmcontent/branches/news/js/scrollable/scrollable.js 2012-03-04 05:01:59 UTC (rev 9089) @@ -0,0 +1,54 @@ +/* + * jQuery Tools 1.2.3 - The missing UI library for the Web + * + * [tabs, tabs.slideshow, tooltip, tooltip.slide, tooltip.dynamic, scrollable, scrollable.autoscroll, scrollable.navigator, overlay, overlay.apple] + * + * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE. + * + * http://flowplayer.org/tools/ + * + * File generated: Tue Jul 27 12:02:30 GMT 2010 + */ +(function(c){function p(e,b,a){var d=this,l=e.add(this),h=e.find(a.tabs),i=b.jquery?b:e.children(b),j;h.length||(h=e.children());i.length||(i=e.parent().find(b));i.length||(i=c(b));c.extend(this,{click:function(f,g){var k=h.eq(f);if(typeof f=="string"&&f.replace("#","")){k=h.filter("[href*="+f.replace("#","")+"]");f=Math.max(h.index(k),0)}if(a.rotate){var n=h.length-1;if(f<0)return d.click(n,g);if(f>n)return d.click(0,g)}if(!k.length){if(j>=0)return d;f=a.initialIndex;k=h.eq(f)}if(f===j)return d; +g=g||c.Event();g.type="onBeforeClick";l.trigger(g,[f]);if(!g.isDefaultPrevented()){o[a.effect].call(d,f,function(){g.type="onClick";l.trigger(g,[f])});j=f;h.removeClass(a.current);k.addClass(a.current);return d}},getConf:function(){return a},getTabs:function(){return h},getPanes:function(){return i},getCurrentPane:function(){return i.eq(j)},getCurrentTab:function(){return h.eq(j)},getIndex:function(){return j},next:function(){return d.click(j+1)},prev:function(){return d.click(j-1)},destroy:function(){h.unbind(a.event).removeClass(a.current); +i.find("a[href^=#]").unbind("click.T");return d}});c.each("onBeforeClick,onClick".split(","),function(f,g){c.isFunction(a[g])&&c(d).bind(g,a[g]);d[g]=function(k){c(d).bind(g,k);return d}});if(a.history&&c.fn.history){c.tools.history.init(h);a.event="history"}h.each(function(f){c(this).bind(a.event,function(g){d.click(f,g);return g.preventDefault()})});i.find("a[href^=#]").bind("click.T",function(f){d.click(c(this).attr("href"),f)});if(location.hash)d.click(location.hash);else if(a.initialIndex=== +0||a.initialIndex>0)d.click(a.initialIndex)}c.tools=c.tools||{version:"1.2.3"};c.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:false,history:false},addEffect:function(e,b){o[e]=b}};var o={"default":function(e,b){this.getPanes().hide().eq(e).show();b.call()},fade:function(e,b){var a=this.getConf(),d=a.fadeOutSpeed,l=this.getPanes();d?l.fadeOut(d):l.hide();l.eq(e).fadeIn(a.fadeInSpeed,b)},slide:function(e,b){this.getPanes().slideUp(200); +this.getPanes().eq(e).slideDown(400,b)},ajax:function(e,b){this.getPanes().eq(0).load(this.getTabs().eq(e).attr("href"),b)}},m;c.tools.tabs.addEffect("horizontal",function(e,b){m||(m=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){c(this).hide()});this.getPanes().eq(e).animate({width:m},function(){c(this).show();b.call()})});c.fn.tabs=function(e,b){var a=this.data("tabs");if(a){a.destroy();this.removeData("tabs")}if(c.isFunction(b))b={onBeforeClick:b};b=c.extend({}, +c.tools.tabs.conf,b);this.each(function(){a=new p(c(this),e,b);c(this).data("tabs",a)});return b.api?a:this}})(jQuery); +(function(d){function r(g,a){function p(f){var e=d(f);return e.length<2?e:g.parent().find(f)}var c=this,j=g.add(this),b=g.data("tabs"),h,l,m,n=false,o=p(a.next).click(function(){b.next()}),k=p(a.prev).click(function(){b.prev()});d.extend(c,{getTabs:function(){return b},getConf:function(){return a},play:function(){if(!h){var f=d.Event("onBeforePlay");j.trigger(f);if(f.isDefaultPrevented())return c;n=false;h=setInterval(b.next,a.interval);j.trigger("onPlay");b.next()}},pause:function(){if(!h)return c; +var f=d.Event("onBeforePause");j.trigger(f);if(f.isDefaultPrevented())return c;h=clearInterval(h);m=clearInterval(m);j.trigger("onPause")},stop:function(){c.pause();n=true}});d.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(f,e){d.isFunction(a[e])&&c.bind(e,a[e]);c[e]=function(s){return c.bind(e,s)}});if(a.autopause){var t=b.getTabs().add(o).add(k).add(b.getPanes());t.hover(function(){c.pause();l=clearInterval(l)},function(){n||(l=setTimeout(c.play,a.interval))})}if(a.autoplay)m= +setTimeout(c.play,a.interval);else c.stop();a.clickable&&b.getPanes().click(function(){b.next()});if(!b.getConf().rotate){var i=a.disabledClass;b.getIndex()||k.addClass(i);b.onBeforeClick(function(f,e){if(e){k.removeClass(i);e==b.getTabs().length-1?o.addClass(i):o.removeClass(i)}else k.addClass(i)})}}var q;q=d.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3E3,clickable:true,api:false}};d.fn.slideshow=function(g){var a= +this.data("slideshow");if(a)return a;g=d.extend({},q.conf,g);this.each(function(){a=new r(d(this),g);d(this).data("slideshow",a)});return g.api?a:this}})(jQuery); +(function(f){function p(a,b,c){var h=c.relative?a.position().top:a.offset().top,e=c.relative?a.position().left:a.offset().left,i=c.position[0];h-=b.outerHeight()-c.offset[0];e+=a.outerWidth()+c.offset[1];var j=b.outerHeight()+a.outerHeight();if(i=="center")h+=j/2;if(i=="bottom")h+=j;i=c.position[1];a=b.outerWidth()+a.outerWidth();if(i=="center")e-=a/2;if(i=="left")e-=a;return{top:h,left:e}}function t(a,b){var c=this,h=a.add(c),e,i=0,j=0,m=a.attr("title"),q=n[b.effect],k,r=a.is(":input"),u=r&&a.is(":checkbox, :radio, select, :button, :submit"), +s=a.attr("type"),l=b.events[s]||b.events[r?u?"widget":"input":"def"];if(!q)throw'Nonexistent effect "'+b.effect+'"';l=l.split(/,\s*/);if(l.length!=2)throw"Tooltip: bad events configuration for "+s;a.bind(l[0],function(d){clearTimeout(i);if(b.predelay)j=setTimeout(function(){c.show(d)},b.predelay);else c.show(d)}).bind(l[1],function(d){clearTimeout(j);if(b.delay)i=setTimeout(function(){c.hide(d)},b.delay);else c.hide(d)});if(m&&b.cancelDefault){a.removeAttr("title");a.data("title",m)}f.extend(c,{show:function(d){if(!e){if(m)e= +f(b.layout).addClass(b.tipClass).appendTo(document.body).hide().append(m);else if(b.tip)e=f(b.tip).eq(0);else{e=a.next();e.length||(e=a.parent().next())}if(!e.length)throw"Cannot find tooltip for "+a;}if(c.isShown())return c;e.stop(true,true);var g=p(a,e,b);d=d||f.Event();d.type="onBeforeShow";h.trigger(d,[g]);if(d.isDefaultPrevented())return c;g=p(a,e,b);e.css({position:"absolute",top:g.top,left:g.left});k=true;q[0].call(c,function(){d.type="onShow";k="full";h.trigger(d)});g=b.events.tooltip.split(/,\s*/); +e.bind(g[0],function(){clearTimeout(i);clearTimeout(j)});g[1]&&!a.is("input:not(:checkbox, :radio), textarea")&&e.bind(g[1],function(o){o.relatedTarget!=a[0]&&a.trigger(l[1].split(" ")[0])});return c},hide:function(d){if(!e||!c.isShown())return c;d=d||f.Event();d.type="onBeforeHide";h.trigger(d);if(!d.isDefaultPrevented()){k=false;n[b.effect][1].call(c,function(){d.type="onHide";k=false;h.trigger(d)});return c}},isShown:function(d){return d?k=="full":k},getConf:function(){return b},getTip:function(){return e}, +getTrigger:function(){return a}});f.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(d,g){f.isFunction(b[g])&&f(c).bind(g,b[g]);c[g]=function(o){f(c).bind(g,o);return c}})}f.tools=f.tools||{version:"1.2.3"};f.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,position:["top","center"],offset:[0,0],relative:false,cancelDefault:true,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"}, +layout:"<div/>",tipClass:"tooltip"},addEffect:function(a,b,c){n[a]=[b,c]}};var n={toggle:[function(a){var b=this.getConf(),c=this.getTip();b=b.opacity;b<1&&c.css({opacity:b});c.show();a.call()},function(a){this.getTip().hide();a.call()}],fade:[function(a){var b=this.getConf();this.getTip().fadeTo(b.fadeInSpeed,b.opacity,a)},function(a){this.getTip().fadeOut(this.getConf().fadeOutSpeed,a)}]};f.fn.tooltip=function(a){var b=this.data("tooltip");if(b)return b;a=f.extend(true,{},f.tools.tooltip.conf,a); +if(typeof a.position=="string")a.position=a.position.split(/,?\s/);this.each(function(){b=new t(f(this),a);f(this).data("tooltip",b)});return a.api?b:this}})(jQuery); +(function(d){var i=d.tools.tooltip;d.extend(i.conf,{direction:"up",bounce:false,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!d.browser.msie});var e={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};i.addEffect("slide",function(g){var a=this.getConf(),f=this.getTip(),b=a.slideFade?{opacity:a.opacity}:{},c=e[a.direction]||e.up;b[c[1]]=c[0]+"="+a.slideOffset;a.slideFade&&f.css({opacity:0});f.show().animate(b,a.slideInSpeed,g)},function(g){var a=this.getConf(),f=a.slideOffset, +b=a.slideFade?{opacity:0}:{},c=e[a.direction]||e.up,h=""+c[0];if(a.bounce)h=h=="+"?"-":"+";b[c[1]]=h+"="+f;this.getTip().animate(b,a.slideOutSpeed,function(){d(this).hide();g.call()})})})(jQuery); +(function(g){function j(a){var c=g(window),d=c.width()+c.scrollLeft(),h=c.height()+c.scrollTop();return[a.offset().top<=c.scrollTop(),d<=a.offset().left+a.width(),h<=a.offset().top+a.height(),c.scrollLeft()>=a.offset().left]}function k(a){for(var c=a.length;c--;)if(a[c])return false;return true}var i=g.tools.tooltip;i.dynamic={conf:{classNames:"top right bottom left"}};g.fn.dynamic=function(a){if(typeof a=="number")a={speed:a};a=g.extend({},i.dynamic.conf,a);var c=a.classNames.split(/\s/),d;this.each(function(){var h= +g(this).tooltip().onBeforeShow(function(e,f){e=this.getTip();var b=this.getConf();d||(d=[b.position[0],b.position[1],b.offset[0],b.offset[1],g.extend({},b)]);g.extend(b,d[4]);b.position=[d[0],d[1]];b.offset=[d[2],d[3]];e.css({visibility:"hidden",position:"absolute",top:f.top,left:f.left}).show();f=j(e);if(!k(f)){if(f[2]){g.extend(b,a.top);b.position[0]="top";e.addClass(c[0])}if(f[3]){g.extend(b,a.right);b.position[1]="right";e.addClass(c[1])}if(f[0]){g.extend(b,a.bottom);b.position[0]="bottom";e.addClass(c[2])}if(f[1]){g.extend(b, +a.left);b.position[1]="left";e.addClass(c[3])}if(f[0]||f[2])b.offset[0]*=-1;if(f[1]||f[3])b.offset[1]*=-1}e.css({visibility:"visible"}).hide()});h.onBeforeShow(function(){var e=this.getConf();this.getTip();setTimeout(function(){e.position=[d[0],d[1]];e.offset=[d[2],d[3]]},0)});h.onHide(function(){var e=this.getTip();e.removeClass(a.classNames)});ret=h});return a.api?ret:this}})(jQuery); +(function(e){function n(f,c){var a=e(c);return a.length<2?a:f.parent().find(c)}function t(f,c){var a=this,l=f.add(a),g=f.children(),k=0,m=c.vertical;j||(j=a);if(g.length>1)g=e(c.items,f);e.extend(a,{getConf:function(){return c},getIndex:function(){return k},getSize:function(){return a.getItems().size()},getNaviButtons:function(){return o.add(p)},getRoot:function(){return f},getItemWrap:function(){return g},getItems:function(){return g.children(c.item).not("."+c.clonedClass)},move:function(b,d){return a.seekTo(k+ +b,d)},next:function(b){return a.move(1,b)},prev:function(b){return a.move(-1,b)},begin:function(b){return a.seekTo(0,b)},end:function(b){return a.seekTo(a.getSize()-1,b)},focus:function(){return j=a},addItem:function(b){b=e(b);if(c.circular){e(".cloned:last").before(b);e(".cloned:first").replaceWith(b.clone().addClass(c.clonedClass))}else g.append(b);l.trigger("onAddItem",[b]);return a},seekTo:function(b,d,h){if(c.circular&&b===0&&k==-1&&d!==0)return a;if(!c.circular&&b<0||b>a.getSize()||b<-1)return a; +var i=b;if(b.jquery)b=a.getItems().index(b);else i=a.getItems().eq(b);var q=e.Event("onBeforeSeek");if(!h){l.trigger(q,[b,d]);if(q.isDefaultPrevented()||!i.length)return a}i=m?{top:-i.position().top}:{left:-i.position().left};k=b;j=a;if(d===undefined)d=c.speed;g.animate(i,d,c.easing,h||function(){l.trigger("onSeek",[b])});return a}});e.each(["onBeforeSeek","onSeek","onAddItem"],function(b,d){e.isFunction(c[d])&&e(a).bind(d,c[d]);a[d]=function(h){e(a).bind(d,h);return a}});if(c.circular){var r=a.getItems().slice(-1).clone().prependTo(g), +s=a.getItems().eq(1).clone().appendTo(g);r.add(s).addClass(c.clonedClass);a.onBeforeSeek(function(b,d,h){if(!b.isDefaultPrevented())if(d==-1){a.seekTo(r,h,function(){a.end(0)});return b.preventDefault()}else d==a.getSize()&&a.seekTo(s,h,function(){a.begin(0)})});a.seekTo(0,0)}var o=n(f,c.prev).click(function(){a.prev()}),p=n(f,c.next).click(function(){a.next()});!c.circular&&a.getSize()>1&&a.onBeforeSeek(function(b,d){setTimeout(function(){if(!b.isDefaultPrevented()){o.toggleClass(c.disabledClass, +d<=0);p.toggleClass(c.disabledClass,d>=a.getSize()-1)}},1)});c.mousewheel&&e.fn.mousewheel&&f.mousewheel(function(b,d){if(c.mousewheel){a.move(d<0?1:-1,c.wheelSpeed||50);return false}});c.keyboard&&e(document).bind("keydown.scrollable",function(b){if(!(!c.keyboard||b.altKey||b.ctrlKey||e(b.target).is(":input")))if(!(c.keyboard!="static"&&j!=a)){var d=b.keyCode;if(m&&(d==38||d==40)){a.move(d==38?-1:1);return b.preventDefault()}if(!m&&(d==37||d==39)){a.move(d==37?-1:1);return b.preventDefault()}}}); +e(a).trigger("onBeforeSeek",[c.initialIndex])}e.tools=e.tools||{version:"1.2.3"};e.tools.scrollable={conf:{activeClass:"active",circular:false,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:true,mousewheel:false,next:".next",prev:".prev",speed:400,vertical:false,wheelSpeed:0}};var j;e.fn.scrollable=function(f){var c=this.data("scrollable");if(c)return c;f=e.extend({},e.tools.scrollable.conf,f);this.each(function(){c=new t(e(this),f);e(this).data("scrollable", +c)});return f.api?c:this}})(jQuery); +(function(c){var g=c.tools.scrollable;g.autoscroll={conf:{autoplay:true,interval:3E3,autopause:true}};c.fn.autoscroll=function(d){if(typeof d=="number")d={interval:d};var b=c.extend({},g.autoscroll.conf,d),h;this.each(function(){var a=c(this).data("scrollable");if(a)h=a;var e,i,f=true;a.play=function(){if(!e){f=false;e=setInterval(function(){a.next()},b.interval);a.next()}};a.pause=function(){e=clearInterval(e)};a.stop=function(){a.pause();f=true};b.autopause&&a.getRoot().add(a.getNaviButtons()).hover(function(){a.pause(); +clearInterval(i)},function(){f||(i=setTimeout(a.play,b.interval))});b.autoplay&&setTimeout(a.play,b.interval)});return b.api?h:this}})(jQuery); +(function(d){function p(c,g){var h=d(g);return h.length<2?h:c.parent().find(g)}var m=d.tools.scrollable;m.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,idPrefix:null,history:false}};d.fn.navigator=function(c){if(typeof c=="string")c={navi:c};c=d.extend({},m.navigator.conf,c);var g;this.each(function(){function h(a,b,i){e.seekTo(b);if(j){if(location.hash)location.hash=a.attr("href").replace("#","")}else return i.preventDefault()}function f(){return k.find(c.naviItem|| +"> *")}function n(a){var b=d("<"+(c.naviItem||"a")+"/>").click(function(i){h(d(this),a,i)}).attr("href","#"+a);a===0&&b.addClass(l);c.indexed&&b.text(a+1);c.idPrefix&&b.attr("id",c.idPrefix+a);return b.appendTo(k)}function o(a,b){a=f().eq(b.replace("#",""));a.length||(a=f().filter("[href="+b+"]"));a.click()}var e=d(this).data("scrollable"),k=p(e.getRoot(),c.navi),q=e.getNaviButtons(),l=c.activeClass,j=c.history&&d.fn.history;if(e)g=e;e.getNaviButtons=function(){return q.add(k)};f().length?f().each(function(a){d(this).click(function(b){h(d(this), +a,b)})}):d.each(e.getItems(),function(a){n(a)});e.onBeforeSeek(function(a,b){setTimeout(function(){if(!a.isDefaultPrevented()){var i=f().eq(b);!a.isDefaultPrevented()&&i.length&&f().removeClass(l).eq(b).addClass(l)}},1)});e.onAddItem(function(a,b){b=n(e.getItems().index(b));j&&b.history(o)});j&&f().history(o)});return c.api?g:this}})(jQuery); +(function(a){function t(d,b){var c=this,i=d.add(c),o=a(window),k,f,m,g=a.tools.expose&&(b.mask||b.expose),n=Math.random().toString().slice(10);if(g){if(typeof g=="string")g={color:g};g.closeOnClick=g.closeOnEsc=false}var p=b.target||d.attr("rel");f=p?a(p):d;if(!f.length)throw"Could not find Overlay: "+p;d&&d.index(f)==-1&&d.click(function(e){c.load(e);return e.preventDefault()});a.extend(c,{load:function(e){if(c.isOpened())return c;var h=q[b.effect];if(!h)throw'Overlay: cannot find effect : "'+b.effect+ +'"';b.oneInstance&&a.each(s,function(){this.close(e)});e=e||a.Event();e.type="onBeforeLoad";i.trigger(e);if(e.isDefaultPrevented())return c;m=true;g&&a(f).expose(g);var j=b.top,r=b.left,u=f.outerWidth({margin:true}),v=f.outerHeight({margin:true});if(typeof j=="string")j=j=="center"?Math.max((o.height()-v)/2,0):parseInt(j,10)/100*o.height();if(r=="center")r=Math.max((o.width()-u)/2,0);h[0].call(c,{top:j,left:r},function(){if(m){e.type="onLoad";i.trigger(e)}});g&&b.closeOnClick&&a.mask.getMask().one("click", +c.close);b.closeOnClick&&a(document).bind("click."+n,function(l){a(l.target).parents(f).length||c.close(l)});b.closeOnEsc&&a(document).bind("keydown."+n,function(l){l.keyCode==27&&c.close(l)});return c},close:function(e){if(!c.isOpened())return c;e=e||a.Event();e.type="onBeforeClose";i.trigger(e);if(!e.isDefaultPrevented()){m=false;q[b.effect][1].call(c,function(){e.type="onClose";i.trigger(e)});a(document).unbind("click."+n).unbind("keydown."+n);g&&a.mask.close();return c}},getOverlay:function(){return f}, +getTrigger:function(){return d},getClosers:function(){return k},isOpened:function(){return m},getConf:function(){return b}});a.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(e,h){a.isFunction(b[h])&&a(c).bind(h,b[h]);c[h]=function(j){a(c).bind(h,j);return c}});k=f.find(b.close||".close");if(!k.length&&!b.close){k=a('<a class="close"></a>');f.prepend(k)}k.click(function(e){c.close(e)});b.load&&c.load()}a.tools=a.tools||{version:"1.2.3"};a.tools.overlay={addEffect:function(d, +b,c){q[d]=[b,c]},conf:{close:null,closeOnClick:true,closeOnEsc:true,closeSpeed:"fast",effect:"default",fixed:!a.browser.msie||a.browser.version>6,left:"center",load:false,mask:null,oneInstance:true,speed:"normal",target:null,top:"10%"}};var s=[],q={};a.tools.overlay.addEffect("default",function(d,b){var c=this.getConf(),i=a(window);if(!c.fixed){d.top+=i.scrollTop();d.left+=i.scrollLeft()}d.position=c.fixed?"fixed":"absolute";this.getOverlay().css(d).fadeIn(c.speed,b)},function(d){this.getOverlay().fadeOut(this.getConf().closeSpeed, +d)});a.fn.overlay=function(d){var b=this.data("overlay");if(b)return b;if(a.isFunction(d))d={onBeforeLoad:d};d=a.extend(true,{},a.tools.overlay.conf,d);this.each(function(){b=new t(a(this),d);s.push(b);a(this).data("overlay",b)});return d.api?b:this}})(jQuery); +(function(i){function j(b){var d=b.offset();return{top:d.top+b.height()/2,left:d.left+b.width()/2}}var k=i.tools.overlay,f=i(window);i.extend(k.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999});function n(b,d){var a=this.getOverlay(),c=this.getConf(),g=this.getTrigger(),o=this,l=a.outerWidth({margin:true}),h=a.data("img");if(!h){var e=a.css("backgroundImage");if(!e)throw"background-image CSS prop... [truncated message content] |
From: <wis...@us...> - 2012-03-03 20:16:48
|
Revision: 9088 http://xoops.svn.sourceforge.net/xoops/?rev=9088&view=rev Author: wishcraft Date: 2012-03-03 20:16:34 +0000 (Sat, 03 Mar 2012) Log Message: ----------- X-Forum 5.84 - Multifielded Forum with Extras, Multisite & Multilingual - Fixed Multisite (When Not), SEO Fixed Added Paths: ----------- XoopsModules/xforum/releases/5.84/ XoopsModules/xforum/releases/5.84/docs/ XoopsModules/xforum/releases/5.84/docs/.htaccess XoopsModules/xforum/releases/5.84/docs/gpl.txt XoopsModules/xforum/releases/5.84/docs/licence.txt XoopsModules/xforum/releases/5.84/extra/ XoopsModules/xforum/releases/5.84/extra/CBB/ XoopsModules/xforum/releases/5.84/extra/CBB/htdocs/ XoopsModules/xforum/releases/5.84/extra/CBB/htdocs/migratetoxforum.php XoopsModules/xforum/releases/5.84/extra/D3forum/ XoopsModules/xforum/releases/5.84/extra/D3forum/htdocs/ XoopsModules/xforum/releases/5.84/extra/D3forum/htdocs/migratetoxforum.php XoopsModules/xforum/releases/5.84/extra/Newbb/ XoopsModules/xforum/releases/5.84/extra/Newbb/htdocs/ XoopsModules/xforum/releases/5.84/extra/Newbb/htdocs/migratetoxforum.php XoopsModules/xforum/releases/5.84/htdocs/ XoopsModules/xforum/releases/5.84/htdocs/Frameworks/ XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/ XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.block.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.category.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.digest.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.field.permissions.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.fields.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.forum.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.permissions.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.prune.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.reorder.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.report.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.sync.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/16/xforum.vote.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.block.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.category.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.digest.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.field.permissions.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.fields.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.forum.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.permissions.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.prune.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.reorder.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.report.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.sync.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/moduleclasses/icons/32/xforum.vote.png XoopsModules/xforum/releases/5.84/htdocs/Frameworks/tcpdf/ XoopsModules/xforum/releases/5.84/htdocs/modules/ XoopsModules/xforum/releases/5.84/htdocs/modules/tag/ XoopsModules/xforum/releases/5.84/htdocs/modules/tag/plugin/ XoopsModules/xforum/releases/5.84/htdocs/modules/tag/plugin/xforum.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/action.post.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/action.topic.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/action.transfer.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/about.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_about.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_blocks.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_cat_manager.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_dashboard.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_digest.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_field.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_field_permissions.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_field_visibility.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_forum_manager.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_forum_prune.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_forum_reorder.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_header.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_permissions.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_post.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_report.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/admin_votedata.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/field.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/field_permissions.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/field_visibility.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/admin/menu.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/archive.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/blocks/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/blocks/forum_block.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/blocks/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/category.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/digest.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/extras.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/field.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/forum.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/karma.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/moderate.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/online.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/permission.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/post.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/posts.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/rate.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/read.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/readforum.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/readtopic.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/report.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/text.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/topic.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/blog/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/blog/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/blog/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/blog/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/blog/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/blog/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/bookmark/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/bookmark/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/bookmark/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/bookmark/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/bookmark/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/bookmark/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/dokuwiki/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/dokuwiki/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/dokuwiki/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/dokuwiki/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/dokuwiki/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/dokuwiki/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/email/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/email/action.email.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/email/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/email/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/email/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/email/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/email/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pdf/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pdf/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pdf/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pdf/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pdf/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pdf/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pm/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pm/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pm/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pm/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pm/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/pm/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/print/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/print/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/print/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/print/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/print/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/print/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/wordpress/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/wordpress/config.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/wordpress/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/wordpress/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/wordpress/language/english.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer/wordpress/language/schinese.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/transfer.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/uploader.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/user.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/visibility.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/xforumtree.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/xlanguage_ext.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/xmlrss.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/class/xoopsformloader.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/delete.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/digest.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/dl_attachment.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/changelog.txt XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/credits.txt XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/install.txt XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/lang_diff.txt XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/licence.txt XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/docs/readme.txt XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/edit.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/graphs/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/header.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/Thumbs.db XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/add-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/aim-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/aim-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/approve-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/approve-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/arrow-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/arrow-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/bg.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/bg.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/blank.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-blc.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-bottom.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-brc.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-left.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-right.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-tlc.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-top.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/brdr-trc.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/category/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/category/Thumbs.db XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/category/blank.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/category/topxoops.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/category/xforum.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/category/xoops-au.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/del_topic-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/del_topic-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/delete-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/delete-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/delete.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/delete.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/digest-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/digest-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/disable.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/document-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/document-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/edit-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/edit-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/edit.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/edit.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/email-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/email-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/enable.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/external.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/Thumbs.db XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/ace.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/avi.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/bmp.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/doc.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/exe.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/flash.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/gif.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/html.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/jpeg.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/jpg.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/mid.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/mov.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/mp3.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/mpg.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/netscape.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/pdf.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/png.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/ppt.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/rar.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/txt.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/unknown.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/wav.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/xls.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/filetypes/zip.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/home-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/home-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/icons/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/icons/accept.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/icons/cancel.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/icq-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/icq-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/Thumbs.db XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/attachment-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/attachment-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/clip-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/clip-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/doubledown-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/doubledown-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/down-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/down-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/Thumbs.db XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/new_forum-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/new_forum-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/new_subforum-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/new_subforum-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/offline-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/offline-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/online-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/online-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_delete-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_delete-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_edit-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_edit-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_quote-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_quote-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_reply-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_reply-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_report-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_report-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_up-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/p_up-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_new-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_new-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_poll-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_poll-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_qr-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_qr-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_reply-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/english/t_reply-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/flat-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/flat-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_big-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_big-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_digest-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_digest-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_locked_big-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_locked_big-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_locked_big_newposts-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_locked_big_newposts-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_new_big-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_new_big-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_sticky-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_sticky-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_user-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/folder_user-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/forum_moderators-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/forum_moderators-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/Thumbs.db XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/new_forum-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/new_forum-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/new_subforum-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/new_subforum-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/offline-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/offline-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/online-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/online-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_delete-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_delete-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_edit-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_edit-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_quote-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_quote-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_reply-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_reply-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_report-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_report-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_up-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/p_up-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_new-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_new-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_poll-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_poll-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_qr-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_qr-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_reply-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/german/t_reply-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/hot_folder-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/hot_folder-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/hot_folder_user-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/hot_folder_user-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/hot_red_folder-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/hot_red_folder-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/left-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/left-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/lock-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/lock-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/pixel-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/poll-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/poll-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/post_content-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/post_content-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/printer-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/printer-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate1-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate1-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate2-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate2-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate3-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate3-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate4-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate4-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate5-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rate5-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/red_folder-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/red_folder-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/red_folder_user-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/red_folder_user-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/right-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/right-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/Thumbs.db XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/blue.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/green.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/img_backing.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/img_left.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/img_right.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/rpg/orange.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/threaded-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/threaded-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/up-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/up-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/whosonline-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/imagesets/default/whosonline-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/left_both.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/left_both.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/lock_topic-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/lock_topic-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/minus-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/minus-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/minus.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/minus.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/move_topic-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/move_topic-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/msnm-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/msnm-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/news-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/news-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/pdf-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/pdf-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/personal-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/personal-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/plus-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/plus-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/plus.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/plus.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/pm-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/pm-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/right_both.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/right_both.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/rss-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/rss-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/rss-small.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/spacer-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/sticky-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/sticky-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/undigest-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/undigest-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/unlock_topic-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/unlock_topic-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/unsticky-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/unsticky-a.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/xforum.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/xoopsxf_slogo.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/yahoo-a.gif XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/images/yahoo-xforum.png XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/admin.functions.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/formselectforum.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/forumform.inc.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/functions.image.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/functions.ini.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/functions.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/functions.welcome.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/js/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/js/xforum_browserdetect.js XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/js/xforum_dynMenu.js XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/js/xforum_menu_click.js XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/js/xforum_tip.js XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/js/xforum_tipstyle.js XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/js/xforum_toggle.js XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/module.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/module.v100.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/module.v220.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/notification.inc.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/plugin.dist.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/plugin.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/pngbehavior.htc XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/search.inc.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/vars.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/include/xforum.htc XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/index.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/admin.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/blocks.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/forum_newpost_notify.tpl XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/forum_newthread_notify.tpl XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/global_digest_notify.tpl XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/global_newforum_notify.tpl XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/global_newfullpost_notify.tpl XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/global_newpost_notify.tpl XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/mail_template/thread_newpost_notify.tpl XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/main.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/modinfo.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/xforum.css XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/xforum_menu_click.css XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/english/xforum_menu_hover.css XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/language/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/list.tag.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/makepdf.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/moderate.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/newtopic.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/notification_update.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/polls.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/post.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/posttonews.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/posttopm.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/print.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/ratethread.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/reply.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/report.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/rss.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/search.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/sql/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/sql/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/sql/mysql.sql XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/ XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/xforum_block.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/xforum_block_author.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/xforum_block_post.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/xforum_block_text.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/xforum_block_topic.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/xforum_tag_block_cloud.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/blocks/xforum_tag_block_top.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum.css XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_admin_fieldlist.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_admin_visibility.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_dropdown_menu.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_index.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_item.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_menu_click.css XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_menu_hover.css XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_online.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_poll_results.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_poll_view.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_rss.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_search.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_searchresults.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_tag_bar.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_thread.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_viewall.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_viewforum.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_viewpost.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_viewpost_list.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_viewtopic_flat.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/templates/xforum_viewtopic_thread.html XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/topicmanager.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/view.tag.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/viewall.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/viewforum.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/viewpost.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/viewtopic.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/votepolls.php XoopsModules/xforum/releases/5.84/htdocs/modules/xforum/xoops_version.php Added: XoopsModules/xforum/releases/5.84/docs/.htaccess =================================================================== --- XoopsModules/xforum/releases/5.84/docs/.htaccess (rev 0) +++ XoopsModules/xforum/releases/5.84/docs/.htaccess 2012-03-03 20:16:34 UTC (rev 9088) @@ -0,0 +1,42 @@ +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/images/(.*?)/(.*?)/(.*?)/(.*) modules/xforum/images/$4/$5/$6/$7 +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/images/(.*?)/(.*?)/(.*) modules/xforum/images/$4/$5/$6 +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/images/(.*?)/(.*) modules/xforum/images/$4/$5 +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/images/(.*) modules/xforum/images/$4 +RewriteRule ^forums/(.*?)/(.*?)/images/(.*?)/(.*?)/(.*?)/(.*) modules/xforum/images/$3/$4/$5/$6 +RewriteRule ^forums/(.*?)/(.*?)/images/(.*?)/(.*?)/(.*) modules/xforum/images/$3/$4/$5 +RewriteRule ^forums/(.*?)/(.*?)/images/(.*?)/(.*) modules/xforum/images/$3/$4 +RewriteRule ^forums/(.*?)/(.*?)/images/(.*) modules/xforum/images/$3 +RewriteRule ^forums/(.*?)/images/(.*?)/(.*?)/(.*?)/(.*) modules/xforum/images/$2/$3/$4/$5 +RewriteRule ^forums/(.*?)/images/(.*?)/(.*?)/(.*) modules/xforum/images/$2/$3/$4 +RewriteRule ^forums/(.*?)/images/(.*?)/(.*) modules/xforum/images/$2/$3 +RewriteRule ^forums/(.*?)/images/(.*) modules/xforum/images/$2 +RewriteRule ^forums/images/(.*?)/(.*?)/(.*?)/(.*) modules/xforum/images/$1/$2/$3/$4 +RewriteRule ^forums/images/(.*?)/(.*?)/(.*) modules/xforum/images/$1/$2/$3 +RewriteRule ^forums/images/(.*?)/(.*) modules/xforum/images/$1/$2 +RewriteRule ^forums/images/(.*) modules/xforum/images/$1 + +RewriteRule ^forums/(.*?)/(.*?)/([0-9]+),([0-9]+),([0-9]+),(.*?),(.*?),([0-9]+),([0-9]+).html modules/xforum/viewforum.php?forum=$3&since=$4&start=$5&sortorder=$6&sortname=$7&mode=$8&type=$9 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/([0-9]+),([0-9]+),([0-9]+),([0-9]+),(.*?),(.*?).html modules/xforum/viewtopic.php?forum=$4&topic_id=$5&post_id=$6&start=$7&since=$8&order=$9 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/([0-9]+),([0-9]+),([0-9]+).html modules/xforum/viewtopic.php?forum=$4&topic_id=$5&post_id=$6 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/([0-9]+),([0-9]+),(.*?).html modules/xforum/viewtopic.php?forum=$4&topic_id=$5&viewmode=$6 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/([0-9]+),([0-9]+).html modules/xforum/viewtopic.php?forum=$4&topic_id=$5 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/(.*?)/(.*?).php modules/xforum/$4.php [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/newtopic,(.*?),([0-9]+).html modules/xforum/newtopic.php?op=$3&forum=$4 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/newtopic,([0-9]+).html modules/xforum/newtopic.php?forum=$3 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/reply,([0-9]+),([0-9]+),([0-9]+).html modules/xforum/reply.php?forum=$3&topic_id=$4&post_id=$5 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/poll,([a-zA-Z0-9]+),([0-9]+),([0-9]+).html modules/xforum/poll.php?op=$3&topic_id=$4&poll_id=$5 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/edit,([0-9]+),([0-9]+).html modules/xforum/edit.php?forum=$3&post_id=$4 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/archive,([0-9]+).html modules/xforum/archive.php?forum=$3 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/archive,([0-9]+),([0-9]+).html modules/xforum/archive.php?forum=$3&topic_id=$4 [L,NC,QSA] +RewriteRule ^forums/(.*?)/(.*?)/(.*?).php modules/xforum/$3.php [L,NC,QSA] +RewriteRule ^forums/rss,([0-9]+),(.*?).rss modules/xforum/rss.php?c=$1&f=$2 [L,NC,QSA] +RewriteRule ^forums/viewall,(.*?),([0-9]+),([0-9]+),([0-9]+),(.*?),(.*?).html modules/xforum/viewall.php?type=$1&mode=$2&start=$3&since=$4&sortname=$5&sortorder=$6 [L,NC,QSA] +RewriteRule ^forums/viewpost,([0-9]+),([0-9]+),(.*?),([0-9]+),(.*?)html modules/xforum/viewpost.php?forum=$1&start=$2&order=$3&uid=$4&mode=$5&type=$6 [L,NC,QSA] +RewriteRule ^forums/cat,([0-9]+).html modules/xforum/index.php?cat=$1 [L,NC,QSA] +RewriteRule ^forums/(.*?).php modules/xforum/$1.php [L,NC,QSA] +RewriteRule ^forums/search.html modules/xforum/search.php [L,NC,QSA] +RewriteRule ^forums/index.html modules/xforum/index.php [L,NC,QSA] Added: XoopsModules/xforum/releases/5.84/docs/gpl.txt =================================================================== --- XoopsModules/xforum/releases/5.84/docs/gpl.txt (rev 0) +++ XoopsModules/xforum/releases/5.84/docs/gpl.txt 2012-03-03 20:16:34 UTC (rev 9088) @@ -0,0 +1,342 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years,... [truncated message content] |
From: <txm...@us...> - 2012-03-03 18:06:34
|
Revision: 9087 http://xoops.svn.sourceforge.net/xoops/?rev=9087&view=rev Author: txmodxoops Date: 2012-03-03 18:06:28 +0000 (Sat, 03 Mar 2012) Log Message: ----------- Updated Added Paths: ----------- XoopsModules/xnews/branches/timgno/xnews/docs/module.htaccess Added: XoopsModules/xnews/branches/timgno/xnews/docs/module.htaccess =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/docs/module.htaccess (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/docs/module.htaccess 2012-03-03 18:06:28 UTC (rev 9087) @@ -0,0 +1,10 @@ +## Copy htaccess file to your module root dir and rename to .htaccess + +RewriteEngine On +## xnews - begin ## +RewriteCond %{request_uri} !^/xnews/([a-z\x2D]+)\.([a-z]+)\.([0-9.]+) +RewriteRule ^([a-z\x2D]+)\.([a-z]+)\.([0-9.]+)/ ?seoOp=$2&seoArg=$3 [L,NC,QSA] + +RewriteCond %{request_uri} !^/xnews/([a-z]+)\.([0-9.]+) +RewriteRule ^([a-z]+)\.([0-9.]+)/ ?seoOp=$1&seoArg=$2 [L,NC,QSA] +## xnews - endRewriteCond %{HTTP_REFERER} !^$ \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-03 14:41:46
|
Revision: 9086 http://xoops.svn.sourceforge.net/xoops/?rev=9086&view=rev Author: txmodxoops Date: 2012-03-03 14:41:37 +0000 (Sat, 03 Mar 2012) Log Message: ----------- Files Revision Modified Paths: -------------- XoopsModules/xnews/branches/timgno/xnews/admin/about.php XoopsModules/xnews/branches/timgno/xnews/class/class.latestnews.php XoopsModules/xnews/branches/timgno/xnews/index.php XoopsModules/xnews/branches/timgno/xnews/templates/blocks/xnews_block_randomnews.html Added Paths: ----------- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_archives.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_bigstory.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_block_tag.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_latestnews.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_moderate.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_randomnews.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_top.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_topics.php XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_topicsnav.php XoopsModules/xnews/branches/timgno/xnews/xtopics_directory.php Modified: XoopsModules/xnews/branches/timgno/xnews/admin/about.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/admin/about.php 2012-03-03 14:36:14 UTC (rev 9085) +++ XoopsModules/xnews/branches/timgno/xnews/admin/about.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -34,11 +34,10 @@ * * Version : 1.72 Tue 2011/12/13 22:29:37 : Timgno Exp $ * **************************************************************************** - */ - + */ include "admin_header.php"; xoops_cp_header(); $aboutAdmin = new ModuleAdmin(); echo $aboutAdmin->addNavigation("about.php"); -echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); +echo $aboutAdmin->renderabout('25J998Y3QEDZW', false); include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_archives.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_archives.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_archives.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -0,0 +1,192 @@ +<?php +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + +/** + * Display archives + * @param array $options : + * 0 = sort order (0=older first, 1=newer first) + * 1 = Starting date, year + * 2 = Starting date, month + * 3 = Ending date, year + * 4 = Ending date, month + * 5 = until today ? + */ +function nw_b_news_archives_show($options) +{ + global $xoopsDB, $xoopsConfig; + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + include_once NW_MODULE_PATH . '/include/functions.php'; + include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/calendar.php'; + if (file_exists(NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php')) { + include_once NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php'; + } else { + include_once NW_MODULE_PATH . '/language/english/main.php'; + } + + $months_arr = array(1 => _CAL_JANUARY, 2 => _CAL_FEBRUARY, 3 => _CAL_MARCH, 4 => _CAL_APRIL, 5 => _CAL_MAY, 6 => _CAL_JUNE, 7 => _CAL_JULY, 8 => _CAL_AUGUST, 9 => _CAL_SEPTEMBER, 10 => _CAL_OCTOBER, 11 => _CAL_NOVEMBER, 12 => _CAL_DECEMBER); + $block = array(); + $sort_order = $options[0] == 0 ? 'ASC' : 'DESC'; + $starting_date = mktime(0,0,0,intval($options[2]), 1, intval($options[1])); + if(intval($options[5])!=1) { + $ending_date = mktime(23,59,59,intval($options[4]), 28, intval($options[3])); + } else { + $ending_date = time(); + } + $sql = "SELECT distinct(FROM_UNIXTIME(published,'%Y-%m')) as published FROM ".$xoopsDB->prefix('nw_stories').' WHERE published>='.$starting_date .' AND published<='.$ending_date.' ORDER BY published '.$sort_order; + $result = $xoopsDB->query($sql); + if (!$result) { + return ''; + } + while ($myrow = $xoopsDB->fetchArray($result)) { + $year = intval(substr($myrow['published'],0,4)); + $month = intval(substr($myrow['published'],5,2)); + $formated_month = $months_arr[$month]; + $block['archives'][] = array('month' => $month, 'year' => $year, 'formated_month' => $formated_month); + } + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + return $block; +} + + +function nw_b_news_archives_edit($options) +{ + global $xoopsDB; + $syear = $smonth = $eyear = $emonth = $older = $recent = 0; + $selsyear = $selsmonth = $seleyear = $selemonth = 0; + $form = ''; + + $selsyear = $options[1]; + $selsmonth = $options[2]; + $seleyear = $options[3]; + $selemonth = $options[4]; + + $tmpstory = new nw_NewsStory; + $tmpstory->GetOlderRecentnews($older, $recent); // We are searching for the module's older and more recent article's date + + // Min and max value for the two dates selectors + // We are going to use the older news for the starting date + $syear = date('Y', $older); + $smonth = date('n', $older); + $eyear = date('Y', $recent); + $emonth = date('n', $recent); + // Verify parameters + if($selsyear == 0 && $selsmonth == 0) { + $selsyear = $syear; + $selsmonth = $smonth; + } + if($seleyear == 0 && $selemonth == 0) { + $seleyear = $eyear; + $selemonth = $emonth; + } + + // Sort order ************************************************************* + // (0=older first, 1=newer first) + $form .= '<b>'._MB_NW_ORDER."</b> <select name='options[]'>"; + $form .= "<option value='0'"; + if ( $options[0] == 0 ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_OLDER_FIRST."</option>\n"; + $form .= "<option value='1'"; + if($options[0] == 1){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_RECENT_FIRST.'</option>'; + $form .= "</select>\n"; + + + // Starting and ending dates ********************************************** + $form .= '<br /><br /><b>'._MB_NW_STARTING_DATE.'</b><br />'; + $form .= _MB_NW_CAL_YEAR." <select name='options[]'>"; + for($i=$syear; $i<=$eyear; $i++) { + $selected = ($i == $selsyear) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select> '._MB_NW_CAL_MONTH." <select name='options[]'>"; + for($i=1; $i<=12; $i++) { + $selected = ($i == $selsmonth) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select>'; + + $form .= '<br /><br /><b>'._MB_NW_ENDING_DATE.'</b><br />'; + $form .= _MB_NW_CAL_YEAR." <select name='options[]'>"; + for($i=$syear; $i<=$eyear; $i++) { + $selected = ($i == $seleyear) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select> '._MB_NW_CAL_MONTH." <select name='options[]'>"; + for($i=1; $i<=12; $i++) { + $selected = ($i == $selemonth) ? "selected='selected'" : ''; + $form .= "<option value='".$i."'".$selected.'>'.$i.'</option>'; + } + $form .= '</select>'; + + // Or until today ********************************************************* + $form .= '<br />'; + $checked = $options[5] == 1 ? " checked='checked'" : ''; + $form .= "<input type='checkbox' value='1' name='options[]'".$checked.'>'; + $form .= ' <b>'._MB_NW_UNTIL_TODAY.'</b>'; + + + return $form; +} + + +function nw_b_news_archives_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_archives_show($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_archives.html'); +} + +?> + Added: XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_bigstory.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_bigstory.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_bigstory.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -0,0 +1,106 @@ +<?php +// $Id: news_bigstory.php,v 1.3 2004/08/03 16:48:57 hthouzard Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +function nw_b_news_bigstory_show() { + include_once NW_MODULE_PATH . '/include/functions.php'; + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + $myts =& MyTextSanitizer::getInstance(); + $restricted=nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME); + $dateformat=nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips=nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + + $block = array(); + $onestory = new nw_NewsStory(); + $stories = $onestory->getBigStory(1,0,$restricted,0,1, true, 'counter'); + if(count($stories)==0) { + $block['message'] = _MB_NW_NOTYET; + } else { + foreach ( $stories as $key => $story ) { + $htmltitle=''; + if($infotips>0) { + $block['infotips'] = nw_make_infotips($story->hometext()); + $htmltitle=' title="'.$block['infotips'].'"'; + } + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + + $block['htmltitle']=$htmltitle; + $block['message'] = _MB_NW_TMRSI; + $block['story_title'] = $story->title('Show'); + $block['story_id'] = $story->storyid(); + $block['story_date'] = formatTimestamp($story->published(), $dateformat); + $block['story_hits'] = $story->counter(); + $block['story_rating'] = $story->rating(); + $block['story_votes'] = $story->votes(); + $block['story_author']= $story->uname(); + $block['story_text']= $story->hometext(); + $block['story_topic_title']= $story->topic_title(); + $block['story_topic_color']= '#'.$myts->displayTarea($story->topic_color); + } + } + + // DNPROSSI SEO + $seo_enabled = nw_getmoduleoption('seo_enable', NW_MODULE_DIR_NAME); + if ( $seo_enabled != 0 ) { + $block['urlrewrite']= "true"; + } else { + $block['urlrewrite']= "false"; + } + + return $block; +} + +function nw_b_news_bigstory_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_bigstory_show($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_bigstory.html'); +} + +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_block_tag.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_block_tag.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_block_tag.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -0,0 +1,76 @@ +<?php +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +function nw_news_tag_block_cloud_show($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + if(!isset($module_dirname)) { + $module_dirname = NW_MODULE_DIR_NAME; + } + return tag_block_cloud_show($options, $module_dirname); +} + +function nw_news_tag_block_cloud_edit($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + return tag_block_cloud_edit($options); +} + +function nw_news_tag_block_top_show($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + if(!isset($module_dirname)) { + $module_dirname = NW_MODULE_DIR_NAME; + } + return tag_block_top_show($options, $module_dirname); +} + +function nw_news_tag_block_top_edit($options) +{ + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; + return tag_block_top_edit($options); +} +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_latestnews.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_latestnews.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_latestnews.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -0,0 +1,374 @@ +<?php +// ###################################################################### +// # # +// # Latest News block by Mowaffak ( www.arabxoops.com ) # +// # based on Last Articles Block by Pete Glanz (www.glanz.ru) # +// # Thanks to: # +// # Trabis ( www.xuups.com ) and Bandit-x ( www.bandit-x.net ) # +// # # +// ###################################################################### +// # Use of this program is goverened by the terms of the GNU General # +// # Public License (GPL - version 1 or 2) as published by the # +// # Free Software Foundation (http://www.gnu.org/) # +// ###################################################################### +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +function b_xnews_latestnews_show($options) +{ + global $xoopsTpl, $xoopsUser, $xoopsConfig; + include_once NW_MODULE_PATH . '/include/functions.php'; + + $block = array(); + + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + include_once NW_MODULE_PATH . '/class/class.sfiles.php'; + include_once NW_MODULE_PATH . '/class/class.newstopic.php'; + include_once NW_MODULE_PATH . '/class/class.latestnews.php'; //Bandit-X + include_once XOOPS_ROOT_PATH . '/class/tree.php'; + + if (file_exists(NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php')) { + include_once NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php'; + }else{ + include_once NW_MODULE_PATH . '/language/english/main.php'; + } + + //DNPROSSI Added - xlanguage installed and active + $module_handler =& xoops_gethandler('module'); + $xlanguage = $module_handler->getByDirname('xlanguage'); + if ( is_object($xlanguage) && $xlanguage->getVar('isactive') == true ) + { $xlang = true; } else { $xlang = false; } + + $myts =& MyTextSanitizer::getInstance(); + $sfiles = new nw_sFiles(); + + $dateformat = nw_getmoduleoption('dateformat', NW_MODULE_PATH); + if($dateformat == '') { + $dateformat = 's'; + } + + $limit = $options[0]; + $column_count = $options[1]; + $letters = $options[2]; + $imgwidth = $options[3]; + $imgheight = $options[4]; + $border = $options[5]; + $bordercolor = $options[6]; + $selected_stories = $options[7]; + + $block['spec']['columnwidth'] = intval(1/$column_count*100); + if ($options[8] == 1) { + $imgposition = 'right'; + } else { + $imgposition = 'left'; + } + + $xoopsTpl->assign( 'xoops_module_header' , '<style type="text/css"> + .itemText {text-align: left;} + .latestnews { border-bottom: 1px solid #cccccc; } + </style>' . $xoopsTpl->get_template_vars("xoops_module_header") ); + + if (!isset($options[26])) { + $sarray = nw_Latestnewsstory::getAllPublished($limit, $selected_stories, 0, true, 0, 0, true, $options[25], false); + } else { + $topics = array_slice($options, 26); + $sarray = nw_Latestnewsstory::getAllPublished($limit, $selected_stories, 0, true, $topics, 0, true, $options[25], false); + } + + $scount = count($sarray); + $k = 0; + $columns = array(); + if($scount > 0) + { + $storieslist=array(); + foreach ($sarray as $storyid => $thisstory) { + $storieslist[] = $thisstory->storyid(); + } + $filesperstory = $sfiles->getCountbyStories($storieslist); + + foreach ($sarray as $key => $thisstory) { + $storyid = $thisstory->storyid(); + $filescount = array_key_exists($thisstory->storyid(),$filesperstory) ? $filesperstory[$thisstory->storyid()] : 0; + $published = formatTimestamp($thisstory->published(), $dateformat); + $bodytext = $thisstory->bodytext; + $news = $thisstory->prepare2show($filescount); + + $len = strlen($thisstory->hometext()); + if ($letters < $len && $letters > 0) + { + + $patterns = array(); + $replacements = array(); + + if($options[4] != 0) { $height = 'height="'.$imgheight.'"'; } // set height = 0 in block option for auto height + + $startdiv = '<div style="float:'.$imgposition.'"><a href="' . NW_MODULE_URL . '/article.php?storyid='.$storyid.'">'; + $style = 'style="border: '.$border.'px solid #'.$bordercolor.'"'; + $enddiv = 'alt="'.$thisstory->title.'" width="'.$imgwidth.'" '.$height.' /></a></div>'; + + $patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1 width=(['\"]?)([0-9]*)\\3]([^\"\(\)\?\&'<>]*)\[\/img\]/sU"; + $patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1]([^\"\(\)\?\&'<>]*)\[\/img\]/sU"; + $patterns[] = "/\[img]([^\"\(\)\?\&'<>]*)\[\/img\]/sU"; + $patterns[] = "/<img src=\"(.*)\" \/>/sU"; + $patterns[] = "/<img src=(.*) \/>/sU"; + + $replacements[] = $startdiv.'<img '.$style.' src="\\3" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\3" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\1" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\1" '.$enddiv; + $replacements[] = $startdiv.'<img '.$style.' src="\\1" '.$enddiv; + + //DNPROSSI Added - xlanguage installed and active + $story = ""; + $story = $thisstory->hometext; + + if ( $xlang == true ) + { + include_once XOOPS_ROOT_PATH.'/modules/xlanguage/include/functions.php'; + $story = xlanguage_ml($story); + + } + //DNPROSSI New truncate function - now works correctly with html and utf-8 + $html = $thisstory->nohtml() == 1 ? 0 : 1; + $dobr = $thisstory->dobr() == 1 ? 1 : 0; + $smiley = $thisstory->nosmiley() == 1 ? 0 : 1; + $news['text'] = nw_truncate($myts->displayTarea($story, $html, $smiley, 1, 1, $dobr), $letters+3, '...', false, $html); + } + + if(is_object($xoopsUser) && $xoopsUser->isAdmin(-1)){ + $news['admin'] = '<a href="' . NW_MODULE_URL . '/submit.php?op=edit&storyid='.$storyid.'"><img src="' . NW_MODULE_URL . '/images/edit_block.png" alt="'._EDIT.'" width="18" /></a> <a href="' . NW_MODULE_URL . '/admin/index.php?op=delete&storyid='.$storyid.'"><img src="' . NW_MODULE_URL . '/images/delete_block.png" alt="'._DELETE.'" width="20" /></a>'; + } else { + $news['admin'] = ''; + } + if ($options[9] == 1) { + $block['topiclink'] = '| <a href="' . NW_MODULE_URL . '/topics_directory.php">'._AM_NW_TOPICS_DIRECTORY.'</a> '; + } + if ($options[10] == 1) { + $block['archivelink'] = '| <a href="' . NW_MODULE_URL . '/archive.php">'._MA_NW_NEWSARCHIVES.'</a> '; + } + if ($options[11] == 1) { + if (empty($xoopsUser)) + { + $block['submitlink'] = ''; + } else { + $block['submitlink'] = '| <a href="' . NW_MODULE_URL . '/submit.php">'._MA_NW_SUBMITNEWS.'</a> '; + } + } + + $news['poster'] = ''; + if ($options[12] == 1) { + if ( $thisstory->uname() != '' ) { + $news['poster'] = ''._MB_NW_LATESTNEWS_POSTER.' '.$thisstory->uname().''; + } + } + $news['posttime'] = ''; + if ($options[13] == 1) { + if ( $thisstory->uname() != '' ) { + $news['posttime'] = ''._ON.' '.$published.''; + } else + { + $news['posttime'] = ''._MB_NW_POSTED.' '._ON.' '.$published.''; + } + } + $news['topic_image'] = ''; + $news['topic_articlepicture'] = ''; + if ($options[14] == 1) { + $news['topic_image'] = ''.$thisstory->imglink().''; + } + $news['topic_title'] = ''; + if ($options[15] == 1) { + $news['topic_title'] = ''.$thisstory->textlink().''; + $news['topic_separator'] = ( $thisstory->textlink() != '' ) ? _MB_NW_SP : ''; + } + + $news['read'] = ''; + if ($options[16] == 1) { + $news['read']= ' ('.$thisstory->counter.' '._READS.')'; + } + + $comments = $thisstory->comments(); + if(!empty($bodytext) || $comments>0){ + $news['more'] = '<a href="' . NW_MODULE_URL . '/article.php?storyid='.$storyid.'">'. _MA_NW_READMORE .'</a>'; + }else{ + $news['more'] = ''; + } + + if ($options[17] == 1) { + if ($comments > 0) { + //shows 1 comment instead of 1 comm. if comments ==1 + //langugage file modified accordingly + if ($comments == 1) { + $news['comment'] =' '._MA_NW_ONECOMMENT.'</a> '; + } else { + $news['comment'] =' '.$comments.' '._MB_NW_LATESTNEWS_COMMENT.'</a> '; + } + } else { + $news['comment'] =' '._MB_NW_NO_COMMENT.'</a> '; + } + } + + $news['print'] = ''; + if ($options[18] == 1) { + $news['print']= '<a href="' . NW_MODULE_URL . '/print.php?storyid='.$storyid.'" rel="nofollow"><img src="' . NW_MODULE_URL . '/images/print.png" width="22" alt="'._MA_NW_PRINTERFRIENDLY.'" /></a>'; + } + + $news['pdf'] = ''; + if ($options[19] == 1) { + $news['pdf']= ' <a href="' . NW_MODULE_URL . '/makepdf.php?storyid='.$storyid.'" rel="nofollow"><img src="' . NW_MODULE_URL . '/images/acrobat.png" width="22" alt="'._MA_NW_MAKEPDF.'" /></a> '; + } + + $news['email'] = ''; + if ($options[20] == 1) { + $news['email']= '<a href="mailto:?subject='.sprintf(_MA_NW_INTARTICLE,$xoopsConfig['sitename']).'&body='.sprintf(_MA_NW_INTARTFOUND, $xoopsConfig['sitename']).': ' . NW_MODULE_URL . '/article.php?storyid='.$storyid.'" rel="nofollow"><img src="' . NW_MODULE_URL . '/images/friend.png" width="20" alt="'._MA_NW_SENDSTORY.'" /></a> '; + } + + if ($options[21] == 1) { + $block['morelink'] = ' <a href="' . NW_MODULE_URL . '/index.php ">'._MB_NW_MORE_STORIES.'</A> '; + } + + if ($options[22] == 1) { + $block['latestnews_scroll'] = true; + } else { + $block['latestnews_scroll'] = false; + } + + $block['scrollheight'] = $options[23]; + $block['scrollspeed'] = $options[24]; + + $columns[$k][] = $news; + $k++; + if ($k == $column_count) { + $k = 0; + } + } + } + unset($news); + $block['columns'] = $columns; + return $block; +} + +function b_xnews_latestnews_edit($options) +{ + global $xoopsDB; + include_once NW_MODULE_PATH . '/include/functions.php'; + include_once NW_MODULE_PATH . '/class/class.newstopic.php'; + + $tabletag1='<tr><td>'; + $tabletag2='</td><td>'; + + $form = "<table border='0'>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_DISPLAY.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[0]."' size='4'> "._MB_NW_LATESTNEWS."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_COLUMNS.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[1]."' size='4'> "._MB_NW_LATESTNEWS_COLUMN."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_TEXTLENGTH.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[2]."' size='4'> "._MB_NW_LATESTNEWS_LETTER."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_IMGWIDTH.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[3]."' size='4'> "._MB_NW_LATESTNEWS_PIXEL."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_IMGHEIGHT.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[4]."' size='4'> "._MB_NW_LATESTNEWS_PIXEL."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_BORDER.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[5]."' size='4'> "._MB_NW_LATESTNEWS_PIXEL."</td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_BORDERCOLOR.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[6]."' size='8'></td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_SELECTEDSTORIES.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[7]."' size='16'></td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_IMGPOSITION.$tabletag2; + $form .= nw_latestnews_mk_select($options,8); + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICLINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,9); + $form .= $tabletag1._MB_NW_LATESTNEWS_ARCHIVELINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,10); + $form .= $tabletag1._MB_NW_LATESTNEWS_SUBMITLINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,11); + $form .= $tabletag1._MB_NW_LATESTNEWS_POSTEDBY.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,12); + $form .= $tabletag1._MB_NW_LATESTNEWS_POSTTIME.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,13); + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICIMAGE.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,14); + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICTITLE.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,15); + $form .= $tabletag1._MB_NW_LATESTNEWS_READ.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,16); + $form .= $tabletag1._MB_NW_LATESTNEWS_COMMENT.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,17); + $form .= $tabletag1._MB_NW_LATESTNEWS_PRINT.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,18); + $form .= $tabletag1._MB_NW_LATESTNEWS_PDF.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,19); + $form .= $tabletag1._MB_NW_LATESTNEWS_EMAIL.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,20); + $form .= $tabletag1._MB_NW_LATESTNEWS_MORELINK.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,21); + $form .= $tabletag1._MB_NW_LATESTNEWS_SCROLL.$tabletag2; + $form .= nw_latestnews_mk_chkbox($options,22); + $form .= $tabletag1._MB_NW_LATESTNEWS_SCROLLHEIGHT.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[23]."' size='4'></td></tr>"; + $form .= $tabletag1._MB_NW_LATESTNEWS_SCROLLSPEED.$tabletag2; + $form .= "<input type='text' name='options[]' value='".$options[24]."' size='4'></td></tr>"; + + //order + $form .= $tabletag1._MB_NW_LATESTNEWS_ORDERBY.$tabletag2; + $form .= "<select name='options[]'>"; + $form .= "<option value='published'"; + if ( $options[25] == 'published' ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_LATESTNEWS_DATE."</option>\n"; + + $form .= "<option value='counter'"; + if($options[25] == 'counter'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_LATESTNEWS_HITS.'</option>'; + $form .= "<option value='rating'"; + if ( $options[25] == 'rating' ) { + $form .= " selected='selected'"; + } + $form .= '>' . _MB_NW_LATESTNEWS_RATE . '</option>'; + $form .= "</select></td></tr>"; + //topics + $form .= $tabletag1._MB_NW_LATESTNEWS_TOPICSDISPLAY.$tabletag2; + $form .= "<select name='options[]' multiple='multiple'>"; + $topics_arr=array(); + $xt = new XoopsTree($xoopsDB->prefix('nw_topics'), 'topic_id', 'topic_pid'); + $topics_arr = $xt->getChildTreeArray(0,'topic_title'); + $size = count($options); + foreach ($topics_arr as $onetopic) { + $sel = ''; + if($onetopic['topic_pid']!=0) { + $onetopic['prefix'] = str_replace('.','-',$onetopic['prefix']) . ' '; + } else { + $onetopic['prefix'] = str_replace('.','',$onetopic['prefix']); + } + for ( $i = 26; $i < $size; $i++ ) { + if ($options[$i] == $onetopic['topic_id']) { + $sel = " selected='selected'"; + } + } + $form .= "<option value='".$onetopic['topic_id']."'$sel>".$onetopic['prefix'].$onetopic['topic_title'].'</option>'; + } + $form .= '</select></td></tr>'; + + $form .= "</table>"; + return $form; +} +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_moderate.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_moderate.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_moderate.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -0,0 +1,103 @@ +<?php +// $Id: news_moderate.php,v 1.8 2004/09/01 17:48:07 hthouzard Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +/** + * Dispay a block where news moderators can show news that need to be moderated. + */ +function nw_b_news_topics_moderate() { + include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + include_once NW_MODULE_PATH . '/include/functions.php'; + $block = array(); + $dateformat=nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips=nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + + $storyarray = nw_NewsStory :: getAllSubmitted(0, true, nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME)); + if ( count( $storyarray ) > 0 ) + { + $block['lang_story_title'] = _MB_NW_TITLE; + $block['lang_story_date'] = _MB_NW_POSTED; + $block['lang_story_author'] =_MB_NW_POSTER; + $block['lang_story_action'] =_MB_NW_ACTION; + $block['lang_story_topic'] =_MB_NW_TOPIC; + $myts =& MyTextSanitizer::getInstance(); + foreach( $storyarray as $newstory ) + { + $title = $newstory -> title(); + $htmltitle=''; + if($infotips>0) { + $story['infotips'] = nw_make_infotips($newstory->hometext()); + $htmltitle=' title="'.$story['infotips'].'"'; + } + + if (!isset( $title ) || ($title == '')) { + $linktitle = "<a href='" . NW_MODULE_URL . "/index.php?op=edit&storyid=" . $newstory->storyid() . "' target='_blank'".$htmltitle.">" . _AD_NOSUBJECT . "</a>"; + } else { + $linktitle = "<a href='" . NW_MODULE_URL . "/submit.php?op=edit&storyid=" . $newstory->storyid() . "' target='_blank'".$htmltitle.">" . $title . "</a>"; + } + $story=array(); + $story['title'] = $linktitle; + $story['date'] = formatTimestamp($newstory->created(),$dateformat); + $story['author'] = "<a href='" . XOOPS_URL . "/userinfo.php?uid=" . $newstory -> uid() . "'>" . $newstory->uname() . "</a>"; + $story['action'] = "<a href='" . NW_MODULE_URL . "/admin/index.php?op=edit&storyid=" . $newstory->storyid() . "'>" . _EDIT. "</a> - <a href='" . NW_MODULE_URL . "/admin/index.php?op=delete&storyid=" . $newstory->storyid() . "'>" . _MB_NW_DELETE . "</a>"; + $story['topic_title'] = $newstory->topic_title(); + $story['topic_color']= '#'.$myts->displayTarea($newstory->topic_color); + $block['stories'][] =& $story; + unset($story); + } + } + return $block; +} + +function nw_b_news_topics_moderate_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_topics_moderate($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_moderate.html'); +} +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_randomnews.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_randomnews.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_randomnews.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -0,0 +1,194 @@ +<?php +// $Id$ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +include_once NW_MODULE_PATH . '/class/class.newsstory.php'; + +function nw_b_news_randomnews_show($options) { + include_once NW_MODULE_PATH . '/include/functions.php'; + $myts =& MyTextSanitizer::getInstance(); + $block = array(); + $block['sort']=$options[0]; + + //DNPROSSI Added - xlanguage installed and active + $module_handler =& xoops_gethandler('module'); + $xlanguage = $module_handler->getByDirname('xlanguage'); + if ( is_object($xlanguage) && $xlanguage->getVar('isactive') == true ) + { $xlang = true; } else { $xlang = false; } + + $tmpstory = new nw_NewsStory; + $restricted = nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME); + $dateformat = nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips = nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + if($dateformat == '') { + $dateformat = 's'; + } + if ($options[4] == 0) { + $stories = $tmpstory->getRandomNews($options[1],0,$restricted,0,1, $options[0]); + } else { + $topics = array_slice($options, 4); + $stories = $tmpstory->getRandomNews($options[1],0,$restricted,$topics, 1, $options[0]); + } + unset($tmpstory); + if(count($stories)==0) { + return ''; + } + foreach ( $stories as $story ) { + $news = array(); + $title = $story->title(); + if (strlen($title) > $options[2]) { + //DNPROSSI Added - xlanguage installed and active + $title = $thisstory->hometext; + + if ( $xlang == true ) + { + include_once XOOPS_ROOT_PATH.'/modules/xlanguage/include/functions.php'; + $title = xlanguage_ml($title); + } + + //DNPROSSI changed xoops_substr to mb_substr for utf-8 support + $title = mb_substr($title,0,$options[2]+3, 'UTF-8'); + } + $news['title'] = $title; + $news['id'] = $story->storyid(); + $news['date'] = formatTimestamp($story->published(), $dateformat); + $news['hits'] = $story->counter(); + $news['rating'] = $story->rating(); + $news['votes'] = $story->votes(); + $news['author']= sprintf("%s %s",_POSTEDBY,$story->uname()); + $news['topic_title'] = $story->topic_title(); + $news['topic_color']= '#'.$myts->displayTarea($story->topic_color); + + if ($options[3] > 0) { + $html = $story->nohtml() == 1 ? 0 : 1; + //$news['teaser'] = nw_truncate_tagsafe($myts->displayTarea($story->hometext, $html), $options[3]+3); + //DNPROSSI New truncate function - now works correctly with html and utf-8 + $news['teaser'] = nw_truncate($story->hometext(), $options[3]+3, '...', true, $html); + $news['infotips'] = ''; + } + else { + $news['teaser'] = ''; + if($infotips>0) { + $news['infotips'] = ' title="'.nw_make_infotips($story->hometext()).'"'; + } else { + $news['infotips'] = ''; + } + } + $block['stories'][] = $news; + } + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + + $block['lang_read_more']=_MB_NW_READMORE; + + // DNPROSSI SEO + $seo_enabled = nw_getmoduleoption('seo_enable', NW_MODULE_DIR_NAME); + if ( $seo_enabled != 0 ) { + $block['urlrewrite']= "true"; + } else { + $block['urlrewrite']= "false"; + } + + return $block; +} + +function nw_b_news_randomnews_edit($options) { + global $xoopsDB; + $form = _MB_NW_ORDER." <select name='options[]'>"; + $form .= "<option value='published'"; + if ( $options[0] == "published" ) { + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_DATE."</option>\n"; + + $form .= "<option value='counter'"; + if($options[0] == 'counter'){ + $form .= " selected='selected'"; + } + $form .= '>'._MB_NW_HITS.'</option>'; + + $form .= "<option value='rating'"; + if ( $options[0] == 'rating' ) { + $form .= " selected='selected'"; + } + $form .= '>' . _MB_NW_RATE . '</option>'; + + $form .= "</select>\n"; + $form .= ' '._MB_NW_DISP." <input type='text' name='options[]' value='".$options[1]."'/> "._MB_NW_ARTCLS; + $form .= ' <br><br />'._MB_NW_CHARS." <input type='text' name='options[]' value='".$options[2]."'/> "._MB_NW_LENGTH.'<br /><br />'; + + $form .= _MB_NW_TEASER." <input type='text' name='options[]' value='".$options[3]."' />"._MB_NW_LENGTH; + $form .= '<br /><br />'._MB_NW_SPOTLIGHT_TOPIC."<br /><select id='options[4]' name='options[]' multiple='multiple'>"; + + include_once XOOPS_ROOT_PATH.'/class/xoopsstory.php'; + $xt = new XoopsTopic($xoopsDB->prefix('nw_topics')); + $alltopics = $xt->getTopicsList(); + $alltopics[0]['title'] = _MB_NW_SPOTLIGHT_ALL_TOPICS; + ksort($alltopics); + $size = count($options); + foreach ($alltopics as $topicid => $topic) { + $sel = ''; + for ( $i = 4; $i < $size; $i++ ) { + if ($options[$i] == $topicid) { + $sel = " selected='selected'"; + } + } + $form .= "<option value='$topicid'$sel>".$topic['title'].'</option>'; + } + $form .= '</select><br />'; + return $form; +} + +function nw_b_news_randomnews_onthefly($options) +{ + $options = explode('|',$options); + $block = & nw_b_news_randomnews_show($options); + + $tpl = new XoopsTpl(); + $tpl->assign('block', $block); + $tpl->display('db:nw_news_block_moderate.html'); +} + +?> Added: XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_top.php =================================================================== --- XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_top.php (rev 0) +++ XoopsModules/xnews/branches/timgno/xnews/blocks/xnews_top.php 2012-03-03 14:41:37 UTC (rev 9086) @@ -0,0 +1,762 @@ +<?php +// $Id: news_top.php,v 1.21 2004/09/01 17:48:07 hthouzard Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +/** + * Solves issue when upgrading xoops version + * Paths not set and block would not work +*/ +if (!defined('NW_MODULE_PATH')) { + define("NW_SUBPREFIX", "nw"); + define("NW_MODULE_DIR_NAME", "xnews"); + define("NW_MODULE_PATH", XOOPS_ROOT_PATH . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_MODULE_URL", XOOPS_URL . "/modules/" . NW_MODULE_DIR_NAME); + define("NW_UPLOADS_NEWS_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME); + define("NW_TOPICS_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_PATH", XOOPS_ROOT_PATH . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); + define("NW_TOPICS_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/topics"); + define("NW_ATTACHED_FILES_URL", XOOPS_URL . "/uploads/" . NW_MODULE_DIR_NAME . "/attached"); +} + +include_once NW_MODULE_PATH . '/class/class.newsstory.php'; +include_once NW_MODULE_PATH . '/class/class.newstopic.php'; + +/** +* Notes about the spotlight : +* If you have restricted topics on index page (in fact if the program must completly respect the permissions) and if +* the news you have selected to be viewed in the spotlight can't be viewed by someone then the spotlight is not visible ! +* This is available in the classical and in the tabbed view. +* But if you have uncheck the option "Restrict topics on index page", then the news will be visible but users without +* permissions will be rejected when they will try to read news content. +* +* Also, if you have selected a tabbed view and wanted to use the Spotlight but did not choosed a story, then the block +* will switch to the "most recent news" mode (the visible news will be searched according to the permissions) +*/ +function nw_b_news_top_show($options) { + global $xoopsConfig; + include_once NW_MODULE_PATH . '/include/functions.php'; + $myts =& MyTextSanitizer::getInstance(); + $block = array(); + $displayname = nw_getmoduleoption('displayname', NW_MODULE_DIR_NAME); + $tabskin = nw_getmoduleoption('tabskin', NW_MODULE_DIR_NAME); + + if (file_exists(NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php')) { + include_once NW_MODULE_PATH . '/language/'.$xoopsConfig['language'].'/main.php'; + } else { + include_once NW_MODULE_PATH . '/language/english/main.php'; + } + + $block['displayview']=$options[8]; + $block['tabskin']=$tabskin; + $block['imagesurl']= NW_MODULE_URL . '/images/'; + + //DNPROSSI ADDED + $block['newsmodule_url']= NW_MODULE_URL; + + //DNPROSSI Added - xlanguage installed and active + $module_handler =& xoops_gethandler('module'); + $xlanguage = $module_handler->getByDirname('xlanguage'); + if ( is_object($xlanguage) && $xlanguage->getVar('isactive') == true ) + { $xlang = true; } else { $xlang = false; } + + $restricted=nw_getmoduleoption('restrictindex', NW_MODULE_DIR_NAME); + $dateformat=nw_getmoduleoption('dateformat', NW_MODULE_DIR_NAME); + $infotips=nw_getmoduleoption('infotips', NW_MODULE_DIR_NAME); + $newsrating=nw_getmoduleoption('ratenews', NW_MODULE_DIR_NAME); + if($dateformat=='') { + $dateformat='s'; + } + + $perm_verified=false; + $news_visible=true; + // Is the spotlight visible ? + if($options[4]==1 && $restricted && $options[5]==0) { + $perm_verified=true; + $permittedtopics=nw_MygetItemIds(); + $permstory = new nw_NewsStory($options[6]); + if(!in_array($permstory->topicid(),$permittedtopics)) { + $usespotlight=false; + $news_visible = false; + $topicstitles=array(); + } + $options[4]==0; + } + // Try to see what tabs are visibles (if we are in restricted view of course) + if($options[8]==2 && $restricted && $options[14] != 0) { + $topics2=array(); + $permittedtopics=nw_MygetItemIds(); + $topics = array_slice($options, 14); + foreach($topics as $onetopic) { + if(in_array($onetopic,$permittedtopics)) { + $topics2[]=$onetopic; + } + } + $before=array_slice($options, 0,14); + $options=array_merge($before,$topics2); + } + + if($options[8]==2) { // Tabbed view ******************************************************************************************** + $defcolors[1]=array('#F90','#FFFFFF','#F90','#C60','#999'); // Bar Style + $defcolors[2]=array('#F90','#FFFFFF','#F90','#AAA','#666'); // Beveled + $defcolors[3]=array('#F90','#FFFFFF','','#789','#789'); // Classic + $defcolors[4]=array('#F90','#FFFFFF','','',''); // Folders + $defcolors[5]=array('#F90','#FFFFFF','#CCC','inherit','#999'); // MacOs + $defcolors[6]=array('#F90','#FFFFFF','#FFF','#DDD','#999'); // Plain + $defcolors[7]=array('#F90','#FFFFFF','','',''); // Rounded + $defcolors[8]=array('#F90','#FFFFFF','#F90','#930','#C60'); // ZDnet + //DNPROSSI - Sanitized + $myurl=filter_var($_SERVER['PHP_SELF'], FILTER_SANITIZE_STRING); + if(substr($myurl,strlen($myurl)-1,1) == '/') { + $myurl.='index.php'; + } + $myurl.='?'; + + foreach($_GET as $key => $value) { + if($key!='nwTab') { + $myurl.=$key.'='.$value.'&'; + } + } + $block['url']=$myts->htmlSpecialChars($myurl); + + $tabscount=0; + $usespotlight=false; + + if(isset($_GET['nwTab'])) { + $_SESSION['nwTab']=intval($_GET['nwTab']); + $currenttab = intval($_GET['nwTab']); + } elseif(isset($_SESSION['nwTab'])) { + $currenttab = intval($_SESSION['nwTab']); + } else { + $currenttab=0; + } + + $tmpstory = new nw_NewsStory(); + $topic= new nw_NewsTopic(); + $topicstitles=array(); + if($options[4]==1) { // Spotlight enabled + $topicstitles[0]=_MB_NW_SPOTLIGHT_TITLE; + $tabscount++; + $usespotlight=true; + } + + if($options[5]==0 && $restricted) { // Use a specific news and we are in restricted mode + if(!$perm_verified) { + $permittedtopics=nw_MygetItemIds(); + $permstory = new nw_NewsStory($options[6]); + if(!in_array($permstory->topicid(),$permittedtopics)) { + $usespotlight=false; + $topicstitles=array(); + } + //unset($permstory); + } else { + if(!$news_visible) { + $usespotlight=false; + $topicstitles=array(); + } + } + } + + $block['use_spotlight']=$usespotlight; + + if (isset($options[14]) && $options[14] != 0) { // Topic to use + ... [truncated message content] |
From: <txm...@us...> - 2012-03-03 14:36:22
|
Revision: 9085 http://xoops.svn.sourceforge.net/xoops/?rev=9085&view=rev Author: txmodxoops Date: 2012-03-03 14:36:14 +0000 (Sat, 03 Mar 2012) Log Message: ----------- Files Revision Modified Paths: -------------- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php XoopsModules/AMS - Article Management System/branches/timgno/ams/article.php XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_article.php XoopsModules/AMS - Article Management System/branches/timgno/ams/header.php XoopsModules/AMS - Article Management System/branches/timgno/ams/include/functions.php XoopsModules/AMS - Article Management System/branches/timgno/ams/index.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/main.php XoopsModules/AMS - Article Management System/branches/timgno/ams/language/italian/modinfo.php XoopsModules/AMS - Article Management System/branches/timgno/ams/sql/mysql.sql XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_article.html XoopsModules/AMS - Article Management System/branches/timgno/ams/templates/ams_index.html XoopsModules/AMS - Article Management System/branches/timgno/ams/xoops_version.php Added Paths: ----------- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_author.php XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_bigstory.php XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_moderate.php XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_spotlight.php XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_top.php XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topics.php XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topicsnav.php Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php 2012-03-03 02:25:18 UTC (rev 9084) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/admin/article.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -42,7 +42,7 @@ global $xoopsModuleConfig, $pathImageIcon; //On recupere la valeur de l argument op dans l URL$ -$op = ams_CleanVars($_REQUEST, 'op', 'list', 'string'); +$op = ams_CleanVars($_REQUEST, 'op', 'list_article', 'string'); // compte le nombre de téléchargement non validé $criteria = new CriteriaCompo(); @@ -50,93 +50,90 @@ $article_waiting = $articleHandler->getCount($criteria); $status_menu = ams_CleanVars($_REQUEST, 'status_display', 1, 'int'); - +$articleAdmin = new ModuleAdmin(); switch ($op) { default: - case "list_article": - $article_admin = new ModuleAdmin(); - echo $article_admin->addNavigation('article.php'); - if ($status_menu == 1){ - $article_admin->addItemButton(_AM_AMS_ADDARTICLE, 'article.php?op=new_article', 'add'); - if ($article_waiting == 0){ - $article_admin->addItemButton(_AM_AMS_ARTICLEWAIT, 'article.php?op=waiting_article&display=0', 'add'); - }else{ - $article_admin->addItemButton(_AM_AMS_ARTICLEWAIT, 'article.php?op=waiting_article&display=1', 'add', ' (<span style="color : Red">article_waiting . </span>)'); - } - }else{ - $article_admin->addItemButton(_AM_AMS_ARTICLELIST, 'article.php?op=list_article', 'list'); - $article_admin->addItemButton(_AM_AMS_ADDARTICLE, 'article.php?op=new_article', 'add'); - } - echo $article_admin->renderButton(); - $criteria = new CriteriaCompo(); - $criteria->setSort("storyid"); - $criteria->add(new Criteria('topicid', '0', '>')); - $criteria->setOrder("ASC"); - $numrows = $articleHandler->getCount(); - $article_arr = $articleHandler->getall($criteria); + case "list_article": + echo $articleAdmin->addNavigation('article.php'); + if ($status_menu == 1){ + $articleAdmin->addItemButton(_AM_AMS_ADDARTICLE, 'article.php?op=new_article', 'add'); + if ($article_waiting == 0){ + $articleAdmin->addItemButton(_AM_AMS_ARTICLEWAIT, 'article.php?op=waiting_article&status_display=0', 'add'); + }else{ + $articleAdmin->addItemButton(_AM_AMS_ARTICLEWAIT, 'article.php?op=waiting_article&status_display=1', 'add', ' (<span style="color : Red">article_waiting . </span>)'); + } + }else{ + $articleAdmin->addItemButton(_AM_AMS_ARTICLELIST, 'article.php?op=list_article', 'list'); + $articleAdmin->addItemButton(_AM_AMS_ADDARTICLE, 'article.php?op=new_article', 'add'); + } + echo $articleAdmin->renderButton(); - //Affichage du tableau - if ($numrows>0) - { - echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> - <tr> - <th align=\"center\">"._AM_AMS_TITLE."</th> - <th align=\"center\">"._AM_AMS_TOPICID."</th> - <th align=\"center\">"._AM_AMS_CREATED."</th> - <th align=\"center\">"._AM_AMS_PUBLISHED."</th> - <th align=\"center\">"._AM_AMS_EXPIRED."</th> - <th align=\"center\">"._AM_AMS_IHOME."</th> - <th align=\"center\">"._AM_AMS_STORY_TYPE."</th> - <th align=\"center\">"._AM_AMS_RATING."</th> - <th align=\"center\">"._AM_AMS_ONLINE."</th> - <th align=\"center\">"._AM_AMS_ACTION."</th> - </tr>"; - - $class = "odd"; - - foreach (array_keys($article_arr) as $i) - { - if ( $article_arr[$i]->getVar("topic_pid") == 0) - { - $class = ($class == "even") ? "odd" : "even"; - echo "<tr class=\"".$class."\">"; - echo "<td align=\"center\">".$article_arr[$i]->getVar("title")."</td>"; - echo "<td align=\"center\">".$article_arr[$i]->getVar("topicid")."</td>"; //topic_title - echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("created"),"S")."</td>"; - echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("published"),"S")."</td>"; - echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("expired"),"S")."</td>"; + $criteria = new CriteriaCompo(); + $criteria->setSort("storyid"); + $criteria->add(new Criteria('topicid', '0', '>')); + $criteria->setOrder("ASC"); + $numrows = $articleHandler->getCount(); + $article_arr = $articleHandler->getall($criteria); + + //Affichage du tableau + if ($numrows>0) + { + echo "<table width=\"100%\" cellspacing=\"1\" class=\"outer\"> + <tr> + <th align=\"center\">"._AM_AMS_TITLE."</th> + <th align=\"center\">"._AM_AMS_TOPICID."</th> + <th align=\"center\">"._AM_AMS_CREATED."</th> + <th align=\"center\">"._AM_AMS_PUBLISHED."</th> + <th align=\"center\">"._AM_AMS_EXPIRED."</th> + <th align=\"center\">"._AM_AMS_IHOME."</th> + <th align=\"center\">"._AM_AMS_STORY_TYPE."</th> + <th align=\"center\">"._AM_AMS_RATING."</th> + <th align=\"center\">"._AM_AMS_ONLINE."</th> + <th align=\"center\">"._AM_AMS_ACTION."</th> + </tr>"; - $verif_ihome = ( $article_arr[$i]->getVar("ihome") == 1 ) ? _YES : _NO; - echo "<td align=\"center\">".$verif_ihome."</td>"; - - echo "<td align=\"center\">".$article_arr[$i]->getVar("story_type")."</td>"; - echo "<td align=\"center\">".$article_arr[$i]->getVar("rating")."</td>"; - $online = $article_arr[$i]->getVar("online"); + $class = "odd"; + + foreach (array_keys($article_arr) as $i) + { + if ( $article_arr[$i]->getVar("topic_pid") == 0) + { + $class = ($class == "even") ? "odd" : "even"; + echo "<tr class=\"".$class."\">"; + echo "<td align=\"center\">".$article_arr[$i]->getVar("title")."</td>"; + echo "<td align=\"center\">".$article_arr[$i]->getVar("topicid")."</td>"; //topic_title + echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("created"),"S")."</td>"; + echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("published"),"S")."</td>"; + echo "<td align=\"center\">".formatTimeStamp($article_arr[$i]->getVar("expired"),"S")."</td>"; - if( $online == 1 ) { - echo "<td align=\"center\"><a href=\"./article.php?op=update_online_article&storyid=".$article_arr[$i]->getVar("storyid")."&article_online=0\"><img src=".$pathImageIcon."/on.png border=\"0\" alt=\""._AM_AMS_ON."\" title=\""._AM_AMS_ON."\"></a></td>"; - } else { - echo "<td align=\"center\"><a href=\"./article.php?op=update_online_article&storyid=".$article_arr[$i]->getVar("storyid")."&article_online=1\"><img src=".$pathImageIcon."/off.png border=\"0\" alt=\""._AM_AMS_OFF."\" title=\""._AM_AMS_OFF."\"></a></td>"; - } - echo "<td align=\"center\" width=\"10%\"> - <a href=\"article.php?op=edit_article&storyid=".$article_arr[$i]->getVar("storyid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> - <a href=\"article.php?op=delete_article&storyid=".$article_arr[$i]->getVar("storyid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> - </td>"; - echo "</tr>"; - } - } - echo "</table><br><br>"; + $verif_ihome = ( $article_arr[$i]->getVar("ihome") == 1 ) ? _YES : _NO; + echo "<td align=\"center\">".$verif_ihome."</td>"; + + echo "<td align=\"center\">".$article_arr[$i]->getVar("story_type")."</td>"; + echo "<td align=\"center\">".$article_arr[$i]->getVar("rating")."</td>"; + $online = $article_arr[$i]->getVar("online"); + + if( $online == 1 ) { + echo "<td align=\"center\"><a href=\"./article.php?op=update_online_article&storyid=".$article_arr[$i]->getVar("storyid")."&article_online=0\"><img src=".$pathImageIcon."/on.png border=\"0\" alt=\""._AM_AMS_ON."\" title=\""._AM_AMS_ON."\"></a></td>"; + } else { + echo "<td align=\"center\"><a href=\"./article.php?op=update_online_article&storyid=".$article_arr[$i]->getVar("storyid")."&article_online=1\"><img src=".$pathImageIcon."/off.png border=\"0\" alt=\""._AM_AMS_OFF."\" title=\""._AM_AMS_OFF."\"></a></td>"; + } + echo "<td align=\"center\" width=\"10%\"> + <a href=\"article.php?op=edit_article&storyid=".$article_arr[$i]->getVar("storyid")."\"><img src=".$pathImageIcon."/edit.png alt=\""._EDIT."\" title=\""._EDIT."\"></a> + <a href=\"article.php?op=delete_article&storyid=".$article_arr[$i]->getVar("storyid")."\"><img src=".$pathImageIcon."/delete.png alt=\""._DELETE."\" title=\""._DELETE."\"></a> + </td>"; + echo "</tr>"; + } } - - break; + echo "</table><br><br>"; + } + break; - case "new_article": - $member_admin = new ModuleAdmin(); - echo $member_admin->addNavigation("article.php"); - $member_admin->addItemButton(_AM_AMS_ARTICLELIST, 'article.php?op=list_article', 'list'); + case "new_article": + echo $articleAdmin->addNavigation("article.php"); + $articleAdmin->addItemButton(_AM_AMS_ARTICLELIST, 'article.php?op=list_article', 'list'); + echo $articleAdmin->renderButton(); - echo $member_admin->renderButton(); - $obj =& $articleHandler->create(); $form = $obj->getForm(); break; @@ -212,7 +209,9 @@ break; case "waiting_article": - + echo $articleAdmin->addNavigation("article.php"); + $articleAdmin->addItemButton(_AM_AMS_ARTICLELIST, 'article.php?op=list_article', 'list'); + echo $articleAdmin->renderButton(); break; case "delete_article": @@ -231,18 +230,16 @@ } break; - case "update_online_article": - - if (isset($_REQUEST["storyid"])) { - $obj =& $articleHandler->get($_REQUEST["storyid"]); - } - $obj->setVar("online", $_REQUEST["online"]); + case "update_online_article": + if (isset($_REQUEST["storyid"])) { + $obj =& $articleHandler->get($_REQUEST["storyid"]); + } + $obj->setVar("online", $_REQUEST["online"]); - if ($articleHandler->insert($obj)) { - redirect_header("article.php", 3, _AM_AMS_FORMOK); - } - echo $obj->getHtmlErrors(); - + if ($articleHandler->insert($obj)) { + redirect_header("article.php", 3, _AM_AMS_FORMOK); + } + echo $obj->getHtmlErrors(); break; } include "admin_footer.php"; Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/article.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/article.php 2012-03-03 02:25:18 UTC (rev 9084) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/article.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -26,12 +26,12 @@ // ------------------------------------------------------------------------ // include "../../mainfile.php"; -include_once XOOPS_ROOT_PATH."/modules/AMS/class/class.newsstory.php"; -include_once XOOPS_ROOT_PATH."/modules/AMS/class/class.sfiles.php"; -if (file_exists(XOOPS_ROOT_PATH.'/modules/AMS/language/'.$xoopsConfig['language'].'/main.php')) { - include_once XOOPS_ROOT_PATH.'/modules/AMS/language/'.$xoopsConfig['language'].'/main.php'; +include_once XOOPS_ROOT_PATH."/modules/ams/class/class.newsstory.php"; +include_once XOOPS_ROOT_PATH."/modules/ams/class/class.sfiles.php"; +if (file_exists(XOOPS_ROOT_PATH.'/modules/ams/language/'.$GLOBALS['xoopsConfig']['language'].'/main.php')) { + include_once XOOPS_ROOT_PATH.'/modules/ams/language/'.$GLOBALS['xoopsConfig']['language'].'/main.php'; } else { - include_once XOOPS_ROOT_PATH.'/modules/AMS/language/english/main.php'; + include_once XOOPS_ROOT_PATH.'/modules/ams/language/english/main.php'; } /*foreach ($_POST as $k => $v) { ${$k} = $v; @@ -40,7 +40,7 @@ $storyid = (isset($_GET['storyid'])) ? $_GET['storyid'] : 0; $storyid = intval($storyid); if (empty($storyid)) { - redirect_header(XOOPS_URL."/modules/AMS/index.php",2,_AMS_NW_NOSTORY); + redirect_header(XOOPS_URL."/modules/ams/index.php",2,_AMS_NW_NOSTORY); exit(); } @@ -65,12 +65,12 @@ if (!$gperm_handler->checkRight("ams_approve", $article->topicid(), $groups, $xoopsModule->getVar('mid'))) { if (!$gperm_handler->checkRight("ams_view", $article->topicid(), $groups, $xoopsModule->getVar('mid'))) { if (!$gperm_handler->checkRight("ams_submit", $article->topicid(), $groups, $xoopsModule->getVar('mid'))) { - redirect_header(XOOPS_URL.'/modules/AMS/index.php', 3, _NOPERM); + redirect_header(XOOPS_URL.'/modules/ams/index.php', 3, _NOPERM); exit(); } } if (!$gperm_handler->checkRight("ams_audience", $article->audienceid, $groups, $xoopsModule->getVar('mid'))) { - redirect_header(XOOPS_URL.'/modules/AMS/index.php', 3, sprintf(_AMS_NW_NOTALLOWEDAUDIENCE, $article->audience)); + redirect_header(XOOPS_URL.'/modules/ams/index.php', 3, sprintf(_AMS_NW_NOTALLOWEDAUDIENCE, $article->audience)); exit(); } } @@ -84,56 +84,59 @@ $article->updateCounter(); } if ($admin) { - $xoopsConfig['module_cache'][$xoopsModule->getVar('mid')] = 0; + $GLOBALS['xoopsConfig']['module_cache'][$xoopsModule->getVar('mid')] = 0; } $xoopsOption['template_main'] = 'ams_article.html'; include_once XOOPS_ROOT_PATH.'/header.php'; -$xoopsTpl->assign('story', $article->toArray($admin, true, $storypage)); +$GLOBALS['xoopsTpl']->assign('story', $article->toArray($admin, true, $storypage)); $artbanner = $article->getBanner(); if ($artbanner == "") { $artbanner = " "; } -$xoopsTpl->assign('articlebanner', $myts->displayTarea($artbanner, 1)); -$showcomments = (XOOPS_COMMENT_APPROVENONE != $xoopsModuleConfig['com_rule']) ? 1 : 0; -$allow_rating = $xoopsUser || $xoopsModuleConfig['anonymous_vote'] ? 1 :0; -$xoopsTpl->assign('showcomments', $showcomments); -$xoopsTpl->assign('allow_rating', $allow_rating); -$xoopsTpl->assign('lang_printerpage', _AMS_NW_PRINTERFRIENDLY); -$xoopsTpl->assign('lang_sendstory', _AMS_NW_SENDSTORY); -$xoopsTpl->assign('lang_on', _AMS_NW_PUBLISHED_DATE); -$xoopsTpl->assign('lang_postedby', _AMS_NW_POSTEDBY); -$xoopsTpl->assign('lang_reads', _AMS_NW_READS); +$GLOBALS['xoopsTpl']->assign('articlebanner', $myts->displayTarea($artbanner); +$showcomments = (XOOPS_COMMENT_APPROVENONE != $GLOBALS['xoopsModuleConfig']['com_rule']) ? 1 : 0; +$allow_rating = $xoopsUser || $GLOBALS['xoopsModuleConfig']['anonymous_vote'] ? 1 :0; +$GLOBALS['xoopsTpl']->assign('showcomments', $showcomments); +$GLOBALS['xoopsTpl']->assign('allow_rating', $allow_rating); +$GLOBALS['xoopsTpl']->assign('lang_printerpage', _AMS_NW_PRINTERFRIENDLY); +$GLOBALS['xoopsTpl']->assign('lang_sendstory', _AMS_NW_SENDSTORY); +$GLOBALS['xoopsTpl']->assign('lang_on', _AMS_NW_PUBLISHED_DATE); +$GLOBALS['xoopsTpl']->assign('lang_postedby', _AMS_NW_POSTEDBY); +$GLOBALS['xoopsTpl']->assign('lang_reads', _AMS_NW_READS); if($article->friendlyurl_enable !=1) { - $xoopsTpl->assign('mail_link', 'mailto:?subject='.sprintf(_AMS_NW_INTARTICLE,$xoopsConfig['sitename']).'&body='.sprintf(_AMS_NW_INTARTFOUND, $xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/AMS/article.php?storyid='.$article->storyid()); -} else -{ - $xoopsTpl->assign('mail_link', 'mailto:?subject='.sprintf(_AMS_NW_INTARTICLE,$xoopsConfig['sitename']).'&body='.sprintf(_AMS_NW_INTARTFOUND, $xoopsConfig['sitename']).': '.$article->friendlyurl); + $GLOBALS['xoopsTpl']->assign('mail_link', 'mailto:?subject='.sprintf(_AMS_NW_INTARTICLE,$GLOBALS['xoopsConfig']['sitename']).'&body='.sprintf(_AMS_NW_INTARTFOUND, $GLOBALS['xoopsConfig']['sitename']).': '.XOOPS_URL.'/modules/ams/article.php?storyid='.$article->storyid()); +} else { + if (($GLOBALS['xoopsModuleConfig']['usetellafriend'] == 1) and (is_dir('../tellafriend'))){ + $GLOBALS['xoopsTpl']->assign('mail_link', XOOPS_URL . '/modules/tellafriend/index.php?target_uri='.sprintf(_AMS_NW_INTARTICLE,$GLOBALS['xoopsConfig']['sitename']).'&body='.sprintf(_AMS_NW_INTARTFOUND, $GLOBALS['xoopsConfig']['sitename']).': '.$article->friendlyurl); + } else { + $GLOBALS['xoopsTpl']->assign('mail_link', 'mailto:?subject='.sprintf(_AMS_NW_INTARTICLE,$GLOBALS['xoopsConfig']['sitename']).'&body='.sprintf(_AMS_NW_INTARTFOUND, $GLOBALS['xoopsConfig']['sitename']).': '.$article->friendlyurl); + } } -$xoopsTpl->assign('related', $article->getLinks()); -$xoopsTpl->assign('page', $storypage); -$xoopsTpl->assign('admin', $admin); -$xoopsTpl->assign('hasversions', $article->hasVersions()); +$GLOBALS['xoopsTpl']->assign('related', $article->getLinks()); +$GLOBALS['xoopsTpl']->assign('page', $storypage); +$GLOBALS['xoopsTpl']->assign('admin', $admin); +$GLOBALS['xoopsTpl']->assign('hasversions', $article->hasVersions()); -$xoopsTpl->assign('lang_attached_files',_AMS_NW_ATTACHEDFILES); +$GLOBALS['xoopsTpl']->assign('lang_attached_files',_AMS_NW_ATTACHEDFILES); $sfiles = new sFiles(); -$filesarr=Array(); -$newsfiles=Array(); +$filesarr = array(); +$newsfiles = array(); $filesarr=$sfiles->getAllbyStory($storyid); $filescount=count($filesarr); -$xoopsTpl->assign('attached_files_count',$filescount); +$GLOBALS['xoopsTpl']->assign('attached_files_count',$filescount); if($filescount>0) { foreach ($filesarr as $onefile) { $newsfiles[]=Array('file_id'=>$onefile->getFileid(), 'visitlink' => XOOPS_URL.'/modules/'.$xoopsModule->dirname().'/visit.php?fileid='.$onefile->getFileid(),'file_realname'=>$onefile->getFileRealName(), 'file_attacheddate'=>formatTimestamp($onefile->getDate()), 'file_mimetype'=>$onefile->getMimetype(), 'file_downloadname'=>XOOPS_UPLOAD_URL.'/'.$onefile->getDownloadname()); } - $xoopsTpl->assign('attached_files',$newsfiles); + $GLOBALS['xoopsTpl']->assign('attached_files',$newsfiles); } -$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars($xoopsModule->name()) . ' - ' . $myts->htmlSpecialChars($article->topic_title()) . ' - ' . $myts->htmlSpecialChars($article->title())); +$GLOBALS['xoopsTpl']->assign('xoops_pagetitle', $myts->htmlSpecialChars($xoopsModule->name()) . ' - ' . $myts->htmlSpecialChars($article->topic_title()) . ' - ' . $myts->htmlSpecialChars($article->title())); -$xoopsTpl->assign('breadcrumb', $article->getPath()); +$GLOBALS['xoopsTpl']->assign('breadcrumb', $article->getPath()); include XOOPS_ROOT_PATH.'/include/comment_view.php'; Added: XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_author.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_author.php (rev 0) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_author.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -0,0 +1,64 @@ +<?php +// $Id: news_top.php,v 1.13 2004/06/27 08:08:11 mithyt2 Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +function b_ams_author_show($options) { + if (!isset($options[3])) { + $options[3] = "average"; + } + include_once XOOPS_ROOT_PATH."/modules/AMS/class/class.newsstory.php"; + $block = array(); + $authors = AmsStory::getAuthors($options[1], $options[0], $options[2], $options[3]); + if (is_array($authors) && count($authors) > 0) { + $block['authors'] = $authors; + } + return $block; +} + +function b_ams_author_edit($options) { + include_once (XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + $form = new XoopsFormElementTray('', '<br/>'); + + $sort_select = new XoopsFormSelect(_AMS_MB_NEWS_ORDER, 'options[0]', $options[0]); + $sort_select->addOption('count', _AMS_MB_NEWS_ARTCOUNT); + $sort_select->addOption('read', _AMS_MB_NEWS_HITS); + $sort_select->addOption('rating', _AMS_MB_NEWS_RATING); + $form->addElement($sort_select); + + $form->addElement(new XoopsFormText(_AMS_MB_NEWS_DISP, 'options[1]', 20, 15, $options[1])); + + $name_select = new XoopsFormSelect(_AMS_MB_NEWS_DISPLAYNAME, 'options[2]', $options[2]); + $name_select->addOption('uname', _AMS_MB_NEWS_USERNAME); + $name_select->addOption('name', _AMS_MB_NEWS_REALNAME); + $form->addElement($name_select); + + $average_select = new XoopsFormSelect(_AMS_MB_NEWS_COMPUTING, 'options[3]', $options[3]); + $average_select->addOption('average', _AMS_MB_NEWS_AVERAGE); + $average_select->addOption('total', _AMS_MB_NEWS_TOTAL); + $form->addElement($average_select); + return $form->render(); +} +?> \ No newline at end of file Added: XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_bigstory.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_bigstory.php (rev 0) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_bigstory.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -0,0 +1,52 @@ +<?php +// $Id: news_bigstory.php,v 1.2 2004/01/29 17:15:54 mithyt2 Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +function b_ams_bigstory_show() { + global $xoopsDB; + include_once XOOPS_ROOT_PATH."/modules/AMS/class/class.newsstory.php"; + $myts =& MyTextSanitizer::getInstance(); + $block = array(); + $tdate = mktime(0,0,0,date("n"),date("j"),date("Y")); + $result = $xoopsDB->query("SELECT storyid, title FROM ".$xoopsDB->prefix("ams_article")." WHERE published > ".$tdate." AND published < ".time()." AND (expired > ".time()." OR expired = 0) ORDER BY counter DESC",1,0); + list($fsid, $ftitle) = $xoopsDB->fetchRow($result); + if ( !$fsid && !$ftitle ) { + $block['message'] = _AMS_MB_NEWS_NOTYET; + } else { + $block['message'] = _AMS_MB_NEWS_TMRSI; + $block['story_title'] = $myts->htmlSpecialChars($ftitle); + $block['story_id'] = $fsid; + } + if($fsid > 0) + { + $article = new AmsStory($fsid); + $block['friendlyurl_enable'] = $article->friendlyurl_enable; + $block['friendlyurl'] = $article->friendlyurl; + + } + return $block; +} +?> \ No newline at end of file Added: XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_moderate.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_moderate.php (rev 0) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_moderate.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -0,0 +1,69 @@ +<?php +// $Id: news_moderate.php,v 1.5 2004/05/29 16:36:26 mithyt2 Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +function b_ams_topics_moderate() { + include_once XOOPS_ROOT_PATH."/class/xoopstopic.php"; + include_once XOOPS_ROOT_PATH . "/modules/AMS/class/class.newsstory.php"; + $block = array(); + + $storyarray = AmsStory :: getAllSubmitted(0, true, true); + if ( count( $storyarray ) > 0 ) + { + $block['lang_story_title'] = _AMS_MB_TITLE; + $block['lang_story_date'] = _AMS_MB_POSTED; + $block['lang_story_author'] =_AMS_MB_POSTER; + $block['lang_story_action'] =_AMS_MB_ACTION; + $block['lang_story_topic'] =_AMS_MB_TOPIC; + foreach ($storyarray as $thisstory) { + $uids[$thisstory->uid()] = $thisstory->uid(); + } + $member_handler =& xoops_gethandler('member'); + $user_arr = $member_handler->getUsers(new Criteria('uid', "(".implode(',', array_keys($uids)).")", 'IN') , true); + foreach( $storyarray as $newstory ) + { + $newstory->uname($user_arr); + $title = $newstory -> title(); + if ( !isset( $title ) || ( $title == "" ) ) + { + $linktitle = "<a href='" . XOOPS_URL . "/modules/AMS/index.php?op=edit&storyid=" . $newstory -> storyid() . "'>" . _AD_NOSUBJECT . "</a>"; + } + else + { + $linktitle = "<a href='" . XOOPS_URL . "/modules/AMS/submit.php?op=edit&storyid=" . $newstory -> storyid() . "'>" . $title . "</a>"; + } + $story['title'] = $linktitle; + $story['date'] = formatTimestamp( $newstory -> created()); + $story['author'] = "<a href='" . XOOPS_URL . "/userinfo.php?uid=" . $newstory -> uid() . "'>" . $newstory -> uname . "</a>"; + $story['action'] = "<a href='" . XOOPS_URL . "/modules/AMS/submit.php?op=delete&storyid=" . $newstory -> storyid() . "'>" . _AMS_MB_DELETE . "</a>"; + $story['topic_title'] = $newstory -> topic_title(); + $block['stories'][] =& $story; + unset($story); + } + } + return $block; +} +?> \ No newline at end of file Added: XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_spotlight.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_spotlight.php (rev 0) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_spotlight.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -0,0 +1,119 @@ +<?php +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +function b_ams_spotlight_show($options) { + include_once XOOPS_ROOT_PATH."/modules/AMS/class/class.newsstory.php"; + global $xoopsModule; + if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != "AMS") { + $mod_handler =& xoops_gethandler('module'); + $amsModule =& $mod_handler->getByDirname('AMS'); + } + else { + $amsModule =& $xoopsModule; + } + + $spotlight_handler =& xoops_getmodulehandler('spotlight', 'AMS'); + $block =& $spotlight_handler->getSpotlightBlock(); + + //load special block instruction if exist + if (file_exists(XOOPS_ROOT_PATH.'/modules/AMS/templates/'.$options[2].'.php')) + { + include XOOPS_ROOT_PATH.'/modules/AMS/templates/'.$options[2].'.php'; + } + + $GLOBALS['xoopsTpl']->assign('spotlights', $block['spotlights']); + $block['spotlightcontent'] = $GLOBALS['xoopsTpl']->fetch('db:'.$options[2]); + $GLOBALS['xoopsTpl']->clear_assign('spotlights'); + + if (count($options) > 0) { + if (intval($options[0]) > 0) { + $stories = AmsStory::getAllPublished(intval($options[0]), 0, false, 0, 1, true, 'published', $block['ids']); + $count = 0; + foreach (array_keys($stories) as $i) { + $block['stories'][] = array('id' => $stories[$i]->storyid(), 'title' => $stories[$i]->title(), 'hits' => $stories[$i]->counter(), 'friendlyurl_enable'=>$stories[$i]->friendlyurl_enable, 'friendlyurl'=>$stories[$i]->friendlyurl ); + $count ++; + } + } + + if ($options[1] == 1) { + $block['total_art'] = AmsStory::countPublishedByTopic(); + $block['total_read'] = AmsStory::countReads(); + $comment_handler =& xoops_gethandler('comment'); + $block['total_comments'] = $comment_handler->getCount(new Criteria('com_modid', $amsModule->getVar('mid'))); + } + $block['showministats'] = $options[1]; + $block['showother'] = intval($options[0]) > 0; + } + + return $block; +} + +function b_ams_spotlight_edit($options) { + include_once (XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + include_once XOOPS_ROOT_PATH."/modules/AMS/include/functions.inc.php"; + + global $xoopsModule; + AMS_updateCache(); + if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != "AMS") + { + $module_handler =& xoops_gethandler('module'); + $module =& $module_handler->getByDirname("AMS"); + } + else { + $module =& $xoopsModule; + } + $config_handler =& xoops_gethandler('config'); + $moduleConfig =& $config_handler->getConfigsByCat(0, $module->getVar('mid')); + $templates_list=array_flip($moduleConfig['spotlight_template']); + + //fix template list value lost after module update + foreach ($templates_list as $k => $v) + { + $templates_list[$k] = substr($k,20,strlen($k)-25); + } + + + $form = new XoopsFormElementTray('', '<br/><br />'); + $numarticles_select = new XoopsFormText(_AMS_MB_SPOT_NUMARTICLES, 'options[0]', 10, 10, $options[0]); + $form->addElement($numarticles_select); + + $form->addElement(new XoopsFormRadioYN(_AMS_MB_SPOT_SHOWMINISTATS, 'options[1]', $options[1])); + + //spotlight template selection + $template_select = new XoopsFormSelect(_AMS_MB_SPOTLIGHT_TEMPLATE, 'options[2]', $options[2]); + $template_select->addOptionArray($templates_list); + $template_select->setExtra( "onchange='showImgSelected(\"template_preview\", \"options[2]\", \"" . '/modules/AMS/images/spotlight_preview' . "\", \".jpg\", \"" . XOOPS_URL . "\")'" ); + $template_select->setDescription(_AMS_MB_SPOTLIGHT_TEMPLATE_DESC); + $form->addElement($template_select); + + //spotlight preview image + $imgpath=sprintf('', "modules/AMS/images/spotlight_preview/" ); + $form -> addElement( new XoopsFormLabel( '', "<br /><img src='" . XOOPS_URL . "/modules/AMS/images/spotlight_preview/".$options[2].".jpg' name='template_preview' id='template_preview' alt='' />" ) ); + + + return $form->render(); +} +?> \ No newline at end of file Added: XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_top.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_top.php (rev 0) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_top.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -0,0 +1,124 @@ +<?php +// $Id: news_top.php,v 1.13 2004/06/27 08:08:11 mithyt2 Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +function b_ams_top_show($options) { + $myts =& MyTextSanitizer::getInstance(); + include_once XOOPS_ROOT_PATH."/modules/AMS/class/class.newsstory.php"; + $block = array(); + if ( !isset($options[4]) || $options[4] == 0 || $options[4] == array(0)) { + $stories = AmsStory::getAllPublished($options[1],0,false,0,1, true, $options[0]); + } + else { + // If using Xoops 2.0.9.1 way of saving array values + if (is_array($options[4])) { + $topics = $options[4]; + } + else { + $topics = array_slice($options, 4); + } + $stories = AmsStory::getAllPublished($options[1],0,false,$topics, 1, true, $options[0]); + } + foreach ( $stories as $key => $story ) { + switch ($options[0]) { + case "rating": + $stat = $story->rating; + break; + + case "counter": + $stat = $story->counter(); + break; + + case "published": + $stat = formatTimestamp($story->published(), "s"); + break; + } + $news = array(); + $title = $story->title(); + if (strlen($title) >= $options[2]) { + $title = xoops_substr($title,0,($options[2]-1)); + } + $html = $story->nohtml ? 0 : 1; + $news['title'] = $title; + $news['id'] = $story->storyid(); + $news['date'] = formatTimestamp($story->published(),"s"); + $news['hits'] = $stat; + $news['friendlyurl'] = $story->friendlyurl; + $news['friendlyurl_enable'] = $story->friendlyurl_enable; + if ($options[3] > 0) { + $news['teaser'] = xoops_substr($myts->displayTarea($story->hometext, $html), 0, $options[3]-1); + } + else { + $news['teaser'] = ""; + } + $block['stories'][] = $news; + } + return $block; +} + +function b_ams_top_edit($options) { + global $xoopsDB; + include_once (XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + $form = new XoopsFormElementTray('', '<br/><br />'); + + $order_select = new XoopsFormSelect(_AMS_MB_NEWS_ORDER, 'options[0]', $options[0]); + $order_select->addOption('published', _AMS_MB_NEWS_DATE); + $order_select->addOption('counter', _AMS_MB_NEWS_HITS); + $order_select->addOption('rating', _AMS_MB_NEWS_RATING); + $form->addElement($order_select); + + $form->addElement(new XoopsFormText(_AMS_MB_NEWS_DISP." x "._AMS_MB_NEWS_ARTCLS, 'options[1]', 10, 10, $options[1])); + + $form->addElement(new XoopsFormText(_AMS_MB_NEWS_CHARS." x "._AMS_MB_NEWS_LENGTH, 'options[2]', 10, 10, $options[2])); + + $form->addElement(new XoopsFormText(_AMS_MB_NEWS_TEASER, 'options[3]', 10, 10, $options[3])); + + if (!isset($options[4])) { + $topics = array(0); + } + // If using Xoops 2.0.9.1 way of saving array values + elseif (is_array($options[4])) { + $topics = $options[4]; + } + else { + $topics = array_slice($options, 4); + } + + $topics_select = new XoopsFormSelect(_AMS_MB_TOPIC, 'options[4]', $topics, 7, true); + + include_once XOOPS_ROOT_PATH."/modules/AMS/class/class.newstopic.php"; + $xt = new AmsTopic($xoopsDB->prefix("ams_topics")); + $alltopics = $xt->getAllTopics(); + $topics_select->addOption(0, _AMS_MB_NEWS_ALLTOPICS); + + foreach ($alltopics as $topicid => $topic) { + $topics_select->addOption($topicid, $topic->topic_title()); + } + $form->addElement($topics_select); + + return $form->render(); +} +?> \ No newline at end of file Added: XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topics.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topics.php (rev 0) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topics.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -0,0 +1,41 @@ +<?php +// $Id: news_topics.php,v 1.2 2004/01/29 17:15:54 mithyt2 Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +function b_ams_topics_show() { + global $xoopsDB, $storytopic; + $block = array(); + include_once XOOPS_ROOT_PATH."/class/xoopstopic.php"; + $xt = new XoopsTopic($xoopsDB->prefix("ams_topics")); + $jump = XOOPS_URL."/modules/AMS/index.php?storytopic="; + $storytopic = !empty($storytopic) ? intval($storytopic) : 0; + ob_start(); + $xt->makeTopicSelBox(1, $storytopic,"storytopic","location=\"".$jump."\"+this.options[this.selectedIndex].value"); + $block['selectbox'] = ob_get_contents(); + ob_end_clean(); + return $block; +} +?> \ No newline at end of file Added: XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topicsnav.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topicsnav.php (rev 0) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/blocks/ams_topicsnav.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -0,0 +1,47 @@ +<?php +// $Id: news_topicsnav.php,v 1.3 2004/05/25 08:19:59 hthouzard Exp $ +// ------------------------------------------------------------------------ // +// 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 // +// ------------------------------------------------------------------------ // + +function b_ams_topicsnav_show($options) { + include_once(XOOPS_ROOT_PATH."/modules/AMS/class/class.newstopic.php"); + global $xoopsDB, $xoopsUser; + $block = array(); + $topics = AmsTopic::getAllTopics($options[0]); + foreach ($topics as $topic) { + $block['topics'][] = array('id' => $topic->topic_id, 'title' => $topic->topic_title()); + } + return $block; +} + +function b_ams_topicsnav_edit($options) { + include_once (XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + $form = new XoopsFormElementTray('', '<br/>'); + $restrict_select = new XoopsFormRadioYN(_AMS_MB_NEWS_RESTRICTTOPICS, 'options[0]', $options[0]); + $form->addElement($restrict_select); + + return $form->render(); +} +?> \ No newline at end of file Modified: XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_article.php =================================================================== --- XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_article.php 2012-03-03 02:25:18 UTC (rev 9084) +++ XoopsModules/AMS - Article Management System/branches/timgno/ams/class/ams_article.php 2012-03-03 14:36:14 UTC (rev 9085) @@ -355,7 +355,7 @@ function getAllPublished($limit=0, $start=0, $checkRight = false, $topic=0, $ihome=0, $asobject=true, $order = 'published', $ids = false) { - $db =& Database::getInstance(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $myts =& MyTextSanitizer::getInstance(); $ret = array(); $sql = "SELECT * FROM ".$db->prefix("ams_article")." n, ".$db->prefix("ams_text")." t, ".$db->prefix("ams_audience")." a WHERE t.storyid=n.storyid AND n.audienceid=a.audienceid AND published > 0 AND published <= ".time()." AND (expired = 0 OR expired > ".time().")"; @@ -367,16 +367,15 @@ $sql .= " AND topicid IN (".implode(',', $topic).")"; } } else { - if ($checkRight) { - global $xoopsUser, $xoopsModule; - if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != "AMS") { + if ($checkRight) { + if (!isset($GLOBALS['xoopsModule']) || $GLOBALS['xoopsModule']->getVar('dirname') != "ams") { $module_handler =& xoops_gethandler('module'); - $newsModule =& $module_handler->getByDirname('AMS'); + $newsModule =& $module_handler->getByDirname('ams'); } else { - $newsModule =& $xoopsModule; + $newsModule =& $GLOBALS['xoopsModule']; } - $groups = $xoopsUser ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; + $groups = $GLOBALS['xoopsUser'] ? $GLOBALS['xoopsUser']->getGroups() : XOOPS_GROUP_ANONYMOUS; $gperm_handler =& xoops_gethandler('groupperm'); $topics = $gperm_handler->getItemIds('ams_view', $groups, $newsModule->getVar('mid')); $topics = implode(',', $topics); @@ -411,24 +410,22 @@ */ function getAllSubmitted($limit=0, $asobject=true, $checkRight = false) { - $db =& Database::getInstance(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $myts =& MyTextSanitizer::getInstance(); $ret = array(); $criteria = new CriteriaCompo(new Criteria('published', 0)); - if ($checkRight) { - global $xoopsUser; - if (!$xoopsUser) { + if ($checkRight) { + if (!$GLOBALS['xoopsUser']) { return $ret; } - $groups = $xoopsUser->getGroups(); - $gperm_handler =& xoops_gethandler('groupperm'); - global $xoopsModule; - if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != "AMS") { + $groups = $GLOBALS['xoopsUser']->getGroups(); + $gperm_handler =& xoops_gethandler('groupperm'); + if (!isset($GLOBALS['xoopsModule']) || $GLOBALS['xoopsModule']->getVar('dirname') != "ams") { $module_handler =& xoops_gethandler('module'); - $newsmodule =& $module_handler->getByDirname('AMS'); + $newsmodule =& $module_handler->getByDirname('ams'); } else { - $newsmodule =& $xoopsModule; + $newsmodule =& $GLOBALS['xoopsModule']; } $allowedtopics = $gperm_handler->getItemIds('ams_approve', $groups, $newsmodule->getVar('mid')); if (count($allowedtopics) == 0) { @@ -456,7 +453,7 @@ function getByTopic($topicid, $limit=0) { $ret = array(); - $db =& Database::getInstance(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $sql = "SELECT * FROM ".$db->prefix("ams_article")." n, ".$db->prefix("ams_text")." t, ".$db->prefix("ams_audience")." a WHERE n.storyid=t.storyid AND n.audienceid=a.audienceid AND t.current=1 AND topicid=".intval($topicid)." AND published > 0 AND published <= ".time()." AND (expired = 0 OR expired > ".time().") ORDER BY published DESC"; $result = $db->query($sql, intval($limit), 0); while( $myrow = $db->fetchArray($result) ){ @@ -467,7 +464,7 @@ function countByTopic($topicid=0) { - $db =& Database::getInstance(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $sql = "SELECT COUNT(*) FROM ".$db->prefix("ams_article")." WHERE expired >= ".time().""; if ( $topicid != 0 ) { @@ -480,22 +477,22 @@ function countPublishedByTopic($topicid=0, $checkRight = false) { - $db =& Database::getInstance(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $sql = "SELECT COUNT(*) FROM ".$db->prefix("ams_article")." WHERE published > 0 AND published <= ".time()." AND (expired = 0 OR expired > ".time().")"; if ( !empty($topicid) ) { $sql .= " AND topicid=".intval($topicid); } else { $sql .= " AND ihome=0"; if ($checkRight) { - global $xoopsUser, $xoopsModule; - if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != "AMS") { + + if (!isset($GLOBALS['xoopsModule']) || $GLOBALS['xoopsModule']->getVar('dirname') != "AMS") { $module_handler =& xoops_gethandler('module'); $newsModule =& $module_handler->getByDirname('AMS'); } else { - $newsModule =& $xoopsModule; + $newsModule =& $GLOBALS['xoopsModule']; } - $groups = $xoopsUser ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; + $groups = $GLOBALS['xoopsUser'] ? $GLOBALS['xoopsUser']->getGroups() : XOOPS_GROUP_ANONYMOUS; $gperm_handler =& xoops_gethandler('groupperm'); $topics = $gperm_handler->getItemIds('ams_view', $groups, $newsModule->getVar('mid')); $topics = implode(',', $topics); @@ -509,22 +506,22 @@ function countPublishedOrderedByTopic($topicid=0, $checkRight = false) { - $db =& Database::getInstance(); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); $sql = "SELECT topicid, COUNT(*) FROM ".$db->prefix("ams_article")." WHERE published > 0 AND published <= ".time()." AND (expired = 0 OR expired > ".time().")"; if ( !empty($topicid) ) { $sql .= " AND topicid=".intval($topicid); } else { $sql .= " AND ihome=0"; if ($checkRight) { - global $xoopsUser, $xoopsModule; - if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != "AMS") { + + if (!isset($GLOBALS['xoopsModule']) || $GLOBALS['xoopsModule']->getVar('dirname') != "AMS") { $module_handler =& xoops_gethandler('module'); $newsModule =& $module_handler->getByDirname('AMS'); } else { - $newsModule =& $xoopsModule; + $newsModule =& $GLOBALS['xoopsModule']; } - $groups = $xoopsUser ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; + $groups = $GLOBALS['xoopsUser'] ? $GLOBALS['xoopsUser']->getGroups() : XOOPS_GROUP_ANONYMOUS; $gperm_handler =& xoops_gethandler('groupperm'); $topics = $gperm_handler->getItemIds('ams_view', $groups, $newsModule->getVar('mid')); $topics = implode(',', $topics); @@ -570,8 +567,8 @@ if (!is_object($this->newstopic)) { $this->topic(); } - if ($this->newstopic->topic_imgurl() != '' && file_exists(XOOPS_ROOT_PATH."/modules/AMS/images/topics/".$this->newstopic->topic_imgurl())) { - $ret = "<a href='".XOOPS_URL."/modules/AMS/index.php?storytopic=".$this->topicid."'><img src='".XOOPS_URL."/modules/AMS/images/topics/".$this->newstopic->topic_imgurl()."' alt='".$this->newstopic->topic_title()."' hspace='10' vspace='10' align='".$this->topicalign()."' /></a>"; + if ($this->newstopic->topic_imgurl() != '' && file_exists(XOOPS_ROOT_PATH."/modules/ams/images/topics/".$this->newstopic->topic_imgurl())) { + $ret = "<a href='".XOOPS_URL."/modules/ams/index.php?storytopic=".$this->topicid."'><img src='".XOOPS_URL."/modules/ams/images/topics/".$this->newstopic->topic_imgurl()."' alt='".$this->newstopic->topic_title()."' hspace='10' vspace='10' align='".$this->topicalign()."' /></a>"; } return $ret; } @@ -581,11 +578,10 @@ if ($this->uid == 0) { $this->uname = $GLOBALS['xoopsConfig']['anonymous']; return array(); - } - global $xoopsModule, $xoopsModuleConfig; - if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != "AMS") { + } + if (!isset($GLOBALS['xoopsModule']) || $GLOBALS['xoopsModule']->getVar('dirname') != "ams") { $module_handler =&... [truncated message content] |
From: <wis...@us...> - 2012-03-03 02:25:30
|
Revision: 9084 http://xoops.svn.sourceforge.net/xoops/?rev=9084&view=rev Author: wishcraft Date: 2012-03-03 02:25:18 +0000 (Sat, 03 Mar 2012) Log Message: ----------- myAlbum-p 3.04 - All bugs fixed, final release for XOOPS 2.5 Added Paths: ----------- XoopsModules/myalbum/branches/wishcraft/3.04/ XoopsModules/myalbum/branches/wishcraft/3.04/docs/ XoopsModules/myalbum/branches/wishcraft/3.04/docs/.htaccess XoopsModules/myalbum/branches/wishcraft/3.04/docs/CHANGELOG XoopsModules/myalbum/branches/wishcraft/3.04/docs/COPYING XoopsModules/myalbum/branches/wishcraft/3.04/docs/INSTALL XoopsModules/myalbum/branches/wishcraft/3.04/docs/README XoopsModules/myalbum/branches/wishcraft/3.04/docs/TODO XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.admission.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.batch.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.export.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.import.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.index.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.permissions.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.photomanager.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/16/myalbum.redothumbs.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.admission.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.batch.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.export.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.import.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.index.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.permissions.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.photomanager.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/Frameworks/moduleclasses/icons/32/myalbum.redothumbs.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/about.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/admin.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/admin_header.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/admission.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/batch.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/checkconfigs.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/checkgd2.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/dashboard.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/error_log XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/export.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/groupperm_global.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/import.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/index.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/menu.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/myblocksadmin.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/mygroupperm.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/mygrouppermform.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/mymenu.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/photomanager.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/admin/redothumbs.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/.htaccess.dist XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/myalbum0_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/myalbum1_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/myalbum2_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/myalbum_block_tag.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/myalbum_rphoto.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/myalbum_tophits.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/blocks/myalbum_topnews.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/cat.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/comments.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/myalbum.textsanitizer.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/myuploader.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/photos.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/text.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/class/votedata.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/close.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/comment_delete.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/comment_edit.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/comment_new.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/comment_post.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/comment_reply.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/changelog.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/copying.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/credits.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/install.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/lang_diff.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/licence.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/readme.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/docs/todo.txt XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/editphoto.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/header.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/asx.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/avi.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/bmp.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/default.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/doc.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/gif.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/jpg.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/mid.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/mov.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/mp3.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/mpeg.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/mpg.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/pdf.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/png.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/ram.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/rar.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/swf.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/txt.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/wav.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/wmv.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/xls.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/icons/zip.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/imagemanager.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/0.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/1.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/2.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/3.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/4.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/5.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/6.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/7.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/8.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/9.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/Thumbs.db XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/alignbigcenter.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/alignbigleft.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/alignbigright.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/aligncenter.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/alignleft.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/alignright.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/cat_add.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/cat_edit.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/clock.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/comments.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/deadlink.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/down.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/editicon.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/folder16.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/folder32.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/folder32_old.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/folder_open.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/hits.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/icon_rotate180.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/icon_rotate270.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/icon_rotate90.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/jaquette dvd.png XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/logo.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/mk_slogo.sh XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/myalbum0_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/myalbum1_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/myalbum2_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/myalbum_slogo.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/myphotos.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/newred.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/pict.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/pictadd.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/pixel_trans.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/plus.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/pop.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank0.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank1.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank2.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank3.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank4.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank5.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank6.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank7.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank8.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank9.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rank_none.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/rss.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/subcat.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/submitter.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/tellafriend.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/up.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/update.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/vote.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/images/watermark_sample.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/.htaccess XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/assign_globals.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/blocksadmin.inc.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/comment_functions.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/draw_functions.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/functions.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/get_perms.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/gtickets.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/myalbum.forms.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/notification.inc.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/oninstall.inc.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/onupdate.inc.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/onupdate.inc.php.sample XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/photo_orders.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/preferences.inc.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/read_configs.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/search.inc.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/sitemap.plugin.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/updateblock.inc.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/include/waiting.plugin.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/index.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/.htaccess XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/admin.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/blocks.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/mail_template/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/mail_template/category_newphoto_notify.tpl XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/mail_template/global_newphoto_notify.tpl XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/main.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/modinfo.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/english/myalbum_constants.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/language/index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/list.tag.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/notification_update.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/photo.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/ratephoto.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/rss.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/sql/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/sql/.htaccess XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/sql/myalbum.sql XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/sql/myalbum0.sql XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/sql/myalbum1.sql XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/sql/myalbum2.sql XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/submit.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/.htaccess XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/_notes/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/_notes/dwsync.xml XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum0_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum0_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum0_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum0_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum0_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum0_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum0_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum1_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum1_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum1_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum1_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum1_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum1_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum1_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum2_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum2_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum2_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum2_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum2_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum2_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum2_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum_block_rphoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum_block_tophits.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum_block_tophits_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum_block_topnews.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum_block_topnews_p.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum_tag_block_cloud.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/blocks/myalbum_tag_block_top.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/mk_templates.sh XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_categories.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_footer.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_header.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_photo.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_rss.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_topten.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum0_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_categories.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_footer.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_header.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_photo.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_rss.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_topten.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum1_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_categories.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_footer.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_header.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_photo.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_rss.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_topten.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum2_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_categories.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_cpanel_admission.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_cpanel_batch.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_cpanel_export.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_cpanel_import.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_cpanel_permissions.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_footer.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_header.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_imagemanager.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_index.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_photo.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_photo_in_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_ratephoto.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_rss.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_topten.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_viewcat_list.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/templates/myalbum_viewcat_table.html XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/topten.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/view.tag.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/viewcat.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/myalbum/xoops_version.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/sitemap/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/sitemap/plugin/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/sitemap/plugin/myalbum.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/tag/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/tag/plugin/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/tag/plugin/myalbum.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/tag/plugin/myalbum0.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/tag/plugin/myalbum1.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/modules/tag/plugin/myalbum2.php XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/uploads/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/uploads/myalbum/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/uploads/myalbum/watermarks/ XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/uploads/myalbum/watermarks/Thumbs.db XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/uploads/myalbum/watermarks/default.gif XoopsModules/myalbum/branches/wishcraft/3.04/htdocs/uploads/myalbum/watermarks/default.ttf Added: XoopsModules/myalbum/branches/wishcraft/3.04/docs/.htaccess =================================================================== --- XoopsModules/myalbum/branches/wishcraft/3.04/docs/.htaccess (rev 0) +++ XoopsModules/myalbum/branches/wishcraft/3.04/docs/.htaccess 2012-03-03 02:25:18 UTC (rev 9084) @@ -0,0 +1,36 @@ + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^gallery/submit.html modules/myalbum/submit.php [L,NC,QSA] +RewriteRule ^gallery/submit.php modules/myalbum/submit.php [L,NC,QSA] +RewriteRule ^gallery/ratephoto.php modules/myalbum/ratephoto.php [L,NC,QSA] +RewriteRule ^gallery/cat,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).html modules/myalbum/viewcat.php?cid=$1&uid=$2&num=$3&pos=$4&view=$5 [L,NC,QSA] +RewriteRule ^gallery/rss,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).rss modules/myalbum/rss.php?cid=$1&uid=$2&num=$3&pos=$4&view=$5 [L,NC,QSA] +RewriteRule ^gallery/index,([0-9]+),([0-9]+).html modules/myalbum/index.php?num=$1&pos=$2 [L,NC,QSA] +RewriteRule ^gallery/rate,([0-9]+).html modules/myalbum/ratephoto.php?lid=$1 [L,NC,QSA] +RewriteRule ^gallery/top,([0-9]+),([0-9]+).html modules/myalbum/topten.php?hit=$1&rate=$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/index.php modules/myalbum/index.php [L,NC,QSA] +RewriteRule ^gallery/(.*?)/comment_(.*?) modules/myalbum/comment_$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/photo.php(.*?) modules/myalbum/photo.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/viewcat.php(.*?) modules/myalbum/viewcat.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/ratephoto.php(.*?) modules/myalbum/ratephoto.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/list.tag.php(.*?) modules/myalbum/list.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/view.tag.php(.*?) modules/myalbum/view.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/submit.php(.*?) modules/myalbum/submit.php?$2&title=$1 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/submit,([0-9]+).html modules/myalbum/submit.php?cid=$2&title=$1 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/cat,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).html modules/myalbum/viewcat.php?cid=$2&uid=$3&num=$4&pos=$5&view=$6 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/rss,([0-9]+),([0-9]+),([0-9]+),([0-9]+),([a-zA-Z0-9]+).rss modules/myalbum/rss.php?cid=$2&uid=$3&num=$4&pos=$5&view=$6 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/edit,([0-9]+),([0-9]+).html modules/myalbum/editphoto.php?lid=$3&cid=$4 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/rate,([0-9]+),([0-9]+).html modules/myalbum/ratephoto.php?lid=$3&cid=$4 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/submit.php?cid=([0-9]+) modules/myalbum/submit.php?cid=$3&title=$1 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/comment_(.*?) modules/myalbum/comment_$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/photo.php(.*?) modules/myalbum/photo.php$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/viewcat.php(.*?) modules/myalbum/viewcat.php$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/ratephoto.php(.*?) modules/myalbum/ratephoto.php$3 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/list.tag.php(.*?) modules/myalbum/list.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/view.tag.php(.*?) modules/myalbum/view.tag.php$2 [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/index.php modules/myalbum/index.php [L,NC,QSA] +RewriteRule ^gallery/(.*?)/(.*?)/([0-9]+),([0-9]+).html modules/myalbum/photo.php?lid=$3&cid=$4 [L,NC,QSA] +RewriteRule ^gallery/(.*?) modules/myalbum/$1 [L,NC,QSA] Added: XoopsModules/myalbum/branches/wishcraft/3.04/docs/CHANGELOG =================================================================== --- XoopsModules/myalbum/branches/wishcraft/3.04/docs/CHANGELOG (rev 0) +++ XoopsModules/myalbum/branches/wishcraft/3.04/docs/CHANGELOG 2012-03-03 02:25:18 UTC (rev 9084) @@ -0,0 +1,430 @@ +2004-10-4 v2.84 + - modified ImageManagerIntegration can treat non-image files (AttachmentManager) + - added an option which specifies the default listing order + - modified that img tags have not only alt but also title property + - added delete button on admin's admission (thx karuna) + - fixed a bug rendering options for categories (thx Tom_G3X) + - added italian language (thx NickeL) + - updated schinese language (thx phppp) + +2004-7-31 v2.83 + - added photo columns into each blocks (thx rocket98) + - fixed default templates not to display posting icon to non-priv-users (thx rocket98) + - fixed adding meta headers into submit.php called by IMI (thx phppp) + - fixed myalbum.textsanitizer to separated some codes into langs (thx phppp) + - modified non-image files can be shown in random block (thx okatti) + - updated myblocksadmin into 0.07 + - updated schinese language (thx phppp) + +2004-7-8 v2.82 + - fixed a bug in listing categories (thx cradeg) + +2004-7-5 v2.81 + - fixed looping check routine (thx boufa) + - fixed treating with ghost categories (thx cradeg & boufa) + - eliminated some codes using buggy xoops_substr() (thx namhil & boufa) + - added mbstring routine for some environment (thx Marijuana) + - fixed some links not ended '/' (thx Marijuana) + - added some global permissions on intall (thx Marijuana) + - updated swedish language (thx Leif Madsen) + +2004-6-25 v2.80 + - remade the default design using crystal icons. (thx to all of icon authors) + - added class MyAlbumTextSanitizer extends MyTextSanitizer + - added tag [siteimg] + - added tag [summary][/summary] only text inside this tag will be displayed in summary view + - applied with Windows environment (If you want to use Windows Server with ImageMagick, try blank as the path of ImageMagick) + - added a mode ImageManager Integration outputs [siteimg] tags + - updated myblocksadmin & mymenu + - changed names of functions using prefix "myalbum_" (eg. applied the problem of redeclaring convertorderbyin() ) + - fixed some SQL injection vulnerablities + - and many other slight bugs are patched + +2004-5-25 v2.75b + - fixed import.php from myAlbum-P (thx okatti) + +2004-5-22 v2.75a + - fixed a fatal bug which user's posts is cleared when he submit (thx sfdb). + -- 2.73 , 2.74 and 2.75 have this problem. + +2004-5-21 v2.75 + - fixed uid don't specified in order link (thx bordacs) + - modified icon gifs larger + - eliminate 'PHP_SELF' + +2004-5-19 v2.74 + - added middle size calculation in photo.php (thx ellecat) + - fixed wrong links in photo.php (thx sfdb, efla) + - fixed a bug in specifying date of last modified + - changed myalbum_slogo.gif using font 04b_03b (thx Herko & Y.Kishino) + - changed logo.gif like mydownloads (thx LARABIE FONTS) + +2004-5-17 v2.73 + - added batch update into photo manager (thx efla) + - added a drop-down box allowing him a direct access to any categories or/and sub-categories. (thx efla) + - fixed a bug category selection is not stored in preview. (thx Elleomea) + - fixed a bug of catview.php in table view (thx Snoopy) + +2004-5-13 v2.72a modification about a compatibility with PHP Accelerator + - the order of templates is changed back to the same as 2.6 + - modified category should be selected (thx sfdb) + - modified putting some space between 2 lines of thumbs in the table view (thx efla) + - modified "mymenu" can be also displayed in preferences + +2004-5-7 v2.72 some modifications + - modified treating files other than images + - modified redo thumbnails + - modified preview + +2004-5-7 v2.71 bug fixed + - fixed a problem which caps extensions treated as not image files + +2004-5-5 v2.70 release + - added page navigation into recent list of top page + - added limitation of photos in block displaying + - added category's name ($photo.cat_title) into template myalbum*_photo_in_list.html + - added term for rotation of random image + - added import from imagemanager + - added export to imagemanager + - added a top menu for admin ("mymenu") + - remade category's admin (renamed as index.php) + - allowed to upload another type of files (swf,avi etc.) + - For such implementations, I use the icons of filemanager 3.0 + - thx to the author Jan Inge Pettersen(Xend) http://www.xendtech.com/ + +2004-4-5 v2.70 beta 03 + - use myuploader.php instead of class/uploader.php in XOOPS core. + (Security reason) + - added import from another myAlbum-P modules. + - navigation at bottom as well (thx mariuss) + - New language + - Nederlands (thx Jan Deeben) + +2004-3-9 v2.70 beta 02 + - fixed typo in xoops_version.php and notification.inc.php + - fixed typo in templates for duplicated modules + - added links each categories view from submit or edit + - not only text but also photo is previewable (submit) + - myblocksadmin improved a little + - Updated swedish (thx Leif Madsen) + +2004-3-4 v2.70 beta 01 + - modified as "Duplicatable Module" + - rename .htaccess into .htaccess.dist for some environment. + (If you want more secure, rename it into .htaccess manually) + - Updated spanish (thx ColdBeer) + - short tag in language/*/admin.php fixed (thx magu) + +2004-2-29 v2.64 (some requested features implemented) + - redirect to viewcat.php of specified category after photo submission (thx karuna) + - set the filename as subject when subject is not specified (thx mariuss) + - modified into much safer codes which prevent from crackers (thx JM2) + - preview added + - myblocksadmin updated to 0.04 + - changed like that uploading photo is not necessary + - use original images as thumbnails when the images is small enough + - New language + - Portuguese (thx Oliver Zancul Prado) + +2004-2-12 v2.63 (small fix) + - fixed bug that registered users (not admin) can't edit photo's description + +2004-1-30 v2.62 (small fixes) + - fixed typo in viewcat.php (thx pen) + - move 'template_main' above include(XOOPS_ROOT_PATH.'/header.php') + +2004-1-30 v2.61 (small fixes) + - fixed typo in myalbum_imagemanager.html rxcoder -> xcoder fixed (thx Olorin) + - feature changed not to close imagemanager after [img] added (thx Olorin) + - sort by date desc added (thx Collo) + - pagenav bug fixed (thx Collo) + +2004-1-28 v2.60 release + - imagemanager integrated with XOOPS core added + - optimization for table view + - Updated swedish (thx Leif Madsen) + +2004-1-27 v2.60beta01 + - almost of front ends have been rewritten to use template + - selectable from two views of viewcat.php (list & table) + - global group permission added (add,edit,delete,rateview,ratevote) + - notifications added (new photos in global and categories) + - some improvement for admin + - some fix + +2003-12-31 v2.50beta04 + - New language + - Swedish (thx Leif Madsen) + - width specification added when big thumbs + +2003-12-18 v2.50beta03 + - myblocksadmin is replaced to 0.03 + (compatibility trouble before XOOPS 2.0.3) + +2003-12-3 v2.50beta02 + - Updated tchinese (thx xoobs) + - myblocksadmin added + - two blocks added + +2003-11-25 v2.50beta01 (Major version up) + - better work with GD + - adding "forceGD2 mode" + - supporting NetPBM + - add a preference for rules of creating thumbnails + - rewrite all of blocks (using templates etc..) + - rewrite redo thumnails + - rewrite batch register + - selectable uname() or name() + - remove all of is_executable() + - and much more ... + +2003-10-21 v2.05 (Adding a language file) + - New language + - French + - Added some language constants into the tails of all language files. + +2003-10-8 v2.04 (Adjustment for some environment) + - don't mkdir photos & thumbs when safe_mode is on. + +2003-9-23 v2.03 (Adding some checks for begginers) + - add environment checks into 'module check'. + - add some checks into 'submit.php'. + - default directory for photos and thumbs has moved under /uploads + +2003-9-16 v2.02 (fixes) + - fixed my misunderstanding with feature for seaching. + - when click a photo in photo.php, it opens new window. (for printing etc.) + +2003-9-13 v2.01 (Compatibility fixes) + - Remove $smarty.const.xxx for XOOPS older than 2.0.2 + - Restore table myalbum_comments for older myalbum user. + +2003-9-5 v2.0.0 Release + - The first release version. + - Fixed slightly bugs in displaying. + +2003-8-30 v2.0.0pre10 + - New language + - traditional Chinese + - simple Chinese (thx xoobs) + +2003-8-29 v2.0.0pre09 + - Fixed many bugs of treating comments + - Templatize photos listing (Don't forget updating this module!) + +2003-8-28 v2.0.0pre08 + - Add check code for the directory path of 'batch upload' + - Add 'move category' on photo manager + - New language + - Spanish (thx Horacio Salazar) + +2003-8-26 v2.0.0pre07 + - Fixed a bug for updating a photo. + - Add 'update users posts' feature. + +2003-8-26 v2.0.0pre06 + - Fixed a miss type of ratephoto.php (thx HowardGee) + +2003-8-21 v2.0.0pre05 + - Implement 'Check module' for admin + - Implement 'Photo Manager' + - fixed res_x, res_y recorded wrong degree. + - 'make thumbs' option turns off in default. + +2003-8-20 v2.0.0pre04 + - Fatal error fixed. (Normal User can't view photos properly) + - Change upload class from older upload.class to Xoops2 uploader class + +2003-8-19 v2.0.0pre03 + - prepare to 'module duplication' (not yet) + - can change photo or thumbs directory (like /uploads/myalbum/) + - fixes about Category & Photo deletion + - resize or rotation main photos (Only ImageMagick) + - modify code for making thumbs by GD. (for PHP bundled GD2) + - and many more... + +2003-8-17 v2.0.0pre02 + - fixes about displaying Categories + +2003-8-13 v2.0.0pre01 GIJ's first beta release + + + +--------------- + +21/3/2003 v1.1.0 (beta) + - Xoops 2.0 support + +19/3/2003 v1.0.2 + - small fixes + +1/3/2003 v1.0.1 + - Better thumbs (gd 2.0) + - My Photos (optional member edit/delete photos) + - redo thumbs + - All language tags changed to _ALBM_* + - New Languages (Need credits) + - Portuguesept + - French + - Italian + - Japanese + - Schinese + +4/7/2002 v1.0.0 + - First public release. + +30/6/2002 v0.9.5 + - 2nd RC. + - Updated to RC 3.0.3 + +30/6/2002 v0.9.4 + - Language errors in Block. + +30/6/2002 v0.9.3 + - Batch upload uppercased files. + +29/6/2002 v0.9.3 + - /class/upload.class.php broken from RC3 -> RC3.0.2. + - Now only works on RC3.0.2. + +27/6/2002 v0.9.2 + - misc bugs. + +27/6/2002 v0.9.1 + - misc bugs. + +26/6/2002 v0.9.0 + - 1st non public release candidate. + + + + + + + + + +--------------------------------------------------------- +(for Japanese) + +\xB9\xB9\xBF\xB7\xCD\xFA\xCE\xF2: + + +2004-10-4 v2.84 + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xC5\xFD\xB9\xE7\xA4Ǥ\xE2\xB2\xE8\xC1\xFC\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4\xA8\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF\xA1ʴʰ\xD7ź\xC9եե\xA1\xA5\xA4\xA5\xEB\xA5ޥ͡\xBC\xA5\xB8\xA5㵡ǽ\xA1\xCB + - \xA5\xAB\xA5ƥ\xB4\xA5\xEA\xA5ӥ塼\xC5\xF9\xA4ǤΥǥե\xA9\xA5\xEB\xA5ȤǤ\xCE\xCA¤ӽ\xE7\xA4\xF2\xBB\xD8\xC4\xEA\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - alt°\xC0\xAD\xA4\xC0\xA4\xB1\xA4\xC7title°\xC0\xAD\xA4\xF2\xA4Ĥ\xB1˺\xA4\xEC\xA4Ƥ\xA4\xA4\xBF\xC9\xF4ʬ\xA4\xF2\xBD\xA4\xC0\xB5 + - \xB4\xC9\xCD\xFD\xBCԤξ\xB5ǧ\xB2\xE8\xCC̤˺\xEF\xBD\xFC\xA5ܥ\xBF\xA5\xF3\xA4\xF2\xC4ɲ\xC3 (thx karuna) + - \xA5\xAB\xA5ƥ\xB4\xA5\xEA\xC1\xAA\xC2ץ\xB7\xA5\xE7\xA5\xF3\xA4Υ\xEC\xA5\xF3\xA5\xC0\xA5\xEA\xA5Х\xB0\xA4\xF2\xBD\xA4\xC0\xB5 (thx Tom_G3X) + - \xA5\xA4\xA5\xBF\xA5ꥢ\xB8\xEC\xA4θ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5\xEB\xA4\xF2\xC4ɲ\xC3 (thx NickeL) + - \xB4\xCA\xC2\xCE\xC3\xE6\xB9\xF1\xB8\xEC\xA4θ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5빹\xBF\xB7 (thx phppp) + +2004-7-31 v2.83 + - \xB3Ƽ̿\xBF\xC9ե֥\xED\xA5å\xAF\xA4ǡ\xA2\xB2\xA3\xA4\xCB\xCA¤٤\xEB\xBF\xF4\xA4\xF2\xBB\xD8\xC4\xEA\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx rocket98) + - \xA5ǥե\xA9\xA5\xEB\xA5ȥƥ\xF3\xA5ץ졼\xA5Ȥǡ\xA2\xB2\xE8\xC1\xFC\xC4ɲå\xA2\xA5\xA4\xA5\xB3\xA5\xA2\xB8¤\xAC\xA4ʤ\xAF\xA4Ƥ\xE2ɽ\xBC\xA8\xA4\xB5\xA4\xEC\xA4Ƥ\xA4\xA4\xBF\xA5Х\xB0\xA4ν\xA4\xC0\xB5 (thx rocket98) + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xC5\xFD\xB9\xE7\xA4ˤ\xAA\xA4\xB1\xA4\xEB\xC5\xEA\xB9Ƥǡ\xA2\xB8\xC0\xB8\xEC\xB4ط\xB8\xA4Υ\xA5إå\xC0\xA4\xAC\xC9\xD4\xA4\xB7\xA4Ƥ\xA4\xA4\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx phppp) + - myAlbum-P\xA5ƥ\xAD\xA5\xB9\xA5ȥ\xB5\xA5˥\xBF\xA5\xA4\xA5\xB6\xA4ˤ\xAA\xA4\xB1\xA4롢\xA5\xB3\xA1\xBC\xA5\xC9\xCAѴ\xB9\xBD\xE8\xCD\xFD\xA4\xF2\xB3Ƹ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5\xEB\xA4\xCBʬΥ\xA4\xB7\xA4\xBF (thx phppp) + - \xA5\xE9\xA5\xF3\xA5\xC0\xA5\xE0\xA5֥\xED\xA5å\xAF\xA4\xC7\xC4̾\xEF\xB2\xE8\xC1\xFC\xA5ե\xA1\xA5\xA4\xA5\xEB\xB0ʳ\xB0\xA4\xCF\xC1\xAA\xC2Ȥ\xB7\xA4Ƥ\xA4\xA4\xBF\xA4Τ\xB9\xA4٤\xC6\xC1\xAA\xC2\xF2\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4˻\xC5\xCD\xCD\xCAѹ\xB9 (thx okatti) + - myblocksadmin \xA4\xF2 0.07 \xA4˹\xB9\xBF\xB7 + - \xB4\xCA\xC2\xCE\xC3\xE6\xB9\xF1\xB8\xEC\xA4θ\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5빹\xBF\xB7 (thx phppp) + +2004-7-8 v2.82 + - \xA5\xAB\xA5ƥ\xB4\xA5\xB0\xEC\xCD\xF7ɽ\xBC\xA8\xA4ǤΥХ\xB0\xA4\xF2\xBD\xA4\xC0\xB5 (thx cradeg) + +2004-7-5 v2.81 + - \xA5\xAB\xA5ƥ\xB4\xA5\xB9\xBD¤\xA4Υ롼\xA5ץ\xC1\xA5\xA7\xA5å\xAF\xA4\xAC\xA4\xAA\xA4\xAB\xA4\xB7\xA4\xAB\xA4ä\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx boufa) + - ͩ\xCE\xA5ƥ\xB4\xA5\xC2к\xF6\xA4\xCE\xC4ɲ\xC3 (thx cradeg & boufa) + - xoops_substr() \xA4\xF2\xBBȤäƤ\xB7\xA4ޤä\xBF\xC9\xF4ʬ\xA4\xF2\xBBȤ\xEF\xA4ʤ\xA4\xA4褦\xA4˽\xA4\xC0\xB5 (thx namhil & boufa) + - \xB0\xEC\xC9\xF4\xA4\xCEmbstring\xB4Ķ\xAD\xA4Ǥ\xCEʸ\xBB\x{2CBD931}\xC2к\xF6 (thx Marijuana) + - redirect_header\xA4ΰ\xFA\xBF\xF4\xA4κǸ夬'/'\xA4Ǥʤ\xAB\xA4ä\xBF\xA4\xE2\xA4Τ\xF2Fix (thx Marijuana) + - \xA5\xA4\xA5ȡ\xBC\xA5\xEB\xBB\xFE\xA4˴\xC9\xCD\xFD\xBCԤ˸\xA2\xB8¤\xF2\xC9\xD5Ϳ\xA4\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx Marijuana) + - \xA5\xB9\xA5\xA6\xA5\xA7\xA1\xBC\xA5ǥ\xF3\xB8\xEC\xB8\xC0\xB8\xEC\xA5ե\xA1\xA5\xA4\xA5빹\xBF\xB7 (thx Leif Madsen) + +2004-6-25 v2.80 + - \xB0\xEC\xCD\xF7\xB2\xE8\xCC̤Υǥե\xA9\xA5\xEB\xA5ȥǥ\xB6\xA5\xA4\xA5\xF3\xA4\xF2crystal icons\xA4\xF2\xCD\xF8\xCDѤ\xB7\xA4ƾ\xAF\xA4\xB7\xB2\xFE\xC1\xB1\xA4\xB7\xA4\xBF (thx to all of icon authors) + - \xA5ƥ\xAD\xA5\xB9\xA5ȥ\xB5\xA5˥\xBF\xA5\xA4\xA5\xB6\xA4γ\xC8ĥ\xA5\xAF\xA5饹\xA4\xF2\xCD\xF8\xCDѤ\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - [siteimg] \xA5\xBF\xA5\xB0\xA4β\xF2\xBC\xE1\xC4ɲ\xC3 + - [summary][/summary]\xA5֥\xED\xA5å\xAF\xA4\xCE\xC4ɲ\xC3 \xB2\xE8\xC1\xFC\xC0\xE2\xCC\xC0\xA4ˤ\xB3\xA4Υ֥\xED\xA5å\xAF\xA4\xAC\xA4\xA2\xA4ä\xBF\xBE\xEC\xB9硢\xA4\xBD\xA4\xCE\xC6\xE2¦\xA4\xC0\xA4\xB1\xA4\xAC\xB0\xEC\xCD\xF7\xB2\xE8\xCC̤\xCBɽ\xBC\xA8\xA4\xB5\xA4\xEC\xA4ޤ\xB9 + - Windows\xB4Ķ\xAD\xA4Ǥ\xCEư\xBA\xEE\xB2\xFE\xC1\xB1 (\xA4⤷\xA1\xA2ImageMagick\xA4\xF2Windows\xA4ǻȤ\xA4\xA4\xBF\xA4\xA4\xBE\xEC\xB9硢ImageMagick\xA4Υѥ\xB9\xA4\xF5\xC7\xF2\xA4ˤ\xB7\xA4ƤߤƲ\xBC\xA4\xB5\xA4\xA4\xA1\xCB xaio\xA4\xF2\xA5\xEA\xA5\xA5\xB9\xA4\xB7\xA4Ƥ\xAF\xA4줿matchan\xA4\xB5\xA4\xF3\xA4˴\xB6\xBCդ\xB7\xA4ޤ\xB9 + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xC5\xFD\xB9絡ǽ\xA4ǡ\xA2[siteimg]\xA4\xE4[siteurl]\xA4\xF2\xBD\xD0\xCEϤ\xB9\xA4륪\xA5ץ\xB7\xA5\xE7\xA5\xF3\xA4\xCE\xC4ɲ\xC3 + - myblocksadmin \xA4\xAA\xA4\xE8\xA4\xD3 mymenu \xA4\xF2\xBAǿ\xB7\xC8Ǥ˹\xB9\xBF\xB7 + - \xA4ۤȤ\xF3\xA4ɤ\xB9\xA4٤Ƥδؿ\xF4̾\xA4ˡ\xA2"myalbum_" \xA4Ȥ\xA4\xA4\xA6\xC1\xB0\xC3ֻ\xEC\xA4\xF2\xA4Ĥ\xB1\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF\xA1\xA3(convertorderbyin() \xA4ʤɤ\xAC¿\xBD\xC5\xC4\xEA\xB5\xC1\xB0\xE3ȿ\xA4ǰ\xFA\xA4ä\xAB\xA4\xAB\xA4ä\xBF\xA4ꤷ\xA4\xBF\xA4\xBF\xA4\xE1) + - SQL Injection \xC0ȼ\xE5\xC0\xAD\xA4餷\xA4\xAD\xA4\xE2\xA4Τ\xAC\xBB\xB6\xB8\xAB\xA4\xB5\xA4줿\xA4Τǽ\xA4\xC0\xB5 + - \xA4\xBD\xA4\xCE¾\xA1\xA2\xBF\xF4\xA4\xA8\xC0ڤ\xEC\xA4ʤ\xA4\xA5Х\xB0\xA4ν\xA4\xC0\xB5 + +2004-5-25 v2.75b + - 2.74\xA4\xA2\xA4\xBF\xA4꤫\xA4\xE9myAlbum-PƱ\xBBΤǤΥ\xA4\xA5\xF3\xA5ݡ\xBC\xA5Ȥ\xAC\xBD\xD0\xCD\xE8\xA4ʤ\xAF\xA4ʤäƤ\xA4\xA4\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx okatti) + +2004-5-22 v2.75a + - 2.73\xA4\xA2\xA4\xBF\xA4꤫\xA4\xE9\xC5\xEA\xB9ƿ\x{124B25}\xAF\xA5ꥢ\xA4\xB5\xA4\xEC\xA4Ƥ\xB7\xA4ޤ\xA6\xA4Ȥ\xA4\xA4\xA6\xC3\xD7̿Ū\xA4ʥХ\xB0\xA4\xF2\xBD\xA4\xC0\xB5 (thx sfdb) + +2004-5-21 v2.75 + - \xA5桼\xA5\xB6ID\xA4ǹʤ\xEA\xB9\xFE\xA4\xF3\xA4\xC0\xBB\xFE\xA4˥\xBD\xA1\xBC\xA5Ȥ\xAC\xA4\xAA\xA4\xAB\xA4\xB7\xA4\xAB\xA4ä\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 (thx bordacs) + - \xA5\xA2\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xF2\xA4Ȥꤢ\xA4\xA8\xA4\xBA2\xC7ܤˤ\xB7\xA4\xBF + - $PHP_SELF \xA4λ\xC8\xCDѤ\xF2\xC1\xB4\xCC\xCCŪ\xA4ˤ\xE4\xA4 + +2004-5-19 v2.74 + - \xB0\xEC\xCB\xE7ɽ\xBC\xA8\xB2\xE8\xCC̤ǤΡ\xA2\xB2\xE8\xC1\xFCɽ\xBC\xA8\xA5\xB5\xA5\xA4\xA5\xBA\xC0\xA9\xB8¤\xF2\xC4ɲ\xC3 (thx ellecat) + - \xB0\xEC\xCB\xE7ɽ\xBC\xA8\xB2\xE8\xCC̤Υ\xAB\xA5ƥ\xB4\xA5\xEA\xA5ӥ塼\xA4ؤΥ\xEA\xA5\xF2\xBD\xA4\xC0\xB5 (thx sfdb, efla) + - strtotime() \xA4\xAC\xA1\xA2Y/m/d \xA4ϼ\xF5\xA4\xB1\xC9դ\xB1\xA4Ƥ⡢d/m/Y \xA4ϼ\xF5\xA4\xB1\xC9դ\xB1\xA4ʤ\xA4\xA4\xB3\xA4Ȥؤ\xCE\xC2б\xFE + - \xA4\xE8\xA4\xEAɸ\xBD\xE0\xA4äݤ\xA4\xA5⥸\xA5塼\xA5륢\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xD8\xC9\xC1\xA4\xAD\xB4\xB9\xA4\xA8 (thx Herko & Y.Kishino) + - \xA4\xE8\xA4\xEAɸ\xBD\xE0\xA4äݤ\xA4\xA5Хʡ\xBC\xB2\xE8\xC1\xFC\xA4\xD8\xC9\xC1\xA4\xAD\xB4\xB9\xA4\xA8 (thx LARABIE FONTS) + +2004-5-17 v2.73 + - \xB2\xE8\xC1\xFC\xB4\xC9\xCD\xFD\xB2\xE8\xCC̤ǡ\xA2\xB2\xE8\xC1\xFC\xC9\xD5\xC2Ӿ\xF0\xCA\xF3\xA4\xF2\xA4ޤȤ\xE1\xA4ƹ\xB9\xBF\xB7\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx efla) + - \xA5\xAB\xA5ƥ\xB4\xA5\xA4\xCEľ\xC0\xDC\xC1\xAA\xC2\xF2\xA5ܥå\xAF\xA5\xB9\xA4\xF2\xCDѰդ\xB7\xA4\xBF (thx efla) + - \xA5\xAB\xA5ƥ\xB4\xA5\xC1\xAA\xC2ץ\xEC\xA5ӥ塼\xA4\xB9\xA4\xEB\xA4Ⱦä\xA8\xA4Ƥ\xA4\xA4\xBF\xA5Х\xB0\xBD\xA4\xC0\xB5 (thx Elleomea) + - \xA5ơ\xBC\xA5֥\xEB\xA5ӥ塼\xA4Ǥβ\xE8\xC1\x{25D65925}\xBA\xBB\xD8\xC4\xEA\xA4\xE2\xA4\xEC\xA4\xF2\xBD\xA4\xC0\xB5 (thx Snoopy) + +2004-5-13 v2.72a PHP Accelerator\xA4Ȥθߴ\xB9\xC0\xAD\xCC\xE4\xC2\xEA\xB2\xFE\xC1\xB1\xA5С\xBC\xA5\xB8\xA5\xE7\xA5\xF3 + - \xA5ƥ\xF3\xA5ץ졼\xA5Ȥ\xCE\xC6ɹ\xFE\xBD\xE7\xA4\xF2\xA1\xA22.6\xA4\xC8Ʊ\xA4\xB8\xA4\xCB\xCCᤷ\xA4\xBF + - \xBF\xB7\xB5\xAC\xC5\xD0Ͽ\xBB\xFE\xA4ˡ\xA2\xA4\xAB\xA4ʤ餺\xA5\xAB\xA5ƥ\xB4\xA5\xC1\xAA\xC2\xF2\xA4Ƥ\xE2\xA4餦\xA4褦\xA4ˤ\xB7\xA4\xBF (thx sfdb) + - \xA5ơ\xBC\xA5֥\xEB\xA5ӥ塼\xA4Ǥν\xC4\xCA\xFD\xB8\xFE\xA4Υ\xB9\xA5ڡ\xBC\xA5\xB9\xC4ɲ\xC3 (thx efla) + - mymenu \xA4\xEC\xC8\xCC\xC0\xDF\xC4\xEA\xA4Ǥ\xE2\xBBȤ\xA8\xA4\xEB\xA4褦\xA4˲\xFE\xC1\xB1\xA1\xCA\xC0\xB5\xB3Τˤϡ\xA2preferences\xA4\xF2\xA5⥸\xA5塼\xA5\xEB¦\xA4˰\xFA\xA4\xC3ĥ\xA4äƤ\xAD\xA4\xBF\xA4\xC0\xA4\xB1\xA4Ǥ\xB9\xA4\xAC\xA1\xCB + +2004-5-7 v2.72 + - \xB2\xE8\xC1\xFC\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4μ谷\xA4\xA4\xA4\xAC\xA5\xA4\xA5ޥ\xA4\xA5\xC1\xA4\xC0\xA4ä\xBF\xA4Τ\xF2\xBD\xA4\xC0\xB5 + - \xA5\xB5\xA5\xE0\xA5ͥ\xA4\xA5\xEB\xA4κƹ\xBD\xC3ۤ\xF2\xB2\xFE\xC1\xB1\xA1ʲ\xE8\xC1\xFC\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4ˤĤ\xA4\xA4Ƥ\xE2\xBD\xE8\xCD\xFD\xA4\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF\xC5\xF9\xA1\xCB + - \xA5ץ\xEC\xA5ӥ塼\xA4β\xFE\xC1\xB1 + +2004-5-7 v2.71 + - \xB3\xC8ĥ\xBBҤ\xAC\xC2\xE7ʸ\xBB\xFA\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4\xE8\xC1\xFC\xA5ե\xA1\xA5\xA4\xA5\xEB\xA4Ȥ\xB7\xA4\xC6ǧ\xBC\xB1\xA4\xB7\xA4ʤ\xA4\xA5Х\xB0\xA4\xF2\xBD\xA4\xC0\xB5 + +2004-5-5 v2.70 \xA5\xEA\xA5\xA5\xB9\xC8\xC7 + - \xA5ȥåץڡ\xBC\xA5\xB8\xA4κǿ\xB7\xA5ꥹ\xA5Ȥ\xE2\xA5ڡ\xBC\xA5\xB8ʬ\xB3\xE4\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF (thx megu) + - \xB3ƥ֥\xED\xA5å\xAF\xA4ˡ\xA2\xA5\xAB\xA5ƥ\xB4\xA5\xA4ˤ\xE8\xA4\xEB\xB8\xC2\xC4\xEA\xA4\xB1\xA4\xE9\xA4\xEC\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - \xA5\xE9\xA5\xF3\xA5\xC0\xA5\xE0\xB2\xE8\xC1\xFC\xA5֥\xED\xA5å\xAF\xA4ǡ\xA2\xB2\xE8\xC1\xFC\xC0\xDA\xC2إ\xBF\xA5\xA4\xA5ߥ\xF2\xBB\xD8\xC4\xEA\xBD\xD0\xCD\xE8\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - \xA5\xAB\xA5ƥ\xB4\xA5̾\xA4\xE2\xA5ƥ\xF3\xA5ץ졼\xA5Ȥ\xCB\xC5Ϥ\xB9\xA4褦\xA4ˤ\xB7\xA4\xBF ($photo.cat_title) + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5㤫\xA4\xE9\xA4Υ\xA4\xA5\xF3\xA5ݡ\xBC\xA5ȼ\xC2\xC1\xF5 + - \xA5\xA4\xA5\xA5\xB8\xA5ޥ͡\xBC\xA5\xB8\xA5\xE3\xA4ؤΥ\xA8\xA5\xAF\xA5\xB9\xA5ݡ\xBC\xA5ȼ\xC2\xC1\xF5 + - \xA5ȥåץ\xE1\xA5˥塼(mymenu)\xC4ɲäʤɡ\xA2\xB4\xC9\xCD\xFD\xB2\xE8\xCC̤\xCE\xC2\xE7\xC9\xFD\xA4\xCA\xC1\xE0\xBA\xEE\xC0\xAD\xB2\xFE\xC1\xB1 + - \xA5\xAB\xA5ƥ\xB4\xA5\xB4\xC9\xCD\xFD\xA4\xF2\xA4ޤ\xEB\xA4ޤ\xEB\xBD\xF1\xA4\xADľ\xA4\xB7\xA4ơ\xA2index.php\xA4Ȥ\xB7\xA4\xBF + - gif,jpeg,png\xB0ʳ\xB0\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4⥢\xA5åץ\x{D87C}\xA5ɤǤ\xAD\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF + - \xA4\xB3\xA4\xEC\xA4\xE9\xA4Υե\xA1\xA5\xA4\xA5\xEB\xA4ϥ\xA2\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xC7ɽ\xBC\xA8\xA4\xB7\xA4ޤ\xB9\xA4\xAC\xA1\xA2\xA4\xBD\xA4Υ\xA2\xA5\xA4\xA5\xB3\xA5\xF3\xA4\xCFFilemanager 3.0\xA4\xAB\xA4\xE9ĺ\xC2פ\xB7\xA4ޤ\xB7\xA4\xBF + - \xBA\xEE\xBCԤ\xCEJan Inge Pettersen\xA4\xB5\xA4\xF3\xA1\xA2(Xend) http://www.xendtech.com/ \xA4˴\xB6\xBCդ\xB7\xA4ޤ\xB9 + +2004-4-5 v2.70 beta 03 + - XOOPS\xA4Υ\xA2\xA5åץ\x{D87C}\xA5\xC0\xA5\xAF\xA5饹\xA4ϻȤ\xEF\xA4ʤ\xA4\xA4褦\xA4ˤ\xB7\xA4\xBF + (\xA5\xBB\xA5\xAD\xA5\xE5\xA5\xEA\xA5ƥ\xA3\xA4\xAA\xA4\xE8\xA4ӡ\xA2myDownloads RC1 \xA4ʤɤȤθߴ\xB9\xC0\xAD\xA4Τ\xBF\xA4\xE1\xA1\xCB + - ʣ\xC0\xBD\xA4\xB7\xA4\xBFmyAlbum-P\xA5⥸\xA5塼\xA5\xEBƱ\xBBΤǤΥǡ\xBC\xA5\xBF\xA4\xE4\xA4\xEA\xA4Ȥ\xEA\xA4\xF2\xC4ɲä\xB7\xA4\xBF + - \xB2\xE8\xCC̲\xBC\xA4ˤ\xE2\xA5ʥӥ\xB2\xA1\xBC\xA5\xB7\xA5\xE7\xA5\xF3\xA4\xF2\xC4ɲ\xC3 (thx mariuss) + - \xA5\xAA\xA5\xE9\xA5\xF3\xA5\xC0\xB8\xEC\xC4ɲ\xC3 (thx Jan Deeben) + +2004-3-9 v2.70 beta 02 + - \xBF\xB7\xB5\xAC\xC5\xD0Ͽ\xBB\xFE\xA4ˡ\xA2\xB2\xE8\xC1\xFC\xA4\xE2\xA5ץ\xEC\xA5ӥ塼\xB2\xC4ǽ\xA4Ȥʤä\xBF + - \xA5\xB9\xA5\xA6\xA5\xA7\xA1\xBC\xA5ǥ\xF3\xB8칹\xBF\xB7 (thx Leif Madsen) + +2004-3-4 v2.70 beta from 2.64 + - ʣ\xC0\xBD\xB2\xC4ǽ\xB2\xBD + - .htaccess \xA4\xF2 .htaccess.dist \xA4˥\xEA\xA5͡\xBC\xA5\xE0 + - \xA5\xB9\xA5ڥ\xA4\xA5\xF3\xB8칹\xBF\xB7 (thx ColdBeer) + +2004-2-29 v2.64 (\xA5ꥯ\xA5\xA8\xA5\xB9\xA5Ȥ\xB5\xA4줿\xB5\xA1ǽ\xA4\xCE\xC4ɲ\xC3) + - Ϣ³\xC5\xD0Ͽ\xBB\xFE\xA4\xCB\xCA\xD8\xCD\xF8\xA4ʤ褦\xA1\xA2\xC5\xD0Ͽ\xA4\xB7\xA4\xBF\xA5\xAB\xA5ƥ\xB4\xA5\xA4\xCEviewcat\xA4˥\xEA\xA5\xC0\xA5\xA4\xA5쥯\xA5Ȥ\xB9\xA4\xEB\xA4褦\xA4ˤ\xB7\xA4\xBF(thx karuna) + - \xA5\xBF\xA5\xA4\xA5ȥ뤬\xBB\xD8\xC4ꤵ\xA4\xEC\xA4ʤ\xAB\xA4ä\xBF\xA4Ȥ\xAD\xA4ϡ\xA2\xA5ե\xA1\xA5\xA4\xA5\xEB̾\xA4\xA4\xA5ȥ\xEB\xA4Ȥ\xB9\xA4\xEB\xA4褦\xCAѹ\xB9 (thx mariuss) + - CSRF\xC2к\xF6\xA4ʤɡ\xA2\xA4\xE8\xA4\xEA\xB0\xC2\xC1\xB4\xA4ʥ\xB3\xA1\xBC\xA5ɤ˽\xB9\xA4\xA8\xA4\xBF (thx JM2) + - \xA5ץ\xEC\xA5ӥ塼\xB5\xA1ǽ\xA4\xCE\xC4ɲ\xC3 + - myblocksadmin \xA4\xF2 0.04 \xA4˹\xB9\xBF\xB7 + - \xB2\xE8\xC1\xFC\xA4Υ\xA2\xA5åץ\x{D87C}\xA5ɤʤ\xB7\xA4Ǥ⡢\xA4Ȥꤢ\xA4\xA8\xA4\xBA\xC5\xD0Ͽ\xA4Ǥ\xAD\xA4\xEB\xA4褦\xA4˻\xC5\xCD\xCD\xCAѹ\xB9 + - \xA5\xA2\xA5åץ\x{D87C}\xA5ɲ\xE8\xC1\xFC\xA4\xAC\xBD\xBDʬ\xA4˾\xAE\xA4\xB5\xA4\xA4\xBB\xFE\xA4ϡ\xA2\xA4\xBD\xA4β\xE8\xC1\xFC\xA4Τޤޥ\xB5\xA5\xE0\xA5ͥ\xA4\xA5\xEB\xA4Ȥ\xB9\xA4\xEB + - \xA5ݥ\xEB\xA5ȥ\xAC\xA5\xEB\xB8\xEC\xC4ɲ\xC3 (thx Oliver Zancul Prado) Added: XoopsModules/myalbum/branches/wishcraft/3.04/docs/COPYING ==========... [truncated message content] |
From: <dj...@us...> - 2012-03-01 11:26:06
|
Revision: 9083 http://xoops.svn.sourceforge.net/xoops/?rev=9083&view=rev Author: djculex Date: 2012-03-01 11:25:55 +0000 (Thu, 01 Mar 2012) Log Message: ----------- - Bugfix: Emails containg -._ after @ not accepted by validation - Bugfix: Colorboxes containing info wich is empty showing - Bugfix: Validation returning true - Bugfix: Rankimages isset even if not existing giving error - Bugfix: el not defined in ajaxupload. Fixed by returning false if not defined Modified Paths: -------------- XoopsModules/smallworld/trunk/smallworld/class/profile.php XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt XoopsModules/smallworld/trunk/smallworld/include/functions.php XoopsModules/smallworld/trunk/smallworld/js/ajaxupload.3.5.js XoopsModules/smallworld/trunk/smallworld/js/jquery.stepy.js XoopsModules/smallworld/trunk/smallworld/js/jquery.validate.js XoopsModules/smallworld/trunk/smallworld/js/smallworld.js XoopsModules/smallworld/trunk/smallworld/templates/getlastcom.html XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html Modified: XoopsModules/smallworld/trunk/smallworld/class/profile.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/class/profile.php 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/class/profile.php 2012-03-01 11:25:55 UTC (rev 9083) @@ -65,7 +65,11 @@ $country = $r['birthplace_country']; $rank = $user->rank(); $rank_title = $rank['title']; - $rank_image = "<img align='center' src='".XOOPS_UPLOAD_URL."/".$rank['image']."'></img>"; + if (isset($rank['image'])) { + $rank_image = "<img align='center' src='".XOOPS_UPLOAD_URL."/".$rank['image']."'></img>"; + } else { + $rank_image = ''; + } $commentsrating = "<img src='".XOOPS_URL."/modules/smallworld/images/like.png' height='10px'width='10px'"."/></img> ".$usersratedplus; $commentsrating .= " <img src='".XOOPS_URL."/modules/smallworld/images/dislike.png' height='10px'width='10px'"."/></img> ".$usersratedminus; $lastlogin = $user->getVar('last_login'); Modified: XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt =================================================================== --- XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/docs/changelog.txt 2012-03-01 11:25:55 UTC (rev 9083) @@ -7,6 +7,12 @@ - Change: Adding special facebook metas - Change: adjusting bits and pieces +01 Marts 2012 +- Bugfix: Emails containg -._ after @ not accepted by validation +- Bugfix: Colorboxes containing info wich is empty showing +- Bugfix: Validation returning true +- Bugfix: Rankimages isset even if not existing giving error +- Bugfix: el not defined in ajaxupload. Fixed by returning false if not defined ------------------------------ Changelog v.1.11 RC 3 Modified: XoopsModules/smallworld/trunk/smallworld/include/functions.php =================================================================== --- XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/include/functions.php 2012-03-01 11:25:55 UTC (rev 9083) @@ -54,7 +54,7 @@ // Sanitize string function Smallworld_cleanup_string($text) { - $text = htmlspecialchars($text, ENT_QUOTES); + // $text = htmlspecialchars($text, ENT_QUOTES); $myts = MyTextSanitizer::getInstance(); $text = $myts->displayTarea($text, 1, 1, 1, 1); $text = str_replace("\n\r", "\n", $text); Modified: XoopsModules/smallworld/trunk/smallworld/js/ajaxupload.3.5.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/ajaxupload.3.5.js 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/js/ajaxupload.3.5.js 2012-03-01 11:25:55 UTC (rev 9083) @@ -33,6 +33,9 @@ * Attaches event to a dom element */ function addEvent(el, type, fn){ + if (el === undefined) { + return false; + } if (w.addEventListener){ el.addEventListener(type, fn, false); } else if (w.attachEvent){ Modified: XoopsModules/smallworld/trunk/smallworld/js/jquery.stepy.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/jquery.stepy.js 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/js/jquery.stepy.js 2012-03-01 11:25:55 UTC (rev 9083) @@ -91,7 +91,7 @@ title = (step.attr('title') != '' ) ? step.attr('title') : '--'; // Culex hack to prevent titles being undefined - if (title = 'undefined') { + if (title == undefined) { title = ''; } Modified: XoopsModules/smallworld/trunk/smallworld/js/jquery.validate.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/jquery.validate.js 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/js/jquery.validate.js 2012-03-01 11:25:55 UTC (rev 9083) @@ -85,6 +85,7 @@ return true; } else {}; } + return false; } }; xoops_smallworld.fn.validated = function(callback){ Modified: XoopsModules/smallworld/trunk/smallworld/js/smallworld.js =================================================================== --- XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/js/smallworld.js 2012-03-01 11:25:55 UTC (rev 9083) @@ -692,7 +692,7 @@ xoops_smallworld(this).parent().prev().andSelf().remove(); //remove the last input i--; //deduct 1 from i so if i = 3, after i--, i will be i = 2 } - }); + }); } @@ -839,7 +839,7 @@ xoops_smallworld('input[name="emailtype[]"]').live('blur',function(){ var id = xoops_smallworld(this).attr('id'); xoops_smallworld("#"+id).validate({ - expression: "if (VAL.match(/^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)*\\.[a-zA-Z]{2,4}$/)) return true; else return false;", + expression: "if (VAL.match(/^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[a-zA-Z0-9\\_\\-]+(\\.[a-zA-Z0-9\\_\\-]+)*\\.[a-zA-Z]{2,4}$/)) return true; else return false;", message:"<img src='images/error.png' title='"+SmallworldValidationEmailTitleErrorMsg+"'/>" }); }); Modified: XoopsModules/smallworld/trunk/smallworld/templates/getlastcom.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/templates/getlastcom.html 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/templates/getlastcom.html 2012-03-01 11:25:55 UTC (rev 9083) @@ -12,7 +12,7 @@ <b><{$comments[i].username}></b> </a> <{$comments[i].comment}></div> <div class="smallworld_stcommenttime"><{$comments[i].time}></div> - <{if $post.username == $myusername}> + <{if $comments[i].username == $myusername}> <div class="smallworld_stcommentvote"> <span id ="smallworld_votenum"><{$comments[i].vote_up}></span> <img class="smallworld_voteimg" src = "images/like.png" /> Modified: XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html =================================================================== --- XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html 2012-03-01 09:37:56 UTC (rev 9082) +++ XoopsModules/smallworld/trunk/smallworld/templates/smallworld_userprofile_template.html 2012-03-01 11:25:55 UTC (rev 9083) @@ -305,7 +305,8 @@ <fieldset> <label><{$smarty.const._SMALLWORLD_WORKFULL_TITLE}></label><br/> <{section name=i loop=$workfull}> - <table border="0" class="smallworld_table" cellspacing="0" cellpadding="0"> + <{if $workfull[i].employer != ''}> + <table border="0" class="smallworld_table" cellspacing="0" cellpadding="0"> <p class="smallworld_clonebreaker"> <tr> <td><{$smarty.const._SMALLWORLD_EMPLOYER}></td> @@ -332,6 +333,9 @@ <td><{$workfull[i].description}></td> </tr> </table> + <{else}> + <{$smarty.const._SMALLWORLD_ALL_FIELDS_DISABLED}> + <{/if}> </p> <{/section}> </fieldset> @@ -341,6 +345,7 @@ <fieldset> <label><{$smarty.const._SMALLWORLD_SCHOOLFULL_TITLE}></label><br/> <{section name=i loop=$educationfull}> + <{if $educationfull[i].school_type != ''}> <table border="0" class="smallworld_table" cellspacing="0" cellpadding="0"> <tr> <p class="smallworld_clonebreaker"></tr> @@ -364,6 +369,9 @@ <td><{$educationfull[i].schoolstop}></td> </tr> </table> + <{else}> + <{$smarty.const._SMALLWORLD_ALL_FIELDS_DISABLED}> + <{/if}> </p> <{/section}> </fieldset> @@ -409,14 +417,14 @@ <h3><label><{$smarty.const._SMALLWORLD_BELIEFS}></label></h3> </tr> - <{if !in_array('politicalview',$flds)}> + <{if !in_array('politicalview',$flds) || $politic == ''}> <{else}> <tr> <td><{$smarty.const._SMALLWORLD_POLITICWORD}>:</td> <td><{$politic}></td> </tr> <{/if}> - <{if !in_array('religiousview',$flds)}> + <{if !in_array('religiousview',$flds) || $religion == ''}> <{else}> <tr> <td><{$smarty.const._SMALLWORLD_RELIGIONWORD}>:</td> @@ -433,50 +441,55 @@ !in_array('interests',$flds) }> <{else}> - <fieldset> - <table border="0" class="smallworld_table" cellspacing="0" cellpadding="0"> - <tr> - <h3><label><{$smarty.const._SMALLWORLD_FAVOURITETHINGS}></label></h3> - </tr> - <{if !in_array('favouritebooks',$flds)}> - <{else}> - <tr> - <td><{$smarty.const._SMALLWORLD_FAVOURITEBOOKS}>:</td> - <td><{$favbook}></td> - </tr> - <{/if}> - - <{if !in_array('favouritemusic',$flds)}> - <{else}> - <tr> - <td><{$smarty.const._SMALLWORLD_FAVOURITEMUSIC}>:</td> - <td><{$favmusic}></td> - </tr> - <{/if}> - - <{if !in_array('favouritemovies',$flds)}> - <{else}> - <tr> - <td><{$smarty.const._SMALLWORLD_FAVOURITEMOVIE}>:</td> - <td><{$favmovie}></td> - </tr> - <{/if}> - <{if !in_array('favouritetvshows',$flds)}> - <{else}> - <tr> - <td><{$smarty.const._SMALLWORLD_FAVOURITETVSHOW}>:</td> - <td><{$favtvshow}></td> - </tr> - <{/if}> - <{if !in_array('interests',$flds)}> - <{else}> - <tr> - <td><{$smarty.const._SMALLWORLD_FAVOURITEINTERESTS}>:</td> - <td><{$favinterests}></td> - </tr> - <{/if}> - </table> - </fieldset> + <{if + $favbook != '' && $favmusic != '' && + $favmovie != '' && $favshows != '' && $favinterests != '' + }> + <fieldset> + <table border="0" class="smallworld_table" cellspacing="0" cellpadding="0"> + <tr> + <h3><label><{$smarty.const._SMALLWORLD_FAVOURITETHINGS}></label></h3> + </tr> + <{if !in_array('favouritebooks',$flds) || $favbook == ''}> + <{else}> + <tr> + <td><{$smarty.const._SMALLWORLD_FAVOURITEBOOKS}>:</td> + <td><{$favbook}></td> + </tr> + <{/if}> + + <{if !in_array('favouritemusic',$flds) || $favmusic == ''}> + <{else}> + <tr> + <td><{$smarty.const._SMALLWORLD_FAVOURITEMUSIC}>:</td> + <td><{$favmusic}></td> + </tr> + <{/if}> + + <{if !in_array('favouritemovies',$flds) || $favmovie == ''}> + <{else}> + <tr> + <td><{$smarty.const._SMALLWORLD_FAVOURITEMOVIE}>:</td> + <td><{$favmovie}></td> + </tr> + <{/if}> + <{if !in_array('favouritetvshows',$flds) || $favshows == ''}> + <{else}> + <tr> + <td><{$smarty.const._SMALLWORLD_FAVOURITETVSHOW}>:</td> + <td><{$favtvshow}></td> + </tr> + <{/if}> + <{if !in_array('interests',$flds) || $favinterests == ''}> + <{else}> + <tr> + <td><{$smarty.const._SMALLWORLD_FAVOURITEINTERESTS}>:</td> + <td><{$favinterests}></td> + </tr> + <{/if}> + </table> + </fieldset> + <{/if}> <{/if}> <{if @@ -491,44 +504,52 @@ </tr> <{if !in_array('emails',$flds)}> <{else}> - <tr> - <td><{$smarty.const._SMALLWORLD_EMAIL}>:</td> - <td> - <{section name=i loop=$email}> - <span class="smallworld_website"><a href="mailto:<{$email[i]}>"><{$email[i]}></a></span><br> - <{/section}> - <br><br> - </td> - </tr> + <{if $email|@count gt 0}> + <tr> + <td><{$smarty.const._SMALLWORLD_EMAIL}>:</td> + <td> + <{section name=i loop=$email}> + <span class="smallworld_website"><a href="mailto:<{$email[i]}>"><{$email[i]}></a></span><br> + <{/section}> + <br><br> + </td> + </tr> + <{/if}> <{/if}> <{if !in_array('screennames',$flds)}> <{else}> - <tr> - <td><{$smarty.const._SMALLWORLD_SCREENNAMES}>:</td> - <td> - <{foreach item=post from=$screenname}> - <{$post.link}><{$post.screenname}></a></span><br> - <{/foreach}> - <br><br> - </td> - </tr> + <{if $screenname|@count gt 0}> + <tr> + <td><{$smarty.const._SMALLWORLD_SCREENNAMES}>:</td> + <td> + <{foreach item=post from=$screenname}> + <{$post.link}><{$post.screenname}></a></span><br> + <{/foreach}> + <br><br> + </td> + </tr> + <{/if}> <{/if}> <{if !in_array('landphone',$flds)}> <{else}> - <tr> + <{if $phone != ''}> + <tr> <td><{$smarty.const._SMALLWORLD_PHONE}>:</td> <td><{$phone}></td> </tr> + <{/if}> <{/if}> <{if !in_array('mobile',$flds)}> <{else}> + <{if $mobile != ''}> <tr> <td><{$smarty.const._SMALLWORLD_GSM}>:</td> <td><{$mobile}></td> </tr> <{/if}> + <{/if}> </table> </fieldset> <{/if}> @@ -540,6 +561,7 @@ !in_array('website',$flds) }> <{else}> + <{if $adress != '' && $country != '' && $website != ''}> <fieldset> <table border="0" class="smallworld_table" cellspacing="0" cellpadding="0"> <tr><h3><label><{$smarty.const._SMALLWORLD_ADRESS}></label></h3></tr> @@ -568,6 +590,7 @@ <{/if}> </table> </fieldset> + <{/if}> <{/if}> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tst...@us...> - 2012-03-01 09:38:05
|
Revision: 9082 http://xoops.svn.sourceforge.net/xoops/?rev=9082&view=rev Author: tstempko Date: 2012-03-01 09:37:56 +0000 (Thu, 01 Mar 2012) Log Message: ----------- Fixed Bug: missing file lang_pl_PL.properties Added Paths: ----------- XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_pl_PL.properties Added: XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_pl_PL.properties =================================================================== --- XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_pl_PL.properties (rev 0) +++ XoopsModules/extgallery/trunk/modules/extgallery/include/applet/lang/lang_pl_PL.properties 2012-03-01 09:37:56 UTC (rev 9082) @@ -0,0 +1,158 @@ +# +# +# HOW TO ADD PROPERTIES: +# If you want to add new properties, either create your own lang files, or add this property first to the +# lang.properties file, which is the reference for all existing properties. +# Each property missing in lang.properties, will be removed from all other properties file in the next execution +# of build_translation.xml +# +# +# HOW TO UPDATE TRANSLATIONS: +# All information for contributors is available here: +# +# http://jupload.sourceforge.net/howto-translation.html +# +# +# QUICK DESCRIPTION: +# Please update the files in the /src/main/lang.utf-16/ directory. +# As the directory is named, they are all in UTF-16 format. Then execute the build_translation.xml file, to +# report these modifications to the wjhk/jupload/lang pacakge, for use in the applet. +# +# Doing this, allows: +# - To have all translation in Human readable text, instead of unicode text. +# - To mark all missing text, in other languages (important note: the lang.properties file is the reference for all properties). +# +# +# The %1$d (and similar) code sequences are placeholders for variable substitution, +# The sequence %% represents a single percent-character. + +########################################################################################################################## +#First section: general information about this translation. +########################################################################################################################## +#These parameters are used by the translation maven plugin. +#They are used to generate the transation part of JUpload web site, to display existing translations to translators. They +#can then check translation, and submit updated or new translations. +generateHtmlFileForTranslators = true +language = Polish +contributor = Unknown +#A link to the Coppermine plugin language file. No link with the applet itself. This plugin +#uses the applet, and I linked both translations this way. +coppermine.language = polish +########################################################################################################################## + + +########################################################################################################################## +#Second section: the translation itself. +########################################################################################################################## + +#JUploadPanel +buttonBrowse = Przegl\u0105daj ... +buttonRemoveSelected = Usu\u0144 zaznaczone +buttonRemoveAll = Usu\u0144 wszystkie +buttonRotateLeft = Obr\u00f3\u0107 w lewo +buttonRotateRight = Obr\u00f3\u0107 w prawo +buttonUpload = Prze\u015blij +buttonStop = STOP +#MISSING messageLogWindowCopiedToClipboard = Debugging messages have been copied to the clipboard. +#JUploadPanel, The components of the status line +#MISSING speedunit_gb_per_second = Gb/s +#MISSING speedunit_mb_per_second = Mb/s +#MISSING speedunit_kb_per_second = Kb/s +#MISSING speedunit_b_per_second = b/s +#MISSING timefmt_hms = %1$dh, %2$d min. and %3$d sec. +#MISSING timefmt_ms = %1$d min. and %2$d sec. +#MISSING timefmt_s = %1$d seconds +#MISSING timefmt_unknown = unknown +#MISSING status_msg = JUpload %1$d%% done, Transfer rate: %2$s, ETA: %3$s +#MISSING menuitem_paste = Paste + +#JUploadExceptionTooBigFile +#MISSING errFileTooBig = The file length for '%1$s' is too big (%2$s) + +#FileUploadThread +preparingFile = Uruchamianie transferu %1$d/%2$d +#MISSING filesPrepared = %1$d files prepared +infoUploading = Przesy\u0142anie plik\u00f3w %1$s +infoUploaded = Plik(i) %1$s przes\u0142ane. Oczekiwanie na odpowied\u017a serwera ... +#MISSING infoAborted = Upload aborted after %1$d File(s). +nbUploadedFiles = %1$d pliki przes\u0142ane +errDuringUpload = Przesy\u0142anie przerwane z powodu b\u0142\u0119d\u00f3w +errHttpResponse = Nie oczekiwana odpowied\u017a serwera HTTP. Przesy\u0142anie przerwane. +questionSendMailOnError = W czasie przesy\u0142ania pojawi\u0142 si\u0119 b\u0142\u0105d. Czy chcesz przes\u0142a\u0107 do administratora informacje dotycz\u0105ce okoliczno\u015bci awarii? + +#DialogUploadRetry +#MISSING dialogUploadRetryText = An error occurs occured during the upload of the files to the server. Do you want to retry uploading these files?\n\nThe upload will automatically be re-executed in %1$d seconds. +#MISSING dialogUploadRetryTitle = Retry the upload? +#MISSING buttonDetails = Details +#MISSING buttonYes = Yes +#MISSING buttonNo = No + +#FileUploadManagerThread +#MISSING errorDuringUpload = The following error occured during upload:\n%1$s\n\nDo you want to go on with the current upload? + +#FilePanelDataModel +colName = Nazwa +colSize = Wielko\u015b\u0107 +colDirectory = Katalog +colModified = Czas +colReadable = Dost\u0119pny? +errForbiddenExtension = Ulovlig filending. + +#DefaultUploadPolicy +errDuringLogManagement = B\u0142\u0105d w czasie zarz\u0105dzania logiem + +#CoppermineFileUploadPolicy +chooseAlbumFirst = Prosz\u0119 najpierw wybra\u0107 album.. +coppermineUploadOk = Zdj\u0119cia z wybranego albumu zosta\u0142y pomy\u015blnie przes\u0142ane na serwer. \n\nNaci\u015bnij przycisk Ok aby doda\u0107 nazwy i komentarze do tych zdj\u0119\u0107. \n\nNie zapomnij nacisn\u0105\u0107 przycisku 'Zapisz modyfikacj\u0119' aby zachowa\u0107 zmiany na serwerze ! + +#SuperSimpleUploadPolicy +#MISSING dragDirectoriesAndFilesToHere = Drag directories an files to here + +#PictureFileData +tooBigPicture = Zdj\u0119cie '%1$s' jest za du\u017ce. Zostanie przes\u0142ane bez zmian (bez obracania, zmiany rozmiaru ...). +notAPicture = Plik o nazwie '%1$s' nie jest zdj\u0119ciem. Nie zostanie dodany do listy plik\u00f3w do przes\u0142ania. + +#PictureDialog +buttonClose = Zamknij + +#DateRenderer +#MISSING dateformat = yyyy-MM-dd hh:mm aaa + +#SizeRenderer. See http://en.wikipedia.org/wiki/KiB +#MISSING unitBytes = b +#MISSING unitGigabytes = GiB +#MISSING unitMegabytes = MiB +#MISSING unitKilobytes = KiB + +#sendDebugInformation +#MISSING Confirm = Confirm + +#InteractiveTrustManager +#MISSING itm_title_pass = Enter %1$s password +#MISSING itm_prompt_pass = %1$s password: +#MISSING itm_cert_alert = SSL Certificate Alert +#MISSING itm_cert_details = Certificate details: +#MISSING itm_cert_subject = Subject: +#MISSING itm_cert_issuer = Issuer: +#MISSING itm_cert_nbefore = Not before: +#MISSING itm_cert_nafter = Not after: +#MISSING itm_cert_serial = Serial: +#MISSING itm_cert_fprint = %1$s Fingerprint: +#MISSING itm_cert_C = Country: +#MISSING itm_cert_CN = Common name: +#MISSING itm_cert_L = Locality: +#MISSING itm_cert_ST = State or province: +#MISSING itm_cert_O = Organization: +#MISSING itm_cert_OU = Organizational unit: +#MISSING itm_reasons = Reason(s): +#MISSING itm_reason_cnmatch = The certificate common name does not match the hostname (%1$s). +#MISSING itm_reason_itrust = Certificate issuer is not trusted. +#MISSING itm_reason_expired = The certificate is expired. +#MISSING itm_reason_notyet = The certificate is not yet valid. +#MISSING itm_fail_verify = The certificate, presented by the server could not be verified. +#MISSING itm_accept_prompt = Do you want to accept this certificate? +#MISSING itm_accept_always = Always +#MISSING itm_accept_now = Only for this session +#MISSING itm_accept_no = No +#MISSING itm_new_tstore = New TrustStore +#MISSING itm_tstore = TrustStore This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-03-01 00:24:26
|
Revision: 9081 http://xoops.svn.sourceforge.net/xoops/?rev=9081&view=rev Author: txmodxoops Date: 2012-03-01 00:24:18 +0000 (Thu, 01 Mar 2012) Log Message: ----------- Added rss file Added style css file Added variable className Fixed bug for upload new image Fixed bug for templates index and blocks Fixed bug for blocks_plugin.php Added champ plugin_champ_title Added champ plugin_champ_desc Added champ plugin_champ_date Deleted champ cid Deleted champ pid Deleted champ cname Modified Paths: -------------- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/admin_footer.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/blocks/blocks_plugin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/docs/changelog.txt XoopsModules/feeds/releases/1.01/feeds/modules/feeds/header.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/configs.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/index.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/modinfo.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_day.html XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_random.html XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_recent.html XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/feeds_index.html XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php Added Paths: ----------- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/css/style.css XoopsModules/feeds/releases/1.01/feeds/modules/feeds/images/rss_rect.png XoopsModules/feeds/releases/1.01/feeds/modules/feeds/images/subscribe_rss.png XoopsModules/feeds/releases/1.01/feeds/modules/feeds/rss.php Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/admin_footer.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/admin_footer.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/admin_footer.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -10,21 +10,11 @@ * Copyright (c) 2007 - 2012 * TXMod Xoops (http://www.txmodxoops.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. - * * ------------------------------------------------------------------------ * * @copyright TXMod Xoops (http://www.txmodxoops.org) @@ -32,14 +22,13 @@ * @package feeds * @author TXMod Xoops (in...@tx...) * - * Version : 1.01 Sun 2012/02/26 0:02:53 : Timgno Exp $ + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ * **************************************************************************** - */ - + */ global $pathImageAdmin; echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> <img src='".$pathImageAdmin."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; echo "<div class='center smallsmall italic pad5'> <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_FEEDS_MAINTAINEDBY." <a href='http://www.txmodxoops.org/modules/newbb/' title='Visit TXMod Xoops Community' class='tooltip' rel='external'>TXMod Xoops Community</a></div>"; -xoops_cp_footer(); +xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -55,7 +55,7 @@ $plugin_date = $plugin_arr[$i]->getVar('plugin_champ_date'); $plugin_code = $plugin_arr[$i]->getVar('plugin_code'); $plugin_created = $plugin_arr[$i]->getVar('plugin_created'); - // $tablename, $published, + //Creation of plugin files feeds_MakePlugin($plugin_name, $plugin_table, $plugin_table, $plugin_title, $plugin_desc, $plugin_date, $plugin_id, $plugin_code, _AM_FEEDS_OK_WRITED, _AM_FEEDS_NOTOK_WRITABLE, _AM_FEEDS_NOTOK_ACCESSIBLE); Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -101,11 +101,10 @@ <th class='center'>"._AM_FEEDS_PLUGIN_SUBMITTER."</th> <th class='center'>"._AM_FEEDS_PLUGIN_CREATED."</th> <th class='center'>"._AM_FEEDS_PLUGIN_ONLINE."</th> - <th class='center' width='8%'>"._AM_FEEDS_FORMACTION."</th> + <th class='center' width='5%'>"._AM_FEEDS_FORMACTION."</th> </tr>"; - $class = "odd"; - + $class = "odd"; foreach (array_keys($plugin_arr) as $i) { echo "<tr class='".$class."'>"; @@ -122,14 +121,13 @@ echo "<td class='center'>".XoopsUser::getUnameFromId($plugin_arr[$i]->getVar("plugin_submitter"),"S")."</td>"; echo "<td class='center'>".formatTimeStamp($plugin_arr[$i]->getVar("plugin_created"),"S")."</td>"; - $online = $plugin_arr[$i]->getVar("plugin_online"); - + $online = $plugin_arr[$i]->getVar("plugin_online"); if( $online == 1 ) { - echo "<td class='center'><a href='./plugin.php?op=update_online_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."&plugin_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._AM_FEEDS_ON."' title='"._AM_FEEDS_ON."'></a></td>"; + echo "<td class='center'><a href='./plugin.php?op=update_online_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."&plugin_online=0'><img src=".$pathImageIcon."/on.png border='0' alt='"._ONLINE."' title='"._ONLINE."'></a></td>"; } else { - echo "<td class='center'><a href='./plugin.php?op=update_online_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."&plugin_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._AM_FEEDS_OFF."' title='"._AM_FEEDS_OFF."'></a></td>"; + echo "<td class='center'><a href='./plugin.php?op=update_online_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."&plugin_online=1'><img src=".$pathImageIcon."/off.png border='0' alt='"._OFFLINE."' title='"._OFFLINE."'></a></td>"; } - echo "<td class='center' width='10%'> + echo "<td class='center' width='5%'> <a href='plugin.php?op=edit_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."'><img src=".$pathImageIcon."/edit.png alt='"._EDIT."' title='"._EDIT."'></a> <a href='plugin.php?op=delete_plugin&plugin_id=".$plugin_arr[$i]->getVar("plugin_id")."'><img src=".$pathImageIcon."/delete.png alt='"._DELETE."' title='"._DELETE."'></a> </td>"; @@ -156,8 +154,9 @@ if ( !$GLOBALS["xoopsSecurity"]->check() ) { redirect_header("plugin.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); } + $plugin_id = feeds_CleanVars($_REQUEST, 'plugin_id', 0, 'int'); if (isset($_REQUEST["plugin_id"])) { - $obj =& $pluginHandler->get($_REQUEST["plugin_id"]); + $obj =& $pluginHandler->get($plugin_id); } else { $obj =& $pluginHandler->create(); } @@ -169,10 +168,12 @@ //Form plugin_img include_once XOOPS_ROOT_PATH."/class/uploader.php"; $uploaddir = XOOPS_UPLOAD_PATH."/feeds/images/"; - $uploader = new XoopsMediaUploader($uploaddir, $GLOBALS['xoopsModuleConfig']["img_mimetypes"], - $GLOBALS['xoopsModuleConfig']["img_size"], null, null); + $uploader = new XoopsMediaUploader($uploaddir, "gif|jpeg|pjpeg|png", 104857600, null, null); if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) { - $uploader->setPrefix("plugin_img_") ; + /*$extension = preg_replace( "/^.+\.([^.]+)$/sU" , "\\1" , $_FILES["attachedfile"]['name']); + $name_img = $_GET['plugin_name'].'.'.$extension; + $uploader->setTargetFileName($name_img);*/ + $uploader->setPrefix("plugin_img_"); $uploader->fetchMedia($_POST['xoops_upload_file'][0]); if (!$uploader->upload()) { $errors = $uploader->getErrors(); @@ -198,7 +199,7 @@ //Form plugin_submitter $obj->setVar("plugin_submitter", $_REQUEST["plugin_submitter"]); //Form plugin_created - $obj->setVar("plugin_created", strtotime($_REQUEST["plugin_created"])); + $obj->setVar("plugin_created", feeds_convertDate($_REQUEST["plugin_created"])); //Form plugin_online $verif_plugin_online = ($_REQUEST["plugin_online"] == 1) ? "1" : "0"; $obj->setVar("plugin_online", $verif_plugin_online); Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/blocks/blocks_plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/blocks/blocks_plugin.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/blocks/blocks_plugin.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -66,14 +66,13 @@ $criteria->setLimit($nb_plugin); $plugin_arr = $pluginHandler->getall($criteria); - foreach (array_keys($plugin_arr) as $i) - { - $plugin[$i]["plugin_id"] = $plugin_arr[$i]->getVar("plugin_id"); - $plugin[$i]["plugin_online"] = $plugin_arr[$i]->getVar("plugin_online"); - $plugin[$i]["plugin_submitter"] = $plugin_arr[$i]->getVar("plugin_submitter"); - $plugin[$i]["plugin_created"] = $plugin_arr[$i]->getVar("plugin_created"); - $plugin[$i]["plugin_online"] = $plugin_arr[$i]->getVar("plugin_online"); - } +foreach (array_keys($plugin_arr) as $i) +{ + $plugin[$i]["plugin_id"] = $plugin_arr[$i]->getVar("plugin_id"); + $plugin[$i]["plugin_name"] = $plugin_arr[$i]->getVar("plugin_name"); + $plugin[$i]["plugin_created"] = formatTimeStamp($plugin_arr[$i]->getVar("plugin_created"),"S"); + $plugin[$i]["plugin_online"] = $plugin_arr[$i]->getVar("plugin_online"); +} return $plugin; } Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -79,23 +79,23 @@ $plugin_img = $this->getVar("plugin_img") ? $this->getVar("plugin_img") : 'blank.gif'; - $uploadirectory = '/uploads/feeds/images'; + $uploadirectory = '/uploads/feeds/images'; $imgtray = new XoopsFormElementTray(_AM_FEEDS_PLUGIN_IMG,'<br />'); - $imgpath = sprintf(_AM_FEEDS_FORMIMAGE_PATH, $uploadirectory); + $imgpath = sprintf(_AM_FEEDS_FORMIMAGE_PATH, '.'.$uploadirectory); $imageselect = new XoopsFormSelect($imgpath, 'plugin_img', $plugin_img); $image_array = XoopsLists :: getImgListAsArray( XOOPS_ROOT_PATH.$uploadirectory ); foreach( $image_array as $image ) { $imageselect->addOption("$image", $image); } - $imageselect->setExtra( "onchange='showImgSelected(\"image\", \"plugin_img\", \"".$uploadirectory."\", \"\", \"".XOOPS_URL."\")'" ); + $imageselect->setExtra( "onchange='showImgSelected(\"image3\", \"plugin_img\", \"".$uploadirectory."\", \"\", \"".XOOPS_URL."\")'" ); $imgtray->addElement($imageselect, false); - $imgtray->addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".$uploadirectory."/".$plugin_img."' name='image' id='image' alt='' />" ) ); + $imgtray->addElement( new XoopsFormLabel( '', "<br /><img src='".XOOPS_URL."/".$uploadirectory."/".$plugin_img."' name='image3' id='image3' alt='' />" ) ); $fileseltray = new XoopsFormElementTray('','<br />'); - $fileseltray->addElement(new XoopsFormFile(_AM_FEEDS_FORMUPLOAD , "plugin_img", $GLOBALS['xoopsModuleConfig']["img_size"]),false); + $fileseltray->addElement(new XoopsFormFile(_AM_FEEDS_FORMUPLOAD , "attachedfile", 104857600), false); $fileseltray->addElement(new XoopsFormLabel(''), false); $imgtray->addElement($fileseltray); $form->addElement($imgtray); - + $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_TABLE, "plugin_table", 50, 255, $this->getVar("plugin_table")), true); $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_CHAMP_TITLE, "plugin_champ_title", 50, 50, $this->getVar("plugin_champ_title")), true); $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_CHAMP_DESC, "plugin_champ_desc", 50, 50, $this->getVar("plugin_champ_desc")), true); Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/css/style.css =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/css/style.css (rev 0) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/css/style.css 2012-03-01 00:24:18 UTC (rev 9081) @@ -0,0 +1,20 @@ +/* + * Module Feeds + * Created Tru 28/02/2012 + * Copyright TXMod Xoops <in...@tx...> + * $Id Timgno + */ +table { + border: 2px solid #ccc; + width: 100%; +} + +th.title { + float: left; + background: transparent url(../images/rss_rect.png) no-repeat; +} + +td.subscribe { + float: right; + background: transparent url(../images/subscribe_rss.png) no-repeat; +} \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/docs/changelog.txt =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/docs/changelog.txt 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/docs/changelog.txt 2012-03-01 00:24:18 UTC (rev 9081) @@ -1,5 +1,24 @@ +==================================== + 2012/02/29 18:10:10 Version 1.01 beta 3 +==================================== + - Added rss file (Timgno) + - Added style css file (Timgno) + - Added variable className (Timgno) + - Fixed bug for upload new image (Timgno) + - Fixed bug for templates index and blocks (Timgno) + - Fixed bug for blocks_plugin.php (Timgno) + ==================================== + 2012/02/28 10:05:13 Version 1.01 beta 2 ==================================== - 2012/02/26 0:02:53 Version 1.01 + - Added champ plugin_champ_title (Timgno) + - Added champ plugin_champ_desc (Timgno) + - Added champ plugin_champ_date (Timgno) + - Deleted champ cid (Timgno) + - Deleted champ pid (Timgno) + - Deleted champ cname (Timgno) + ==================================== - - Original release feeds (TXMod Xoops) + 2012/02/26 0:02:53 Version 1.01 beta 1 +==================================== + - Original release feeds (TXMod Xoops) \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/header.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/header.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/header.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -30,7 +30,7 @@ include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/configs.php"; include XOOPS_ROOT_PATH."/modules/".$xoopsModule->getVar('dirname')."/include/functions.php"; $myts =& MyTextSanitizer::getInstance(); -$style = "modules/".$xoopsModule->getVar('dirname')."/include/style.css"; +$style = "modules/".$xoopsModule->getVar('dirname')."/css/style.css"; if(file_exists($style)); {return true;} $pluginHandler =& xoops_getModuleHandler("feeds_plugin", "feeds"); ?> \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/images/rss_rect.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/images/rss_rect.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/images/subscribe_rss.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/images/subscribe_rss.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/configs.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/configs.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/configs.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -10,21 +10,11 @@ * Copyright (c) 2007 - 2012 * TXMod Xoops (http://www.txmodxoops.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. - * * ------------------------------------------------------------------------ * * @copyright TXMod Xoops (http://www.txmodxoops.org) @@ -32,10 +22,9 @@ * @package feeds * @author TXMod Xoops (in...@tx...) * - * Version : 1.01 Sun 2012/02/26 0:02:53 : Timgno Exp $ + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ * **************************************************************************** */ - if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; global $xoopsConfig, $xoopsModule; @@ -54,5 +43,4 @@ include_once $mod_path."/language/".$xoopsConfig['language']."/main.php" ; } else { include_once $mod_path."/language/english/main.php" ; -} -?> \ No newline at end of file +} \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -1,14 +1,14 @@ <?php /** * **************************************************************************** - * - Original Copyright (TDM) - * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS - * - Licence GPL Copyright (c) (http://www.tdmxoops.net) - * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) * **************************************************************************** - * FEEDS - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * TXMod Xoops (http://www.txmodxoops.org) + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) * * You may not change or alter any portion of this comment or credits * of supporting developers from this source code or any supporting @@ -26,11 +26,11 @@ * **************************************************************************** */ define('MFEEDS_URL', XOOPS_ROOT_PATH."/modules/feeds"); -function feeds_MakePlugin($module_name, $filename, $tablename, $ch_title, $ch_desc, $ch_published, $plugin_id, $code, $lang_ok, $lang_notwritable, $lang_notaccessible) +function feeds_MakePlugin($modName, $className, $tablename, $ch_title, $ch_desc, $ch_published, $plugin_id, $code, $lang_ok, $lang_notwritable, $lang_notaccessible) { global $xoopsConfig, $xoopsModule; $myts =& MyTextSanitizer::getInstance(); - $file = $filename.".php"; + $file = $modName.".php"; $path = MFEEDS_URL."/plugins/"; if(!is_dir($path)) { mkdir($path, 0755); @@ -40,35 +40,35 @@ } $path = $path.$file; - + $prefix = substr($tablename, strpos($tablename, '_')); $text = '<?php /* - * Plugin '.$filename.' of module '.$module_name.' and tablename '.$tablename.' - * + * Plugin $'.$prefix.' of module '.$modName.' + * Table name '.$tablename.' and class '.$className.' */ -if (file_exists($fileinc = $GLOBALS[\'xoops\']->path(\'modules/'.$module_name.'/class/'.$file.'\'))) { +if (file_exists($fileinc = $GLOBALS[\'xoops\']->path(\'modules/'.$modName.'/class/'.$className.'.php\'))) { include $fileinc; - $'.$module_name.'Handler =& xoops_getModuleHandler(\''.$tablename.'\', \''.$module_name.'\'); + $'.$prefix.'Handler =& xoops_getModuleHandler(\''.$tablename.'\', \''.$modName.'\'); $criteria = new CriteriaCompo(); - $criteria->setSort(\''.$published.'\'); + $criteria->setSort(\''.$ch_published.'\'); $criteria->setOrder(\'DESC\'); - $'.$module_name.'Array = $'.$module_name.'Handler->getAll($criteria); + $'.$prefix.'Array = $'.$prefix.'Handler->getAll($criteria); } -if (!empty($'.$module_name.'Array) && is_array($'.$module_name.'Array)) { - foreach ($'.$module_name.'Array as $'.$module_name.') { +if (!empty($'.$prefix.'Array) && is_array($'.$prefix.'Array)) { + foreach ($'.$prefix.'Array as $'.$prefix.') { //description - $'.$module_name.'desc = $'.$module_name.'->getVar(\''.$ch_desc.'\'); - if (strpos($'.$module_name.'desc,\'[pagebreak]\')==false){ - $'.$module_name.'desc_short = substr($'.$module_name.'desc, 0, 400); + $'.$prefix.'desc = $'.$prefix.'->getVar(\''.$ch_desc.'\'); + if (strpos($'.$prefix.'desc,\'[pagebreak]\')==false){ + $'.$prefix.'desc_short = substr($'.$prefix.'desc, 0, 400); }else{ - $'.$module_name.'desc_short = substr($'.$module_name.'desc, 0, strpos($'.$module_name.'desc,\'[pagebreak]\')); + $'.$prefix.'desc_short = substr($'.$prefix.'desc, 0, strpos($'.$prefix.'desc,\'[pagebreak]\')); } $tpl->append(\'items\', array( - \'title\' => XoopsLocal::convert_encoding(htmlspecialchars($'.$module_name.'->getVar(\''.$ch_title.'\'), ENT_QUOTES)) , - \'link\' => XOOPS_URL . \'/modules/'.$module_name.'/'.$myts->undoHtmlSpecialChars($code).'\', - \'guid\' => XOOPS_URL . \'/modules/'.$module_name.'/'.$myts->undoHtmlSpecialChars($code).'\', - \'pubdate\' => formatTimestamp($'.$module_name.'->getVar(\''.$ch_published.'\'), \'rss\') , - \'description\' => XoopsLocal::convert_encoding(htmlspecialchars($'.$module_name.'desc_short, ENT_QUOTES)))); + \'title\' => XoopsLocal::convert_encoding(htmlspecialchars($'.$prefix.'->getVar(\''.$ch_title.'\'), ENT_QUOTES)) , + \'link\' => XOOPS_URL . \'/modules/'.$modName.'/'.$myts->undoHtmlSpecialChars($code).'\', + \'guid\' => XOOPS_URL . \'/modules/'.$modName.'/'.$myts->undoHtmlSpecialChars($code).'\', + \'pubdate\' => formatTimestamp($'.$prefix.'->getVar(\''.$ch_published.'\'), \'rss\') , + \'description\' => XoopsLocal::convert_encoding(htmlspecialchars($'.$prefix.'desc_short, ENT_QUOTES)))); } } '; @@ -143,7 +143,7 @@ return $ret; } -function xoops_meta_keywords($content) +function feeds_meta_keywords($content) { global $xoopsTpl, $xoTheme; $myts =& MyTextSanitizer::getInstance(); @@ -155,7 +155,7 @@ } } -function xoops_meta_description($content) +function feeds_meta_description($content) { global $xoopsTpl, $xoTheme; $myts =& MyTextSanitizer::getInstance(); @@ -166,4 +166,19 @@ $xoopsTpl->assign('xoops_meta_description', strip_tags($content)); } } + +/** + * Convert StringToTime Date + * + * @param mixed $date + * @return + */ +function feeds_convertDate($date) +{ + if (strpos(_SHORTDATESTRING, "/")) + { + $date=str_replace("/", "-", $date); + } + return strtotime($date); +} ?> \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/index.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/index.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/index.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -28,16 +28,17 @@ include_once "header.php"; $xoopsOption['template_main'] = 'feeds_index.html'; include_once XOOPS_ROOT_PATH."/header.php"; - // Include Metas $keywords = $GLOBALS['xoopsModuleConfig']['keywords']; $keywords = substr($keywords, 0); -$xoTheme->addMeta('meta', 'keywords', $keywords); -$xoTheme->addMeta('meta', 'description', _MI_CODELINK_DESC.", pagina plugins"); +$GLOBALS['xoTheme']->addMeta('meta', 'keywords', $keywords); +$GLOBALS['xoTheme']->addMeta('meta', 'description', _MI_CODELINK_DESC.", pagina plugins"); // Include Styles -$xoTheme->addStylesheet($style); +$GLOBALS['xoTheme']->addStylesheet($style); +// Diveded by rows +$GLOBALS['xoopsTpl']->assign('divideby', $GLOBALS['xoopsModuleConfig']['divideby']); // Advertise -$xoopsTpl->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise']); +$GLOBALS['xoopsTpl']->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise']); $pluginHandler =& xoops_getModuleHandler("feeds_plugin", "feeds"); $menuarray = array(); // Variables @@ -61,34 +62,35 @@ $start = 0; } $plugin_arr = $pluginHandler->getall($criteria); +include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; if ( $numrows > $limit ) { $pagenav = new XoopsPageNav($numrows, $limit, $start, 'start', 'limit=' . $limit); $pagenav = $pagenav->renderNav(4); } else { $pagenav = ''; } -$xoopsTpl->assign('pagenav', $pagenav); +$GLOBALS['xoopsTpl']->assign('pagenav', $pagenav); unset($criteria); $count = 1; //Affichage du tableau if ($numrows>0) { - foreach (array_keys($plugin_arr) as $i) - { + foreach (array_keys($plugin_arr) as $i) + { $plugin_name = $plugin_arr[$i]->getVar("plugin_name"); $plugin_img = $plugin_arr[$i]->getVar("plugin_img"); $plugin_online = $plugin_arr[$i]->getVar("plugin_online"); $image = "<img src='".XOOPS_UPLOAD_URL."/feeds/images/".$plugin_img."' title='".$plugin_name."' alt='".$plugin_name."' />"; - $xoopsTpl->append('plugins', array('code' => $code, 'count' => $count, 'image' => $image, 'online' => $plugin_online)); + $GLOBALS['xoopsTpl']->append('plugins', array('name' => $plugin_name, 'count' => $count, 'image' => $image, 'online' => $plugin_online)); $count++; - } + } } -if($xoopsModuleConfig['act_socialnetworks']== 1){ -$social = $xoopsModuleConfig['socialnetworks']; -$act_social = $xoopsModuleConfig['act_socialnetworks']; -$xoopsTpl->assign('act_social', $act_social); -$xoopsTpl->assign('social', $social); } +if($GLOBALS['xoopsModuleConfig']['act_socialnetworks']== 1){ +$social = $GLOBALS['xoopsModuleConfig']['socialnetworks']; +$act_social = $GLOBALS['xoopsModuleConfig']['act_socialnetworks']; +$GLOBALS['xoopsTpl']->assign('act_social', $act_social); +$GLOBALS['xoopsTpl']->assign('social', $social); } include_once XOOPS_ROOT_PATH."/footer.php"; ?> \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/modinfo.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/modinfo.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/modinfo.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -31,12 +31,12 @@ //Menu define("_MI_FEEDS_ADMENU1","Home"); define("_MI_FEEDS_ADMENU2","Plugins"); -define("_MI_FEEDS_ADMENU3","Create Plugin"); +define("_MI_FEEDS_ADMENU3","Crea Plugin"); define("_MI_FEEDS_ADMENU4","About"); //Blocks -define("_MI_FEEDS_PLUGIN_BLOCK_RECENT","plugin recents"); -define("_MI_FEEDS_PLUGIN_BLOCK_DAY","plugin of today"); -define("_MI_FEEDS_PLUGIN_BLOCK_RANDOM","plugin random"); +define("_MI_FEEDS_PLUGIN_BLOCK_RECENT","Plugin recenti"); +define("_MI_FEEDS_PLUGIN_BLOCK_DAY","Plugin di oggi"); +define("_MI_FEEDS_PLUGIN_BLOCK_RANDOM","Plugin a caso"); //Config define("_MI_FEEDS_EDITOR","Editor"); define("_MI_FEEDS_KEYWORDS","Keywords"); Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -1,17 +1,29 @@ <?php /** - * TDMDownload + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) * - * 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. + * 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. * - * @copyright Gregory Mage (Aka Mage) - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @author Gregory Mage (Aka Mage) + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** */ include_once 'header.php'; @@ -22,9 +34,5 @@ $plugin_arr = $pluginHandler->getall($criteria); foreach (array_keys($plugin_arr) as $i) { - $create_plugin_id = $plugin_arr[$i]->getVar('plugin_id'); - 'link' => XOOPS_URL . '/modules/TDMDownloads/singlefile.php?cid=' . $downloads_arr[$i]->getVar('cid') . '&lid=' . $downloads_arr[$i]->getVar('lid'), - 'guid' => XOOPS_URL . '/modules/TDMDownloads/singlefile.php?cid=' . $downloads_arr[$i]->getVar('cid') . '&lid=' . $downloads_arr[$i]->getVar('lid'), - 'pubdate' => formatTimestamp($downloads_arr[$i]->getVar('date'), 'rss'), - 'description' => htmlspecialchars($description_short, ENT_QUOTES))); -} + $create_plugin_id = $plugin_arr[$i]->getVar('plugin_id'); +} \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/rss.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/rss.php (rev 0) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/rss.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -0,0 +1,73 @@ +<?php +/** + * **************************************************************************** + * - Original Copyright (TDM) + * - TDMCreate By TDM - TEAM DEV MODULE FOR XOOPS + * - Licence GPL Copyright (c) (http://www.tdmxoops.net) + * - Developers TEAM TDMCreate Xoops - (http://www.xoops.org) + * **************************************************************************** + * FEEDS - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * TXMod Xoops (http://www.txmodxoops.org) + * + * 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. + * + * ------------------------------------------------------------------------ + * + * @copyright TXMod Xoops (http://www.txmodxoops.org) + * @license GPL see LICENSE + * @package feeds + * @author TXMod Xoops (in...@tx...) + * + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ + * **************************************************************************** + */ +include_once 'header.php'; +// SAR - 19/08/2011 +$cid = isset($_GET['cid']) ? intval($_GET['cid']) : 0; +$url = XOOPS_URL.'/'.$GLOBALS['xoopsModuleConfig']['baseurl'].'/rss,'.$cid.$GLOBALS['xoopsModuleConfig']['endofurl_rss']; +if (!strpos($url, $_SERVER['REQUEST_URI'])&&$GLOBALS['xoopsModuleConfig']['htaccess']==true&&empty($_POST)) { + header( "HTTP/1.1 301 Moved Permanently" ); + header('Location: '.$url); + exit(0); +} +include_once XOOPS_ROOT_PATH.'/class/template.php'; +$items_count = $xoopsModuleConfig['perpagerss']; + +if (function_exists('mb_http_output')) { + mb_http_output('pass'); +} +header ('Content-Type:text/xml; charset=UTF-8'._CHARSET); +if (!$tpl->is_cached('db:feeds_rss.html')) { + $tpl->assign('channel_title', htmlspecialchars($title, ENT_QUOTES)); + $tpl->assign('channel_link', XOOPS_URL.'/'); + $tpl->assign('channel_desc', htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES)); + $tpl->assign('channel_lastbuild', formatTimestamp(time(), 'rss')); + $tpl->assign('channel_webmaster', $xoopsConfig['adminmail']); + $tpl->assign('channel_editor', $xoopsConfig['adminmail']); + $tpl->assign('channel_category', 'Event'); + $tpl->assign('channel_generator', 'XOOPS - ' . htmlspecialchars($xoopsModule->getVar('name'), ENT_QUOTES)); + $tpl->assign('channel_language', _LANGCODE); + $tpl->assign('docs', 'http://cyber.law.harvard.edu/rss/rss.html'); + $tpl->assign('image_url', XOOPS_URL . '/images/logo.png'); + $dimension = getimagesize(XOOPS_ROOT_PATH . '/images/logo.png'); + if (empty($dimention[0])) { + $width = 88; + } else { + $width = ($dimention[0] > 144) ? 144 : $dimention[0]; + } + if (empty($dimention[1])) { + $height = 31; + } else { + $height = ($dimention[1] > 400) ? 400 : $dimention[1]; + } + $tpl->assign('image_width', $width); + $tpl->assign('image_height', $height); + if(file_exists($plugin)) + include $plugin; +} +$tpl->display('db:feeds_rss.html'); +?> \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -26,6 +26,7 @@ * **************************************************************************** */ include_once "header.php"; +global $pathImageIcon; $plugin_id = feeds_CleanVars($_REQUEST, 'plugin_id', 0, 'int'); //information du t\xE9l\xE9chargement $view_plugin = $pluginHandler->get($plugin_id); @@ -42,13 +43,13 @@ } // Define if it is admin if (is_object($xoopsUser) && $xoopsUser->isAdmin($xoopsModule->mid())) { - $adminlink = '<a href="' . XOOPS_URL . '/modules/feeds/admin/plugin.php?op=edit_plugin&plugin_id=' . $_REQUEST['plugin_id'] . '" title="' . _EDIT . '"><img src="' . XOOPS_URL . '/modules/feeds/images/icon/edit.png" width="16px" height="16px" border="0" alt="' . _EDIT . '" /></a>'; + $adminlink = '<a href="' . XOOPS_URL . '/modules/feeds/admin/plugin.php?op=edit_plugin&plugin_id=' . $_REQUEST['plugin_id'] . '" title="' . _EDIT . '"><img src="'. $pathImageIcon .'/edit.png" width="16px" height="16px" border="0" alt="' . _EDIT . '" /></a>'; } else { $adminlink = ''; } // tags -if (($xoopsModuleConfig['usetag'] == 1) and (is_dir('../tag'))){ +if (($GLOBALS['xoopsModuleConfig']['usetag'] == 1) and (is_dir('../tag'))){ require_once XOOPS_ROOT_PATH.'/modules/tag/include/tagbar.php'; $xoopsTpl->assign('tags', true); $xoopsTpl->assign('tagbar', tagBar($_REQUEST['lid'], 0)); @@ -71,8 +72,10 @@ $keywords = implode(', ', $keywords); $xoTheme->addMeta( 'meta', 'keywords', $keywords); -if($xoopsModuleConfig['act_socialnetworks']== 1){ -$social = $xoopsModuleConfig['socialnetworks']; +if($GLOBALS['xoopsModuleConfig']['act_socialnetworks']== 1){ +$social = $GLOBALS['xoopsModuleConfig']['socialnetworks']; +$act_social = $GLOBALS['xoopsModuleConfig']['act_socialnetworks']; +$xoopsTpl->assign('act_social', $act_social); $xoopsTpl->assign('social', $social); } include XOOPS_ROOT_PATH.'/include/comment_view.php'; Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_day.html =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_day.html 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_day.html 2012-03-01 00:24:18 UTC (rev 9081) @@ -1,14 +1,11 @@ - <table class="outer"> - <{foreachq item=plugin from=$block}> - <tr class = "<{cycle values = "even,odd"}>"> - <td><{$plugin.plugin_id}>; - <{$plugin.plugin_online}>; - <{$plugin.plugin_submitter}>; - <{$plugin.plugin_date_created}>; - <{$plugin.plugin_online}>; - </td> - </tr> - <{/foreach}> -</table> - + <{foreachq item=plugin from=$block}> + <{if $plugin.plugin_online == 1}> + <tr class = "<{cycle values = "even,odd"}>"> + <td><{$plugin.plugin_id}></td> + <td><{$plugin.plugin_name}></td> + <td><{$plugin.plugin_created}></td> + </tr> + <{/if}> + <{/foreach}> +</table> \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_random.html =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_random.html 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_random.html 2012-03-01 00:24:18 UTC (rev 9081) @@ -1,14 +1,11 @@ - <table class="outer"> - <{foreachq item=plugin from=$block}> - <tr class = "<{cycle values = "even,odd"}>"> - <td><{$plugin.plugin_id}>; - <{$plugin.plugin_online}>; - <{$plugin.plugin_submitter}>; - <{$plugin.plugin_date_created}>; - <{$plugin.plugin_online}>; - </td> - </tr> - <{/foreach}> -</table> - + <{foreachq item=plugin from=$block}> + <{if $plugin.plugin_online == 1}> + <tr class = "<{cycle values = "even,odd"}>"> + <td><{$plugin.plugin_id}></td> + <td><{$plugin.plugin_name}></td> + <td><{$plugin.plugin_created}></td> + </tr> + <{/if}> + <{/foreach}> +</table> \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_recent.html =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_recent.html 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/blocks/feeds_plugin_block_recent.html 2012-03-01 00:24:18 UTC (rev 9081) @@ -1,14 +1,11 @@ - <table class="outer"> - <{foreachq item=plugin from=$block}> - <tr class = "<{cycle values = "even,odd"}>"> - <td><{$plugin.plugin_id}>; - <{$plugin.plugin_online}>; - <{$plugin.plugin_submitter}>; - <{$plugin.plugin_date_created}>; - <{$plugin.plugin_online}>; - </td> - </tr> - <{/foreach}> -</table> - + <{foreachq item=plugin from=$block}> + <{if $plugin.plugin_online == 1}> + <tr class = "<{cycle values = "even,odd"}>"> + <td><{$plugin.plugin_id}></td> + <td><{$plugin.plugin_name}></td> + <td><{$plugin.plugin_created}></td> + </tr> + <{/if}> + <{/foreach}> +</table> \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/feeds_index.html =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/feeds_index.html 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/templates/feeds_index.html 2012-03-01 00:24:18 UTC (rev 9081) @@ -1,27 +1,30 @@ <{include file="db:feeds_header.html"}> <div class="outer"> <{if count($plugins) gt 0}> - <table width="100%" border="1" cellpadding="2" cellspacing="2"> + <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr> - <!-- Start buttoncode loop --> - <{foreach item=plugins from=$plugins }> - <td> - <{if $plugins.online == 1 }> - <table width="100%" border="1" cellpadding="2" cellspacing="2"> + <!-- Start plugins loop --> + <{foreach item=plugins from=$plugins }> + <{if $plugins.online == 1 }> + <td> + <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr> - <th class="even center"><{$plugins.title}></th> + <th class="even title center" colspan="2"><{$plugins.name}></th> </tr> <tr> <td class="odd center" valign="middle"><{$plugins.image}></td> </tr> + <tr> + <td class="even subscribe" colspan="2"> </td> + </tr> </table> - <{/if}> - </td> + </td> + <{/if}> <{if $plugins.count is div by $divideby}> </tr><tr> <{/if}> <{/foreach}> - <!-- End buttoncode loop --> + <!-- End plugins loop --> </tr> </table> <{/if}> Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php 2012-02-29 12:17:34 UTC (rev 9080) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php 2012-03-01 00:24:18 UTC (rev 9081) @@ -42,9 +42,9 @@ $modversion['license'] = "GNU GPL 2.0"; $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; -$modversion['release_info'] = "Beta 2 28/02/2012"; +$modversion['release_info'] = "Beta 1 25/02/2012"; $modversion['release_file'] = XOOPS_URL."/modules/{$dirname}/docs/changelog.txt"; -$modversion['release_date'] = "2012/02/28"; +$modversion['release_date'] = "2012/02/26"; $modversion['manual'] = "Install Manual"; $modversion['manual_file'] = XOOPS_URL."/modules/{$dirname}/docs/install.txt"; @@ -66,8 +66,8 @@ $modversion['forum_site_name'] = "TXMod Xoops Community"; $modversion['module_website_url'] = "http://www.txmodxoops.org/"; $modversion['module_website_name'] = "TXMod Xoops"; -$modversion['release'] = "28/02/2012"; -$modversion['module_status'] = "Beta 2"; +$modversion['release'] = "25/02/2012"; +$modversion['module_status'] = "Beta 1"; // Admin things $modversion['hasAdmin'] = 1; @@ -163,7 +163,7 @@ $modversion['config'][$i]['description'] = ""; $modversion['config'][$i]['formtype'] = "textbox"; $modversion['config'][$i]['valuetype'] = "int"; -$modversion['config'][$i]['default'] = "10485760"; +$modversion['config'][$i]['default'] = 104857600; $i++; //Uploads : mimetypes plugin_img $modversion['config'][$i]['name'] = "img_mimetypes"; @@ -175,13 +175,20 @@ $modversion['config'][$i]['options'] = array("bmp" => "image/bmp","gif" => "image/gif","jpeg" => "image/pjpeg", "jpeg" => "image/jpeg","jpg" => "image/jpeg","jpe" => "image/jpeg","png" => "image/png"); $i++; +$modversion['config'][$i]['name'] = "usetag"; +$modversion['config'][$i]['title'] = "_MI_FEEDS_USETAG"; +$modversion['config'][$i]['description'] = "_MI_FEEDS_USETAG_DESC"; +$modversion['config'][$i]['formtype'] = "yesno"; +$modversion['config'][$i]['valuetype'] = "int"; +$modversion['config'][$i]['default'] = 0; +$i++; $modversion['config'][$i]['name'] = "perpageadmin"; $modversion['config'][$i]['title'] = "_MI_FEEDS_PERPAGEADMIN"; $modversion['config'][$i]['description'] = "_MI_FEEDS_PERPAGEAMDMIN_DESC"; $modversion['config'][$i]['formtype'] = "select"; $modversion['config'][$i]['valuetype'] = "int"; -$modversion['config'][$i]['default'] = 5; -$modversion['config'][$i]['options'] = array('1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9, '10' => 10); +$modversion['config'][$i]['default'] = 10; +$modversion['config'][$i]['options'] = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '25' => 25, '30' => 30); $i++; $modversion['config'][$i]['name'] = "perpageuser"; $modversion['config'][$i]['title'] = "_MI_FEEDS_PERPAGEUSER"; @@ -189,7 +196,7 @@ $modversion['config'][$i]['formtype'] = "select"; $modversion['config'][$i]['valuetype'] = "int"; $modversion['config'][$i]['default'] = 5; -$modversion['config'][$i]['options'] = array('1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9, '10' => 10); +$modversion['config'][$i]['options'] = array('2' => 2, '3' => 3, '5' => 5, '10' => 10, '15' => 15, '20' => 20); $i++; $modversion['config'][$i]['name'] = "divideby"; $modversion['config'][$i]['title'] = "_MI_FEEDS_DIVIDEBY"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-02-29 12:17:40
|
Revision: 9080 http://xoops.svn.sourceforge.net/xoops/?rev=9080&view=rev Author: voltan1 Date: 2012-02-29 12:17:34 +0000 (Wed, 29 Feb 2012) Log Message: ----------- Improve archive page Modified Paths: -------------- XoopsModules/fmcontent/branches/news/archive.php Modified: XoopsModules/fmcontent/branches/news/archive.php =================================================================== --- XoopsModules/fmcontent/branches/news/archive.php 2012-02-29 12:11:33 UTC (rev 9079) +++ XoopsModules/fmcontent/branches/news/archive.php 2012-02-29 12:17:34 UTC (rev 9080) @@ -116,9 +116,9 @@ $topics = $topic_handler->getall (); $archive = $story_handler->News_GetArchive($NewsModule , $monthstart, $monthend , $topics , $limit , $start); $numrows = $story_handler->News_GetArchiveCount($NewsModule, $publish_start, $publish_end ,$topics); - + if ($numrows > $limit) { - $pagenav = new XoopsPageNav ( $numrows, $limit, $start, 'start', 'year=' . $fromyear . '&month=' . $frommonth . '&limit=' . $limit ); + $pagenav = new XoopsPageNav ( $numrows, $limit, $start, 'start', 'limit=' . $limit . '&year=' . $fromyear . '&month=' . $frommonth ); $pagenav = $pagenav->renderNav ( 4 ); } else { $pagenav = ''; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-02-29 12:11:44
|
Revision: 9079 http://xoops.svn.sourceforge.net/xoops/?rev=9079&view=rev Author: voltan1 Date: 2012-02-29 12:11:33 +0000 (Wed, 29 Feb 2012) Log Message: ----------- Improve archive page Modified Paths: -------------- XoopsModules/fmcontent/branches/news/archive.php XoopsModules/fmcontent/branches/news/class/story.php XoopsModules/fmcontent/branches/news/templates/news_archive.html Modified: XoopsModules/fmcontent/branches/news/archive.php =================================================================== --- XoopsModules/fmcontent/branches/news/archive.php 2012-02-29 10:44:03 UTC (rev 9078) +++ XoopsModules/fmcontent/branches/news/archive.php 2012-02-29 12:11:33 UTC (rev 9079) @@ -22,7 +22,7 @@ if (!isset($NewsModule)) exit('Module not found'); include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/calendar.php'; - + include_once XOOPS_ROOT_PATH . "/class/pagenav.php"; // Initialize content handler $story_handler = xoops_getmodulehandler ( 'story', 'news' ); $topic_handler = xoops_getmodulehandler ( 'topic', 'news' ); @@ -42,8 +42,10 @@ $months_arr = array(1 => _CAL_JANUARY, 2 => _CAL_FEBRUARY, 3 => _CAL_MARCH, 4 => _CAL_APRIL, 5 => _CAL_MAY, 6 => _CAL_JUNE, 7 => _CAL_JULY, 8 => _CAL_AUGUST, 9 => _CAL_SEPTEMBER, 10 => _CAL_OCTOBER, 11 => _CAL_NOVEMBER, 12 => _CAL_DECEMBER); -$fromyear = NewsUtils::News_CleanVars ( $_REQUEST, 'year', 0, 'int' ); -$frommonth = NewsUtils::News_CleanVars ( $_REQUEST, 'month', 0, 'int' ); +$fromyear = NewsUtils::News_CleanVars ( $_GET, 'year', 0, 'int' ); +$frommonth = NewsUtils::News_CleanVars ( $_GET, 'month', 0, 'int' ); +$start = NewsUtils::News_CleanVars ( $_GET, 'start', 0, 'int' ); +$limit = NewsUtils::News_CleanVars ( $_GET, 'limit', 50, 'int' ); $pgtitle = ''; if($fromyear && $frommonth) { @@ -71,7 +73,7 @@ while (list($time) = $xoopsDB->fetchRow($result)) { $time = formatTimestamp($time, 'mysql', $useroffset); - if (preg_match("/([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})/", $time, $datetime)) { + if (preg_match("/([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})/", $time, $datetime)) { $this_year = intval($datetime[1]); $this_month = intval($datetime[2]); if (empty($lastyear)) { @@ -112,8 +114,18 @@ $monthend = ($monthend > time()) ? time() : $monthend; $topics = $topic_handler->getall (); - $archive = $story_handler->News_GetArchive($NewsModule , $monthstart, $monthend , $topics); + $archive = $story_handler->News_GetArchive($NewsModule , $monthstart, $monthend , $topics , $limit , $start); + $numrows = $story_handler->News_GetArchiveCount($NewsModule, $publish_start, $publish_end ,$topics); + + if ($numrows > $limit) { + $pagenav = new XoopsPageNav ( $numrows, $limit, $start, 'start', 'year=' . $fromyear . '&month=' . $frommonth . '&limit=' . $limit ); + $pagenav = $pagenav->renderNav ( 4 ); + } else { + $pagenav = ''; + } + $xoopsTpl->assign('archive', $archive); + $xoopsTpl->assign('pagenav', $pagenav); $xoopsTpl->assign('show_articles', true); } else { $xoopsTpl->assign('show_articles', false); Modified: XoopsModules/fmcontent/branches/news/class/story.php =================================================================== --- XoopsModules/fmcontent/branches/news/class/story.php 2012-02-29 10:44:03 UTC (rev 9078) +++ XoopsModules/fmcontent/branches/news/class/story.php 2012-02-29 12:11:33 UTC (rev 9079) @@ -1061,7 +1061,7 @@ /** * Get archive */ - function News_GetArchive($NewsModule, $publish_start, $publish_end ,$topics) { + function News_GetArchive($NewsModule, $publish_start, $publish_end ,$topics ,$limit ,$start) { $ret = array(); $criteria = new CriteriaCompo (); $criteria->add ( new Criteria ( 'story_modid', $NewsModule->getVar ( 'mid' ) ) ); @@ -1072,6 +1072,8 @@ $criteria->add ( new Criteria ( 'story_expire', time() , '>' ) ,'OR'); $criteria->setSort ( 'story_publish' ); $criteria->setOrder ( 'DESC' ); + $criteria->setLimit ( $limit ); + $criteria->setStart ( $start ); $obj = $this->getObjects ( $criteria, false ); if ($obj) { foreach ( $obj as $root ) { @@ -1096,6 +1098,20 @@ } /** + * Get archive count + */ + function News_GetArchiveCount($NewsModule, $publish_start, $publish_end ,$topics) { + $criteria = new CriteriaCompo (); + $criteria->add ( new Criteria ( 'story_modid', $NewsModule->getVar ( 'mid' ) ) ); + $criteria->add ( new Criteria ( 'story_status', '1' ) ); + $criteria->add ( new Criteria ( 'story_publish', $publish_start , '>' )); + $criteria->add ( new Criteria ( 'story_publish', $publish_end , '<=' )); + $criteria->add ( new Criteria ( 'story_expire', 0 )); + $criteria->add ( new Criteria ( 'story_expire', time() , '>' ) ,'OR'); + return $this->getCount ( $criteria ); + } + + /** * News Prune Count */ function News_PruneCount($NewsModule,$timestamp,$expired,$topiclist) { Modified: XoopsModules/fmcontent/branches/news/templates/news_archive.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_archive.html 2012-02-29 10:44:03 UTC (rev 9078) +++ XoopsModules/fmcontent/branches/news/templates/news_archive.html 2012-02-29 12:11:33 UTC (rev 9079) @@ -33,6 +33,7 @@ <{/foreach}> </table> </div> + <div class="pagenave"><{$pagenav}></div> <div class="marg2 pad2 center"><a title="<{$smarty.const._NEWS_MD_ARCHIVE_TOTAL}>" href="<{$xoops_url}>/modules/<{$module}>/archive.php"><{$smarty.const._NEWS_MD_ARCHIVE_TOTAL}></a></div> <{/if}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-02-29 10:44:14
|
Revision: 9078 http://xoops.svn.sourceforge.net/xoops/?rev=9078&view=rev Author: voltan1 Date: 2012-02-29 10:44:03 +0000 (Wed, 29 Feb 2012) Log Message: ----------- Add DB fileds for slide and marque block Modified Paths: -------------- XoopsModules/fmcontent/branches/news/class/story.php XoopsModules/fmcontent/branches/news/include/functions_update.php XoopsModules/fmcontent/branches/news/language/arabic/admin.php XoopsModules/fmcontent/branches/news/language/english/admin.php XoopsModules/fmcontent/branches/news/language/persian/admin.php XoopsModules/fmcontent/branches/news/sql/mysql.sql Modified: XoopsModules/fmcontent/branches/news/class/story.php =================================================================== --- XoopsModules/fmcontent/branches/news/class/story.php 2012-02-29 09:54:13 UTC (rev 9077) +++ XoopsModules/fmcontent/branches/news/class/story.php 2012-02-29 10:44:03 UTC (rev 9078) @@ -42,6 +42,8 @@ $this->initVar ( 'story_desc', XOBJ_DTYPE_TXTBOX, '' ); $this->initVar ( 'story_alias', XOBJ_DTYPE_TXTBOX, '' ); $this->initVar ( 'story_status', XOBJ_DTYPE_INT, 1 ); + $this->initVar ( 'story_slide', XOBJ_DTYPE_INT, 0 ); + $this->initVar ( 'story_marque', XOBJ_DTYPE_INT, 0 ); $this->initVar ( 'story_important', XOBJ_DTYPE_INT, 0 ); $this->initVar ( 'story_default', XOBJ_DTYPE_INT, 0 ); $this->initVar ( 'story_create', XOBJ_DTYPE_INT, '' ); @@ -233,6 +235,10 @@ $form->addElement ( new XoopsFormRadioYN ( _NEWS_AM_CONTENT_FORMDEFAULT, 'story_default', $this->getVar ( 'story_default', 'e' ) ) ); // Important $form->addElement ( new XoopsFormRadioYN ( _NEWS_AM_CONTENT_IMPORTANT, 'story_important', $this->getVar ( 'story_important', 'e' ) ) ); + // Slide + $form->addElement ( new XoopsFormRadioYN ( _NEWS_AM_CONTENT_SLIDE, 'story_slide', $this->getVar ( 'story_slide', 'e' ) ) ); + // Marque + $form->addElement ( new XoopsFormRadioYN ( _NEWS_AM_CONTENT_MARQUE, 'story_marque', $this->getVar ( 'story_marque', 'e' ) ) ); // Submit buttons $button_tray = new XoopsFormElementTray ( '', '' ); $submit_btn = new XoopsFormButton ( '', 'post', _SUBMIT, 'submit' ); Modified: XoopsModules/fmcontent/branches/news/include/functions_update.php =================================================================== --- XoopsModules/fmcontent/branches/news/include/functions_update.php 2012-02-29 09:54:13 UTC (rev 9077) +++ XoopsModules/fmcontent/branches/news/include/functions_update.php 2012-02-29 10:44:03 UTC (rev 9078) @@ -24,6 +24,27 @@ */ function xoops_module_update_news($module, $version) { + // start update to version 1.81 + if($version < 181) { + + $db = $GLOBALS["xoopsDB"]; + $error = false; + + include_once XOOPS_ROOT_PATH . '/modules/news/class/utils.php'; + + if(!NewsUtils::News_FieldExists('story_slide' ,$db->prefix('news_story'))) + { + NewsUtils::News_AddField('`story_slide` TINYINT( 1 ) NOT NULL AFTER `story_status`' ,$db->prefix('news_story')); + } + + if(!NewsUtils::News_FieldExists('story_marque' ,$db->prefix('news_story'))) + { + NewsUtils::News_AddField('`story_marque` TINYINT( 1 ) NOT NULL AFTER `story_slide`' ,$db->prefix('news_story')); + } + + } + // end update to version 1.81 + // start update to version 1.80 if($version < 180) { @@ -116,7 +137,9 @@ `story_alias` varchar(255) NOT NULL, `story_important` tinyint(1) NOT NULL, `story_default` tinyint(1) NOT NULL, - `story_status` tinyint(1) NOT NULL, + `story_status` tinyint(1) NOT NULL, + `story_slide` tinyint(1) NOT NULL, + `story_marque` tinyint(1) NOT NULL, `story_create` int (10) NOT NULL default '0', `story_update` int (10) NOT NULL default '0', `story_publish` int (10) NOT NULL default '0', Modified: XoopsModules/fmcontent/branches/news/language/arabic/admin.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/admin.php 2012-02-29 09:54:13 UTC (rev 9077) +++ XoopsModules/fmcontent/branches/news/language/arabic/admin.php 2012-02-29 10:44:03 UTC (rev 9078) @@ -126,7 +126,9 @@ define('_NEWS_AM_CONTENT_EXPIRE', 'Expire news'); define('_NEWS_AM_CONTENT_PEDATE', 'Set publish and expiration date'); define('_NEWS_AM_CONTENT_SETDATETIME', 'Set the date/time of publish'); - define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'Set the date/time of expiration'); + define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'Set the date/time of expiration'); + define('_NEWS_AM_CONTENT_SLIDE', 'Set as slide'); + define('_NEWS_AM_CONTENT_MARQUE', 'Set sd margue'); // Tools page define('_NEWS_AM_TOOLS_FORMFOLDER_TITLE', 'استنساخ النسخ المتماثلة'); define('_NEWS_AM_TOOLS_FORMFOLDER_NAME', 'اسم المجلد'); Modified: XoopsModules/fmcontent/branches/news/language/english/admin.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/admin.php 2012-02-29 09:54:13 UTC (rev 9077) +++ XoopsModules/fmcontent/branches/news/language/english/admin.php 2012-02-29 10:44:03 UTC (rev 9078) @@ -126,7 +126,9 @@ define('_NEWS_AM_CONTENT_EXPIRE', 'Expire news'); define('_NEWS_AM_CONTENT_PEDATE', 'Set publish and expiration date'); define('_NEWS_AM_CONTENT_SETDATETIME', 'Set the date/time of publish'); - define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'Set the date/time of expiration'); + define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'Set the date/time of expiration'); + define('_NEWS_AM_CONTENT_SLIDE', 'Set as slide'); + define('_NEWS_AM_CONTENT_MARQUE', 'Set sd margue'); // Tools page define('_NEWS_AM_TOOLS_FORMFOLDER_TITLE', 'Clone module'); define('_NEWS_AM_TOOLS_FORMFOLDER_NAME', 'Folder name'); Modified: XoopsModules/fmcontent/branches/news/language/persian/admin.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/admin.php 2012-02-29 09:54:13 UTC (rev 9077) +++ XoopsModules/fmcontent/branches/news/language/persian/admin.php 2012-02-29 10:44:03 UTC (rev 9078) @@ -126,7 +126,9 @@ define('_NEWS_AM_CONTENT_EXPIRE', 'اخبار باطل شده'); define('_NEWS_AM_CONTENT_PEDATE', 'تنظیم زمان نمایش و باطل شدن'); define('_NEWS_AM_CONTENT_SETDATETIME', 'تعیین زمان/تاریخ قرار گرفتن خبر در سایت'); - define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'تعیین زمان/تاریخ منقضی شدن خبر در سایت'); + define('_NEWS_AM_CONTENT_SETEXPDATETIME', 'تعیین زمان/تاریخ منقضی شدن خبر در سایت'); + define('_NEWS_AM_CONTENT_SLIDE', 'استفاده در اسلایدشو'); + define('_NEWS_AM_CONTENT_MARQUE', 'استفاده در مارکیو'); // Tools page define('_NEWS_AM_TOOLS_FORMFOLDER_TITLE', 'تکثیر ماژول'); define('_NEWS_AM_TOOLS_FORMFOLDER_NAME', 'نام پوشه'); Modified: XoopsModules/fmcontent/branches/news/sql/mysql.sql =================================================================== --- XoopsModules/fmcontent/branches/news/sql/mysql.sql 2012-02-29 09:54:13 UTC (rev 9077) +++ XoopsModules/fmcontent/branches/news/sql/mysql.sql 2012-02-29 10:44:03 UTC (rev 9078) @@ -13,7 +13,9 @@ `story_alias` varchar(255) NOT NULL, `story_important` tinyint(1) NOT NULL, `story_default` tinyint(1) NOT NULL, -`story_status` tinyint(1) NOT NULL, +`story_status` tinyint(1) NOT NULL, +`story_slide` tinyint(1) NOT NULL, +`story_marque` tinyint(1) NOT NULL, `story_create` int (10) NOT NULL default '0', `story_update` int (10) NOT NULL default '0', `story_publish` int (10) NOT NULL default '0', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-02-29 09:54:24
|
Revision: 9077 http://xoops.svn.sourceforge.net/xoops/?rev=9077&view=rev Author: voltan1 Date: 2012-02-29 09:54:13 +0000 (Wed, 29 Feb 2012) Log Message: ----------- Limited list by topic ID if exist Modified Paths: -------------- XoopsModules/fmcontent/branches/news/blocks/list.php XoopsModules/fmcontent/branches/news/class/story.php XoopsModules/fmcontent/branches/news/class/utils.php XoopsModules/fmcontent/branches/news/language/arabic/blocks.php XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php XoopsModules/fmcontent/branches/news/language/english/blocks.php XoopsModules/fmcontent/branches/news/language/english/modinfo.php XoopsModules/fmcontent/branches/news/language/persian/blocks.php XoopsModules/fmcontent/branches/news/language/persian/modinfo.php XoopsModules/fmcontent/branches/news/xoops_version.php Modified: XoopsModules/fmcontent/branches/news/blocks/list.php =================================================================== --- XoopsModules/fmcontent/branches/news/blocks/list.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/blocks/list.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -61,26 +61,33 @@ array_shift($options); array_shift($options); array_shift($options); + array_shift($options); array_shift($options); $NewsModule = $module_handler->getByDirname($NewsModule); + // Set story publish if($story_infos['story_sort'] == 'story_hits') { if($day) { $day = 86400 * $day; - $publish = time() - $day; + $story_infos['story_publish'] = time() - $day; } else { - $publish = 0; - } + $story_infos['story_publish'] = 0; + } } else { - $publish = 0; + $story_infos['story_publish'] = 0; } - - $story_infos['story_publish'] = $publish; - - $options0 = $options[0]; + + // Set topics + if(true) { + $topics = array(); + $topics[] = NewsUtils::News_CleanVars ( $_GET, 'storytopic', 0, 'int' ); + } else { + $topics = $options; + } + $story_infos ['topics'] = $topic_handler->getall (); - $contents = $story_handler->News_GetContentBlockList($NewsModule, $story_infos ,$options); + $contents = $story_handler->News_GetContentBlockList($NewsModule, $story_infos ,$topics); if($show == 'spotlight') { $spotlightid = $story_handler->News_SpotlightId($contents); @@ -196,6 +203,16 @@ $form .= _NEWS_MB_MORELINK . " : <input name=\"options[12]\" size=\"50\" maxlength=\"255\" value=\"" . $options[12] . "\" type=\"text\" /><br />\n"; $form .= _NEWS_MB_HITINDAY1 . " <input name=\"options[13]\" size=\"5\" maxlength=\"255\" value=\"" . $options[13] . "\" type=\"text\" />" . _NEWS_MB_HITINDAY2 . "<br />\n"; + + if ($options[14] == false) { + $checked_yes = ''; + $checked_no = 'checked="checked"'; + } else { + $checked_yes = 'checked="checked"'; + $checked_no = ''; + } + $form .= _NEWS_MB_TOPICLIMIT . " : <input name=\"options[14]\" value=\"1\" type=\"radio\" " . $checked_yes . "/>" . _YES . " \n"; + $form .= "<input name=\"options[14]\" value=\"0\" type=\"radio\" " . $checked_no . "/>" . _NO . "<br />\n"; array_shift($options); array_shift($options); @@ -210,6 +227,7 @@ array_shift($options); array_shift($options); array_shift($options); + array_shift($options); array_shift($options); $form .= "<br />" . _NEWS_MB_TOPICDISPLAY . "<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">\n"; Modified: XoopsModules/fmcontent/branches/news/class/story.php =================================================================== --- XoopsModules/fmcontent/branches/news/class/story.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/class/story.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -565,13 +565,13 @@ /** * Get content list for list block */ - function News_GetContentBlockList($NewsModule, $story_infos ,$options) { + function News_GetContentBlockList($NewsModule, $story_infos ,$topics) { $ret = array (); $access_topic = NewsPermission::News_GetItemIds ( 'news_access', $NewsModule); - if (! (count ( $options ) == 1 && $options [0] == 0)) { - $topiclist = array_intersect($access_topic , $options); + if (! (count ( $topics ) == 1 && $topics [0] == 0)) { + $topiclist = array_intersect($access_topic , $topics); } else { $topiclist = $access_topic; } Modified: XoopsModules/fmcontent/branches/news/class/utils.php =================================================================== --- XoopsModules/fmcontent/branches/news/class/utils.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/class/utils.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -629,7 +629,11 @@ case 'id': return XOOPS_URL . '/modules/' . $module . '/index.php?storytopic=' . $id; - break; + break; + + case 'topic': + return XOOPS_URL . '/modules/' . $module . '/index.php?storytopic=' . $id; + break; } } @@ -712,7 +716,11 @@ case 'id': return XOOPS_URL . '/modules/' . $module . '/' . $type . '.php?storyid=' . $id; - break; + break; + + case 'topic': + return XOOPS_URL . '/modules/' . $module . '/' . $type . '.php?storytopic=' . $array['story_topic'] . '&storyid=' . $id; + break; } } } Modified: XoopsModules/fmcontent/branches/news/language/arabic/blocks.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/blocks.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/language/arabic/blocks.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -34,5 +34,6 @@ define("_NEWS_MB_TOPIC_IMG", "image"); define("_NEWS_MB_HITINDAY1", "Show news since"); define("_NEWS_MB_HITINDAY2", "Day's ago. This option work when you sort news by hit"); + define("_NEWS_MB_TOPICLIMIT", "Limited list by topic ID if exist"); } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -53,6 +53,7 @@ define('_NEWS_MI_URL_REWRITE', 'Rewrite Mode'); define('_NEWS_MI_URL_SHORT', 'Short Rewrite'); define('_NEWS_MI_URL_ID', 'ID Mode'); + define('_NEWS_MI_URL_TOPIC', 'ID - Topic Mode'); // Rewrite Mode define('_NEWS_MI_REWRITEBASE', 'اختر عنوانا یمکن کتابته'); define('_NEWS_MI_REWRITEBASE_DESC', '"Module base": یجب علیک .htacces جعله في فئة الوحدة.<br />"Root base": یجب علیک .htacces في فئةROOT_PATH جعل.'); Modified: XoopsModules/fmcontent/branches/news/language/english/blocks.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/blocks.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/language/english/blocks.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -34,5 +34,6 @@ define("_NEWS_MB_TOPIC_IMG", "image"); define("_NEWS_MB_HITINDAY1", "Show news since"); define("_NEWS_MB_HITINDAY2", "Day's ago. This option work when you sort news by hit"); + define("_NEWS_MB_TOPICLIMIT", "Limited list by topic ID if exist"); } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/english/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -52,7 +52,8 @@ define('_NEWS_MI_URL_STANDARD', 'Standard Mode'); define('_NEWS_MI_URL_REWRITE', 'Rewrite Mode'); define('_NEWS_MI_URL_SHORT', 'Short Rewrite'); - define('_NEWS_MI_URL_ID', 'ID Mode'); + define('_NEWS_MI_URL_ID', 'ID Mode'); + define('_NEWS_MI_URL_TOPIC', 'ID - Topic Mode'); // Rewrite Mode define('_NEWS_MI_REWRITEBASE', 'Rewrite Mode: .htaccess file position'); define('_NEWS_MI_REWRITEBASE_DESC', '"Module": .htaccess file must be in the module directory.<br />"Root": .htaccess file must be in your ROOT directory.'); Modified: XoopsModules/fmcontent/branches/news/language/persian/blocks.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/blocks.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/language/persian/blocks.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -34,5 +34,6 @@ define("_NEWS_MB_TOPIC_IMG", "تصویر"); define("_NEWS_MB_HITINDAY1", "نمایش اخبار از"); define("_NEWS_MB_HITINDAY2", "روز قبل. این گزینه وقتی کار میکند که شما نمایش اخبار را بر اساس بازدید مرتب کرده باشید."); + define("_NEWS_MB_TOPICLIMIT", "محدود سازی فهرست مطالب به شاخه فعلی"); } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/persian/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -52,7 +52,8 @@ define('_NEWS_MI_URL_STANDARD', 'Standard Mode'); define('_NEWS_MI_URL_REWRITE', 'Rewrite Mode'); define('_NEWS_MI_URL_SHORT', 'Short Rewrite'); - define('_NEWS_MI_URL_ID', 'ID Mode'); + define('_NEWS_MI_URL_ID', 'ID Mode'); + define('_NEWS_MI_URL_TOPIC', 'ID - Topic Mode'); // Rewrite Mode define('_NEWS_MI_REWRITEBASE', 'آدرسی که به طور پایه قابل نوشتن است انتخاب کنید'); define('_NEWS_MI_REWRITEBASE_DESC', '"برپایه ماژول": شما باید یک .htacces در شاخه ماژول قرار دهید.<br />"برپایه هسته": شما باید یک .htacces در شاخه ROOT_PATH قرار دهید.'); Modified: XoopsModules/fmcontent/branches/news/xoops_version.php =================================================================== --- XoopsModules/fmcontent/branches/news/xoops_version.php 2012-02-28 13:20:30 UTC (rev 9076) +++ XoopsModules/fmcontent/branches/news/xoops_version.php 2012-02-29 09:54:13 UTC (rev 9077) @@ -227,7 +227,7 @@ 'description' => '_NEWS_MI_FRIENDLYURL_DESC', 'formtype' => 'select', 'valuetype' => 'text', - 'options' => array(_NEWS_MI_URL_STANDARD => 'none', _NEWS_MI_URL_REWRITE => 'rewrite' , _NEWS_MI_URL_SHORT => 'short' , _NEWS_MI_URL_ID => 'id'), + 'options' => array(_NEWS_MI_URL_STANDARD => 'none', _NEWS_MI_URL_REWRITE => 'rewrite' , _NEWS_MI_URL_SHORT => 'short' , _NEWS_MI_URL_ID => 'id' , _NEWS_MI_URL_TOPIC => 'topic'), 'default' => 'none'); $modversion['config'][] = array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <and...@us...> - 2012-02-28 13:20:42
|
Revision: 9076 http://xoops.svn.sourceforge.net/xoops/?rev=9076&view=rev Author: andrey3761 Date: 2012-02-28 13:20:30 +0000 (Tue, 28 Feb 2012) Log Message: ----------- Modified Paths: -------------- XoopsLanguages/russian/core/2.5.1/htdocs/modules/system/language/russian/admin/users.php XoopsLanguages/russian/core/2.5.2/htdocs/modules/system/language/russian/admin/users.php XoopsLanguages/russian/core/2.5.3/htdocs/modules/system/language/russian/admin/users.php XoopsLanguages/russian/core/2.5.4/htdocs/modules/system/language/russian/admin/users.php XoopsLanguages/russian/core/2.5.5/htdocs/modules/system/language/russian/admin/users.php Modified: XoopsLanguages/russian/core/2.5.1/htdocs/modules/system/language/russian/admin/users.php =================================================================== --- XoopsLanguages/russian/core/2.5.1/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 12:56:30 UTC (rev 9075) +++ XoopsLanguages/russian/core/2.5.1/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 13:20:30 UTC (rev 9076) @@ -142,7 +142,7 @@ define("_AM_SYSTEM_USERS_ADD","Добавить участника"); define("_AM_SYSTEM_USERS_VIEW","Посмотреть информацию учатника"); define("_AM_SYSTEM_USERS_NO_FOUND","Пользователи не найдены"); -define("_AM_SYSTEM_USERS_NOT_CONNECT","Never connect"); +define("_AM_SYSTEM_USERS_NOT_CONNECT","Никогда не посещал"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL","Удалить пользователя: %s"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL2","Удалить"); define("_AM_SYSTEM_USERS_NO_SUPP", "Пользователь не может быть удалён: %s <br />"); Modified: XoopsLanguages/russian/core/2.5.2/htdocs/modules/system/language/russian/admin/users.php =================================================================== --- XoopsLanguages/russian/core/2.5.2/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 12:56:30 UTC (rev 9075) +++ XoopsLanguages/russian/core/2.5.2/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 13:20:30 UTC (rev 9076) @@ -142,7 +142,7 @@ define("_AM_SYSTEM_USERS_ADD","Добавить участника"); define("_AM_SYSTEM_USERS_VIEW","Посмотреть информацию учатника"); define("_AM_SYSTEM_USERS_NO_FOUND","Пользователи не найдены"); -define("_AM_SYSTEM_USERS_NOT_CONNECT","Never connect"); +define("_AM_SYSTEM_USERS_NOT_CONNECT","Никогда не посещал"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL","Удалить пользователя: %s"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL2","Удалить"); define("_AM_SYSTEM_USERS_NO_SUPP", "Пользователь не может быть удалён: %s <br />"); Modified: XoopsLanguages/russian/core/2.5.3/htdocs/modules/system/language/russian/admin/users.php =================================================================== --- XoopsLanguages/russian/core/2.5.3/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 12:56:30 UTC (rev 9075) +++ XoopsLanguages/russian/core/2.5.3/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 13:20:30 UTC (rev 9076) @@ -142,7 +142,7 @@ define("_AM_SYSTEM_USERS_ADD","Добавить участника"); define("_AM_SYSTEM_USERS_VIEW","Посмотреть информацию учатника"); define("_AM_SYSTEM_USERS_NO_FOUND","Пользователи не найдены"); -define("_AM_SYSTEM_USERS_NOT_CONNECT","Never connect"); +define("_AM_SYSTEM_USERS_NOT_CONNECT","Никогда не посещал"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL","Удалить пользователя: %s"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL2","Удалить"); define("_AM_SYSTEM_USERS_NO_SUPP", "Пользователь не может быть удалён: %s <br />"); Modified: XoopsLanguages/russian/core/2.5.4/htdocs/modules/system/language/russian/admin/users.php =================================================================== --- XoopsLanguages/russian/core/2.5.4/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 12:56:30 UTC (rev 9075) +++ XoopsLanguages/russian/core/2.5.4/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 13:20:30 UTC (rev 9076) @@ -135,7 +135,7 @@ define("_AM_SYSTEM_USERS_ADD","Добавить пользователя"); define("_AM_SYSTEM_USERS_VIEW","Посмотреть информацию пользователя"); define("_AM_SYSTEM_USERS_NO_FOUND","Пользователи не найдены"); -define("_AM_SYSTEM_USERS_NOT_CONNECT","Never connect"); +define("_AM_SYSTEM_USERS_NOT_CONNECT","Никогда не посещал"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL","Удалить пользователя: %s"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL2","Удалить"); define("_AM_SYSTEM_USERS_NO_SUPP", "Пользователь не может быть удалён: %s <br />"); Modified: XoopsLanguages/russian/core/2.5.5/htdocs/modules/system/language/russian/admin/users.php =================================================================== --- XoopsLanguages/russian/core/2.5.5/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 12:56:30 UTC (rev 9075) +++ XoopsLanguages/russian/core/2.5.5/htdocs/modules/system/language/russian/admin/users.php 2012-02-28 13:20:30 UTC (rev 9076) @@ -135,7 +135,7 @@ define("_AM_SYSTEM_USERS_ADD","Добавить пользователя"); define("_AM_SYSTEM_USERS_VIEW","Посмотреть информацию пользователя"); define("_AM_SYSTEM_USERS_NO_FOUND","Пользователи не найдены"); -define("_AM_SYSTEM_USERS_NOT_CONNECT","Never connect"); +define("_AM_SYSTEM_USERS_NOT_CONNECT","Никогда не посещал"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL","Удалить пользователя: %s"); define("_AM_SYSTEM_USERS_FORM_SURE_DEL2","Удалить"); define("_AM_SYSTEM_USERS_NO_SUPP", "Пользователь не может быть удалён: %s <br />"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-02-28 12:56:38
|
Revision: 9075 http://xoops.svn.sourceforge.net/xoops/?rev=9075&view=rev Author: txmodxoops Date: 2012-02-28 12:56:30 +0000 (Tue, 28 Feb 2012) Log Message: ----------- Updated at Beta 2 Updated files Updated table Updated images Modified Paths: -------------- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/about.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/english/admin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/admin.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/sql/mysql.sql XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php Added Paths: ----------- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/ams_articles.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/mylinks_links.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/stories.php XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/tdmdownloads_downloads.php XoopsModules/feeds/releases/1.01/feeds/uploads/ XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/ XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/ XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/directory_rss.png XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/downloads_rss.png XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/forum_rss.png XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/news_rss.png XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/publisher_rss.png XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/tutorials_rss.png Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/about.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/about.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/about.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -10,21 +10,11 @@ * Copyright (c) 2007 - 2012 * TXMod Xoops (http://www.txmodxoops.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. - * * ------------------------------------------------------------------------ * * @copyright TXMod Xoops (http://www.txmodxoops.org) @@ -32,17 +22,12 @@ * @package feeds * @author TXMod Xoops (in...@tx...) * - * Version : 1.01 Sun 2012/02/26 0:02:53 : Timgno Exp $ + * Version : 1.01 Sat 2012/02/25 20:23:53 : Timgno Exp $ * **************************************************************************** */ - - include "admin_header.php"; xoops_cp_header(); - $aboutAdmin = new ModuleAdmin(); - echo $aboutAdmin->addNavigation("about.php"); -echo $aboutAdmin->renderabout($GLOBALS['xoopsModuleConfig']['id_paypal'], false); - +echo $aboutAdmin->renderabout('25J998Y3QEDZW', false); include "admin_footer.php"; \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/create_plugin.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -40,7 +40,7 @@ $plugin_arr = $pluginHandler->getall($criteria); unset($criteria); //Debut - echo '<table width="100%" cellspacing="1" style="background: #fff;"> + echo '<table width="100%" cellspacing="1" class="white outer"> <tr class="marg2"> <td class="ui-corner-all">'; // Files cicles @@ -50,10 +50,14 @@ $plugin_id = $plugin_arr[$i]->getVar('plugin_id'); $plugin_name = $plugin_arr[$i]->getVar('plugin_name'); $plugin_table = $plugin_arr[$i]->getVar('plugin_table'); - $plugin_code = $plugin_arr[$i]->getVar('plugin_code'); - + $plugin_title = $plugin_arr[$i]->getVar('plugin_champ_title'); + $plugin_desc = $plugin_arr[$i]->getVar('plugin_champ_desc'); + $plugin_date = $plugin_arr[$i]->getVar('plugin_champ_date'); + $plugin_code = $plugin_arr[$i]->getVar('plugin_code'); + $plugin_created = $plugin_arr[$i]->getVar('plugin_created'); + // $tablename, $published, //Creation of plugin files - feeds_MakePlugin($plugin_name, $plugin_table, $plugin_id, $plugin_code, + feeds_MakePlugin($plugin_name, $plugin_table, $plugin_table, $plugin_title, $plugin_desc, $plugin_date, $plugin_id, $plugin_code, _AM_FEEDS_OK_WRITED, _AM_FEEDS_NOTOK_WRITABLE, _AM_FEEDS_NOTOK_ACCESSIBLE); } echo '</td></tr></table>'; Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/admin/plugin.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -92,13 +92,16 @@ <th class='center'>"._AM_FEEDS_PLUGIN_NAME."</th> <th class='center'>"._AM_FEEDS_PLUGIN_VERSION."</th> <th class='center'>"._AM_FEEDS_PLUGIN_IMG."</th> - <th class='center'>"._AM_FEEDS_PLUGIN_TABLE."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_TABLE."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_TITLE."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_DESC."</th> + <th class='center'>"._AM_FEEDS_PLUGIN_CHAMP_DATE."</th> <th class='center'>"._AM_FEEDS_PLUGIN_CODE."</th> <th class='center'>"._AM_FEEDS_PLUGIN_WEIGHT."</th> <th class='center'>"._AM_FEEDS_PLUGIN_SUBMITTER."</th> <th class='center'>"._AM_FEEDS_PLUGIN_CREATED."</th> <th class='center'>"._AM_FEEDS_PLUGIN_ONLINE."</th> - <th class='center' width='10%'>"._AM_FEEDS_FORMACTION."</th> + <th class='center' width='8%'>"._AM_FEEDS_FORMACTION."</th> </tr>"; $class = "odd"; @@ -111,6 +114,9 @@ echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_version")."</td>"; echo "<td class='center'><img src='".XOOPS_UPLOAD_URL."/feeds/images/".$plugin_arr[$i]->getVar("plugin_img")."' height='30px' alt='plugin_img'></td>"; echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_table")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_champ_title")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_champ_desc")."</td>"; + echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_champ_date")."</td>"; echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_code")."</td>"; echo "<td class='center'>".$plugin_arr[$i]->getVar("plugin_weight")."</td>"; echo "<td class='center'>".XoopsUser::getUnameFromId($plugin_arr[$i]->getVar("plugin_submitter"),"S")."</td>"; @@ -179,6 +185,12 @@ } //Form plugin_table $obj->setVar("plugin_table", $_REQUEST["plugin_table"]); + //Form plugin_table + $obj->setVar("plugin_champ_title", $_REQUEST["plugin_champ_title"]); + //Form plugin_table + $obj->setVar("plugin_champ_desc", $_REQUEST["plugin_champ_desc"]); + //Form plugin_table + $obj->setVar("plugin_champ_date", $_REQUEST["plugin_champ_date"]); //Form plugin_weight $obj->setVar("plugin_weight", $_REQUEST["plugin_weight"]); //Form plugin_code @@ -226,16 +238,15 @@ } break; - case "update_online_plugin": - - if (isset($_REQUEST["plugin_id"])) { - $obj =& $pluginHandler->get($_REQUEST["plugin_id"]); - } - $obj->setVar("plugin_online", $_REQUEST["plugin_online"]); - if ($pluginHandler->insert($obj)) { - redirect_header("plugin.php", 3, _AM_FEEDS_FORMOK); - } - echo $obj->getHtmlErrors(); + case "update_online_plugin": + if (isset($_REQUEST["plugin_id"])) { + $obj =& $pluginHandler->get($_REQUEST["plugin_id"]); + } + $obj->setVar("plugin_online", $_REQUEST["plugin_online"]); + if ($pluginHandler->insert($obj)) { + redirect_header("plugin.php", 3, _AM_FEEDS_FORMOK); + } + echo $obj->getHtmlErrors(); break; } include "admin_footer.php"; \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/class/feeds_plugin.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -44,6 +44,9 @@ $this->initVar("plugin_version", XOBJ_DTYPE_TXTBOX, null, false, 5); $this->initVar("plugin_img", XOBJ_DTYPE_TXTBOX, null, false, 100); $this->initVar("plugin_table", XOBJ_DTYPE_TXTBOX, null, false, 255); + $this->initVar("plugin_champ_title", XOBJ_DTYPE_TXTBOX, null, false, 50); + $this->initVar("plugin_champ_desc", XOBJ_DTYPE_TXTBOX, null, false, 50); + $this->initVar("plugin_champ_date", XOBJ_DTYPE_TXTBOX, null, false, 50); $this->initVar("plugin_weight", XOBJ_DTYPE_INT, null, false, 11); $this->initVar("plugin_code", XOBJ_DTYPE_TXTBOX, null, false, 255); $this->initVar("plugin_submitter", XOBJ_DTYPE_INT, null, false, 10); @@ -93,7 +96,10 @@ $imgtray->addElement($fileseltray); $form->addElement($imgtray); - $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_TABLE, "plugin_table", 50, 255, $this->getVar("plugin_table")), true); + $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_TABLE, "plugin_table", 50, 255, $this->getVar("plugin_table")), true); + $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_CHAMP_TITLE, "plugin_champ_title", 50, 50, $this->getVar("plugin_champ_title")), true); + $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_CHAMP_DESC, "plugin_champ_desc", 50, 50, $this->getVar("plugin_champ_desc")), true); + $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_CHAMP_DATE, "plugin_champ_date", 50, 50, $this->getVar("plugin_champ_date")), true); $form->addElement(new XoopsFormText(_AM_FEEDS_PLUGIN_CODE, "plugin_code", 50, 255, $this->getVar("plugin_code")), true); $form->addElement(new XoopsFormText(_WEIGHT, "plugin_weight", 10, 25, $this->getVar("plugin_weight")), true); $form->addElement(new XoopsFormSelectUser(_SUBMITTER, "plugin_submitter", false, $this->getVar("plugin_submitter"), 1, false), true); Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/include/functions.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -26,9 +26,10 @@ * **************************************************************************** */ define('MFEEDS_URL', XOOPS_ROOT_PATH."/modules/feeds"); -function feeds_MakePlugin($module_name, $filename, $plugin_id, $code, $lang_ok, $lang_notwritable, $lang_notaccessible) +function feeds_MakePlugin($module_name, $filename, $tablename, $ch_title, $ch_desc, $ch_published, $plugin_id, $code, $lang_ok, $lang_notwritable, $lang_notaccessible) { global $xoopsConfig, $xoopsModule; + $myts =& MyTextSanitizer::getInstance(); $file = $filename.".php"; $path = MFEEDS_URL."/plugins/"; if(!is_dir($path)) { @@ -37,34 +38,36 @@ } else { chmod($path, 0755); } + + $path = $path.$file; $text = '<?php /* - * Plugin '.$filename.' of module name '.$module_name.' + * Plugin '.$filename.' of module '.$module_name.' and tablename '.$tablename.' * */ if (file_exists($fileinc = $GLOBALS[\'xoops\']->path(\'modules/'.$module_name.'/class/'.$file.'\'))) { include $fileinc; - $'.$module_name.'Handler =& xoops_getModuleHandler(\''.$file.'\', \''.$module_name.'\'); + $'.$module_name.'Handler =& xoops_getModuleHandler(\''.$tablename.'\', \''.$module_name.'\'); $criteria = new CriteriaCompo(); - $criteria->setSort(\'date\'); + $criteria->setSort(\''.$published.'\'); $criteria->setOrder(\'DESC\'); - $'.$module_name.'Array = $'.$module_name.'s_Handler->getAll($criteria); + $'.$module_name.'Array = $'.$module_name.'Handler->getAll($criteria); } if (!empty($'.$module_name.'Array) && is_array($'.$module_name.'Array)) { foreach ($'.$module_name.'Array as $'.$module_name.') { //description - $'.$module_name.'desc = $'.$module_name.'->getVar(\'description\'); + $'.$module_name.'desc = $'.$module_name.'->getVar(\''.$ch_desc.'\'); if (strpos($'.$module_name.'desc,\'[pagebreak]\')==false){ $'.$module_name.'desc_short = substr($'.$module_name.'desc, 0, 400); }else{ $'.$module_name.'desc_short = substr($'.$module_name.'desc, 0, strpos($'.$module_name.'desc,\'[pagebreak]\')); } $tpl->append(\'items\', array( - \'title\' => XoopsLocal::convert_encoding(htmlspecialchars($'.$module_name.'->getVar(\'title\'), ENT_QUOTES)) , - \'link\' => XOOPS_URL . \'/modules/'.$module_name.'/'.$code.', - \'guid\' => XOOPS_URL . \'/modules/'.$module_name.'/'.$code.', - \'pubdate\' => formatTimestamp($'.$module_name.'->getVar(\'date\'), \'rss\') , + \'title\' => XoopsLocal::convert_encoding(htmlspecialchars($'.$module_name.'->getVar(\''.$ch_title.'\'), ENT_QUOTES)) , + \'link\' => XOOPS_URL . \'/modules/'.$module_name.'/'.$myts->undoHtmlSpecialChars($code).'\', + \'guid\' => XOOPS_URL . \'/modules/'.$module_name.'/'.$myts->undoHtmlSpecialChars($code).'\', + \'pubdate\' => formatTimestamp($'.$module_name.'->getVar(\''.$ch_published.'\'), \'rss\') , \'description\' => XoopsLocal::convert_encoding(htmlspecialchars($'.$module_name.'desc_short, ENT_QUOTES)))); } } Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/english/admin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/english/admin.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/english/admin.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -55,25 +55,28 @@ define("_AM_FEEDS_PLUGIN_MAKELIST","Make plugins list"); define("_AM_FEEDS_PLUGIN_ID","Id"); -define("_AM_FEEDS_PLUGIN_NAME","Nome"); -define("_AM_FEEDS_PLUGIN_VERSION","Versione"); -define("_AM_FEEDS_PLUGIN_IMG","Immagine"); -define("_AM_FEEDS_PLUGIN_TABLE","Tabella"); -define("_AM_FEEDS_PLUGIN_WEIGHT","Peso"); -define("_AM_FEEDS_PLUGIN_CODE","Codice"); +define("_AM_FEEDS_PLUGIN_NAME","Module Name"); +define("_AM_FEEDS_PLUGIN_VERSION","Version"); +define("_AM_FEEDS_PLUGIN_IMG","Image"); +define("_AM_FEEDS_PLUGIN_TABLE","Table"); +define("_AM_FEEDS_PLUGIN_CHAMP_TITLE","Title Champ"); +define("_AM_FEEDS_PLUGIN_CHAMP_DESC","Description Champ"); +define("_AM_FEEDS_PLUGIN_CHAMP_DATE","Date Champ"); +define("_AM_FEEDS_PLUGIN_WEIGHT","Weight"); +define("_AM_FEEDS_PLUGIN_CODE","Code"); define("_AM_FEEDS_PLUGIN_SUBMITTER","Submitter"); define("_AM_FEEDS_PLUGIN_CREATED","Created"); define("_AM_FEEDS_PLUGIN_ONLINE","Online"); //Blocks.php -define("_AM_FEEDS_PLUGIN_BLOCK_DAY","plugins of today"); -define("_AM_FEEDS_PLUGIN_BLOCK_RANDOM","plugins random"); -define("_AM_FEEDS_PLUGIN_BLOCK_RECENT","plugins recents"); +define("_AM_FEEDS_PLUGIN_BLOCK_DAY","Plugins of today"); +define("_AM_FEEDS_PLUGIN_BLOCK_RANDOM","Plugins random"); +define("_AM_FEEDS_PLUGIN_BLOCK_RECENT","Plugins recents"); // OK - NOTACCESSIBLE - NOTWRITEBLE -define("_AM_FEEDS_OK_WRITED", "Creazione del file <b>%s</b> riuscita"); -define("_AM_FEEDS_NOTOK_WRITABLE", "Attenzione: Il file <b>%s</b> non Ń scrivibile."); -define("_AM_FEEDS_NOTOK_ACCESSIBLE", "<strong class='red'>Attenzione</strong>: Il file <b>%s</b> non Ń accessibile."); +define("_AM_FEEDS_OK_WRITED", "Creation file <b>%s</b> succesfully"); +define("_AM_FEEDS_NOTOK_WRITABLE", "Attention: The file <b>%s</b> is not writeable."); +define("_AM_FEEDS_NOTOK_ACCESSIBLE", "<strong class='red'>Attention</strong>: The file <b>%s</b> is not accessible."); //Permissions define("_AM_FEEDS_PERMISSIONS_ACCESS","Permissions to access"); Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/admin.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/admin.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/language/italian/admin.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -26,39 +26,42 @@ * **************************************************************************** */ //Menu -define("_AM_FEEDS_PLUGIN","Plugin Statistics"); -define("_AM_FEEDS_THEREARE_PLUGIN","There are <span class='bold'>%s</span> Plugin in the Database"); -define("_AM_FEEDS_THEREARE_PLUGIN_ONLINE","There are <span class='bold'>%s</span> Plugin online in the Database"); -define("_AM_FEEDS_THEREARE_PLUGIN_PENDING","There are <span class='bold'>%s</span> Plugin pending in the Database"); +define("_AM_FEEDS_PLUGIN","Statistiche Plugin"); +define("_AM_FEEDS_THEREARE_PLUGIN","Ci sono <span class='bold'>%s</span> Plugin nel Database"); +define("_AM_FEEDS_THEREARE_PLUGIN_ONLINE","Ci sono <span class='bold'>%s</span> Plugin online"); +define("_AM_FEEDS_THEREARE_PLUGIN_PENDING","Ci sono <span class='bold'>%s</span> Plugin in attesa di convalida"); //Buttons -define("_AM_FEEDS_NEWPLUGIN","Add New plugin"); -define("_AM_FEEDS_PLUGINLIST","List plugin"); -define("_AM_FEEDS_PLUGINWAIT","Pending plugin"); +define("_AM_FEEDS_NEWPLUGIN","Aggiungi Nuovo Plugin"); +define("_AM_FEEDS_PLUGINLIST","Lista Plugin"); +define("_AM_FEEDS_PLUGINWAIT","Pending Plugin"); //General -define("_AM_FEEDS_FORMOK","Registered successfull"); -define("_AM_FEEDS_FORMDELOK","Deleted successfull"); -define("_AM_FEEDS_FORMSUREDEL", "Are you sure you want to delete: <b><span style=\"color : Red\"> %s </span></b>"); -define("_AM_FEEDS_FORMSURERENEW", "Are you sure you want renew: <b><span style=\"color : Red\"> %s </span></b>"); -define("_AM_FEEDS_FORMUPLOAD","Upload"); -define("_AM_FEEDS_FORMIMAGE_PATH","File presents in %s"); -define("_AM_FEEDS_FORMACTION","Action"); +define("_AM_FEEDS_FORMOK","Registrato con successo"); +define("_AM_FEEDS_FORMDELOK","Eliminato con successo"); +define("_AM_FEEDS_FORMSUREDEL", "Sei sicuro di voler eliminare: <span class='bold Red'>%s</span>"); +define("_AM_FEEDS_FORMSURERENEW", "Sei sicuro di voler ripristinare: <span class='bold Red'>%s</span>"); +define("_AM_FEEDS_FORMUPLOAD","Carica"); +define("_AM_FEEDS_FORMIMAGE_PATH","File presenti in %s"); +define("_AM_FEEDS_FORMACTION","Azione"); define("_AM_FEEDS_OFF","Offline"); define("_AM_FEEDS_ON","Online"); -define("_AM_FEEDS_EDIT","Edit"); -define("_AM_FEEDS_DELETE","Delete"); +define("_AM_FEEDS_EDIT","Modifica"); +define("_AM_FEEDS_DELETE","Elimina"); -define("_AM_FEEDS_PLUGIN_ADD","Add a plugin"); -define("_AM_FEEDS_PLUGIN_EDIT","Edit a plugin"); -define("_AM_FEEDS_PLUGIN_DELETE","Delete a plugin"); -define("_AM_FEEDS_PLUGIN_MAKE","Create a plugin"); -define("_AM_FEEDS_PLUGIN_MAKELIST","Make plugins list"); +define("_AM_FEEDS_PLUGIN_ADD","Aggiungi un plugin"); +define("_AM_FEEDS_PLUGIN_EDIT","Modifica un plugin"); +define("_AM_FEEDS_PLUGIN_DELETE","Elimina un plugin"); +define("_AM_FEEDS_PLUGIN_MAKE","Crea un plugin"); +define("_AM_FEEDS_PLUGIN_MAKELIST","Lista Creazione Plugins"); define("_AM_FEEDS_PLUGIN_ID","Id"); -define("_AM_FEEDS_PLUGIN_NAME","Nome"); +define("_AM_FEEDS_PLUGIN_NAME","Nome Modulo"); define("_AM_FEEDS_PLUGIN_VERSION","Versione"); define("_AM_FEEDS_PLUGIN_IMG","Immagine"); define("_AM_FEEDS_PLUGIN_TABLE","Tabella"); +define("_AM_FEEDS_PLUGIN_CHAMP_TITLE","Campo Titolo"); +define("_AM_FEEDS_PLUGIN_CHAMP_DESC","Campo Descrizione"); +define("_AM_FEEDS_PLUGIN_CHAMP_DATE","Campo Data"); define("_AM_FEEDS_PLUGIN_WEIGHT","Peso"); define("_AM_FEEDS_PLUGIN_CODE","Codice"); define("_AM_FEEDS_PLUGIN_SUBMITTER","Submitter"); @@ -66,9 +69,9 @@ define("_AM_FEEDS_PLUGIN_ONLINE","Online"); //Blocks.php -define("_AM_FEEDS_PLUGIN_BLOCK_DAY","plugins of today"); -define("_AM_FEEDS_PLUGIN_BLOCK_RANDOM","plugins random"); -define("_AM_FEEDS_PLUGIN_BLOCK_RECENT","plugins recents"); +define("_AM_FEEDS_PLUGIN_BLOCK_DAY","Plugins of today"); +define("_AM_FEEDS_PLUGIN_BLOCK_RANDOM","Plugins random"); +define("_AM_FEEDS_PLUGIN_BLOCK_RECENT","Plugins recents"); // OK - NOTACCESSIBLE - NOTWRITEBLE define("_AM_FEEDS_OK_WRITED", "Creazione del file <b>%s</b> riuscita"); @@ -80,6 +83,6 @@ define("_AM_FEEDS_PERMISSIONS_VIEW","Permissions to view"); define("_AM_FEEDS_PERMISSIONS_SUBMIT","Permissions to submit"); //Error NoFrameworks -define("_AM_ERROR_NOFRAMEWORKS","Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); +define("_AM_ERROR_NOFRAMEWORKS","Error: You don't use the Frameworks 'admin module'. Please install this Frameworks"); define("_AM_FEEDS_MAINTAINEDBY", "is maintained by the"); ?> \ No newline at end of file Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php (rev 0) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/makefeed.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -0,0 +1,30 @@ +<?php +/** + * TDMDownload + * + * 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. + * + * @copyright Gregory Mage (Aka Mage) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Gregory Mage (Aka Mage) + */ +include_once 'header.php'; + +$criteria = new CriteriaCompo(); +$criteria->add(new Criteria('plugin_id', 0, '>')); +$criteria->setSort('plugin_created'); +$criteria->setOrder('DESC'); +$plugin_arr = $pluginHandler->getall($criteria); + +foreach (array_keys($plugin_arr) as $i) { + $create_plugin_id = $plugin_arr[$i]->getVar('plugin_id'); + 'link' => XOOPS_URL . '/modules/TDMDownloads/singlefile.php?cid=' . $downloads_arr[$i]->getVar('cid') . '&lid=' . $downloads_arr[$i]->getVar('lid'), + 'guid' => XOOPS_URL . '/modules/TDMDownloads/singlefile.php?cid=' . $downloads_arr[$i]->getVar('cid') . '&lid=' . $downloads_arr[$i]->getVar('lid'), + 'pubdate' => formatTimestamp($downloads_arr[$i]->getVar('date'), 'rss'), + 'description' => htmlspecialchars($description_short, ENT_QUOTES))); +} Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/ams_articles.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/ams_articles.php (rev 0) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/ams_articles.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -0,0 +1,30 @@ +<?php +/* + * Plugin ams_articles of module ams and tablename ams_articles + * + */ +if (file_exists($fileinc = $GLOBALS['xoops']->path('modules/ams/class/ams_articles.php'))) { + include $fileinc; + $amsHandler =& xoops_getModuleHandler('ams_articles', 'ams'); + $criteria = new CriteriaCompo(); + $criteria->setSort('0'); + $criteria->setOrder('DESC'); + $amsArray = $amsHandler->getAll($criteria); +} +if (!empty($amsArray) && is_array($amsArray)) { + foreach ($amsArray as $ams) { + //description + $amsdesc = $ams->getVar('description'); + if (strpos($amsdesc,'[pagebreak]')==false){ + $amsdesc_short = substr($amsdesc, 0, 400); + }else{ + $amsdesc_short = substr($amsdesc, 0, strpos($amsdesc,'[pagebreak]')); + } + $tpl->append('items', array( + 'title' => XoopsLocal::convert_encoding(htmlspecialchars($ams->getVar('ams_articles'), ENT_QUOTES)) , + 'link' => XOOPS_URL . '/modules/ams/article.php?cid=$cid&storyid=$storyid', + 'guid' => XOOPS_URL . '/modules/ams/article.php?cid=$cid&storyid=$storyid', + 'pubdate' => formatTimestamp($ams->getVar('0'), 'rss') , + 'description' => XoopsLocal::convert_encoding(htmlspecialchars($amsdesc_short, ENT_QUOTES)))); + } +} Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/mylinks_links.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/mylinks_links.php (rev 0) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/mylinks_links.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -0,0 +1,30 @@ +<?php +/* + * Plugin mylinks_links of module mylinks and tablename mylinks_links + * + */ +if (file_exists($fileinc = $GLOBALS['xoops']->path('modules/mylinks/class/mylinks_links.php'))) { + include $fileinc; + $mylinksHandler =& xoops_getModuleHandler('mylinks_links', 'mylinks'); + $criteria = new CriteriaCompo(); + $criteria->setSort('0'); + $criteria->setOrder('DESC'); + $mylinksArray = $mylinksHandler->getAll($criteria); +} +if (!empty($mylinksArray) && is_array($mylinksArray)) { + foreach ($mylinksArray as $mylinks) { + //description + $mylinksdesc = $mylinks->getVar('description'); + if (strpos($mylinksdesc,'[pagebreak]')==false){ + $mylinksdesc_short = substr($mylinksdesc, 0, 400); + }else{ + $mylinksdesc_short = substr($mylinksdesc, 0, strpos($mylinksdesc,'[pagebreak]')); + } + $tpl->append('items', array( + 'title' => XoopsLocal::convert_encoding(htmlspecialchars($mylinks->getVar('mylinks_links'), ENT_QUOTES)) , + 'link' => XOOPS_URL . '/modules/mylinks/singlelink.php?cid=$cid&lid=$lid', + 'guid' => XOOPS_URL . '/modules/mylinks/singlelink.php?cid=$cid&lid=$lid', + 'pubdate' => formatTimestamp($mylinks->getVar('0'), 'rss') , + 'description' => XoopsLocal::convert_encoding(htmlspecialchars($mylinksdesc_short, ENT_QUOTES)))); + } +} Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/stories.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/stories.php (rev 0) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/stories.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -0,0 +1,30 @@ +<?php +/* + * Plugin stories of module xnews and tablename stories + * + */ +if (file_exists($fileinc = $GLOBALS['xoops']->path('modules/xnews/class/stories.php'))) { + include $fileinc; + $xnewsHandler =& xoops_getModuleHandler('stories', 'xnews'); + $criteria = new CriteriaCompo(); + $criteria->setSort('0'); + $criteria->setOrder('DESC'); + $xnewsArray = $xnewsHandler->getAll($criteria); +} +if (!empty($xnewsArray) && is_array($xnewsArray)) { + foreach ($xnewsArray as $xnews) { + //description + $xnewsdesc = $xnews->getVar('description'); + if (strpos($xnewsdesc,'[pagebreak]')==false){ + $xnewsdesc_short = substr($xnewsdesc, 0, 400); + }else{ + $xnewsdesc_short = substr($xnewsdesc, 0, strpos($xnewsdesc,'[pagebreak]')); + } + $tpl->append('items', array( + 'title' => XoopsLocal::convert_encoding(htmlspecialchars($xnews->getVar('stories'), ENT_QUOTES)) , + 'link' => XOOPS_URL . '/modules/xnews/article.php?storyid='.$storyid.'', + 'guid' => XOOPS_URL . '/modules/xnews/article.php?storyid='.$storyid.'', + 'pubdate' => formatTimestamp($xnews->getVar('0'), 'rss') , + 'description' => XoopsLocal::convert_encoding(htmlspecialchars($xnewsdesc_short, ENT_QUOTES)))); + } +} Added: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/tdmdownloads_downloads.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/tdmdownloads_downloads.php (rev 0) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/plugins/tdmdownloads_downloads.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -0,0 +1,30 @@ +<?php +/* + * Plugin tdmdownloads_downloads of module tdmdownloads and tablename tdmdownloads_downloads + * + */ +if (file_exists($fileinc = $GLOBALS['xoops']->path('modules/tdmdownloads/class/tdmdownloads_downloads.php'))) { + include $fileinc; + $tdmdownloadsHandler =& xoops_getModuleHandler('tdmdownloads_downloads', 'tdmdownloads'); + $criteria = new CriteriaCompo(); + $criteria->setSort('0'); + $criteria->setOrder('DESC'); + $tdmdownloadsArray = $tdmdownloadsHandler->getAll($criteria); +} +if (!empty($tdmdownloadsArray) && is_array($tdmdownloadsArray)) { + foreach ($tdmdownloadsArray as $tdmdownloads) { + //description + $tdmdownloadsdesc = $tdmdownloads->getVar('description'); + if (strpos($tdmdownloadsdesc,'[pagebreak]')==false){ + $tdmdownloadsdesc_short = substr($tdmdownloadsdesc, 0, 400); + }else{ + $tdmdownloadsdesc_short = substr($tdmdownloadsdesc, 0, strpos($tdmdownloadsdesc,'[pagebreak]')); + } + $tpl->append('items', array( + 'title' => XoopsLocal::convert_encoding(htmlspecialchars($tdmdownloads->getVar('tdmdownloads_downloads'), ENT_QUOTES)) , + 'link' => XOOPS_URL . '/modules/tdmdownloads/singlefile.php?cid=$cid&lid=$lid', + 'guid' => XOOPS_URL . '/modules/tdmdownloads/singlefile.php?cid=$cid&lid=$lid', + 'pubdate' => formatTimestamp($tdmdownloads->getVar('0'), 'rss') , + 'description' => XoopsLocal::convert_encoding(htmlspecialchars($tdmdownloadsdesc_short, ENT_QUOTES)))); + } +} Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/singlefeed.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -31,16 +31,9 @@ $view_plugin = $pluginHandler->get($plugin_id); $xoopsOption['template_main'] = 'feeds_singlefeed.html'; include_once XOOPS_ROOT_PATH."/header.php"; +// Include Styles +$xoTheme->addStylesheet($style); -$xoTheme->addStylesheet( XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname', 'n') . '/css/styles.css', null ); - -//tableau des cat\xE9gories -$criteria = new CriteriaCompo(); -$criteria->setSort('plugin_weight ASC, plugin_name'); -$criteria->setOrder('ASC'); -$plugin_arr = $pluginHandler->getall($criteria); - -// sortie des informations if ($view_plugin->getVar('plugin_img') == 'blank.gif'){ $logourl = ''; }else{ @@ -74,7 +67,7 @@ } $xoTheme->addMeta( 'meta', 'description', strip_tags($description_short)); //keywords -$keywords = explode(' ', $view_feeds->getVar('plugin_name')); +$keywords = explode(' ', $view_plugin->getVar('plugin_name')); $keywords = implode(', ', $keywords); $xoTheme->addMeta( 'meta', 'keywords', $keywords); Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/sql/mysql.sql =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/sql/mysql.sql 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/sql/mysql.sql 2012-02-28 12:56:30 UTC (rev 9075) @@ -1,6 +1,13 @@ +# phpMyAdmin SQL Dump +# version 3.3.9 +# http://www.phpmyadmin.net +# Host: localhost +# Generated il: 28 feb, 2012 at 11:02 AM +# Version MySQL: 5.5.8 +# Version PHP: 5.3.4 # -# Table structure for table `feeds_plugin` 16 +# Structure table `feeds_plugin` 13 # CREATE TABLE `feeds_plugin` ( @@ -9,6 +16,9 @@ `plugin_version` varchar (5) NOT NULL default '', `plugin_img` varchar (100) NOT NULL default '', `plugin_table` varchar (255) NOT NULL default '', +`plugin_champ_title` varchar (50) NOT NULL default '', +`plugin_champ_desc` varchar (50) NOT NULL default '', +`plugin_champ_date` varchar (50) NOT NULL default '', `plugin_weight` int (11) NOT NULL default '0', `plugin_code` tinytext NOT NULL, `plugin_submitter` int (10) NOT NULL default '0', @@ -16,4 +26,16 @@ `plugin_online` tinyint (1) NOT NULL default '0', PRIMARY KEY (`plugin_id`), KEY `plugin_name` (`plugin_name`) -) ENGINE=MyISAM; \ No newline at end of file +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6; + +# +# Dump of data table `feeds_plugin` 13 +# + +INSERT INTO `feeds_plugin` (`plugin_id`, `plugin_name`, `plugin_version`, `plugin_img`, `plugin_table`, `plugin_champ_title`, `plugin_champ_desc`, `plugin_champ_date`, `plugin_weight`, `plugin_code`, `plugin_submitter`, `plugin_created`, `plugin_online`) VALUES +(1, 'news', '1.67', 'news_rss.png', 'stories', 'title', 'hometext', 'published', 0, 'story.php?storyid=''.$storyid.''', 1, 0, 1), +(2, 'xnews', '1.72', 'news_rss.png', 'stories', 'title', 'hometext', 'published', 0, 'article.php?storyid=''.$storyid.''', 1, 0, 1), +(3, 'ams', '3.01', 'tutorials_rss.png', 'ams_articles', 'title', 'hometext', 'published', 0, 'article.php?storyid=''.$storyid.''', 1, 0, 1), +(4, 'tdmdownloads', '1.62', 'downloads_rss.png', 'tdmdownloads_downloads', 'title', 'description', 'date', 0, 'singlefile.php?cid=''.$cid.''&lid=''.$lid.''', 1, 0, 1), +(5, 'mylinks', '3.01', 'directory_rss.png', 'mylinks_links', 'title', 'description', 'date', 0, 'singlelink.php?cid=''.$cid.''&lid=''.$lid.''', 1, 0, 1), +(6, 'Publisher', '1.01', 'publisher_rss.png', 'publisher_items', 'title', 'summary', 'datesub', 1, 'item.php?itemid=''.$itemid.''', 1, 0, 1); \ No newline at end of file Modified: XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php =================================================================== --- XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php 2012-02-27 19:38:40 UTC (rev 9074) +++ XoopsModules/feeds/releases/1.01/feeds/modules/feeds/xoops_version.php 2012-02-28 12:56:30 UTC (rev 9075) @@ -42,9 +42,9 @@ $modversion['license'] = "GNU GPL 2.0"; $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; -$modversion['release_info'] = "Beta 1 25/02/2012"; +$modversion['release_info'] = "Beta 2 28/02/2012"; $modversion['release_file'] = XOOPS_URL."/modules/{$dirname}/docs/changelog.txt"; -$modversion['release_date'] = "2012/02/26"; +$modversion['release_date'] = "2012/02/28"; $modversion['manual'] = "Install Manual"; $modversion['manual_file'] = XOOPS_URL."/modules/{$dirname}/docs/install.txt"; @@ -66,8 +66,8 @@ $modversion['forum_site_name'] = "TXMod Xoops Community"; $modversion['module_website_url'] = "http://www.txmodxoops.org/"; $modversion['module_website_name'] = "TXMod Xoops"; -$modversion['release'] = "25/02/2012"; -$modversion['module_status'] = "Beta 1"; +$modversion['release'] = "28/02/2012"; +$modversion['module_status'] = "Beta 2"; // Admin things $modversion['hasAdmin'] = 1; Added: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/directory_rss.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/directory_rss.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/downloads_rss.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/downloads_rss.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/forum_rss.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/forum_rss.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/news_rss.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/news_rss.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/publisher_rss.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/publisher_rss.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/tutorials_rss.png =================================================================== (Binary files differ) Property changes on: XoopsModules/feeds/releases/1.01/feeds/uploads/feeds/images/tutorials_rss.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |