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) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <dh...@us...> - 2012-08-25 15:50:55
|
Revision: 10104 http://xoops.svn.sourceforge.net/xoops/?rev=10104&view=rev Author: dhcst Date: 2012-08-25 15:50:49 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Update set usertimzone and check pollmodules Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/header.php XoopsModules/newbb/branches/alfred/newbb/polls.php XoopsModules/newbb/branches/alfred/newbb/votepolls.php Modified: XoopsModules/newbb/branches/alfred/newbb/header.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/header.php 2012-08-25 13:24:45 UTC (rev 10103) +++ XoopsModules/newbb/branches/alfred/newbb/header.php 2012-08-25 15:50:49 UTC (rev 10104) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@us...> * @since 4.00 - * @version $Id: header.php 62 2012-08-17 10:15:26Z alfred $ + * @version $Id$ * @package module::newbb */ include_once '../../mainfile.php'; @@ -61,15 +61,6 @@ require_once XOOPS_ROOT_PATH."/class/module.textsanitizer.php"; $myts = MyTextSanitizer::getInstance(); -$menumode = 0; -$menumode_other = array(); -$menu_url = htmlSpecialChars(preg_replace("/&menumode=[^&]/", "", $_SERVER[ 'REQUEST_URI' ])); -$menu_url .= ( false === strpos($menu_url, "?") ) ? "?menumode=" : "&menumode="; -foreach ($xoopsModuleConfig["valid_menumodes"] as $key => $val) { - if ($key != $menumode) $menumode_other[] = array("title"=>$val, "link"=>$menu_url.$key); -} - - $newbb_module_header = ''; $newbb_module_header .= '<link rel="alternate" type="application/rss+xml" title="'.$xoopsModule->getVar("name").'" href="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar('dirname', "n").'/rss.php" />'; if (!empty($xoopsModuleConfig['pngforie_enabled'])) { @@ -77,9 +68,9 @@ } $dirname = $xoopsModule->getVar('dirname'); -$theme_path = $xoopsConfig['theme_set'] . "/modules/" . $dirname; -$lang_path = "images/language/" . $xoopsConfig['language']; -$default_path = "modules/" . $dirname . "/templates"; +$theme_path = "/" . $xoopsConfig['theme_set'] . "/modules/" . $dirname; +$lang_path = "/images/language/" . $xoopsConfig['language']; +$default_path = "/modules/" . $dirname . "/templates"; //Themepfad if (file_exists( $GLOBALS['xoops']->path( $theme_path . '/style.css'))) { @@ -96,40 +87,14 @@ $newbb_module_header .= ' <script type="text/javascript">var toggle_cookie="'.$forumCookie['prefix'].'G'.'";</script> - <script src="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'/include/js/newbb_toggle.js" type="text/javascript"></script> + <script src="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'/include/newbb_toggle.js" type="text/javascript"></script> '; - -if ($menumode == 2) { - $newbb_module_header .= ' - <link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'templates/newbb_menu_hover.css" /> - <style type="text/css">body {behavior:url("include/newbb.htc");}</style> - '; -} - -if ($menumode == 1) { - $newbb_module_header .= ' - <link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'templates/newbb_menu_click.css" /> - <script src="include/js/newbb_menu_click.js" type="text/javascript"></script> - '; -} - $xoops_module_header = $newbb_module_header; // for cache hack if (!empty($xoopsModuleConfig["welcome_forum"]) && is_object($xoopsUser) && !$xoopsUser->getVar('posts')) { mod_loadFunctions("welcome", "newbb"); } -$pollmodules = NULL; -//$module_handler = &xoops_gethandler('module'); -$xoopspoll = &$module_handler->getByDirname('xoopspoll'); -if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) { - $pollmodules = 'xoopspoll'; -} else { - //Umfrage - $xoopspoll = &$module_handler->getByDirname('umfrage'); - if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) - $pollmodules = 'umfrage'; -} $xoopsLogger->stopTime('newBB_Header'); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/polls.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/polls.php 2012-08-25 13:24:45 UTC (rev 10103) +++ XoopsModules/newbb/branches/alfred/newbb/polls.php 2012-08-25 15:50:49 UTC (rev 10104) @@ -14,7 +14,7 @@ * @package newbb * @since 4.0 * @author Taiwen Jiang <ph...@us...> - * @version $Id: polls.php 62 2012-08-17 10:15:26Z alfred $ + * @version $Id: polls.php 2175 2008-09-23 14:07:03Z phppp $ */ @@ -24,6 +24,17 @@ include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; include_once XOOPS_ROOT_PATH . "/class/xoopsblock.php"; +$pollmodules = NULL; +$xoopspoll = &$module_handler->getByDirname('xoopspoll'); +if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) { + $pollmodules = 'xoopspoll'; +} else { + //Umfrage + $xoopspoll = &$module_handler->getByDirname('umfrage'); + if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) + $pollmodules = 'umfrage'; +} + if ( $pollmodules == 'xoopspoll') { include XOOPS_ROOT_PATH . "/modules/xoopspoll/include/constants.php"; @@ -46,13 +57,12 @@ exit(); } -$op = "add"; -if (isset($_GET['op'])) $op = $_GET['op']; -if (isset($_POST['op'])) $op = $_POST['op']; -if (isset($_GET['poll_id'])) $poll_id = intval($_GET['poll_id']); -if (isset($_POST['poll_id'])) $poll_id = intval($_POST['poll_id']); -if (isset($_GET['topic_id'])) $topic_id = intval($_GET['topic_id']); -if (isset($_POST['topic_id'])) $topic_id = intval($_POST['topic_id']); +if (isset($_REQUEST['op'])) ? $_REQUEST['op'] : "add"; +if ( !in_array( $op,array('add','save','edit','update','addmor','savemore','delete','delete_ok','restart','restart_ok','log')) ) $op = "add"; +if (isset($_GET['poll_id'])) $poll_id = intval($_GET['poll_id']); +if (isset($_POST['poll_id'])) $poll_id = intval($_POST['poll_id']); +if (isset($_GET['topic_id'])) $topic_id = intval($_GET['topic_id']); +if (isset($_POST['topic_id'])) $topic_id = intval($_POST['topic_id']); if (!isset($module_handler)) $module_handler =& xoops_gethandler('module'); $xoopspoll =& $module_handler->getByDirname($pollmodules); @@ -95,6 +105,7 @@ } if (!$perm) { redirect_header("viewtopic.php?topic_id=" . $topic_id, 2, _NOPERM); + exit(); } if ( $op == "add" ) { @@ -179,7 +190,9 @@ $poll->setVar("description", @$_POST['description']); if ( !empty($_POST['end_time']) ) { $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; - $poll->setVar("end_time", userTimeToServerTime(strtotime($_POST['end_time']), $timezone)); + //$poll->setVar("end_time", userTimeToServerTime(strtotime($_POST['end_time']), $timezone)); + //Hack by irmtfan + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($_POST['end_time']) : strtotime($_POST['end_time']), $timezone)); } else { // if expiration date is not set, set it to 10 days from now $poll->setVar("end_time", time() + (86400 * 10)); @@ -322,7 +335,9 @@ $end_time = (empty($_POST['end_time'])) ? "" : $_POST['end_time']; if ( !empty($end_time) ) { $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; - $poll->setVar("end_time", userTimeToServerTime(strtotime($end_time), $timezone)); + //$poll->setVar("end_time", userTimeToServerTime(strtotime($end_time), $timezone)); + //Hack by Irmtfan + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time), $timezone)); } $poll->setVar("display", 0); $poll->setVar("weight", intval(@$_POST['weight'])); @@ -526,7 +541,9 @@ $end_time = (empty($_POST['end_time'])) ? "" : $_POST['end_time']; if ( !empty($end_time) ) { $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; - $poll->setVar("end_time", userTimeToServerTime(strtotime($end_time), $timezone)); + //$poll->setVar("end_time", userTimeToServerTime(strtotime($end_time), $timezone)); + //Hack by irmtfan + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time), $timezone)); } else { $poll->setVar("end_time", time() + (86400 * 10)); } Modified: XoopsModules/newbb/branches/alfred/newbb/votepolls.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/votepolls.php 2012-08-25 13:24:45 UTC (rev 10103) +++ XoopsModules/newbb/branches/alfred/newbb/votepolls.php 2012-08-25 15:50:49 UTC (rev 10104) @@ -1,5 +1,5 @@ <?php -// $Id: votepolls.php 62 2012-08-17 10:15:26Z alfred $ +// $Id: votepolls.php,v 1.3 2005/10/19 17:20:28 phppp Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -41,6 +41,18 @@ include_once XOOPS_ROOT_PATH."/modules/umfrage/class/umfragerenderer.php"; } +$pollmodules = NULL; +//$module_handler = &xoops_gethandler('module'); +$xoopspoll = &$module_handler->getByDirname('xoopspoll'); +if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) { + $pollmodules = 'xoopspoll'; +} else { + //Umfrage + $xoopspoll = &$module_handler->getByDirname('umfrage'); + if (is_object($xoopspoll) && $xoopspoll->getVar('isactive')) + $pollmodules = 'umfrage'; +} + if ( !empty($_POST['poll_id']) ) { $poll_id = intval($_POST['poll_id']); } elseif (!empty($_GET['poll_id'])) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-25 13:24:51
|
Revision: 10103 http://xoops.svn.sourceforge.net/xoops/?rev=10103&view=rev Author: lord_venom Date: 2012-08-25 13:24:45 +0000 (Sat, 25 Aug 2012) Log Message: ----------- remove modification panwac Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php Modified: XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php 2012-08-25 12:17:27 UTC (rev 10102) +++ XoopsModules/TDMStats/trunk/TDMStats/xoops_plugins/function.xoStats.php 2012-08-25 13:24:45 UTC (rev 10103) @@ -13,7 +13,7 @@ echo '<script type="text/Javascript"> istat = new Image(1,1); - istat.src = "'.XOOPS_URL.'/modules/TDMStats/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&page="+location.href+"&ismodule='.$ismodule.'"; + istat.src = "'.XOOPS_URL.'/modules/TDMStats/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&page="+location.href+"&ismodule='.$ismodule.'"; </script>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ir...@us...> - 2012-08-25 12:17:36
|
Revision: 10102 http://xoops.svn.sourceforge.net/xoops/?rev=10102&view=rev Author: irmtfan Date: 2012-08-25 12:17:27 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/admin/about.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_blocks.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_cat_manager.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_digest.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_manager.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_prune.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_reorder.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_groupmod.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_header.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_permissions.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_report.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_synchronization.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_type_manager.php XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_votedata.php XoopsModules/newbb/branches/irmtfan/newbb/admin/index.php XoopsModules/newbb/branches/irmtfan/newbb/admin/menu.php XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block.php XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block_tag.php XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php XoopsModules/newbb/branches/irmtfan/newbb/class/newbbtree.php XoopsModules/newbb/branches/irmtfan/newbb/class/permission.forum.php XoopsModules/newbb/branches/irmtfan/newbb/class/permission.php XoopsModules/newbb/branches/irmtfan/newbb/class/post.php XoopsModules/newbb/branches/irmtfan/newbb/class/rate.php XoopsModules/newbb/branches/irmtfan/newbb/class/read.php XoopsModules/newbb/branches/irmtfan/newbb/class/readforum.php XoopsModules/newbb/branches/irmtfan/newbb/class/readtopic.php XoopsModules/newbb/branches/irmtfan/newbb/class/tree.php XoopsModules/newbb/branches/irmtfan/newbb/class/user.php XoopsModules/newbb/branches/irmtfan/newbb/class/xoopsformloader.php XoopsModules/newbb/branches/irmtfan/newbb/docs/changelog.txt XoopsModules/newbb/branches/irmtfan/newbb/docs/lang_diff.txt XoopsModules/newbb/branches/irmtfan/newbb/include/form.forum.php XoopsModules/newbb/branches/irmtfan/newbb/include/form.post.php XoopsModules/newbb/branches/irmtfan/newbb/include/functions.image.php XoopsModules/newbb/branches/irmtfan/newbb/include/functions.ini.php XoopsModules/newbb/branches/irmtfan/newbb/include/functions.user.php XoopsModules/newbb/branches/irmtfan/newbb/include/module.php XoopsModules/newbb/branches/irmtfan/newbb/include/module.v100.php XoopsModules/newbb/branches/irmtfan/newbb/include/module.v220.php XoopsModules/newbb/branches/irmtfan/newbb/include/notification.inc.php XoopsModules/newbb/branches/irmtfan/newbb/include/plugin.php XoopsModules/newbb/branches/irmtfan/newbb/include/search.inc.php XoopsModules/newbb/branches/irmtfan/newbb/include/sitemap.plugin.php XoopsModules/newbb/branches/irmtfan/newbb/index.php XoopsModules/newbb/branches/irmtfan/newbb/language/english/admin.php XoopsModules/newbb/branches/irmtfan/newbb/language/english/main.php XoopsModules/newbb/branches/irmtfan/newbb/language/german/admin.php XoopsModules/newbb/branches/irmtfan/newbb/language/german/blocks.php XoopsModules/newbb/branches/irmtfan/newbb/language/german/main.php XoopsModules/newbb/branches/irmtfan/newbb/language/german/modinfo.php XoopsModules/newbb/branches/irmtfan/newbb/language/persian/admin.php XoopsModules/newbb/branches/irmtfan/newbb/language/persian/main.php XoopsModules/newbb/branches/irmtfan/newbb/notification_update.php XoopsModules/newbb/branches/irmtfan/newbb/post.php XoopsModules/newbb/branches/irmtfan/newbb/ratethread.php XoopsModules/newbb/branches/irmtfan/newbb/reply.php XoopsModules/newbb/branches/irmtfan/newbb/report.php XoopsModules/newbb/branches/irmtfan/newbb/rss.php XoopsModules/newbb/branches/irmtfan/newbb/search.php XoopsModules/newbb/branches/irmtfan/newbb/seo.php XoopsModules/newbb/branches/irmtfan/newbb/sql/mysql.400.sql XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/index.html XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/index.html XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/index.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_online.html XoopsModules/newbb/branches/irmtfan/newbb/topicmanager.php XoopsModules/newbb/branches/irmtfan/newbb/viewforum.php XoopsModules/newbb/branches/irmtfan/newbb/viewpost.php XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php XoopsModules/newbb/branches/irmtfan/newbb/votepolls.php XoopsModules/newbb/branches/irmtfan/newbb/xoops_version.php Added Paths: ----------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10095.txt XoopsModules/newbb/branches/irmtfan/newbb/templates/images/mime/index.html XoopsModules/newbb/branches/irmtfan/newbb/templates/images/rpg/index.html Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/about.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/about.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/about.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: about.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: about.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_blocks.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_blocks.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_blocks.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_blocks.php,v 1.1.1.1 2005/10/19 15:58:11 phppp Exp $ +// $Id: admin_blocks.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_cat_manager.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_cat_manager.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_cat_manager.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_cat_manager.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_cat_manager.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_digest.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_digest.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_digest.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_digest.php,v 1.1.1.1 2005/10/19 15:58:11 phppp Exp $ +// $Id: admin_digest.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_manager.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_manager.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_manager.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_forum_manager.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_forum_manager.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_prune.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_prune.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_prune.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_forum_prune.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_forum_prune.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_reorder.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_reorder.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_forum_reorder.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_forum_reorder.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_forum_reorder.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_groupmod.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_groupmod.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_groupmod.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -96,4 +96,4 @@ echo "</form></fieldset>"; echo "</fieldset>"; xoops_cp_footer(); -?> +?> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_header.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_header.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_header.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_header.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_header.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_permissions.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_permissions.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_permissions.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_permissions.php,v 1.1.1.1 2005/10/19 15:58:12 phppp Exp $ +// $Id: admin_permissions.php 69 2012-08-21 19:33:07Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -139,13 +139,6 @@ } } -xoops_cp_header(); -echo "<fieldset>"; -if ($newXoopsModuleGui) echo $indexAdmin->addNavigation('admin_permissions.php'); -//if (!$newXoopsModuleGui) loadModuleAdminMenu(3); -// else echo $indexAdmin->addNavigation('admin_permissions.php'); -echo "<fieldset>"; -if (!$newXoopsModuleGui) echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $action = isset($_REQUEST['action']) ? strtolower($_REQUEST['action']) : ""; $module_id = $xoopsModule->getVar('mid'); $newbbperm_handler =& xoops_getmodulehandler('permission', 'newbb'); @@ -153,6 +146,9 @@ switch($action) { case "template": + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_permissions.php'); + echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $opform = new XoopsSimpleForm(_AM_NEWBB_PERM_ACTION, 'actionform', 'admin_permissions.php', "get"); $op_select = new XoopsFormSelect("", 'action'); $op_select->setExtra('onchange="document.forms.actionform.submit()"'); @@ -204,6 +200,7 @@ $ret .= '</td></tr>'; $ret .= '</table></form>'; echo $ret; + xoops_cp_footer(); break; case "template_save": @@ -219,8 +216,11 @@ $perm_template = $newbbperm_handler->getTemplate(); if ($perm_template === null) { redirect_header("admin_permissions.php?action=template", 2, _AM_NEWBB_PERM_TEMPLATE); + exit(); } - + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_permissions.php'); + echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $opform = new XoopsSimpleForm(_AM_NEWBB_PERM_ACTION, 'actionform', 'admin_permissions.php', "get"); $op_select = new XoopsFormSelect("", 'action'); $op_select->setExtra('onchange="document.forms.actionform.submit()"'); @@ -254,6 +254,7 @@ $tray->addElement(new XoopsFormButton('', 'reset', _CANCEL, 'reset')); $fmform->addElement($tray); $fmform->display(); + xoops_cp_footer(); break; case "apply_save": @@ -262,11 +263,14 @@ if ($forum < 1) continue; $newbbperm_handler->applyTemplate($forum, $module_id); } + mod_clearCacheFile("permission","newbb"); redirect_header("admin_permissions.php", 2, _AM_NEWBB_PERM_TEMPLATE_APPLIED); break; default: - + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_permissions.php'); + echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $opform = new XoopsSimpleForm(_AM_NEWBB_PERM_ACTION, 'actionform', 'admin_permissions.php', "get"); $op_select = new XoopsFormSelect("", 'action'); $op_select->setExtra('onchange="document.forms.actionform.submit()"'); @@ -333,11 +337,9 @@ // Since we can not control the permission update, a trick is used here $permission_handler =& xoops_getmodulehandler("permission", "newbb"); $permission_handler->createPermData(); - + mod_clearCacheFile("permission","newbb"); + xoops_cp_footer(); break; } -mod_clearCacheFile("forum","newbb"); -mod_clearCacheFile("permission","newbb"); -echo "</fieldset></fieldset>"; -xoops_cp_footer(); + ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_report.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_report.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_report.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_report.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_report.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_synchronization.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_synchronization.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_synchronization.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> * @since 4.00 - * @version $Id$ + * @version $Id: admin_synchronization.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb */ Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_type_manager.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_type_manager.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_type_manager.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -7,7 +7,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> * @since 4.00 - * @version $Id$ + * @version $Id: admin_type_manager.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb */ Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_votedata.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_votedata.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/admin_votedata.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: admin_votedata.php,v 1.1.1.1 2005/10/19 15:58:12 phppp Exp $ +// $Id: admin_votedata.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/index.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/index.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/index.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: index.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -151,6 +151,17 @@ $xoopspoll = &$module_handler->getByDirname('umfrage'); if (is_object($xoopspoll)) $isOK = $xoopspoll->getVar('isactive'); } + + $memlimit_iniphp = return_bytes( @ini_get('memory_limit') ); + $postmaxsize_iniphp = return_bytes( @ini_get('post_max_size') ); + if ( $postmaxsize_iniphp < $memlimit_iniphp ) { + $uploadlimit = sprintf(_AM_NEWBB_MEMLIMITOK,return_bytes( $postmaxsize_iniphp, true ) ); + $uploadfarbe = 'Green'; + } else { + $uploadlimit = _AM_NEWBB_MEMLIMITTOLARGE; + $uploadfarbe = 'Red'; + } + if ($newXoopsModuleGui) { $indexAdmin->addInfoBox(_AM_NEWBB_PREFERENCES) ; @@ -159,6 +170,7 @@ $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" .'NetPBM'.': %s'."</infotext>", array_key_exists('netpbm',$imageLibs) ? _AM_NEWBB_AUTODETECTED.$imageLibs['netpbm'] :_AM_NEWBB_NOTAVAILABLE, 'Green') ; $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" ._AM_NEWBB_GDLIB1.' %s'. "</infotext>", array_key_exists('gd1',$imageLibs) ? _AM_NEWBB_AUTODETECTED.$imageLibs['gd1'] :_AM_NEWBB_NOTAVAILABLE, 'Red') ; $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" ._AM_NEWBB_GDLIB2.' %s'. "</infotext>", array_key_exists('gd2',$imageLibs) ? _AM_NEWBB_AUTODETECTED.$imageLibs['gd2'] :_AM_NEWBB_NOTAVAILABLE, 'Green' ) ; + $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" ._AM_NEWBB_UPLOAD.' %s'. "</infotext>", $uploadlimit ,$uploadfarbe ) ; $indexAdmin->addInfoBox(_AM_NEWBB_BOARDSUMMARY) ; $indexAdmin->addInfoBoxLine(_AM_NEWBB_BOARDSUMMARY, "<infolabel>" ._AM_NEWBB_TOTALTOPICS.': %s' . "</infolabel>", get_total_topics(), 'Green') ; @@ -358,4 +370,21 @@ } mod_clearCacheFile("config","newbb"); mod_clearCacheFile("permission","newbb"); + +function return_bytes ($size_str, $b=false) +{ + if ($b == false) { + switch (substr ($size_str, -1)) + { + case 'M': case 'm': return (int)$size_str * 1048576; + case 'K': case 'k': return (int)$size_str * 1024; + case 'G': case 'g': return (int)$size_str * 1073741824; + default: return $size_str; + } + } else { + $base = log($size_str) / log(1024); + $suffix = array("", "KB", "MB", "GB", "TB"); + return pow(1024, $base - floor($base)) . ' ' . $suffix[floor($base)]; + } +} ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/admin/menu.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/admin/menu.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/admin/menu.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: menu.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: menu.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,5 +1,5 @@ <?php -// $Id: newbb_block.php,v 1.1.1.2 2005/10/19 16:23:31 phppp Exp $ +// $Id: newbb_block.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -54,7 +54,7 @@ global $xoopsConfig; global $access_forums; global $xoopsLogger; - + mod_loadFunctions("time", "newbb"); $myts =& MyTextSanitizer::getInstance(); @@ -95,7 +95,7 @@ if (!empty($newbbConfig['do_rewrite'])) { include_once XOOPS_ROOT_PATH."/modules/newbb/seo_url.php"; } else { - if (!defined('REAL_MODULE_NAME')) define('REAL_MODULE_NAME', 'modules/newbb'); + if (!defined('SEO_MODULE_NAME')) define('SEO_MODULE_NAME', 'modules/newbb'); } $query = 'SELECT'. @@ -166,8 +166,8 @@ } $topic['topic_poster'] = $topic_poster; $topic['topic_page_jump'] = $topic_page_jump; - $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; - $seo_forum_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; + $seo_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; + $seo_forum_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; if (!empty($newbbConfig['do_rewrite'])) { $topic['seo_url'] = seo_urls($seo_url); $topic['seo_forum_url'] = seo_urls($seo_forum_url); @@ -179,11 +179,11 @@ $block['topics'][] = $topic; unset($topic); } - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; $block['seo_top_allforums'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/list.topic.php">'._MB_NEWBB_ALLTOPICS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/list.topic.php">'._MB_NEWBB_ALLTOPICS.'</a>'; $block['seo_top_alltopics'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; $block['seo_top_allposts'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; $block['indexNav'] = intval($options[4]); @@ -203,7 +203,6 @@ { global $xoopsConfig; global $access_forums; - mod_loadFunctions("time", "newbb"); $myts = MyTextSanitizer::getInstance(); $block = array(); @@ -243,7 +242,7 @@ if (!empty($newbbConfig['do_rewrite'])) { include_once XOOPS_ROOT_PATH."/modules/newbb/seo_url.php"; } else { - if (!defined('REAL_MODULE_NAME')) define('REAL_MODULE_NAME', 'modules/newbb'); + if (!defined('SEO_MODULE_NAME')) define('SEO_MODULE_NAME', 'modules/newbb'); } if (!isset($access_forums)) { @@ -322,8 +321,8 @@ } $topic['topic_poster'] = $topic_poster; $topic['topic_page_jump'] = $topic_page_jump; - $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?topic_id='.$topic['id'].'">'.$topic['title'].'</a>'; - $seo_forum_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; + $seo_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewtopic.php?topic_id='.$topic['id'].'">'.$topic['title'].'</a>'; + $seo_forum_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; if (!empty($newbbConfig['do_rewrite'])) { $topic['seo_url'] = seo_urls($seo_url); @@ -336,9 +335,9 @@ $block['topics'][] = $topic; unset($topic); } - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; $block['seo_top_allforums'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; $block['seo_top_allposts'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; $block['indexNav'] = intval($options[4]); @@ -394,7 +393,7 @@ if (!empty($newbbConfig['do_rewrite'])) { include_once XOOPS_ROOT_PATH."/modules/newbb/seo_url.php"; } else { - if (!defined('REAL_MODULE_NAME')) define('REAL_MODULE_NAME', 'modules/newbb'); + if (!defined('SEO_MODULE_NAME')) define('SEO_MODULE_NAME', 'modules/newbb'); } if (!empty($options[6])) { @@ -475,8 +474,8 @@ $topic['post_text'] = $post_text; } - $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; - $seo_forum_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; + $seo_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; + $seo_forum_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; if (!empty($newbbConfig['do_rewrite'])) { $topic['seo_url'] = seo_urls($seo_url); @@ -490,9 +489,9 @@ $block['topics'][] = $topic; unset($topic); } - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; $block['seo_top_allforums'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; $block['seo_top_allposts'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; $block['indexNav'] = intval($options[4]); Modified: XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block_tag.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block_tag.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/blocks/newbb_block_tag.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> * @since 4.00 - * @version $Id$ + * @version $Id: newbb_block_tag.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb/tag */ Added: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10095.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10095.txt (rev 0) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10095.txt 2012-08-25 12:17:27 UTC (rev 10102) @@ -0,0 +1,40 @@ +date: 2012-08-25 +================================================ +1- Extra new lines removed from php files. +newbb/votepolls.php, newbb/include/notification.inc.php, newbb/class/permission.forum.php, newbb/admin/admin_groupmod.php + +2- Apply Alfred Id in the head of php files: +newbb/class/xoopsformloader.php, newbb/votepolls.php, newbb/class/tree.php, newbb/topicmanager.php, newbb/class/readtopic.php +newbb/class/readforum.php, newbb/class/read.php, newbb/ratethread.php, newbb/class/rate.php, newbb/class/newbbtree.php +newbb/blocks/newbb_block_tag.php, newbb/index.php, newbb/admin/*.php, +newbb/include/sitemap.plugin.php, newbb/include/search.inc.php, newbb/include/notification.inc.php, newbb/include/functions.user.php, +newbb/include/module.v100.php, newbb/include/module.v220.php, newbb/include/module.php, newbb/include/functions.ini.php +newbb/include/form.forum.php, +newbb/notification_update.php, newbb/report.php, newbb/reply.php + +3- Change the status of module to RC4. +newbb/xoops_version.php + +4- Solve SEO (replace files from Alfred) +newbb/viewpost.php, newbb/viewtopic.php, newbb/blocks/newbb_block.php + +5- Add do_latestedit config to display the latest edit (do_latestedit=0) or all edit (do_latestedit=1) by Alfred +newbb/class/post.php, newbb/include/plugin.php + +6- Replace files from Alfred (better code, bug fixes, merge and develop): +newbb/class/permission.php, newbb/class/forum.php, newbb/sql/mysql.400.sql, newbb/rss.php, newbb/admin/admin_permissions.php +newbb/include/functions.image.php, newbb/include/form.post.php, newbb/viewforum.php +newbb/seo.php, newbb/post.php, newbb/search.php, newbb/docs/changelog.txt, newbb/language/german/*.php + +7- Add new language definitions. +newbb/language/english/admin.php, newbb/language/english/main.php, newbb/language/persian/admin.php, newbb/language/persian/main.php, +newbb/docs/lang_diff.txt + +8- Fix Undefined variable: pseudo_height (Cesag/irmtfan) +in newbb/include/functions.image.php line 86 + +9- Change the default syncOnUpdate value to false. It is dangerous because it will delete all pending and deleted posts/topics/forums from database on update. +newbb/include/plugin.php + +10- easier group getting - reduce queries - use Xoops API instead of directly access to db (irmtfan) +newbb/class/user.php Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php 2012-08-25 11:05:56 UTC (rev 10101) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php 2012-08-25 12:17:27 UTC (rev 10102) @@ -1,909 +1,907 @@ -<?php -/** - * Newbb module - * - * 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 The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license http://www.fsf.org/copyleft/gpl.html GNU public license - * @package newbb - * @since 4.0 - * @author Taiwen Jiang <ph...@us...> - * @version $Id: forum.php 2169 2008-09-23 13:37:10Z phppp $ - */ - -if (!defined("XOOPS_ROOT_PATH")) { - exit(); -} - -class Forum extends XoopsObject -{ - - function Forum() - { - $this->__construct(); - } - - - function __construct() - { - $this->XoopsObject(); - $this->initVar('forum_id', XOBJ_DTYPE_INT); - $this->initVar('forum_name', XOBJ_DTYPE_TXTBOX); - $this->initVar('forum_desc', XOBJ_DTYPE_TXTBOX); - $this->initVar('forum_moderator', XOBJ_DTYPE_ARRAY, serialize(array())); - $this->initVar('forum_topics', XOBJ_DTYPE_INT); - $this->initVar('forum_posts', XOBJ_DTYPE_INT); - $this->initVar('forum_last_post_id', XOBJ_DTYPE_INT); - $this->initVar('cat_id', XOBJ_DTYPE_INT); - $this->initVar('parent_forum', XOBJ_DTYPE_INT); - $this->initVar('hot_threshold', XOBJ_DTYPE_INT, 20); - $this->initVar('attach_maxkb', XOBJ_DTYPE_INT, 500); - $this->initVar('attach_ext', XOBJ_DTYPE_SOURCE, "zip|jpg|gif|png"); - $this->initVar('forum_order', XOBJ_DTYPE_INT, 99); - $this->initVar("dohtml", XOBJ_DTYPE_INT, 1); - } - - function disp_forumModerators() - { - global $xoopsModuleConfig; - - $ret = ""; - if (!$valid_moderators = $this->getVar("forum_moderator")) { - return $ret; - } - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.user.php"; - $moderators = newbb_getUnameFromIds($valid_moderators, !empty($xoopsModuleConfig['show_realname']), true); - $ret = implode(", ", $moderators); - return $ret; - } -} - -class NewbbForumHandler extends XoopsPersistableObjectHandler -{ - - function __construct(&$db) - { - parent::__construct($db, "bb_forums", 'Forum', 'forum_id', 'forum_name'); - } - - function NewbbForumHandler(&$db) - { - $this->__construct($db); - } - - - function insert($forum) - { - if (!parent::insert($forum, true)) { - return false; - } - - if ($forum->isNew()) { - $this->applyPermissionTemplate($forum); - } - - return $forum->getVar('forum_id'); - } - - function delete(&$forum) - { - global $xoopsModule; - // RMV-NOTIFY - xoops_notification_deletebyitem ($xoopsModule->getVar('mid'), 'forum', $forum->getVar('forum_id')); - // Get list of all topics in forum, to delete them too - $topic_handler =& xoops_getmodulehandler('topic', 'newbb'); - $topic_handler->deleteAll(new Criteria("forum_id", $forum->getVar('forum_id')), true, true); - $this->updateAll("parent_forum", $forum->getVar('parent_forum'), new Criteria("parent_forum", $forum->getVar('forum_id'))); - $this->deletePermission($forum); - return parent::delete($forum); - } - - function getIdsByPermission($perm = "access") - { - $perm_handler = xoops_getmodulehandler('permission', 'newbb'); - return $perm_handler->getForums($perm); - } - - function &getByPermission($cat = 0, $permission = "access", $tags = null, $asObject = true) - { - $_cachedForums = array(); - if ( !$valid_ids = $this->getIdsByPermission($permission) ) { - return $_cachedForums; - } - - $criteria = new CriteriaCompo( new Criteria("forum_id", "(" . implode(", ", $valid_ids) . ")", "IN") ); - if (is_numeric($cat) && $cat> 0) { - $criteria->add(new Criteria("cat_id", intval($cat))); - } elseif (is_array($cat) && count($cat) >0) { - $criteria->add(new Criteria("cat_id", "(" . implode(", ", $cat) . ")", "IN")); - } - $criteria->setSort("forum_order"); - $criteria->setOrder("ASC"); - $_cachedForums =& $this->getAll($criteria, $tags, $asObject); - return $_cachedForums; - } - - function &getForumsByCategory($categoryid = 0, $permission = "", $asObject = true, $tags = null) - { - $forums =& $this->getByPermission($categoryid, $permission, $tags); - if ($asObject) return $forums; - - $forums_array = array(); - $array_cat=array(); - $array_forum=array(); - if (!is_array($forums)) return array(); - foreach (array_keys($forums) as $forumid) { - $forum =& $forums[$forumid]; - $forums_array[$forum->getVar('parent_forum')][$forumid] = array( - 'cid' => $forum->getVar('cat_id'), - 'title' => $forum->getVar('forum_name') - ); - } - if (!isset($forums_array[0])) { - $ret = array(); - return $ret; - } - foreach ($forums_array[0] as $key => $forum) { - if (isset($forums_array[$key])) { - $forum['sub'] = $forums_array[$key]; - } - $array_forum[$forum['cid']][$key] = $forum; - } - ksort($array_forum); - unset($forums); - unset($forums_array); - return $array_forum; - } - - function getAllTopics(&$forum, $criteria = null) - { - global $xoopsModule, $xoopsConfig, $xoopsModuleConfig, $myts, $xoopsUser, $viewall_forums; - - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.render.php"; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.session.php"; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.time.php"; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.read.php"; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.topic.php"; - - $criteria_vars = array("startdate", "start", "sort", "order", "type", "status", "excerpt"); - foreach ($criteria_vars as $var) { - ${$var} = $criteria[$var]; - } - - $topic_lastread = newbb_getcookie('LT', true); - - if (is_object($forum)) { - $criteria_forum = ' AND t.forum_id = ' . $forum->getVar('forum_id'); - $hot_threshold = $forum->getVar('hot_threshold'); - } else { - $hot_threshold = 10; - if (is_array($forum) && count($forum) > 0) { - $criteria_forum = ' AND t.forum_id IN (' . implode(',', array_keys($forum)) . ')'; - } elseif (!empty($forum)) { - $criteria_forum = ' AND t.forum_id =' . intval($forum); - } else { - $criteria_forum = ''; - } - } - - $criteria_post = ($startdate) ? ' p.post_time > ' . $startdate : " 1 = 1 "; - $criteria_topic = empty($type) ? '' : " AND t.type_id={$type}"; - $criteria_extra = ''; - $criteria_approve = ' AND t.approved = 1'; - $post_on = ' p.post_id = t.topic_last_post_id'; - $leftjoin = ' LEFT JOIN ' . $this->db->prefix('bb_posts') . ' p ON p.post_id = t.topic_last_post_id'; - $sort_array = array(); - switch ($status) { - case 'digest': - $criteria_extra = ' AND t.topic_digest = 1'; - break; - - case 'unreplied': - $criteria_extra = ' AND t.topic_replies < 1'; - break; - - case 'unread': - if (empty($xoopsModuleConfig["read_mode"])) { - } elseif ($xoopsModuleConfig["read_mode"] ==2) { - $leftjoin .= ' LEFT JOIN ' . $this->db->prefix('bb_reads_topic') . ' r ON r.read_item = t.topic_id'; - $criteria_post .= ' AND (r.read_id IS NULL OR r.post_id < t.topic_last_post_id)'; - } elseif ($xoopsModuleConfig["read_mode"] == 1) { - $topics = array(); - $topic_lastread = newbb_getcookie('LT', true); - if (count($topic_lastread)>0) { - foreach ($topic_lastread as $id => $time) { - if ($time > $time_criterion) $topics[] = $id; - } - } - if (count($topics)>0) { - $criteria_extra = ' AND t.topic_id NOT IN (' . implode(",", $topics) . ')'; - } - if ($lastvisit = max($GLOBALS['last_visit'], $startdate)) { - $criteria_post = ' p.post_time > ' . max($GLOBALS['last_visit'], $startdate); - } - } - break; - - case 'pending': - $post_on = ' p.topic_id = t.topic_id'; - $criteria_post .= ' AND p.pid = 0'; - $criteria_approve = ' AND t.approved = 0'; - break; - - case 'deleted': - $criteria_approve = ' AND t.approved = -1'; - break; - - case 'all': // For viewall.php; do not display sticky topics at first - case 'active': // same as "all" - break; - - default: - if ($startdate > 0) { - $criteria_post = ' (p.post_time > ' . $startdate . ' OR t.topic_sticky=1)'; - } - $sort_array[] = 't.topic_sticky DESC'; - break; - } - - $select = 't.*, ' . - ' p.post_time as last_post_time, p.poster_name as last_poster_name, p.icon, p.post_id, p.uid'; - $from = $this->db->prefix("bb_topics") . ' t ' . $leftjoin; - $where = $criteria_post. $criteria_topic. $criteria_forum . $criteria_extra . $criteria_approve; - - if ($excerpt) { - $select .= ', p.post_karma, p.require_reply, pt.post_text'; - $from .= ' LEFT JOIN ' . $this->db->prefix('bb_posts_text') . ' pt ON pt.post_id = t.topic_last_post_id'; - } - if ($sort == "u.uname") { - $sort = "t.topic_poster"; - } - - $sort_array[] = trim($sort . ' ' . $order); - $sortby = implode(", ", array_filter($sort_array) ); - if (empty($sortby)) $sortby = 't.topic_last_post_id DESC'; - - - $sql = 'SELECT ' . $select . - ' FROM ' . $from . - ' WHERE ' . $where . - ' ORDER BY ' . $sortby; - - if (!$result = $this->db->query($sql, $xoopsModuleConfig['topics_per_page'], $start)) { - redirect_header('index.php', 2, _MD_ERROROCCURED); - exit(); - } - - $sticky = 0; - $topics = array(); - $posters = array(); - $reads = array(); - $types = array(); - - $type_handler =& xoops_getmodulehandler('type', 'newbb'); - $typen = $type_handler->getByForum($forum->getVar('forum_id')); - while ($myrow = $this->db->fetchArray($result)) { - - if ($myrow['topic_sticky']) { - $sticky++; - } - - // ------------------------------------------------------ - // topic_icon: priority: sticky -> digest -> regular - - if ($myrow['topic_haspoll']) { - if ($myrow['topic_sticky']) { - $topic_icon = newbb_displayImage('topic_sticky', _MD_TOPICSTICKY) . '<br />' . newbb_displayImage('poll', _MD_TOPICHASPOLL); - } else { - $topic_icon = newbb_displayImage('poll', _MD_TOPICHASPOLL); - } - } elseif ($myrow['topic_sticky']) { - $topic_icon = newbb_displayImage('topic_sticky', _MD_TOPICSTICKY); - } elseif (!empty($myrow['icon'])) { - $topic_icon = '<img src="' . XOOPS_URL . '/images/subject/' . htmlspecialchars($myrow['icon']) . '" alt="" />'; - } else { - $topic_icon = '<img src="' . XOOPS_URL . '/images/icons/no_posticon.gif" alt="" />'; - } - - // ------------------------------------------------------ - // rating_img - $rating = number_format($myrow['rating'] / 2, 0); - $rating_img = newbb_displayImage( ($rating < 1) ? 'blank' : 'rate' . $rating ); - - // ------------------------------------------------------ - // topic_page_jump - $topic_page_jump = ''; - $topic_page_jump_icon = ''; - $totalpages = ceil(($myrow['topic_replies'] + 1) / $xoopsModuleConfig['posts_per_page']); - if ($totalpages > 1) { - $topic_page_jump .= ' '; - $append = false; - for ($i = 1; $i <= $totalpages; $i++) { - if ($i > 3 && $i < $totalpages) { - if (!$append) { - $topic_page_jump .= "..."; - $append = true; - } - } else { - $topic_page_jump .= '[<a href="' . XOOPS_URL . '/modules/newbb/viewtopic.php?topic_id=' . $myrow['topic_id'] . '&start=' . (($i - 1) * $xoopsModuleConfig['posts_per_page']) . '">' . $i . '</a>]'; - $topic_page_jump_icon = "<a href='" . XOOPS_URL . "/modules/newbb/viewtopic.php?post_id=" . $myrow['post_id'] . "&start=" . (($i - 1) * $xoopsModuleConfig['posts_per_page']) . "'>" . newbb_displayImage('lastposticon',_MD_NEWBB_GOTOLASTPOST) . "</a>"; - } - } - } - else { - $topic_page_jump_icon = "<a href='" . XOOPS_URL . "/modules/newbb/viewtopic.php?post_id=" . $myrow['post_id'] . "'>" . newbb_displayImage('lastposticon',_MD_NEWBB_GOTOLASTPOST) . "</a>"; - } - - // ------------------------------------------------------ - // => topic array - if (!empty($viewall_forums[$myrow['forum_id']])) { - $forum_link = '<a href="' . XOOPS_URL . '/modules/newbb/viewforum.php?forum=' . $myrow['forum_id'] . '">' . $viewall_forums[$myrow['forum_id']]['forum_name'] . '</a>'; - } else { - $forum_link = ''; - } - - $topic_title = $myts->htmlSpecialChars( $myrow['topic_title'] ); - if ($myrow['type_id'] > 0) { - $topic_title = '<font color="'.$typen[$myrow["type_id"]]["type_color"].'">['.$typen[$myrow["type_id"]]["type_name"].']</font> '.$topic_title.''; - } - if ($myrow['topic_digest']) { - $topic_title = "<span class='digest'>" . $topic_title . "</span>"; - } - - if ( $excerpt == 0 ) { - $topic_excerpt = ""; - } elseif ( ($myrow['post_karma'] > 0 || $myrow['require_reply'] > 0) && !newbb_isAdmin($forum) ) { - $topic_excerpt = ""; - } else { - $topic_excerpt = xoops_substr(newbb_html2text($myts->displayTarea($myrow['post_text'])), 0, $excerpt); - $topic_excerpt = str_replace("[", "[", $myts->htmlSpecialChars($topic_excerpt)); - } - - /* users */ - $posters[$myrow['topic_poster']] = 1; - $posters[$myrow['uid']] = 1; - // reads - if (!empty($xoopsModuleConfig["read_mode"])) { - $reads[$myrow['topic_id']] = ($xoopsModuleConfig["read_mode"] == 1) ? $myrow['last_post_time'] : $myrow["topic_last_post_id"]; - } - - $topic_poster = newbb_getUnameFromId($myrow['topic_poster'], $xoopsModuleConfig['show_realname'], true); - $topic_last_poster = newbb_getUnameFromId($myrow['uid'], $xoopsModuleConfig['show_realname'], true); - $topic_isRead = newbb_isRead("topic", $reads); - - $topic_prefix = (!empty($typen[$myrow['type_id']])) ? getTopicTitle("", $typen[$myrow['type_id']]["type_name"], $typen[$myrow['type_id']]["type_color"]) : ""; - - // ------------------------------------------------------ - // topic_folder: priority: newhot -> hot/new -> regular - if ($myrow['topic_status'] == 1) { - $topic_folder = 'topic_locked'; - $topic_folder_text = _MD_TOPICLOCKED; - } else { - if ($myrow['topic_digest']) { - $topic_folder = 'topic_digest'; - $topic_folder_text = _MD_TOPICDIGEST; - } elseif ($myrow['topic_replies'] >= $hot_threshold) { - $topic_folder = empty($topic_isRead[$myrow['topic_id']]) ? 'topic_hot_new' : 'topic_hot'; - $topic_folder_text = empty($topic_isRead[$myrow['topic_id']]) ? _MD_MORETHAN : _MD_MORETHAN2; - } else { - $topic_folder = empty($topic_isRead[$myrow['topic_id']]) ? 'topic_new' : 'topic'; - $topic_folder_text = empty($topic_isRead[$myrow['topic_id']]) ? _MD_NEWPOSTS : _MD_NONEWPOSTS; - } - } - - - $topics[$myrow['topic_id']] = array( - 'topic_id' => $myrow['topic_id'], - 'topic_icon' => $topic_icon, - 'type_id' => $myrow['type_id'], - 'type_text' => $topic_prefix, - 'topic_title' => $topic_title, - //'topic_link' => XOOPS_URL . '/modules/newbb/viewtopic.php?topic_id=' . $myrow['topic_id'], - 'topic_link' => 'viewtopic.php?topic_id=' . $myrow['topic_id'], - 'rating_img' => $rating_img, - 'topic_page_jump' => $topic_page_jump, - 'topic_page_jump_icon' => $topic_page_jump_icon, - 'topic_replies' => $myrow['topic_replies'], - 'topic_poster_uid' => $myrow['topic_poster'], - 'topic_poster_name' => $myts->htmlSpecialChars( ($myrow['poster_name']) ? $myrow['poster_name'] : $xoopsConfig['anonymous'] ), - 'topic_views' => $myrow['topic_views'], - 'topic_time' => newbb_formatTimestamp($myrow['topic_time']), - 'topic_last_posttime' => newbb_formatTimestamp($myrow['last_post_time']), - 'topic_last_poster_uid' => $myrow['uid'], - 'topic_last_poster_name' => $myts->htmlSpecialChars( ($myrow['last_poster_name']) ? $myrow['last_poster_name'] : $xoopsConfig['anonymous'] ), - 'topic_forum_link' => $forum_link, - 'topic_excerpt' => $topic_excerpt, - 'stick' => empty($myrow['topic_sticky']), - //"stats" => array($myrow['topic_status'], $myrow['topic_digest'], $myrow['topic_replies']), - "topic_poster" => $topic_poster, - "topic_last_poster" => $topic_last_poster, - "topic_folder" => newbb_displayImage($topic_folder,$topic_folder_text), - ); - - - } - - if ( count($topics) > 0) { - $sql = " SELECT DISTINCT topic_id FROM " . $this->db->prefix("bb_posts"). - " WHERE attachment != ''" . - " AND topic_id IN (" . implode(',', array_keys($topics)) . ")"; - if ($result = $this->db->query($sql)) { - while (list($topic_id) = $this->db->fetchRow($result)) { - $topics[$topic_id]['attachment'] = ' ' . newbb_displayImage('attachment', _MD_TOPICSHASATT); - } - } - } - return array($topics, $sticky); - } - - function getTopicCount(&$forum, $startdate, $type) - { - global $xoopsModuleConfig; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.session.php"; - - $criteria_extra = ''; - $criteria_approve = ' AND t.approved = 1'; // any others? - $leftjoin = ' LEFT JOIN ' . $this->db->prefix('bb_posts') . ' p ON p.post_id = t.topic_last_post_id'; - $criteria_post = ' p.post_time > ' . $startdate; - switch ($type) { - case 'digest': - $criteria_extra = ' AND topic_digest = 1'; - break; - case 'unreplied': - $criteria_extra = ' AND topic_replies < 1'; - break; - case 'unread': - if (empty($xoopsModuleConfig["read_mode"])) { - } elseif ($xoopsModuleConfig["read_mode"] ==2) { - $leftjoin .= ' LEFT JOIN ' . $this->db->prefix('bb_reads_topic') . ' r ON r.read_item = t.topic_id'; - $criteria_post .= ' AND (r.read_id IS NULL OR r.post_id < t.topic_last_post_id)'; - } elseif ($xoopsModuleConfig["read_mode"] == 1) { - $criteria_post = ' p.post_time > ' . max($GLOBALS['last_visit'], $startdate); - $topics = array(); - $topic_lastread = newbb_getcookie('LT', true); - if (count($topic_lastread)>0) foreach ($topic_lastread as $id=>$time) { - if ($time > $time_criterion) $topics[] = $id; - } - if (count($topics)>0) { - $criteria_extra = ' AND t.topic_id NOT IN (' . implode(",", $topics) . ')'; - } - } - break; - case 'pending': - $criteria_approve = ' AND t.approved = 0'; - break; - case 'deleted': - $criteria_approve = ' AND t.approved = -1'; - break; - case 'all': - break; - default: - $criteria_post = ' (p.post_time > ' . $startdate . ' OR t.topic_sticky=1)'; - break; - } - if (is_object($forum)) { - $criteria_forum = ' AND t.forum_id = ' . $forum->getVar('forum_id'); - } else { - if (is_array($forum) && count($forum) > 0) { - $criteria_forum = ' AND t.forum_id IN (' . implode(',', array_keys($forum)) . ')'; - } elseif (!empty($forum)) { - $criteria_forum = ' AND t.forum_id =' . intval($forum); - } else { - $criteria_forum = ''; - } - } - - $sql = 'SELECT COUNT(*) as count FROM ' . $this->db->prefix("bb_topics") . ' t ' . $leftjoin; - $sql .= ' WHERE ' . $criteria_post . $criteria_forum . $criteria_extra . $criteria_approve; - if (!$result = $this->db->query($sql)) { - //xoops_error($this->db->error().'<br />'.$sql); - return null; - } - $myrow = $this->db->fetchArray($result); - $count = $myrow['count']; - return $count; - } - - // get permission - function getPermission($forum, $type = "access", $checkCategory = true) - { - global $xoopsUser, $xoopsModule; - static $_cachedPerms; - - if ($type == "all") return true; - if ($GLOBALS["xoopsUserIsAdmin"] && $xoopsModule->getVar("dirname") == "newbb") { - return true; - } - - if (!is_object($forum)) $forum =& $this->get($forum); - - if (!empty($checkCategory)) { - $category_handler =& xoops_getmodulehandler('category', 'newbb'); - $categoryPerm = $category_handler->getPermission($forum->getVar('cat_id')); - if (!$categoryPerm) return false; - } - - $type = strtolower($type); - if ("moderate" == $type) { - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.user.php"; - $permission = newbb_isModerator($forum); - } else { - $forum_id = $forum->getVar('forum_id'); - $perm_handler =& xoops_getmodulehandler('permission', 'newbb'); - $permission = $perm_handler->getPermission("forum", $type, $forum_id); - } - return $permission; - } - - function deletePermission(&$forum) - { - $perm_handler =& xoops_getmodulehandler('permission', 'newbb'); - return $perm_handler->deleteByForum($forum->getVar("forum_id")); - } - - function applyPermissionTemplate(&$forum) - { - $perm_handler =& xoops_getmodulehandler('permission', 'newbb'); - return $perm_handler->applyTemplate($forum->getVar("forum_id")); - } - - /* - function isForum($forum) - { - $count = false; - $sql = 'SELECT COUNT(*) as count FROM ' . $this->db->prefix("bb_forums"); - $sql .= ' WHERE forum_id=' . $forum ; - if ($result = $this->db->query($sql)) { - $myrow = $this->db->fetchArray($result); - $count = $myrow['count']; - } - return $count; - } - */ - - /** - * clean orphan items from database - * - * @return bool true on success - */ - function cleanOrphan() - { - parent::cleanOrphan($this->db->prefix("bb_categories"), "cat_id"); - - if (version_compare( mysql_get_server_info(), "4.1.0", "ge" )): - /* - $sql = "DELETE FROM ".$this->table. - " WHERE (parent_forum >0 AND parent_forum NOT IN ( SELECT DISTINCT forum_id FROM ".$this->table.") )"; - */ - $sql = " DELETE {$this->table} FROM {$this->table}" . - " LEFT JOIN {$this->table} AS aa ON {$this->table}.parent_forum = aa.forum_id ". - " WHERE {$this->table}.parent_forum>0 AND (aa.forum_id IS NULL)"; - if (!$result = $this->db->queryF($sql)): - //xoops_error("cleanOrphan error:". $sql); - endif; - else: - $this->identifierName = "parent_forum"; - $forum_list = $this->getList(new Criteria("parent_forum", 0, ">")); - $this->identifierName = "forum_name"; - if ($parent_forums = @array_values($forum_list)) { - $parent_list = $this->getIds(new Criteria("forum_id", "(" . implode(", ", $parent_forums) . ")", "IN")); - foreach ($forum_list as $forum_id => $parent_forum) { - if (in_array($parent_forum, $parent_list)) continue; - $forum_obj =& $this->get($forum_id); - $this->delete($forum_obj); - unset($forum_obj); - } - } - endif; - ... [truncated message content] |
From: <be...@us...> - 2012-08-25 11:06:03
|
Revision: 10101 http://xoops.svn.sourceforge.net/xoops/?rev=10101&view=rev Author: beckmi Date: 2012-08-25 11:05:56 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Fixing help Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html 2012-08-25 10:50:48 UTC (rev 10100) +++ XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html 2012-08-25 11:05:56 UTC (rev 10101) @@ -7,11 +7,10 @@ <p>No special measures necessary, follow the standard installation process – extract the /pm folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.</p> <p>Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i" title="XOOPS Operations Manual">XOOPS Operations Manual</a> </p> <h4 class="odd">Operating instructions</h4> - <p class="even">To set up this module you need to:</p> - <ul> + <ul> <li>You enter your Inbox directly from the front page, or by clicking on the top link "Go to module" in the PM's Admin area.</li> <li>Configure your preferences for the module (see ‘Preferences’) and optionally the PM block if you intend to use it (see ‘Blocks’).</li> - <li>you can do mass deleting of your messages by using the "Prune Messages" tab.</li> + <li>You can do mass deleting of your messages by using the "Prune Messages" tab.</li> </ul> <h4 class="odd">Tutorial</h4> <p class="even">Tutorial coming soon.</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-25 10:50:56
|
Revision: 10100 http://xoops.svn.sourceforge.net/xoops/?rev=10100&view=rev Author: beckmi Date: 2012-08-25 10:50:48 +0000 (Sat, 25 Aug 2012) Log Message: ----------- fixing language typo Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html 2012-08-25 09:41:19 UTC (rev 10099) +++ XoopsCore/branches/2.5.x/2.5.6/htdocs/modules/pm/language/english/help/help.html 2012-08-25 10:50:48 UTC (rev 10100) @@ -11,7 +11,7 @@ <ul> <li>You enter your Inbox directly from the front page, or by clicking on the top link "Go to module" in the PM's Admin area.</li> <li>Configure your preferences for the module (see ‘Preferences’) and optionally the PM block if you intend to use it (see ‘Blocks’).</li> - <li>ou can do mass deleting of your messages by using the "Prune Messages" tab.</li> + <li>you can do mass deleting of your messages by using the "Prune Messages" tab.</li> </ul> <h4 class="odd">Tutorial</h4> <p class="even">Tutorial coming soon.</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-25 09:41:25
|
Revision: 10099 http://xoops.svn.sourceforge.net/xoops/?rev=10099&view=rev Author: lord_venom Date: 2012-08-25 09:41:19 +0000 (Sat, 25 Aug 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/include/stats.php Modified: XoopsModules/TDMStats/trunk/TDMStats/include/stats.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-08-25 09:40:16 UTC (rev 10098) +++ XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-08-25 09:41:19 UTC (rev 10099) @@ -424,8 +424,8 @@ } - echo gmdate('d/m/Y H:i:s', $_SESSION['start'])."<br/>"; - echo gmdate('d/m/Y H:i:s', time())."<br/>"; + //echo gmdate('d/m/Y H:i:s', $_SESSION['start'])."<br/>"; + //echo gmdate('d/m/Y H:i:s', time())."<br/>"; // //echo $total = round((time() - $_SESSION['start']) / 60); //echo strftime( "%H H %M mn %S s", $total * 60); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-25 09:40:24
|
Revision: 10098 http://xoops.svn.sourceforge.net/xoops/?rev=10098&view=rev Author: lord_venom Date: 2012-08-25 09:40:16 +0000 (Sat, 25 Aug 2012) Log Message: ----------- counter fix Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/blocks/TDMStats_blocks.php XoopsModules/TDMStats/trunk/TDMStats/counter.php XoopsModules/TDMStats/trunk/TDMStats/css/styles.css XoopsModules/TDMStats/trunk/TDMStats/include/stats.php XoopsModules/TDMStats/trunk/TDMStats/include/summary.php XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html Modified: XoopsModules/TDMStats/trunk/TDMStats/blocks/TDMStats_blocks.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/blocks/TDMStats_blocks.php 2012-08-24 19:57:46 UTC (rev 10097) +++ XoopsModules/TDMStats/trunk/TDMStats/blocks/TDMStats_blocks.php 2012-08-25 09:40:16 UTC (rev 10098) @@ -233,7 +233,7 @@ $userid = !empty($user_info[$i]['userid']) ? XoopsUser::getUnameFromId($user_info[$i]['userid']) : XoopsUser::getUnameFromId(); //$count = $user_info[$i]['count'] ; - $count = gmstrftime( "%H H %M mn %S s", $user_info[$i]['count']); + $count = strftime( "%H H %M mn %S s", $user_info[$i]['count'] * 60); $times .= "<b>".$userid."</b>: ".$count.", "; //$hour['hour'][] = $hour_info[$i]['hour']; //$hour['percent'][] = round($hour_percent, '2'); Modified: XoopsModules/TDMStats/trunk/TDMStats/counter.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/counter.php 2012-08-24 19:57:46 UTC (rev 10097) +++ XoopsModules/TDMStats/trunk/TDMStats/counter.php 2012-08-25 09:40:16 UTC (rev 10098) @@ -53,11 +53,14 @@ if ($check2) { if($userid) { mysql_query("UPDATE ".XOOPS_DB_PREFIX."_TDMStats_usercount SET userid='$userid', count=count+'$count' WHERE ip='$ip'"); + $_SESSION['start'] = time(); }else { mysql_query("UPDATE ".XOOPS_DB_PREFIX."_TDMStats_usercount SET count=count+'$count' WHERE ip='$ip'"); + $_SESSION['start'] = time(); } } else { mysql_query("INSERT INTO ".XOOPS_DB_PREFIX."_TDMStats_usercount VALUES('', '$userid', '$ip', '$date', $count)"); + $_SESSION['start'] = time(); } } Modified: XoopsModules/TDMStats/trunk/TDMStats/css/styles.css =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/css/styles.css 2012-08-24 19:57:46 UTC (rev 10097) +++ XoopsModules/TDMStats/trunk/TDMStats/css/styles.css 2012-08-25 09:40:16 UTC (rev 10098) @@ -13,7 +13,7 @@ } .Tableau p.legende {font-weight:bold} -.Tableau span.col1 {text-align:center; height:16px; width:200px; overflow:hidden;} +.Tableau span.col1 {text-align:center; height:16px; width:250px; overflow:hidden;} .Tableau span.col2 {text-align:left; height:16px; width:350px; background-image: url(../images/bg_fade.png); background-repeat: repeat-x; Modified: XoopsModules/TDMStats/trunk/TDMStats/include/stats.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-08-24 19:57:46 UTC (rev 10097) +++ XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-08-25 09:40:16 UTC (rev 10098) @@ -412,7 +412,7 @@ $userid = !empty($user_info[$i]['userid']) ? XoopsUser::getUnameFromId($user_info[$i]['userid']) : substr($user_info[$i]['ip'],0,(6)).".."; //$count = $user_info[$i]['count'] ; - $count = gmstrftime( "%H H %M mn %S s", $user_info[$i]['sum']); + $count = strftime( "%H H %M mn %S s", $user_info[$i]['sum'] * 60); //$hour['hour'][] = $hour_info[$i]['hour']; @@ -422,8 +422,25 @@ } } - } + } + + echo gmdate('d/m/Y H:i:s', $_SESSION['start'])."<br/>"; + echo gmdate('d/m/Y H:i:s', time())."<br/>"; // +//echo $total = round((time() - $_SESSION['start']) / 60); + //echo strftime( "%H H %M mn %S s", $total * 60); +//echo $difdate = (time()-$_SESSION['start'])/(60*60*24); // l +//$heure = intval(abs($total / 3600)); + +//$total = $total - ($heure * 3600); + +//$minute = intval(abs($total / 60)); + +//$total = $total - ($minute * 60); + +///$seconde = $total; +//echo "$heure H : $minute min : $seconde sec"; + $user_info = getResult("select *, SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_usercount")." GROUP BY ip order by count desc"); $user_total = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_usercount").""); @@ -439,7 +456,7 @@ } $userid = !empty($user_info[$i]['userid']) ? XoopsUser::getUnameFromId($user_info[$i]['userid']) : substr($user_info[$i]['ip'],0,(6)).".."; - $count = gmstrftime( "%H H %M mn %S s", $user_info[$i]['sum']); + $count = strftime( "%H H %M mn %S s", $user_info[$i]['sum'] * 60); if ($user_percent > 0) { //$xoopsTpl->append('hours', array('id' => 'hour'.$i, 'hour' => $hour_info[$i]['hour'], 'info' => $hour_info[$i]['count'], 'percent' => round($hour_percent, '2'))); Modified: XoopsModules/TDMStats/trunk/TDMStats/include/summary.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/summary.php 2012-08-24 19:57:46 UTC (rev 10097) +++ XoopsModules/TDMStats/trunk/TDMStats/include/summary.php 2012-08-25 09:40:16 UTC (rev 10098) @@ -128,9 +128,9 @@ //echo $user_info[$i]['userid']; $userid = !empty($user_info[$i]['userid']) ? XoopsUser::getUnameFromId($user_info[$i]['userid']) : substr($user_info[$i]['ip'],0,(6)).".."; //$count = $user_info[$i]['count'] ; - $count = gmstrftime( "%H H %M mn %S s", $user_info[$i]['count']); + $count = strftime( "%H H %M mn %S s", $user_info[$i]['count'] * 60); - $totalsecondes = $user_info[$i]['count']; + //$totalsecondes = $user_info[$i]['count']; //$hour['hour'][] = $hour_info[$i]['hour']; //$hour['percent'][] = round($hour_percent, '2'); Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html 2012-08-24 19:57:46 UTC (rev 10097) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html 2012-08-25 09:40:16 UTC (rev 10098) @@ -133,7 +133,7 @@ <!--fin--> -<li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/hour.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_HOUR}></h2></a> +<li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/hour.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('hour')"><{$smarty.const._AM_BY_HOUR}></h2></a> <div style="text-align:left"> <{foreach from=$item_hours item=item}> <span id="tree_num"><{$item.hour}>h, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> @@ -198,7 +198,7 @@ </div></div><br style="clear: both;" /><br /></div> <!--fin--> -<li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/module.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_MODULE}></h2></a> +<li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/module.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('module')"><{$smarty.const._AM_BY_MODULE}></h2></a> <div style="text-align:left"> <{foreach from=$item_modules item=item}> <span id="tree_num"><{$item.module}>, <{$item.info}> <{$smarty.const._AM_P_VISITS}></span><br /> Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html 2012-08-24 19:57:46 UTC (rev 10097) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html 2012-08-25 09:40:16 UTC (rev 10098) @@ -14,56 +14,56 @@ <div class="Tableau"> <p class="legende"> <span class="col1"><{$smarty.const._AM_TOTAL_VISITS}></span> - <span class="col1"><{$total}></span> + <span class="col3"><{$total}></span> <span class="col1"><{$smarty.const._AM_NOW}></span> <span class="col1"><{$date_now}></span> </p> <p> <span class="col1"><{$smarty.const._AM_TODAY}></span> - <span class="col1"><{$today}></span> + <span class="col3"><{$today}></span> <span class="col1"><{$smarty.const._AM_AVE_DAY}></span> <span class="col1"><{$ava_day}></span> </p> <p class="legende"> <span class="col1"><{$smarty.const._AM_THIS_WEEK}></span> - <span class="col1"><{$this_week}></span> + <span class="col3"><{$this_week}></span> <span class="col1"><{$smarty.const._AM_AVE_WEEK}></span> <span class="col1"><{$ava_week}></span> </p> <p> <span class="col1"><{$smarty.const._AM_THIS_MTH}></span> - <span class="col1"><{$this_mth}></span> + <span class="col3"><{$this_mth}></span> <span class="col1"><{$smarty.const._AM_AVE_MTH}></span> <span class="col1"><{$ava_mth}></span> </p> <p class="legende"> <span class="col1"><{$smarty.const._AM_TOTAL_DAYS}></span> - <span class="col1"><{$days}></span> + <span class="col3"><{$days}></span> <span class="col1"><{$smarty.const._AM_AVE_HOUR}></span> <span class="col1"><{$ava_hour}></span> </p> <p> <span class="col1"><{$smarty.const._AM_MAX_DAYCOUNT}></span> - <span class="col1"><{$max_daycount}></span> + <span class="col3"><{$max_daycount}></span> <span class="col1"><{$smarty.const._AM_MAX_DATE}></span> <span class="col1"><{$max_date}></span> </p> <p class="legende"> <span class="col1"><{$smarty.const._AM_MAX_WEEKCOUNT}></span> - <span class="col1"><{$max_weekcount}></span> + <span class="col3"><{$max_weekcount}></span> <span class="col1"><{$smarty.const._AM_MAX_WEEK}></span> <span class="col1"><{$max_week}></span> </p> <p> <span class="col1"><{$smarty.const._AM_MAX_MTHCOUNT}></span> - <span class="col1"><{$max_mthcount}></span> + <span class="col3"><{$max_mthcount}></span> <span class="col1"><{$smarty.const._AM_MAX_MTH}></span> <span class="col1"><{$max_mth}></span> </p> @@ -73,7 +73,7 @@ <!-- fin --> -<li style="width:46%;" class="odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/tip.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href ="'.$cat_link.'" title="<{$lang_forecast}>"><{$smarty.const._AM_FORECAST}></h2></a> +<li style="width:46%;" class="odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/tip.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" title="<{$lang_forecast}>"><{$smarty.const._AM_FORECAST}></h2></a> <div style="text-align:left"><span id="tree_num"><{$smarty.const.AM_AVE}> <b><{$cur_percent}>%</b> <{$smarty.const.AM_DAILY_VISIT}> <b><{$date_daily}></b>. <br /><{$smarty.const.AM_BAS_NBR}> <b><{$daycount}></b> <{$smarty.const.AM_SO_FAR}> <br/><{$smarty.const.AM_SO_FARE}> <b><{$today_hits}></b> <{$smarty.const.AM_PAGE_VIEW}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lor...@us...> - 2012-08-24 19:57:53
|
Revision: 10097 http://xoops.svn.sourceforge.net/xoops/?rev=10097&view=rev Author: lord_venom Date: 2012-08-24 19:57:46 +0000 (Fri, 24 Aug 2012) Log Message: ----------- Modifications by Mamba Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/admin/admin_header.php XoopsModules/TDMStats/trunk/TDMStats/include/function.php XoopsModules/TDMStats/trunk/TDMStats/include/summary.php XoopsModules/TDMStats/trunk/TDMStats/index.php XoopsModules/TDMStats/trunk/TDMStats/language/english/admin.php XoopsModules/TDMStats/trunk/TDMStats/language/english/main.php XoopsModules/TDMStats/trunk/TDMStats/language/english/modinfo.php XoopsModules/TDMStats/trunk/TDMStats/language/french/admin.php XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php XoopsModules/TDMStats/trunk/TDMStats/language/persian/admin.php XoopsModules/TDMStats/trunk/TDMStats/language/spanish/admin.php Modified: XoopsModules/TDMStats/trunk/TDMStats/admin/admin_header.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/admin/admin_header.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/admin/admin_header.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -22,4 +22,6 @@ include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); }else{ redirect_header("../../../admin.php", 5, _AM_TDMSTATS_MODULEADMIN_MISSING, false); - } \ No newline at end of file + } + +?> \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/include/function.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/function.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/include/function.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -89,6 +89,8 @@ $result['max_week_y'] = $max_week[0]['year']; $result['max_weekcount'] = $max_week[0]['count']; } else { + $result['max_week_w'] = false; + $result['max_week_y'] = false; $result['max_week'] = "------"; $result['max_weekcount'] = 0; } @@ -98,6 +100,8 @@ $result['max_mth_y'] = $max_mth[0]['year']; $result['max_mthcount'] = $max_mth[0]['count']; } else { + $result['max_mth_m'] = false; + $result['max_mth_y'] = false; $result['max_mth'] = "------"; $result['max_mthcount'] = 0; } Modified: XoopsModules/TDMStats/trunk/TDMStats/include/summary.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/summary.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/include/summary.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -64,6 +64,12 @@ $xoopsTpl->assign('lang_max_weekcount', _AM_MAX_WEEKCOUNT); $xoopsTpl->assign('max_weekcount', $summary['max_weekcount']); $xoopsTpl->assign('lang_max_week', _AM_MAX_WEEK); + +if (!isset($summary['max_week_w'])) + $summary['max_week_w']=0; +if (!isset($summary['max_week_y'])) + $summary['max_week_y']=0; + if ($xoopsModuleConfig['longdate'] == 1) { $summary['max_week'] = "#".$summary['max_week_w']." ".$summary['max_week_y']; } else { @@ -73,6 +79,12 @@ $xoopsTpl->assign('lang_max_mthcount', _AM_MAX_MTHCOUNT); $xoopsTpl->assign('max_mthcount', $summary['max_mthcount']); $xoopsTpl->assign('lang_max_mth', _AM_MAX_MTH); + +if (!isset($summary['max_mth_m'])) + $summary['max_mth_m']=0; +if (!isset($summary['max_mth_y'])) + $summary['max_mth_y']=0; + if ($xoopsModuleConfig['longdate'] == 1) { $summary['max_mth'] = $summary['max_mth_m']."/".$summary['max_mth_y']; } else { @@ -325,7 +337,7 @@ $xoopsTpl->assign('date_daily', formatTimeStamp(time(), 'H:i')); $xoopsTpl->assign('lang_bas_nbr', AM_BAS_NBR); $xoopsTpl->assign('daycount', $curvisits); -$xoopsTpl->assign('lang_so_far', AM_SO_FAR); +$xoopsTpl->assign('lang_so_far', AM_SO_FARE); $xoopsTpl->assign('today_hits', sprintf ("%.0f", $today_hits)); $xoopsTpl->assign('lang_page_view', AM_PAGE_VIEW); $xoopsTpl->assign('lang_by_today_hour', _AM_BY_TODAY_HOUR); Modified: XoopsModules/TDMStats/trunk/TDMStats/index.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/index.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/index.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -55,12 +55,12 @@ case "list": default: - + $xoopsOption['template_main'] = 'tdmstats_index.html'; - include_once XOOPS_ROOT_PATH."/header.php"; + // pour les permissions $perm_4 = ($gperm_handler->checkRight('istats_view', 4, $groups, $xoopsModule->getVar('mid'))) ? true : false ; $perm_8 = ($gperm_handler->checkRight('istats_view', 8, $groups, $xoopsModule->getVar('mid'))) ? true : false ; Modified: XoopsModules/TDMStats/trunk/TDMStats/language/english/admin.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/english/admin.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/language/english/admin.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -18,67 +18,68 @@ * * **************************************************************************** */ -define("_AM_ISTATS_NAVPREFERENCES","Preferences"); -define("_AM_ISTATS_NAVPERMISSIONS","Permissions"); +define ( "_AM_ISTATS_NAVPREFERENCES", "Preferences"); +define ( "_AM_ISTATS_NAVPERMISSIONS", "Permissions"); -define("_AM_ISTATS_COOKIE_CONF","Setting the Cookie"); -define("_AM_ISTATS_COOKIE","Setting the Cookie"); -define("_AM_ISTATS_COOKIE_DESC","Determine the life of your cookie, in seconds (eg 1 hour = 3600)"); -define("_AM_ISTATS_SAVE","Save"); -define("_AM_ISTATS_CANCEL","Cancel"); -define("_AM_ISTATS_CONFIG","Configuring Stats"); -define("_AM_GENERALCONF","General configuration"); -define("_AM_ISTATS_NOTUPDATED","The config.php file was not updated! <br /> Scripture impossible! <br /> Please check the file permissions (chmod 666) or cache directory (chmod 777) "); -define("_AM_ISTATS_UPDATED","File updated config.php"); +define ( "_AM_ISTATS_COOKIE_CONF", "Setting the Cookie"); +define ( "_AM_ISTATS_COOKIE", "Setting the Cookie"); +define ( "_AM_ISTATS_COOKIE_DESC", "Determine the life of your cookie, in seconds (eg 1 hour = 3600)"); +define ( "_AM_ISTATS_SAVE", "Save"); +define ( "_AM_ISTATS_CANCEL", "Cancel"); +define ( "_AM_ISTATS_CONFIG", "Configuring Stats"); +define ( "_AM_GENERALCONF", "General configuration"); +define ( "_AM_ISTATS_NOTUPDATED", "The config.php file was not updated! <br /> Scripture impossible! <br /> Please check the file permissions (chmod 666) or cache directory (chmod 777) "); +define ( "_AM_ISTATS_UPDATED", "File updated config.php"); // index.php -define("_AM_ISTATS_INDEXDESC","Module index"); -define("_AM_ISTATS_TABLE","Table Name"); -define("_AM_ISTATS_LENGTH","Size of data file"); -define("_AM_ISTATS_FREE","Lost space"); -define("_AM_ISTATS_TOTAL","Total file data"); -define("_AM_ISTATS_OPT","Optimize"); +define ( "_AM_ISTATS_INDEXDESC", "Module index"); +define ( "_AM_ISTATS_TABLE", "Table Name"); +define ( "_AM_ISTATS_LENGTH", "Size of data file"); +define ( "_AM_ISTATS_FREE", "Lost space"); +define ( "_AM_ISTATS_TOTAL", "Total file data"); +define ( "_AM_ISTATS_OPT", "Optimize"); -define("_AM_ISTATS_BASE","Your changes are saved successfully"); -define("_AM_ISTATS_BASEERROR","Error: Your changes are not saved"); +define ( "_AM_ISTATS_BASE", "Your changes are saved successfully"); +define ( "_AM_ISTATS_BASEERROR", "Error: Your changes are not saved"); -define("_AM_ISTATS_ABOUT","About the Module"); -define("_AM_ISTATS_UPDATE","Update Module"); -define("_AM_ISTATS_PERM","Managing Permissions"); -define('_AM_ISTATS_PLUG','Management Plugin'); +define ( "_AM_ISTATS_ABOUT", "About the Module"); +define ( "_AM_ISTATS_UPDATE", "Update Module"); +define ( "_AM_ISTATS_PERM", "Managing Permissions"); +define ( '_AM_ISTATS_PLUG', 'Management Plugin'); // plug.php -define('_AM_ISTATS_PLUGHELP',"<b> Note: </b> Remember to copy the code '<b> <{xoStats}> </b>' to the theme.html file of your current theme after the '<b> < body ></b>' tag, to record visits ..."); -define('_AM_ISTATS_PLUGERROR','Please copy the file "xoops_plugins / function.xoStats.php" in your site root, "/ class / smarty / xoops_plugins /"'); -define('_AM_ISTATS_PLUGOK','Plugin installed'); -define('_AM_ISTATS_PLUGETAT','Plugin status'); +define ( '_AM_ISTATS_PLUGHELP', "<b> Note: </b> Remember to copy the code '<b> <{xoStats}> </b>' to the theme.html file of your current theme after the '<b> < body ></b>' tag, to record visits ..."); +define ( '_AM_ISTATS_PLUGERROR', 'Please copy the file "xoops_plugins / function.xoStats.php" in your site root, "/ class / smarty / xoops_plugins /"'); +define ( '_AM_ISTATS_PLUGOK', 'Plugin installed'); +define ( '_AM_ISTATS_PLUGETAT', 'Plugin status'); // About (about.php) -define("_AM_ABOUT_RELEASEDATE","Release Date"); -define("_AM_ABOUT_AUTHOR","Author"); -define("_AM_ABOUT_CREDITS","Credits"); -define("_AM_ABOUT_README","General Info"); -define("_AM_ABOUT_MANUAL","Help"); -define("_AM_ABOUT_LICENSE","License"); -define("_AM_ABOUT_MODULE_STATUS","Status"); -define("_AM_ABOUT_WEBSITE","Web Site"); -define("_AM_ABOUT_AUTHOR_NAME","Author Name"); -define("_AM_ABOUT_AUTHOR_WORD","Author Word"); -define("_AM_ABOUT_CHANGELOG","Change Log"); -define("_AM_ABOUT_MODULE_INFO","Module Info"); -define("_AM_ABOUT_AUTHOR_INFO","Author Info"); -define("_AM_ABOUT_DISCLAIMER","Disclaimer"); -define("_AM_ABOUT_DISCLAIMER_TEXT","GPL Licensed - No Warranty"); +define ( "_AM_ABOUT_RELEASEDATE", "Release Date"); +define ( "_AM_ABOUT_AUTHOR", "Author"); +define ( "_AM_ABOUT_CREDITS", "Credits"); +define ( "_AM_ABOUT_README", "General Info"); +define ( "_AM_ABOUT_MANUAL", "Help"); +define ( "_AM_ABOUT_LICENSE", "License"); +define ( "_AM_ABOUT_MODULE_STATUS", "Status"); +define ( "_AM_ABOUT_WEBSITE", "Web Site"); +define ( "_AM_ABOUT_AUTHOR_NAME", "Author Name"); +define ( "_AM_ABOUT_AUTHOR_WORD", "Author Word"); +define ( "_AM_ABOUT_CHANGELOG", "Change Log"); +define ( "_AM_ABOUT_MODULE_INFO", "Module Info"); +define ( "_AM_ABOUT_AUTHOR_INFO", "Author Info"); +define ( "_AM_ABOUT_DISCLAIMER", "Disclaimer"); +define ( "_AM_ABOUT_DISCLAIMER_TEXT", "GPL Licensed - No Warranty"); // perm.php -define('_AM_ISTATS_PERM2','enabled \' view '); +define ( '_AM_ISTATS_PERM2', 'enabled \' view '); // permission -define("_AM_ISTATS_PERM_4","Description"); -define("_AM_ISTATS_PERM_8","Traffic Stats"); -define("_AM_ISTATS_PERM_16","System"); +define ( "_AM_ISTATS_PERM_4","Description"); +define ( "_AM_ISTATS_PERM_8","Traffic Stats"); +define ( "_AM_ISTATS_PERM_16","System"); +define ("_AM_ISTATS_TEST","Your system supports the following languages"); //1.07 -define("_AM_ISTATS_KB","KB"); -define("_AM_ISTATS_MB","MB"); \ No newline at end of file +define ( "_AM_ISTATS_KB", "KB"); +define ( "_AM_ISTATS_MB", "MB"); \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/language/english/main.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/english/main.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/language/english/main.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -1,4 +1,4 @@ -<?php +<?php /** * **************************************************************************** * - TDMStats By TDM - TEAM DEV MODULE FOR XOOPS @@ -20,114 +20,118 @@ */ // text of top head -define('_AM_TRAFFIC_REPORT','Traffic Report Site'); -define('_AM_SUMMARY','Summary'); -define('_AM_REFERER','References'); -define('_AM_VISITOR_INFO','System'); -define('_AM_TRAFFIC','Traffic Stats'); -define('_AM_LOCA','Location'); +define ( '_AM_TRAFFIC_REPORT', 'Traffic Report Site'); +define ( '_AM_SUMMARY', 'Summary'); +define ( '_AM_REFERER', 'References'); +define ( '_AM_VISITOR_INFO', 'System'); +define ( '_AM_TRAFFIC', 'Traffic Stats'); +define ( '_AM_LOCA', 'Location'); // text of stats topic -define('_AM_BY_TODAY_HOUR','Traffic Graph of Today'); -define('_AM_BY_DAY','Days of the Month'); -define('_AM_BY_WEEKDAY','Days of the Week'); -define('_AM_BY_WEEK','Weekly'); -define('_AM_BY_MTH','Monthly'); -define('_AM_BY_PAYS','Country Hits'); -define('_AM_BY_COUNTRY','Country / City'); -define('_AM_BY_REF','Visits by Referee'); -define('_AM_BY_HOUR','Hourly'); -define('_AM_BY_PAGE','Pages'); -define('_AM_BY_MODULE','Modules'); -define('_AM_BY_BROWSER','Browser'); -define('_AM_BY_OS','Operating System'); -define('_AM_BY_HOST','Hostname'); -define('_AM_FORECAST',"Today's Forcast"); +define ( '_AM_BY_TODAY_HOUR', 'Traffic Graph of Today'); +define ( '_AM_BY_DAY', 'Days of the Month'); +define ( '_AM_BY_WEEKDAY', 'Days of the Week'); +define ( '_AM_BY_WEEK', 'Weekly'); +define ( '_AM_BY_MTH', 'Monthly'); +define ( '_AM_BY_PAYS', 'Country Hits'); +define ( '_AM_BY_COUNTRY', 'Country / City'); +define ( '_AM_BY_REF', 'Visits by Referee'); +define ( '_AM_BY_HOUR', 'Hourly'); +define ( '_AM_BY_PAGE', 'Pages'); +define ( '_AM_BY_MODULE', 'Modules'); +define ( '_AM_BY_BROWSER', 'Browser'); +define ( '_AM_BY_OS', 'Operating System'); +define ( '_AM_BY_HOST', 'Hostname'); +define ( '_AM_FORECAST', "Today's Forcast"); // text of summary -define('_AM_STATS_INFO','Overview'); -define('_AM_SITENAME','Website'); -define('_AM_NOW','Today'); -define('_AM_MAX_DATE','Best Day'); -define('_AM_MAX_DAYCOUNT','Best Day Hits'); -define('_AM_MAX_WEEK','Best Week'); -define('_AM_MAX_WEEKCOUNT','Best Week Hits'); -define('_AM_MAX_MTH','Best Month'); -define('_AM_MAX_MTHCOUNT','Best Month Hits'); -define('_AM_TOTAL_DAYS','Total Days'); -define('_AM_TOTAL_VISITS','Total Hits'); -define('_AM_TODAY','Visitors Today'); -define('_AM_THIS_WEEK','Visitors this Week'); -define('_AM_THIS_MTH','Visitors this Month'); -define('_AM_AVE_HOUR','Average Hits per hour'); -define('_AM_AVE_DAY','Average Hits per day'); -define('_AM_AVE_WEEK','Average Hits per week'); -define('_AM_AVE_MTH','Average Hits per month'); -define('_AM_PER_HOUR','Visits per hour'); +define ( '_AM_STATS_INFO', 'Overview'); +define ( '_AM_SITENAME', 'Website'); +define ( '_AM_NOW', 'Today'); +define ( '_AM_MAX_DATE', 'Best Day'); +define ( '_AM_MAX_DAYCOUNT', 'Best Day Hits'); +define ( '_AM_MAX_WEEK', 'Best Week'); +define ( '_AM_MAX_WEEKCOUNT', 'Best Week Hits'); +define ( '_AM_MAX_MTH', 'Best Month'); +define ( '_AM_MAX_MTHCOUNT', 'Best Month Hits'); +define ( '_AM_TOTAL_DAYS', 'Total Days'); +define ( '_AM_TOTAL_VISITS', 'Total Hits'); +define ( '_AM_TODAY', 'Visitors Today'); +define ( '_AM_THIS_WEEK', 'Visitors this Week'); +define ( '_AM_THIS_MTH', 'Visitors this Month'); +define ( '_AM_AVE_HOUR', 'Average Hits per hour'); +define ( '_AM_AVE_DAY', 'Average Hits per day'); +define ( '_AM_AVE_WEEK', 'Average Hits per week'); +define ( '_AM_AVE_MTH', 'Average Hits per month'); +define ( '_AM_PER_HOUR', 'Visits per hour'); // text of "Visits by day" section -define('_AM_DATE_DATE','Date'); -define('_AM_DATE_VISITS','Hits'); -define('_AM_DATE_PERCENT','Percent'); +define ( '_AM_DATE_DATE', 'Date'); +define ( '_AM_DATE_VISITS', 'Hits'); +define ( '_AM_DATE_PERCENT', 'Percent'); // text of "Visits by week" section -define('_AM_WEEK_WEEK','Week'); -define('_AM_WEEK_VISITS','Hits'); +define ( '_AM_WEEK_WEEK', 'Week'); +define ( '_AM_WEEK_VISITS', 'Hits'); // Text of "Visits by month" section -define('_AM_MTH_MTH','Month'); -define('_AM_MTH_VISITS','Hits'); +define ( '_AM_MTH_MTH', 'Month'); +define ( '_AM_MTH_VISITS', 'Hits'); // Text of "Visits by Referer" section -define('_AM_REF_VISITS','Hits'); -define('_AM_REF_PERCENT','Percent'); -define('_AM_REF_REF','Contact'); +define ( '_AM_REF_VISITS', 'Hits'); +define ( '_AM_REF_PERCENT', 'Percent'); +define ( '_AM_REF_REF', 'Contact'); // text of "Visits by hour" section -define('_AM_HR_HOUR','Time'); -define('_AM_HR_VISITS','Hits'); -define('_AM_VS','vs'); +define ( '_AM_HR_HOUR', 'Time'); +define ( '_AM_HR_VISITS', 'Hits'); +define('_AM_VS', 'vs'); // text of "Visits by week-days" section -define('_AM_WD_1','Monday'); -define('_AM_WD_2','Tuesday'); -define('_AM_WD_3','Wednesday'); -define('_AM_WD_4','Thursday'); -define('_AM_WD_5','Friday'); -define('_AM_WD_6','Saturday'); -define('_AM_WD_7','Sunday'); +define ( '_AM_WD_1', 'Monday'); +define ( '_AM_WD_2', 'Tuesday'); +define ( '_AM_WD_3', 'Wednesday'); +define ( '_AM_WD_4', 'Thursday'); +define ( '_AM_WD_5', 'Friday'); +define ( '_AM_WD_6', 'Saturday'); +define ( '_AM_WD_7', 'Sunday'); // Text of "Visits by pages" section -define('_AM_P_VISITS','Hits'); -define('_AM_P_PERCENT','Percent'); -define('_AM_P_PAGE','Total Pages'); +define ( '_AM_P_VISITS', 'Hits'); +define ( '_AM_P_PERCENT', 'Percent'); +define ( '_AM_P_PAGE', 'Total Pages'); // Text of "Browser" section -define('_AM_BRO_BRO','Browser'); +define ( '_AM_BRO_BRO', 'Browser'); // text of "OS" section -define('_AM_OS_OS','Operating System'); +define ( '_AM_OS_OS', 'Operating System'); // Text of "Screen Width" section -define('_AM_SW_SW','Screen Resolution'); +define ( '_AM_SW_SW', 'Screen Resolution'); // Text of "Color Screen" section -define('_AM_SC_SC','Color Screen'); +define ( '_AM_SC_SC', 'Color Screen'); // Text of "hostname" section -define('_AM_HOST_HOST','Hostname'); -define('_AM_HOST_IP','IP only'); +define ( '_AM_HOST_HOST', 'Hostname'); +define ( '_AM_HOST_IP', 'IP only'); // Text of "Forecast for today" section -define('AM_AVE','An average'); -define('AM_DAILY_VISIT','visits take place before'); -define('AM_BAS_NBR','Based on a number of'); -define('AM_SO_FAR','visitors at the moment, your site should reach'); -define('AM_PAGE_VIEW','page views.'); +define ( 'AM_AVE', 'An average'); +define ( 'AM_DAILY_VISIT', 'visits take place before'); +define ( 'AM_BAS_NBR', 'Based on a number of'); +define ( 'AM_SO_FARE', 'visitors at the moment, your site should reach'); +define ( 'AM_PAGE_VIEW', 'page views.'); // perm -define("_AM_QUERYNOPERM","You do not have permission for this action"); +define ( "_AM_QUERYNOPERM", "You do not have permission for this action"); //Version 1.6 define('_AM_VIEW', 'View the row'); -?> \ No newline at end of file +define('_AM_P_LE', 'The'); +//version 1.7 +define('_AM_BY_USER', 'Users'); +define('_AM_BY_TODAY_USER', 'Users Today'); +define('_AM_P_A', 'At'); Modified: XoopsModules/TDMStats/trunk/TDMStats/language/english/modinfo.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/english/modinfo.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/language/english/modinfo.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -1,4 +1,4 @@ -<?php +<?php /** * **************************************************************************** * - TDMStats By TDM - TEAM DEV MODULE FOR XOOPS @@ -20,45 +20,55 @@ */ // The name of this module -define("_MI_ISTATS_NAME","TDMStats"); -define("_MI_ISTATS_CNT","Stats Counter"); +define ( "_MI_ISTATS_NAME", "TDMStats"); +define ( "_MI_ISTATS_CNT", "Stats Counter"); // A brief description of this module -define("_MI_ISTATS_DESC","Statistics of visits"); +define ( "_MI_ISTATS_DESC", "Statistics of visits"); // menu // The name of this module -define('_MI_ISTATS_INDEX','Management'); -define('_MI_ISTATS_PLUG','Plugins'); -define('_MI_ISTATS_PERMISSIONS','Permissions'); -define('_MI_ISTATS_ABOUT','About'); -define('_MI_ISTATS_PREF','Preferences'); +define ( '_MI_ISTATS_INDEX', 'Management'); +define ( '_MI_ISTATS_PLUG', 'Plugins'); +define ( '_MI_ISTATS_PERMISSIONS', 'Permissions'); +define ( '_MI_ISTATS_ABOUT', 'About'); +define ( '_MI_ISTATS_PREF', 'Preferences'); // A brief description of this module -define("_MI_ISTATS_COOKIE_MENU","Config Cookie"); +define ( "_MI_ISTATS_COOKIE_MENU", "Config Cookie"); -define("_MI_ISTATS_DATE","Date format"); -define("_MI_ISTATS_PIE","Format of the chart:"); -define("_MI_ISTATS_PIE_3D","3D"); -define("_MI_ISTATS_PIE_SIMPLE","Simple"); -define("_MI_ISTATS_DATE_DESC","Choose between the date format <b> EN </ b> (d / m / YG: i) or the date format <b> U.S. </ b> (Y / n / dg: ia) "); -define("_MI_ISTATS_DATE_US","U.S."); -define("_MI_ISTATS_DATE_FR","FR"); -define("_MI_ISTATS_MAXPAGE","Choose the number of stats to display"); -define("_MI_ISTATS_MAXSESSION","Determine the lifetime of session in seconds (eg 1 hour = 3600)"); -define("_MI_ISTATS_MAXSESSION_DESC","The user will not be counted during this time"); -define("_MI_ISTATS_MAXBG","Choose the color of plants without arriere #"); -define("_MI_ISTATS_MAXUSER","Count the admins:"); -define("_MI_ISTATS_MAXHEIGHT","Choose the maximum height."); -define("_MI_ISTATS_MAXWIDTH","Choose the maximum width."); -define("_MI_ISTATS_MAXCOLOR","Choose colors used to separate by |"); +define ( "_MI_ISTATS_DATE", "Date format"); +define ( "_MI_ISTATS_PIE", "Format of the chart:"); +define ( "_MI_ISTATS_PIE_3D", "3D"); +define ( "_MI_ISTATS_PIE_SIMPLE", "Simple"); +define ( "_MI_ISTATS_DATE_DESC", "Choose between the date format <b> EN </ b> (d / m / YG: i) or the date format <b> U.S. </ b> (Y / n / dg: ia) "); +define ( "_MI_ISTATS_DATE_US", "U.S."); +define ( "_MI_ISTATS_DATE_FR", "FR"); +define ( "_MI_ISTATS_MAXPAGE", "Choose the number of stats to display"); +define ( "_MI_ISTATS_MAXSESSION", "Determine the lifetime of session in seconds (eg 1 hour = 3600)"); +define ( "_MI_ISTATS_MAXSESSION_DESC", "The user will not be counted during this time"); +define ( "_MI_ISTATS_MAXBG", "Choose the color of plants without arriere #"); +define ( "_MI_ISTATS_MAXUSER", "Count the admins:"); +define ( "_MI_ISTATS_MAXHEIGHT", "Choose the maximum height."); +define ( "_MI_ISTATS_MAXWIDTH", "Choose the maximum width."); +define ( "_MI_ISTATS_MAXCOLOR", "Choose colors used to separate by |"); define("_MI_ISTATS_ONGLET","Style Tabs:"); // define("_MI_ISTATS_MAXLABEL","View chart label:"); define("_MI_ISTATS_MAXTITLE","Show chart title:"); // -define('_MI_ISTATS_SUMMARY', 'Sum'); -define('_MI_ISTATS_SYSTEM', 'System'); -define('_MI_ISTATS_TRAFFIC', 'Traffic stats'); -?> \ No newline at end of file +define('_MI_ISTATS_SUMMARY','Sum'); +define('_MI_ISTATS_SYSTEM','System'); +define('_MI_ISTATS_TRAFFIC','Traffic stats'); + +define("_MI_ISTATS_SETLOCAL","Choose your location:"); + + +//version 1.6 +define("_MI_ISTATS_BAR","Bar style:"); +// +define("_MI_ISTATS_MAXUSERCOUNT","Max number of times/day:"); +define("_MI_ISTATS_NEWUSER","Last registered user"); +define("_MI_ISTATS_NOWONLINE","Currently online"); +define("_MI_ISTATS_USERONLINE","Online Today"); \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/language/french/admin.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/french/admin.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/language/french/admin.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -81,4 +81,6 @@ define("_AM_ISTATS_PERM_16","Système"); define("_AM_ISTATS_TEST","Votre système accepte les langues suivantes"); -?> \ No newline at end of file +//1.07 +define ( "_AM_ISTATS_KB", "KB"); +define ( "_AM_ISTATS_MB", "MB"); \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -67,6 +67,4 @@ define("_MI_ISTATS_SETLOCAL","Choisissez votre localité"); define("_MI_ISTATS_NEWUSER","Dernier utilisateur inscrit"); define("_MI_ISTATS_NOWONLINE","Actuellement onligne"); -define("_MI_ISTATS_USERONLINE","Onligne aujourd'hui"); - -?> +define("_MI_ISTATS_USERONLINE","Onligne aujourd'hui"); \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/language/persian/admin.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/persian/admin.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/language/persian/admin.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -18,64 +18,68 @@ * * **************************************************************************** */ -define("_AM_ISTATS_NAVPREFERENCES","ویژگی ها"); -define("_AM_ISTATS_NAVPERMISSIONS","دسترسی ها"); +define ( "_AM_ISTATS_NAVPREFERENCES", "ویژگی ها"); +define ( "_AM_ISTATS_NAVPERMISSIONS", "دسترسی ها"); -define("_AM_ISTATS_COOKIE_CONF","تغییرات در کوکی ها"); -define("_AM_ISTATS_COOKIE","تغییرات در کوکی ها"); -define("_AM_ISTATS_COOKIE_DESC","زمان نگهداری کوکی ها را به ثانیه مشخص کنید. (برای مثال یک ساعت=3600 ثانیه)"); -define("_AM_ISTATS_SAVE","ذخیره سازی"); -define("_AM_ISTATS_CANCEL","انصراف"); -define("_AM_ISTATS_CONFIG","تنظیمات ماژول"); -define("_AM_GENERALCONF","تنظیمات کلی"); -define("_AM_ISTATS_NOTUPDATED","فایل config.php تغییری نکرده است!<br />قابل نوشتن نیست!<br />لطفاً تنظیمات دسترسی آنرا اصلاح کنید (chmod 777)"); -define("_AM_ISTATS_UPDATED","فایل config.php اصلاح شد."); +define ( "_AM_ISTATS_COOKIE_CONF","تغییرات در کوکی ها"); +define ( "_AM_ISTATS_COOKIE","تغییرات در کوکی ها"); +define ( "_AM_ISTATS_COOKIE_DESC","زمان نگهداری کوکی ها را به ثانیه مشخص کنید. (برای مثال یک ساعت=3600 ثانیه)"); +define ( "_AM_ISTATS_SAVE","ذخیره سازی"); +define ( "_AM_ISTATS_CANCEL","انصراف"); +define ( "_AM_ISTATS_CONFIG","تنظیمات ماژول"); +define ( "_AM_GENERALCONF","تنظیمات کلی"); +define ( "_AM_ISTATS_NOTUPDATED","فایل config.php تغییری نکرده است!<br />قابل نوشتن نیست!<br />لطفاً تنظیمات دسترسی آنرا اصلاح کنید (chmod 777)"); +define ( "_AM_ISTATS_UPDATED","فایل config.php اصلاح شد."); // index.php -define("_AM_ISTATS_INDEXDESC","صفحه اصلی ماژول"); -define("_AM_ISTATS_TABLE","نام جدول"); -define("_AM_ISTATS_LENGTH","اندازه فایل اطلاعات"); -define("_AM_ISTATS_FREE","آخرین فاصله"); -define("_AM_ISTATS_TOTAL","مجموع فایل اطلاعات"); -define("_AM_ISTATS_OPT","بهینه"); +define ( "_AM_ISTATS_INDEXDESC", "صفحه اصلی ماژول"); +define ( "_AM_ISTATS_TABLE", "نام جدول"); +define ( "_AM_ISTATS_LENGTH", "اندازه فایل اطلاعات"); +define ( "_AM_ISTATS_FREE", "آخرین فاصله"); +define ( "_AM_ISTATS_TOTAL", "مجموع فایل اطلاعات"); +define ( "_AM_ISTATS_OPT", "بهینه"); -define("_AM_ISTATS_BASE","تغییرات شما با موفقیت ذخیره شد"); -define("_AM_ISTATS_BASEERROR","خطا: تغییرات شما ذخیره نشد"); +define ( "_AM_ISTATS_BASE", "تغییرات شما با موفقیت ذخیره شد"); +define ( "_AM_ISTATS_BASEERROR", "خطا: تغییرات شما ذخیره نشد"); -define("_AM_ISTATS_ABOUT","درباره ماژول"); -define("_AM_ISTATS_UPDATE","به روز رسانی ماژول"); -define("_AM_ISTATS_PERM","مدیریت دسترسی ها"); -define('_AM_ISTATS_PLUG','مدیریت افزونه ها'); +define ( "_AM_ISTATS_ABOUT", "درباره ماژول"); +define ( "_AM_ISTATS_UPDATE", "به روز رسانی ماژول"); +define ( "_AM_ISTATS_PERM", "مدیریت دسترسی ها"); +define ( '_AM_ISTATS_PLUG', 'مدیریت افزونه ها'); // plug.php -define('_AM_ISTATS_PLUGHELP','<b> توجه: </ b> به یاد داشته باشید کپی کد "<b><{xoStats}></b> " در فایل theme.html راه دیگر اجرا آمار برای بازدید کنندگان است.'); -define('_AM_ISTATS_PLUGERROR','لطفا فایل "xoops_plugins / function.xoStats.php" را در مسیر, "/ class / smarty / xoops_plugins /" کپی نمایید'); -define('_AM_ISTATS_PLUGOK','افزونه با موفقیت نصب شده است.'); -define('_AM_ISTATS_PLUGETAT','آمار به وسیله افزونه'); +define ( '_AM_ISTATS_PLUGHELP', '<b> توجه: </ b> به یاد داشته باشید کپی کد "<b><{xoStats}></b> " در فایل theme.html راه دیگر اجرا آمار برای بازدید کنندگان است.'); +define ( '_AM_ISTATS_PLUGERROR', 'لطفا فایل "xoops_plugins / function.xoStats.php" را در مسیر, "/ class / smarty / xoops_plugins /" کپی نمایید'); +define ( '_AM_ISTATS_PLUGOK', 'افزونه با موفقیت نصب شده است.'); +define ( '_AM_ISTATS_PLUGETAT', 'آمار به وسیله افزونه'); // About (about.php) -define("_AM_ABOUT_RELEASEDATE","تاریخ انتشار"); -define("_AM_ABOUT_AUTHOR","سازنده"); -define("_AM_ABOUT_CREDITS","کپی رایت"); -define("_AM_ABOUT_README","اطلاعات اصلی"); -define("_AM_ABOUT_MANUAL","راهنمایی"); -define("_AM_ABOUT_LICENSE","مجوز"); -define("_AM_ABOUT_MODULE_STATUS","وضعیت"); -define("_AM_ABOUT_WEBSITE","وب سایت"); -define("_AM_ABOUT_AUTHOR_NAME","نام سازنده"); -define("_AM_ABOUT_AUTHOR_WORD","دنیای سازنده"); -define("_AM_ABOUT_CHANGELOG","گزارش تغییرات"); -define("_AM_ABOUT_MODULE_INFO","اطلاعات ماژول"); -define("_AM_ABOUT_AUTHOR_INFO","اطلاعات سازنده"); -define("_AM_ABOUT_DISCLAIMER","سلب مسئولیت"); -define("_AM_ABOUT_DISCLAIMER_TEXT","مجوز GPL - بدون ضمانت"); +define ( "_AM_ABOUT_RELEASEDATE", "تاریخ انتشار"); +define ( "_AM_ABOUT_AUTHOR", "سازنده"); +define ( "_AM_ABOUT_CREDITS", "کپی رایت"); +define ( "_AM_ABOUT_README", "اطلاعات اصلی"); +define ( "_AM_ABOUT_MANUAL", "راهنمایی"); +define ( "_AM_ABOUT_LICENSE", "مجوز"); +define ( "_AM_ABOUT_MODULE_STATUS", "وضعیت"); +define ( "_AM_ABOUT_WEBSITE", "وب سایت"); +define ( "_AM_ABOUT_AUTHOR_NAME", "نام سازنده"); +define ( "_AM_ABOUT_AUTHOR_WORD", "دنیای سازنده"); +define ( "_AM_ABOUT_CHANGELOG", "گزارش تغییرات"); +define ( "_AM_ABOUT_MODULE_INFO", "اطلاعات ماژول"); +define ( "_AM_ABOUT_AUTHOR_INFO", "اطلاعات سازنده"); +define ( "_AM_ABOUT_DISCLAIMER", "سلب مسئولیت"); +define ( "_AM_ABOUT_DISCLAIMER_TEXT", "مجوز GPL - بدون ضمانت"); // perm.php -define('_AM_ISTATS_PERM2','فعال سازی \' نمایش '); +define ( '_AM_ISTATS_PERM2', 'فعال سازی \' نمایش '); // permission -define("_AM_ISTATS_PERM_4","توضیحات"); -define("_AM_ISTATS_PERM_8","آمار ترافیک"); -define("_AM_ISTATS_PERM_16","سیستم"); -?> +define ( "_AM_ISTATS_PERM_4", "توضیحات"); +define ( "_AM_ISTATS_PERM_8", "آمار ترافیک"); +define ( "_AM_ISTATS_PERM_16", "سیستم"); +define ("_AM_ISTATS_TEST","Your system supports the following languages"); + +//1.07 +define ( "_AM_ISTATS_KB", "KB"); +define ( "_AM_ISTATS_MB", "MB"); \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/language/spanish/admin.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/spanish/admin.php 2012-08-24 17:40:00 UTC (rev 10096) +++ XoopsModules/TDMStats/trunk/TDMStats/language/spanish/admin.php 2012-08-24 19:57:46 UTC (rev 10097) @@ -19,64 +19,68 @@ * Traducido por Hispaxoops www.hispaxoops.com - Don Curioso * **************************************************************************** */ -define("_AM_ISTATS_NAVPREFERENCES","Preferencias"); -define("_AM_ISTATS_NAVPERMISSIONS","Permisos"); +define ( "_AM_ISTATS_NAVPREFERENCES", "Preferencias"); +define ( "_AM_ISTATS_NAVPERMISSIONS", "Permisos"); -define("_AM_ISTATS_COOKIE_CONF","Ajuste de la galleta"); -define("_AM_ISTATS_COOKIE","Ajustando la galleta"); -define("_AM_ISTATS_COOKIE_DESC","Determina el tiempo de vida de tu galleta en segundos (ej 1 hora = 3600)"); -define("_AM_ISTATS_SAVE","Grabar"); -define("_AM_ISTATS_CANCEL","Cancelar"); -define("_AM_ISTATS_CONFIG","Configurando el m�dulo"); -define("_AM_GENERALCONF","Configuraci�n general"); -define("_AM_ISTATS_NOTUPDATED","El archivo config.php no ha sido encontrado! <br /> Por favor, verifique los permisos de archivos (chmod 666) o del directorio del cach� (chmod 777) "); -define("_AM_ISTATS_UPDATED","Archivo config.php actualizado"); +define ( "_AM_ISTATS_COOKIE_CONF", "Ajuste de la galleta"); +define ( "_AM_ISTATS_COOKIE", "Ajustando la galleta"); +define ( "_AM_ISTATS_COOKIE_DESC", "Determina el tiempo de vida de tu galleta en segundos (ej 1 hora = 3600)"); +define ( "_AM_ISTATS_SAVE", "Grabar"); +define ( "_AM_ISTATS_CANCEL", "Cancelar"); +define ( "_AM_ISTATS_CONFIG", "Configurando el m\xF3dulo"); +define ( "_AM_GENERALCONF", "Configuraci\xF3n general"); +define ( "_AM_ISTATS_NOTUPDATED", "El archivo config.php no ha sido encontrado! <br /> Por favor, verifique los permisos de archivos (chmod 666) o del directorio del cach\xE9 (chmod 777) "); +define ( "_AM_ISTATS_UPDATED", "Archivo config.php actualizado"); // index.php -define("_AM_ISTATS_INDEXDESC","Inicio del m�dulo"); -define("_AM_ISTATS_TABLE","Nombre de la tabla"); -define("_AM_ISTATS_LENGTH","TAma�o del archivo de datos"); -define("_AM_ISTATS_FREE","Espacio libre"); -define("_AM_ISTATS_TOTAL","Archivo total"); -define("_AM_ISTATS_OPT","Optimizar"); +define ( "_AM_ISTATS_INDEXDESC", "Inicio del m\xF3dulo"); +define ( "_AM_ISTATS_TABLE", "Nombre de la tabla"); +define ( "_AM_ISTATS_LENGTH", "TAma\xF1o del archivo de datos"); +define ( "_AM_ISTATS_FREE", "Espacio libre"); +define ( "_AM_ISTATS_TOTAL", "Archivo total"); +define ( "_AM_ISTATS_OPT", "Optimizar"); -define("_AM_ISTATS_BASE","Los cambios han sido grabados"); -define("_AM_ISTATS_BASEERROR","Error:No se han grabado los cambios"); +define ( "_AM_ISTATS_BASE", "Los cambios han sido grabados"); +define ( "_AM_ISTATS_BASEERROR", "Error:No se han grabado los cambios"); -define("_AM_ISTATS_ABOUT","Acerca del m�dulo"); -define("_AM_ISTATS_UPDATE","Actualizar el m�dulo"); -define("_AM_ISTATS_PERM","Manejar permisos"); -define('_AM_ISTATS_PLUG','Plugin'); +define ( "_AM_ISTATS_ABOUT", "Acerca del m\xF3dulo"); +define ( "_AM_ISTATS_UPDATE", "Actualizar el m\xF3dulo"); +define ( "_AM_ISTATS_PERM", "Manejar permisos"); +define ( '_AM_ISTATS_PLUG', 'Plugin'); // plug.php -define('_AM_ISTATS_PLUGHELP','<b> Nota: </b> Recuerda, para que funcione, tienes que incluir el c�digo < xoStats () > en tu theme.html - Recuerda que tienes que eliminar los espacios que hay entre < x �Y! ) >'); -define('_AM_ISTATS_PLUGERROR','Copia el archivo "xoops_plugins / function.xoStats.php" en la ra�z de tu sitio "/ class / smarty / xoops_plugins /"'); -define('_AM_ISTATS_PLUGOK','Plugin instalado'); -define('_AM_ISTATS_PLUGETAT','Estado del plugin'); +define ( '_AM_ISTATS_PLUGHELP', '<b> Nota: </b> Recuerda, para que funcione, tienes que incluir el c\xF3digo < xoStats () > en tu theme.html - Recuerda que tienes que eliminar los espacios que hay entre < x \xA1Y! ) >'); +define ( '_AM_ISTATS_PLUGERROR', 'Copia el archivo "xoops_plugins / function.xoStats.php" en la ra\xEDz de tu sitio "/ class / smarty / xoops_plugins /"'); +define ( '_AM_ISTATS_PLUGOK', 'Plugin instalado'); +define ( '_AM_ISTATS_PLUGETAT', 'Estado del plugin'); // About (about.php) -define("_AM_ABOUT_RELEASEDATE","Fecha de la versi�n"); -define("_AM_ABOUT_AUTHOR","Autor"); -define("_AM_ABOUT_CREDITS","Creditos"); -define("_AM_ABOUT_README","Informaci�n general"); -define("_AM_ABOUT_MANUAL","Ayuda"); -define("_AM_ABOUT_LICENSE","Licencia"); -define("_AM_ABOUT_MODULE_STATUS","Estatus"); -define("_AM_ABOUT_WEBSITE","Sitio Web"); -define("_AM_ABOUT_AUTHOR_NAME","Autor"); -define("_AM_ABOUT_AUTHOR_WORD","Palabra del autor"); -define("_AM_ABOUT_CHANGELOG","Cambios en el registro"); -define("_AM_ABOUT_MODULE_INFO","Informaci�n del m�dulo"); -define("_AM_ABOUT_AUTHOR_INFO","Informaci�n del autor"); -define("_AM_ABOUT_DISCLAIMER","Cl�usula de exenci�n de responsabilidad "); -define("_AM_ABOUT_DISCLAIMER_TEXT","Licencia GPL - Sin garant�as"); +define ( "_AM_ABOUT_RELEASEDATE", "Fecha de la versi\xF3n"); +define ( "_AM_ABOUT_AUTHOR", "Autor"); +define ( "_AM_ABOUT_CREDITS", "Creditos"); +define ( "_AM_ABOUT_README", "Informaci\xF3n general"); +define ( "_AM_ABOUT_MANUAL", "Ayuda"); +define ( "_AM_ABOUT_LICENSE", "Licencia"); +define ( "_AM_ABOUT_MODULE_STATUS", "Estatus"); +define ( "_AM_ABOUT_WEBSITE", "Sitio Web"); +define ( "_AM_ABOUT_AUTHOR_NAME", "Autor"); +define ( "_AM_ABOUT_AUTHOR_WORD", "Palabra del autor"); +define ( "_AM_ABOUT_CHANGELOG", "Cambios en el registro"); +define ( "_AM_ABOUT_MODULE_INFO", "Informaci\xF3n del m\xF3dulo"); +define ( "_AM_ABOUT_AUTHOR_INFO", "Informaci\xF3n del autor"); +define ( "_AM_ABOUT_DISCLAIMER", "Cl\xE1usula de exenci\xF3n de responsabilidad "); +define ( "_AM_ABOUT_DISCLAIMER_TEXT", "Licencia GPL - Sin garant\xEDas"); // perm.php -define('_AM_ISTATS_PERM2','Permisos'); +define ( '_AM_ISTATS_PERM2', 'Permisos'); // permission -define("_AM_ISTATS_PERM_4","Descripci�n"); -define("_AM_ISTATS_PERM_8","Estad�sticas del tr�fico"); -define("_AM_ISTATS_PERM_16","Sistema"); -?> +define ( "_AM_ISTATS_PERM_4", "Descripci\xF3n"); +define ( "_AM_ISTATS_PERM_8", "Estad\xEDsticas del tr\xE1fico"); +define ( "_AM_ISTATS_PERM_16", "Sistema"); +define("_AM_ISTATS_TEST","Your system supports the following languages"); + +//1.07 +define ( "_AM_ISTATS_KB", "KB"); +define ( "_AM_ISTATS_MB", "MB"); \ 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: <lor...@us...> - 2012-08-24 17:40:11
|
Revision: 10096 http://xoops.svn.sourceforge.net/xoops/?rev=10096&view=rev Author: lord_venom Date: 2012-08-24 17:40:00 +0000 (Fri, 24 Aug 2012) Log Message: ----------- bug Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/sql/mysql.sql Modified: XoopsModules/TDMStats/trunk/TDMStats/sql/mysql.sql =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/sql/mysql.sql 2012-08-24 09:15:36 UTC (rev 10095) +++ XoopsModules/TDMStats/trunk/TDMStats/sql/mysql.sql 2012-08-24 17:40:00 UTC (rev 10096) @@ -327,7 +327,7 @@ primary key(id)); # -------------------------------------------------------- -# Table structure for table 'TDMStats_module' +# Table structure for table 'TDMStats_pays' # -------------------------------------------------------- create table TDMStats_pays( @@ -342,8 +342,8 @@ # -------------------------------------------------------- create table TDMStats_usercount( id int(10) not null auto_increment, -userid varchar(255) not null); -ip varchar(255) not null); +userid varchar(255) not null, +ip varchar(255) not null, date date not null, count int(10) not null, primary key(id)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-24 09:15:43
|
Revision: 10095 http://xoops.svn.sourceforge.net/xoops/?rev=10095&view=rev Author: dhcst Date: 2012-08-24 09:15:36 +0000 (Fri, 24 Aug 2012) Log Message: ----------- deactivate options if html no active Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/include/form.post.php Modified: XoopsModules/newbb/branches/alfred/newbb/include/form.post.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/form.post.php 2012-08-23 18:22:48 UTC (rev 10094) +++ XoopsModules/newbb/branches/alfred/newbb/include/form.post.php 2012-08-24 09:15:36 UTC (rev 10095) @@ -14,7 +14,7 @@ * @package newbb * @since 4.0 * @author Taiwen Jiang <ph...@us...> - * @version $Id: form.post.php 62 2012-08-17 10:15:26Z alfred $ + * @version $Id: form.post.php 2170 2008-09-23 13:40:23Z phppp $ */ if (!defined('XOOPS_ROOT_PATH')) { @@ -214,9 +214,13 @@ $xcode_checkbox->addOption(1, _MD_DOXCODE); $options_tray->addElement($xcode_checkbox); -$br_checkbox = new XoopsFormCheckBox('', 'dobr', $dobr); -$br_checkbox->addOption(1, _MD_DOBR); -$options_tray->addElement($br_checkbox); +if (!$nohtml) { + $br_checkbox = new XoopsFormCheckBox('', 'dobr', $dobr); + $br_checkbox->addOption(1, _MD_DOBR); + $options_tray->addElement($br_checkbox); +} else { + $forum_form->addElement(new XoopsFormHidden('dobr', 1)); +} if ($topic_handler->getPermission($forum_obj, $topic_status, 'signature') && is_object($xoopsUser)) { $attachsig_checkbox = new XoopsFormCheckBox('', 'attachsig', $attachsig); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-23 18:22:59
|
Revision: 10094 http://xoops.svn.sourceforge.net/xoops/?rev=10094&view=rev Author: dhcst Date: 2012-08-23 18:22:48 +0000 (Thu, 23 Aug 2012) Log Message: ----------- Fix permission create new forum Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php XoopsModules/newbb/branches/alfred/newbb/viewforum.php Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php 2012-08-23 18:20:19 UTC (rev 10093) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php 2012-08-23 18:22:48 UTC (rev 10094) @@ -1,5 +1,5 @@ <?php -// $Id: admin_permissions.php 62 2012-08-17 10:15:26Z alfred $ +// $Id: admin_permissions.php 69 2012-08-21 19:33:07Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -139,13 +139,6 @@ } } -xoops_cp_header(); -echo "<fieldset>"; -if ($newXoopsModuleGui) echo $indexAdmin->addNavigation('admin_permissions.php'); -//if (!$newXoopsModuleGui) loadModuleAdminMenu(3); -// else echo $indexAdmin->addNavigation('admin_permissions.php'); -echo "<fieldset>"; -if (!$newXoopsModuleGui) echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $action = isset($_REQUEST['action']) ? strtolower($_REQUEST['action']) : ""; $module_id = $xoopsModule->getVar('mid'); $newbbperm_handler =& xoops_getmodulehandler('permission', 'newbb'); @@ -153,6 +146,9 @@ switch($action) { case "template": + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_permissions.php'); + echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $opform = new XoopsSimpleForm(_AM_NEWBB_PERM_ACTION, 'actionform', 'admin_permissions.php', "get"); $op_select = new XoopsFormSelect("", 'action'); $op_select->setExtra('onchange="document.forms.actionform.submit()"'); @@ -204,6 +200,7 @@ $ret .= '</td></tr>'; $ret .= '</table></form>'; echo $ret; + xoops_cp_footer(); break; case "template_save": @@ -219,8 +216,11 @@ $perm_template = $newbbperm_handler->getTemplate(); if ($perm_template === null) { redirect_header("admin_permissions.php?action=template", 2, _AM_NEWBB_PERM_TEMPLATE); + exit(); } - + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_permissions.php'); + echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $opform = new XoopsSimpleForm(_AM_NEWBB_PERM_ACTION, 'actionform', 'admin_permissions.php', "get"); $op_select = new XoopsFormSelect("", 'action'); $op_select->setExtra('onchange="document.forms.actionform.submit()"'); @@ -254,6 +254,7 @@ $tray->addElement(new XoopsFormButton('', 'reset', _CANCEL, 'reset')); $fmform->addElement($tray); $fmform->display(); + xoops_cp_footer(); break; case "apply_save": @@ -262,11 +263,14 @@ if ($forum < 1) continue; $newbbperm_handler->applyTemplate($forum, $module_id); } + mod_clearCacheFile("permission","newbb"); redirect_header("admin_permissions.php", 2, _AM_NEWBB_PERM_TEMPLATE_APPLIED); break; default: - + xoops_cp_header(); + echo $indexAdmin->addNavigation('admin_permissions.php'); + echo "<legend style='font-weight: bold; color: #900;'>" . _AM_NEWBB_PERM_ACTION . "</legend>"; $opform = new XoopsSimpleForm(_AM_NEWBB_PERM_ACTION, 'actionform', 'admin_permissions.php', "get"); $op_select = new XoopsFormSelect("", 'action'); $op_select->setExtra('onchange="document.forms.actionform.submit()"'); @@ -333,11 +337,9 @@ // Since we can not control the permission update, a trick is used here $permission_handler =& xoops_getmodulehandler("permission", "newbb"); $permission_handler->createPermData(); - + mod_clearCacheFile("permission","newbb"); + xoops_cp_footer(); break; } -mod_clearCacheFile("forum","newbb"); -mod_clearCacheFile("permission","newbb"); -echo "</fieldset></fieldset>"; -xoops_cp_footer(); + ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/viewforum.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/viewforum.php 2012-08-23 18:20:19 UTC (rev 10093) +++ XoopsModules/newbb/branches/alfred/newbb/viewforum.php 2012-08-23 18:22:48 UTC (rev 10094) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@us...> * @since 4.00 - * @version $Id: viewforum.php 62 2012-08-17 10:15:26Z alfred $ + * @version $Id$ * @package module::newbb */ @@ -21,7 +21,7 @@ /* * Build the page query */ -$query_vars = array("forum", "type", "status", "mode", "sort", "order", "start", "since"); +$query_vars = array("forum", "type", "status", "sort", "order", "start", "since"); $query_array = array(); foreach ($query_vars as $var) { if (!empty($_GET[$var])) $query_array[$var] = "{$var}={$_GET[$var]}"; @@ -44,10 +44,8 @@ $forum_id = intval($_GET['forum']); $type = @intval($_GET['type']); $status = (!empty($_GET['status']) && in_array($_GET['status'], array("active", "pending", "deleted", "digest", "unreplied", "unread")))? $_GET['status'] : ""; -$mode = (!empty($status) && in_array($status, array("active", "pending", "deleted")))? 2 : (!empty($_GET['mode']) ? intval($_GET['mode']) : 0); $forum_handler = xoops_getmodulehandler('forum', 'newbb'); - $forum_obj = $forum_handler->get($forum_id); if (!$forum_obj) { @@ -55,7 +53,7 @@ exit(); } -if (!$forum_handler->getPermission($forum_obj) || !$forum_handler->getPermission($forum_obj,'view')) { +if (!$forum_handler->getPermission($forum_obj)) { redirect_header(XOOPS_URL."/modules/".$xoopsModule->getVar("dirname")."/index.php", 2, _NOPERM); exit(); } @@ -83,11 +81,12 @@ /* Only admin has access to admin mode */ if (!$isadmin) { $status = (!empty($status) && in_array($status, array("active", "pending", "deleted"))) ? "" : $status; - $mode = 0; } -$xoopsTpl->assign('mode', $mode); $xoopsTpl->assign('status', $status); +if ( $isadmin ) { + $xoopsTpl->assign('forum_index_cpanel',array("link" => "admin/index.php", "name" => _MD_ADMINCP)); +} if ($xoopsModuleConfig['wol_enabled']) { $online_handler =& xoops_getmodulehandler('online', 'newbb'); @@ -189,16 +188,16 @@ $xoopsTpl->assign_by_ref('topics', $allTopics); $xoopsTpl->assign('sticky', $sticky); -$xoopsTpl->assign('rating_enable', $xoopsModuleConfig['rating_enabled']); -$xoopsTpl->assign('img_newposts', newbb_displayImage('topic_new',_MD_NEWPOSTS)); -$xoopsTpl->assign('img_hotnewposts', newbb_displayImage('topic_hot_new',_MD_MORETHAN)); -$xoopsTpl->assign('img_folder', newbb_displayImage('topic',_MD_NONEWPOSTS)); -$xoopsTpl->assign('img_hotfolder', newbb_displayImage('topic_hot',_MD_MORETHAN2)); -$xoopsTpl->assign('img_locked', newbb_displayImage('topic_locked',_MD_TOPICLOCKED)); +$xoopsTpl->assign('rating_enable', $xoopsModuleConfig['rating_enabled']); +$xoopsTpl->assign('img_newposts', newbb_displayImage('topic_new',_MD_NEWPOSTS)); +$xoopsTpl->assign('img_hotnewposts',newbb_displayImage('topic_hot_new',_MD_MORETHAN)); +$xoopsTpl->assign('img_folder', newbb_displayImage('topic',_MD_NONEWPOSTS)); +$xoopsTpl->assign('img_hotfolder', newbb_displayImage('topic_hot',_MD_MORETHAN2)); +$xoopsTpl->assign('img_locked', newbb_displayImage('topic_locked',_MD_TOPICLOCKED)); -$xoopsTpl->assign('img_sticky', newbb_displayImage('topic_sticky',_MD_TOPICSTICKY)); -$xoopsTpl->assign('img_digest', newbb_displayImage('topic_digest',_MD_TOPICDIGEST)); -$xoopsTpl->assign('img_poll', newbb_displayImage('poll',_MD_TOPICHASPOLL)); +$xoopsTpl->assign('img_sticky', newbb_displayImage('topic_sticky',_MD_TOPICSTICKY)); +$xoopsTpl->assign('img_digest', newbb_displayImage('topic_digest',_MD_TOPICDIGEST)); +$xoopsTpl->assign('img_poll', newbb_displayImage('poll',_MD_TOPICHASPOLL)); $xoopsTpl->assign('mark_read', XOOPS_URL."/modules/newbb/viewforum.php?mark=1&{$page_query}"); $xoopsTpl->assign('mark_unread', XOOPS_URL."/modules/newbb/viewforum.php?mark=2&{$page_query}"); @@ -266,7 +265,6 @@ $page_query_nav = implode("&", array_values($query_nav)); unset($query_nav); $nav = new XoopsPageNav($all_topics, $xoopsModuleConfig['topics_per_page'], $start, "start", $page_query_nav); - //if (!empty($xoopsModuleConfig['do_rewrite'])) $nav->url = XOOPS_URL . $nav->url; if ($xoopsModuleConfig['pagenav_display'] == 'select') $navi = $nav->renderSelect(); elseif ($xoopsModuleConfig['pagenav_display'] == 'bild') @@ -284,8 +282,6 @@ mod_loadFunctions("forum", "newbb"); $xoopsTpl->assign('forum_jumpbox', newbb_make_jumpbox($forum_id)); } -$xoopsTpl->assign('menumode',$menumode); -$xoopsTpl->assign('menumode_other',$menumode_other); if ($xoopsModuleConfig['show_permissiontable']) { $perm_handler = xoops_getmodulehandler('permission', 'newbb'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dh...@us...> - 2012-08-23 18:20:28
|
Revision: 10093 http://xoops.svn.sourceforge.net/xoops/?rev=10093&view=rev Author: dhcst Date: 2012-08-23 18:20:19 +0000 (Thu, 23 Aug 2012) Log Message: ----------- Updates Alfred/irmtfan Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/admin/about.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_blocks.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_cat_manager.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_digest.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_manager.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_prune.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_reorder.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_header.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_report.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_synchronization.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_type_manager.php XoopsModules/newbb/branches/alfred/newbb/admin/admin_votedata.php XoopsModules/newbb/branches/alfred/newbb/admin/index.php XoopsModules/newbb/branches/alfred/newbb/admin/menu.php XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block_tag.php XoopsModules/newbb/branches/alfred/newbb/class/forum.php XoopsModules/newbb/branches/alfred/newbb/class/newbbtree.php XoopsModules/newbb/branches/alfred/newbb/class/permission.php XoopsModules/newbb/branches/alfred/newbb/class/post.php XoopsModules/newbb/branches/alfred/newbb/class/rate.php XoopsModules/newbb/branches/alfred/newbb/class/read.php XoopsModules/newbb/branches/alfred/newbb/class/readforum.php XoopsModules/newbb/branches/alfred/newbb/class/readtopic.php XoopsModules/newbb/branches/alfred/newbb/class/tree.php XoopsModules/newbb/branches/alfred/newbb/class/user.php XoopsModules/newbb/branches/alfred/newbb/class/xoopsformloader.php XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt XoopsModules/newbb/branches/alfred/newbb/header.php XoopsModules/newbb/branches/alfred/newbb/include/form.forum.php XoopsModules/newbb/branches/alfred/newbb/include/form.post.php XoopsModules/newbb/branches/alfred/newbb/include/functions.image.php XoopsModules/newbb/branches/alfred/newbb/include/functions.ini.php XoopsModules/newbb/branches/alfred/newbb/include/functions.user.php XoopsModules/newbb/branches/alfred/newbb/include/module.php XoopsModules/newbb/branches/alfred/newbb/include/module.v100.php XoopsModules/newbb/branches/alfred/newbb/include/module.v220.php XoopsModules/newbb/branches/alfred/newbb/include/notification.inc.php XoopsModules/newbb/branches/alfred/newbb/include/plugin.php XoopsModules/newbb/branches/alfred/newbb/include/search.inc.php XoopsModules/newbb/branches/alfred/newbb/include/sitemap.plugin.php XoopsModules/newbb/branches/alfred/newbb/index.php XoopsModules/newbb/branches/alfred/newbb/language/english/admin.php XoopsModules/newbb/branches/alfred/newbb/language/english/blocks.php XoopsModules/newbb/branches/alfred/newbb/language/english/main.php XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php XoopsModules/newbb/branches/alfred/newbb/language/german/admin.php XoopsModules/newbb/branches/alfred/newbb/language/german/blocks.php XoopsModules/newbb/branches/alfred/newbb/language/german/main.php XoopsModules/newbb/branches/alfred/newbb/language/german/modinfo.php XoopsModules/newbb/branches/alfred/newbb/makepdf.php XoopsModules/newbb/branches/alfred/newbb/notification_update.php XoopsModules/newbb/branches/alfred/newbb/polls.php XoopsModules/newbb/branches/alfred/newbb/post.php XoopsModules/newbb/branches/alfred/newbb/print.php XoopsModules/newbb/branches/alfred/newbb/ratethread.php XoopsModules/newbb/branches/alfred/newbb/reply.php XoopsModules/newbb/branches/alfred/newbb/report.php XoopsModules/newbb/branches/alfred/newbb/rss.php XoopsModules/newbb/branches/alfred/newbb/search.php XoopsModules/newbb/branches/alfred/newbb/seo.php XoopsModules/newbb/branches/alfred/newbb/sql/mysql.400.sql XoopsModules/newbb/branches/alfred/newbb/templates/newbb_index.html XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewforum_subforum.html XoopsModules/newbb/branches/alfred/newbb/templates/style.css XoopsModules/newbb/branches/alfred/newbb/topicmanager.php XoopsModules/newbb/branches/alfred/newbb/viewforum.php XoopsModules/newbb/branches/alfred/newbb/viewpost.php XoopsModules/newbb/branches/alfred/newbb/viewtopic.php XoopsModules/newbb/branches/alfred/newbb/votepolls.php XoopsModules/newbb/branches/alfred/newbb/xoops_version.php Added Paths: ----------- XoopsModules/newbb/branches/alfred/newbb/images/admin_delete.png Modified: XoopsModules/newbb/branches/alfred/newbb/admin/about.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/about.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/about.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: about.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: about.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_blocks.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_blocks.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_blocks.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_blocks.php,v 1.1.1.1 2005/10/19 15:58:11 phppp Exp $ +// $Id: admin_blocks.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_cat_manager.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_cat_manager.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_cat_manager.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_cat_manager.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_cat_manager.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_digest.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_digest.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_digest.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_digest.php,v 1.1.1.1 2005/10/19 15:58:11 phppp Exp $ +// $Id: admin_digest.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_manager.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_manager.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_manager.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_forum_manager.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_forum_manager.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_prune.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_prune.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_prune.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_forum_prune.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_forum_prune.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_reorder.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_reorder.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_forum_reorder.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_forum_reorder.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_forum_reorder.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_header.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_header.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_header.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_header.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_header.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_permissions.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_permissions.php,v 1.1.1.1 2005/10/19 15:58:12 phppp Exp $ +// $Id: admin_permissions.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_report.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_report.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_report.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_report.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: admin_report.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_synchronization.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_synchronization.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_synchronization.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> * @since 4.00 - * @version $Id$ + * @version $Id: admin_synchronization.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb */ Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_type_manager.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_type_manager.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_type_manager.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -7,7 +7,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> * @since 4.00 - * @version $Id$ + * @version $Id: admin_type_manager.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb */ Modified: XoopsModules/newbb/branches/alfred/newbb/admin/admin_votedata.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/admin_votedata.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/admin_votedata.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin_votedata.php,v 1.1.1.1 2005/10/19 15:58:12 phppp Exp $ +// $Id: admin_votedata.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/admin/index.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/index.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/index.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: index.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -151,6 +151,17 @@ $xoopspoll = &$module_handler->getByDirname('umfrage'); if (is_object($xoopspoll)) $isOK = $xoopspoll->getVar('isactive'); } + + $memlimit_iniphp = return_bytes( @ini_get('memory_limit') ); + $postmaxsize_iniphp = return_bytes( @ini_get('post_max_size') ); + if ( $postmaxsize_iniphp < $memlimit_iniphp ) { + $uploadlimit = sprintf(_AM_NEWBB_MEMLIMITOK,return_bytes( $postmaxsize_iniphp, true ) ); + $uploadfarbe = 'Green'; + } else { + $uploadlimit = _AM_NEWBB_MEMLIMITTOLARGE; + $uploadfarbe = 'Red'; + } + if ($newXoopsModuleGui) { $indexAdmin->addInfoBox(_AM_NEWBB_PREFERENCES) ; @@ -159,6 +170,7 @@ $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" .'NetPBM'.': %s'."</infotext>", array_key_exists('netpbm',$imageLibs) ? _AM_NEWBB_AUTODETECTED.$imageLibs['netpbm'] :_AM_NEWBB_NOTAVAILABLE, 'Green') ; $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" ._AM_NEWBB_GDLIB1.' %s'. "</infotext>", array_key_exists('gd1',$imageLibs) ? _AM_NEWBB_AUTODETECTED.$imageLibs['gd1'] :_AM_NEWBB_NOTAVAILABLE, 'Red') ; $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" ._AM_NEWBB_GDLIB2.' %s'. "</infotext>", array_key_exists('gd2',$imageLibs) ? _AM_NEWBB_AUTODETECTED.$imageLibs['gd2'] :_AM_NEWBB_NOTAVAILABLE, 'Green' ) ; + $indexAdmin->addInfoBoxLine(_AM_NEWBB_PREFERENCES, "<infotext>" ._AM_NEWBB_UPLOAD.' %s'. "</infotext>", $uploadlimit ,$uploadfarbe ) ; $indexAdmin->addInfoBox(_AM_NEWBB_BOARDSUMMARY) ; $indexAdmin->addInfoBoxLine(_AM_NEWBB_BOARDSUMMARY, "<infolabel>" ._AM_NEWBB_TOTALTOPICS.': %s' . "</infolabel>", get_total_topics(), 'Green') ; @@ -358,4 +370,21 @@ } mod_clearCacheFile("config","newbb"); mod_clearCacheFile("permission","newbb"); + +function return_bytes ($size_str, $b=false) +{ + if ($b == false) { + switch (substr ($size_str, -1)) + { + case 'M': case 'm': return (int)$size_str * 1048576; + case 'K': case 'k': return (int)$size_str * 1024; + case 'G': case 'g': return (int)$size_str * 1073741824; + default: return $size_str; + } + } else { + $base = log($size_str) / log(1024); + $suffix = array("", "KB", "MB", "GB", "TB"); + return pow(1024, $base - floor($base)) . ' ' . $suffix[floor($base)]; + } +} ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/admin/menu.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/admin/menu.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/admin/menu.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: menu.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: menu.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: newbb_block.php,v 1.1.1.2 2005/10/19 16:23:31 phppp Exp $ +// $Id: newbb_block.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -54,7 +54,7 @@ global $xoopsConfig; global $access_forums; global $xoopsLogger; - + mod_loadFunctions("time", "newbb"); $myts =& MyTextSanitizer::getInstance(); @@ -95,7 +95,7 @@ if (!empty($newbbConfig['do_rewrite'])) { include_once XOOPS_ROOT_PATH."/modules/newbb/seo_url.php"; } else { - if (!defined('REAL_MODULE_NAME')) define('REAL_MODULE_NAME', 'modules/newbb'); + if (!defined('SEO_MODULE_NAME')) define('SEO_MODULE_NAME', 'modules/newbb'); } $query = 'SELECT'. @@ -166,8 +166,8 @@ } $topic['topic_poster'] = $topic_poster; $topic['topic_page_jump'] = $topic_page_jump; - $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; - $seo_forum_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; + $seo_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; + $seo_forum_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; if (!empty($newbbConfig['do_rewrite'])) { $topic['seo_url'] = seo_urls($seo_url); $topic['seo_forum_url'] = seo_urls($seo_forum_url); @@ -179,11 +179,11 @@ $block['topics'][] = $topic; unset($topic); } - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; $block['seo_top_allforums'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/list.topic.php">'._MB_NEWBB_ALLTOPICS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/list.topic.php">'._MB_NEWBB_ALLTOPICS.'</a>'; $block['seo_top_alltopics'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; $block['seo_top_allposts'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; $block['indexNav'] = intval($options[4]); @@ -203,7 +203,6 @@ { global $xoopsConfig; global $access_forums; - mod_loadFunctions("time", "newbb"); $myts = MyTextSanitizer::getInstance(); $block = array(); @@ -243,7 +242,7 @@ if (!empty($newbbConfig['do_rewrite'])) { include_once XOOPS_ROOT_PATH."/modules/newbb/seo_url.php"; } else { - if (!defined('REAL_MODULE_NAME')) define('REAL_MODULE_NAME', 'modules/newbb'); + if (!defined('SEO_MODULE_NAME')) define('SEO_MODULE_NAME', 'modules/newbb'); } if (!isset($access_forums)) { @@ -322,8 +321,8 @@ } $topic['topic_poster'] = $topic_poster; $topic['topic_page_jump'] = $topic_page_jump; - $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?topic_id='.$topic['id'].'">'.$topic['title'].'</a>'; - $seo_forum_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; + $seo_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewtopic.php?topic_id='.$topic['id'].'">'.$topic['title'].'</a>'; + $seo_forum_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; if (!empty($newbbConfig['do_rewrite'])) { $topic['seo_url'] = seo_urls($seo_url); @@ -336,9 +335,9 @@ $block['topics'][] = $topic; unset($topic); } - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; $block['seo_top_allforums'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; $block['seo_top_allposts'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; $block['indexNav'] = intval($options[4]); @@ -394,7 +393,7 @@ if (!empty($newbbConfig['do_rewrite'])) { include_once XOOPS_ROOT_PATH."/modules/newbb/seo_url.php"; } else { - if (!defined('REAL_MODULE_NAME')) define('REAL_MODULE_NAME', 'modules/newbb'); + if (!defined('SEO_MODULE_NAME')) define('SEO_MODULE_NAME', 'modules/newbb'); } if (!empty($options[6])) { @@ -475,8 +474,8 @@ $topic['post_text'] = $post_text; } - $seo_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; - $seo_forum_url = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; + $seo_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewtopic.php?post_id='.$topic['post_id'].'">'.$topic['title'].'</a>'; + $seo_forum_url = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>'; if (!empty($newbbConfig['do_rewrite'])) { $topic['seo_url'] = seo_urls($seo_url); @@ -490,9 +489,9 @@ $block['topics'][] = $topic; unset($topic); } - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/">'._MB_NEWBB_VSTFRMS.'</a>'; $block['seo_top_allforums'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; - $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.REAL_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; + $seo_top_allforums = '<a href="'.XOOPS_URL.'/'.SEO_MODULE_NAME.'/viewpost.php">'._MB_NEWBB_ALLPOSTS.'</a>'; $block['seo_top_allposts'] = (!empty($newbbConfig['do_rewrite'])) ? seo_urls($seo_top_allforums) : $seo_top_allforums; $block['indexNav'] = intval($options[4]); Modified: XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block_tag.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block_tag.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/blocks/newbb_block_tag.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...> * @since 4.00 - * @version $Id$ + * @version $Id: newbb_block_tag.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb/tag */ Modified: XoopsModules/newbb/branches/alfred/newbb/class/forum.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/forum.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/forum.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -14,7 +14,7 @@ * @package newbb * @since 4.0 * @author Taiwen Jiang <ph...@us...> - * @version $Id: forum.php 2169 2008-09-23 13:37:10Z phppp $ + * @version $Id: forum.php 62 2012-08-17 10:15:26Z alfred $ */ if (!defined("XOOPS_ROOT_PATH")) { @@ -804,6 +804,8 @@ } $_forum_data['forum_lastpost_subject'] = $subject; } + $icon_handler = newbb_getIconHandler(); + $_forum_data['forum_icon_path']= $icon_handler->getPath("icon"); $_forum_data['forum_lastpost_icon'] = 'lastposticon.png'; endif; Modified: XoopsModules/newbb/branches/alfred/newbb/class/newbbtree.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/newbbtree.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/newbbtree.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: newbbtree.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: newbbtree.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/class/permission.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/permission.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/permission.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -91,7 +91,8 @@ if ( !$groups ) return false; if ( !$allowed_groups = $this->getGroups("{$type}_{$gperm_name}", $id) ) return false; - return count(array_intersect($allowed_groups, $groups)); + if ( count(array_intersect($allowed_groups, $groups)) > 0) return true; + return false; } function &getCategories($perm_name = "access") Modified: XoopsModules/newbb/branches/alfred/newbb/class/post.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/post.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/post.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: post.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: post.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -243,7 +243,11 @@ $edit_user = $myts->stripSlashesGPC($postedit['edit_user']); $edit_msg = (!empty($postedit['edit_msg'])) ? $myts->stripSlashesGPC($postedit['edit_msg']) : ''; if ($edit_msg != "") { - $post_edit = _MD_EDITEDBY . " " . $edit_user . " " . _MD_ON . " " . formatTimestamp(intval($edit_time)) . " "._MD_EDITEDMSG . " " .$edit_msg."<br />"; + if ( empty($xoopsModuleConfig['do_latestedit']) ) { + $post_edit = _MD_EDITEDBY . " " . $edit_user . " " . _MD_ON . " " . formatTimestamp(intval($edit_time)) . " "._MD_EDITEDMSG . " " .$edit_msg."<br />"; + } else { + $post_edit .= _MD_EDITEDBY . " " . $edit_user . " " . _MD_ON . " " . formatTimestamp(intval($edit_time)) . " "._MD_EDITEDMSG . " " .$edit_msg."<br />"; + } } } } Modified: XoopsModules/newbb/branches/alfred/newbb/class/rate.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/rate.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/rate.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: report.php,v 1.3 2005/10/19 17:20:32 phppp Exp $ +// $Id: rate.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/class/read.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/read.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/read.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: moderate.php,v 1.1.1.1 2005/10/19 16:23:33 phppp Exp $ +// $Id: read.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/class/readforum.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/readforum.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/readforum.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: moderate.php,v 1.1.1.1 2005/10/19 16:23:33 phppp Exp $ +// $Id: readforum.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/class/readtopic.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/readtopic.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/readtopic.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: moderate.php,v 1.1.1.1 2005/10/19 16:23:33 phppp Exp $ +// $Id: readtopic.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/class/tree.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/tree.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/tree.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: tree.php,v 1.1.1.1 2005/11/10 19:51:09 phppp Exp $ +// $Id: tree.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // 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 // Modified: XoopsModules/newbb/branches/alfred/newbb/class/user.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/user.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -172,6 +172,14 @@ $userinfo["link"] = "<a href=\"".XOOPS_URL . "/userinfo.php?uid=" . $user->getVar("uid") ."\">".$userinfo["name"]."</a>"; $userinfo["avatar"] = $user->getVar('user_avatar'); + + // START hacked by irmtfan - easier rank getting + $userrank = $user->rank(); + if (isset($userrank['image']) && $userrank['image']) { + $userinfo["rank_image"] = $userrank['image']; + $userinfo["rank_title"] = $userrank['title']; + } + // END hacked by irmtfan - easier rank getting $userinfo["from"] = $user->getVar('user_from'); @@ -272,35 +280,10 @@ function loadUserRank() { - GLOBAL $xoopsDB; - if (empty($this->users)) return; - $myts =& MyTextSanitizer::getInstance(); - - $sql = 'SELECT * FROM ' . $xoopsDB->prefix('ranks'); - $result = $xoopsDB->query($sql); - while ($myrow = $xoopsDB->fetchArray($result)) { - $ranks[$myrow['rank_id']] = $myrow; - $ranks[$myrow['rank_id']]["rank_title"] = $myts->htmlspecialchars($ranks[$myrow['rank_id']]["rank_title"]); - if (!empty($ranks[$myrow['rank_id']]['rank_image'])) { - $ranks[$myrow['rank_id']]['rank_image'] = "<img src='" . XOOPS_UPLOAD_URL . "/ranks/" . htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />"; - } - } - - foreach (array_keys($this->userlist) as $uid) { - if ($rank = $this->users[$uid]->getVar("rank")) { - $this->userlist[$uid]["rank"]["title"] = $ranks[$rank]["rank_title"]; - $this->userlist[$uid]["rank"]["image"] = $ranks[$rank]["rank_image"]; - continue; - } - foreach ($ranks as $id => $rank) { - if ($rank["rank_min"] <= $this->userlist[$uid]["posts"] && $rank["rank_max"] >= $this->userlist[$uid]["posts"]) { - $this->userlist[$uid]["rank"]["title"] = $rank["rank_title"]; - $this->userlist[$uid]["rank"]["image"] = $rank["rank_image"]; - break; - } - } - } + $GLOBALS['xoopsLogger']->addDeprecated("Function 'USER::loadUserRank' in /newbb/class/user.php is deprecated!"); + + return true; } function getUsers() @@ -308,7 +291,7 @@ $this->loadUserInfo(); $this->loadUserOnline(); $this->loadUserGroups(); - $this->loadUserRank(); + //$this->loadUserRank(); $this->loadUserDigest(); return $this->userlist; Modified: XoopsModules/newbb/branches/alfred/newbb/class/xoopsformloader.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/class/xoopsformloader.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/class/xoopsformloader.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: xoopsformloader.php,v 1.8.22.1.2.4 2005/07/14 16:13:30 phppp Exp $ +// $Id: xoopsformloader.php 62 2012-08-17 10:15:26Z alfred $ if (!defined('XOOPS_ROOT_PATH')) { exit(); } Modified: XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/docs/changelog.txt 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,6 +1,6 @@ newBB Changelog 4.3 -07/14/2012 +08/17/2012 =========================================== 1 Fix Cache Config for SEO 2 Fix Typos in templates @@ -19,6 +19,13 @@ 15 Fix Added "Create" links for missing directories (mamba) 16 Fix Link to Blank.gif 17 Fix Error Upload File too large +18 New Config Quickreply-Editor +19 Fix Create Thumbnails +20 Fix userrank (irmtfan) +21 Fix permission approved (irmtfan) +22 Fix vulnerabilities in seo.php +23 Add enable/disable all editmessage in posts +24 Fix hardcoded Path for icon (irmtfan) newBB Changelog 4.2 Modified: XoopsModules/newbb/branches/alfred/newbb/header.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/header.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/header.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@us...> * @since 4.00 - * @version $Id$ + * @version $Id: header.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb */ include_once '../../mainfile.php'; @@ -75,11 +75,30 @@ if (!empty($xoopsModuleConfig['pngforie_enabled'])) { $newbb_module_header .= '<style type="text/css">img {behavior:url("include/pngbehavior.htc");}</style>'; } + +$dirname = $xoopsModule->getVar('dirname'); +$theme_path = $xoopsConfig['theme_set'] . "/modules/" . $dirname; +$lang_path = "images/language/" . $xoopsConfig['language']; +$default_path = "modules/" . $dirname . "/templates"; + +//Themepfad +if (file_exists( $GLOBALS['xoops']->path( $theme_path . '/style.css'))) { + $rel_path = XOOPS_URL . $theme_path . '/style.css'; +//language path +} elseif (file_exists( $GLOBALS['xoops']->path( $lang_path . '/style.css'))) { + $rel_path = XOOPS_URL . $lang_path . '/style.css'; +//default +} else { + $rel_path = XOOPS_URL . $default_path . '/style.css'; +} + +$newbb_module_header .= '<link rel="stylesheet" type="text/css" href="' . $rel_path . '" />'; + $newbb_module_header .= ' - <link rel="stylesheet" type="text/css" href="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'/templates/style.css" /> <script type="text/javascript">var toggle_cookie="'.$forumCookie['prefix'].'G'.'";</script> <script src="'.XOOPS_URL.'/modules/'.$xoopsModule->getVar("dirname").'/include/js/newbb_toggle.js" type="text/javascript"></script> '; + if ($menumode == 2) { $newbb_module_header .= ' Added: XoopsModules/newbb/branches/alfred/newbb/images/admin_delete.png =================================================================== (Binary files differ) Property changes on: XoopsModules/newbb/branches/alfred/newbb/images/admin_delete.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/newbb/branches/alfred/newbb/include/form.forum.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/form.forum.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/form.forum.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -14,7 +14,7 @@ * @package newbb * @since 4.0 * @author Taiwen Jiang <ph...@us...> - * @version $Id: form.forum.php 2170 2008-09-23 13:40:23Z phppp $ + * @version $Id: form.forum.php 62 2012-08-17 10:15:26Z alfred $ */ if (!defined("XOOPS_ROOT_PATH")) exit(); Modified: XoopsModules/newbb/branches/alfred/newbb/include/form.post.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/form.post.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/form.post.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -14,7 +14,7 @@ * @package newbb * @since 4.0 * @author Taiwen Jiang <ph...@us...> - * @version $Id: form.post.php 2170 2008-09-23 13:40:23Z phppp $ + * @version $Id: form.post.php 62 2012-08-17 10:15:26Z alfred $ */ if (!defined('XOOPS_ROOT_PATH')) { @@ -252,6 +252,7 @@ $extensions = trim(str_replace('|',' ',$forum_obj->getVar('attach_ext'))); $extensions = (empty($extensions) || $extensions == "*") ? _ALL : $extensions; $upload_tray->addElement(new XoopsFormLabel(_MD_ALLOWED_EXTENSIONS . ":", $extensions)); + $upload_tray->addElement(new XoopsFormLabel("<br />".sprintf(_MD_NEWBB_MAXPIC,$xoopsModuleConfig['max_img_height'],$xoopsModuleConfig['max_img_width']))); $forum_form->addElement($upload_tray); } Modified: XoopsModules/newbb/branches/alfred/newbb/include/functions.image.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/functions.image.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/functions.image.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: functions.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +// $Id: functions.image.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -48,36 +48,15 @@ $imginfo = @getimagesize($image); $img_info = ( count($imginfo)>0 ) ? $imginfo[0]."X".$imginfo[1].' px':""; -/* - if ($xoopsModuleConfig['max_img_width'] > 0) { - if ( - ( $xoopsModuleConfig['max_image_width'] > 0 && $imginfo[0]> $xoopsModuleConfig['max_image_width'] ) - || - ( $xoopsModuleConfig['max_image_height'] > 0 && $imginfo[1]> $xoopsModuleConfig['max_image_height']) - ) { - if ($imginfo[0]>$xoopsModuleConfig['max_img_width']) { - $pseudo_width = $xoopsModuleConfig['max_img_width']; - $pseudo_height = $xoopsModuleConfig['max_img_width']*($imginfo[1]/$imginfo[0]); - $pseudo_size = "width='".$pseudo_width."px' height='".$pseudo_height."px'"; - } - if ($xoopsModuleConfig['max_image_height']>0 && $pseudo_height>$xoopsModuleConfig['max_image_height']) { - $pseudo_height = $xoopsModuleConfig['max_image_height']; - $pseudo_width = $xoopsModuleConfig['max_image_height']*($imginfo[0]/$imginfo[1]); - $pseudo_size = "width='".$pseudo_width."px' height='".$pseudo_height."px'"; - } - } else - if (!file_exists($thumb_path.'/'.$source) && $imginfo[0]>$xoopsModuleConfig['max_img_width']) { - newbb_createThumbnail($source, $xoopsModuleConfig['max_img_width']); - } - } -*/ if ( $xoopsModuleConfig['max_image_width'] > 0 && $xoopsModuleConfig['max_image_height'] > 0 ) { if ( $imginfo[0] > $xoopsModuleConfig['max_image_width'] || $imginfo[1] > $xoopsModuleConfig['max_image_height']) { - if (!file_exists($thumb_path.'/'.$source) && $imginfo[0]>$xoopsModuleConfig['max_img_width']) { + //if (!file_exists($thumb_path.'/'.$source) && $imginfo[0] > $xoopsModuleConfig['max_img_width']) { + if (!file_exists($thumb_path.'/'.$source) ) { newbb_createThumbnail($source, $xoopsModuleConfig['max_image_width']); } } + if ($imginfo[0] > $xoopsModuleConfig['max_image_width'] || $imginfo[1] > $xoopsModuleConfig['max_image_height']) { $pseudo_width = $xoopsModuleConfig['max_image_width']; $pseudo_height = $xoopsModuleConfig['max_image_width']*($imginfo[1]/$imginfo[0]); @@ -91,11 +70,11 @@ } if (file_exists($thumb)) { - $attachmentImage = '<a href="'.$image_url.'" title="'.$source.' '.$img_info.'" target="newbb_image">'; + $attachmentImage = '<a href="'.$image_url.'" title="'.$source.' '.$img_info.'" target="_blank">'; $attachmentImage .= '<img src="'.$thumb_url.'" alt="'.$source.' '.$img_info.'" />'; $attachmentImage .= '</a>'; } elseif (!empty($pseudo_size)) { - $attachmentImage = '<a href="'.$image_url.'" title="'.$source.' '.$img_info.'" target="newbb_image">'; + $attachmentImage = '<a href="'.$image_url.'" title="'.$source.' '.$img_info.'" target="_blank">'; $attachmentImage .= '<img src="'.$image_url.'" '.$pseudo_size.' alt="'.$source.' '.$img_info.'" />'; $attachmentImage .= '</a>'; } elseif (file_exists($image)) { @@ -125,6 +104,7 @@ } $imginfo = @getimagesize($src_file); + if ( NULL == $imginfo ) { return false; } Modified: XoopsModules/newbb/branches/alfred/newbb/include/functions.ini.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/functions.ini.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/functions.ini.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: functions.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +// $Id: functions.ini.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/include/functions.user.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/functions.user.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/functions.user.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -14,7 +14,7 @@ * @package newbb * @since 4.0 * @author Taiwen Jiang <ph...@us...> - * @version $Id: functions.user.php 2284 2008-10-12 03:45:46Z phppp $ + * @version $Id: functions.user.php 62 2012-08-17 10:15:26Z alfred $ */ if (!defined('XOOPS_ROOT_PATH')) { exit(); } Modified: XoopsModules/newbb/branches/alfred/newbb/include/module.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/module.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/module.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: module.php,v 1.1.1.2 2005/10/19 16:23:50 phppp Exp $ +// $Id: module.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/include/module.v100.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/module.v100.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/module.v100.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: module.php,v 1.1.1.2 2005/10/19 16:23:50 phppp Exp $ +// $Id: module.v100.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/include/module.v220.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/module.v220.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/module.v220.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: module.php,v 1.1.1.2 2005/10/19 16:23:50 phppp Exp $ +// $Id: module.v220.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/include/notification.inc.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/notification.inc.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/notification.inc.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: notification.inc.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +// $Id: notification.inc.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/include/plugin.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/plugin.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/plugin.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -80,5 +80,9 @@ //2 => _MD_MENU_HOVER // for "mouse hover to expand" ); +// view latest edit +// 1 - all / 0-latest +$customConfig["do_latestedit"] = 1; + return $customConfig; ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/include/search.inc.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/search.inc.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/search.inc.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: search.inc.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +// $Id: search.inc.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/include/sitemap.plugin.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/include/sitemap.plugin.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/include/sitemap.plugin.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: newbb.php,v 1.1 2005/04/07 09:23:42 gij Exp $ +// $Id: sitemap.plugin.php 62 2012-08-17 10:15:26Z alfred $ // FILE :: newbb.php // AUTHOR :: Ryuji AMANO <in...@ry...> // WEB :: Ryu's Planning <http://ryus.biz/> Modified: XoopsModules/newbb/branches/alfred/newbb/index.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/index.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/index.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -6,7 +6,7 @@ * @license http://www.fsf.org/copyleft/gpl.html GNU public license * @author Taiwen Jiang (phppp or D.J.) <ph...@us...> * @since 4.00 - * @version $Id$ + * @version $Id: index.php 62 2012-08-17 10:15:26Z alfred $ * @package module::newbb */ Modified: XoopsModules/newbb/branches/alfred/newbb/language/english/admin.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/english/admin.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/english/admin.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +// $Id: admin.php 62 2012-08-17 10:15:26Z alfred $ if(defined('NEWBB_ADMIN_DEFINED')) return; else define('NEWBB_ADMIN_DEFINED',true); @@ -294,4 +294,9 @@ define("_AM_NEWBB_GROUPMOD_ALLFORUMS","All forums"); define("_AM_NEWBB_GROUPMOD_ADDMOD","Moderators have been successfully registered."); define("_AM_NEWBB_GROUPMOD_ERRMOD","You have an Error!"); + +// added in V 4.3 +define('_AM_NEWBB_UPLOAD','max. Upload each file:'); +define('_AM_NEWBB_MEMLIMITTOLARGE','Attention! Value \'memory_limit\' to PHP.INI less than \'post_max_size\''); +define('_AM_NEWBB_MEMLIMITOK','Files can be uploaded with a maximum of %s.'); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/language/english/blocks.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/english/blocks.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/english/blocks.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: blocks.php,v 1.3 2005/10/19 17:20:33 phppp Exp $ +// $Id: blocks.php 62 2012-08-17 10:15:26Z alfred $ // Blocks if(defined('NEWBB_BLOCKS_DEFINED')) return; else define('NEWBB_BLOCKS_DEFINED',true); Modified: XoopsModules/newbb/branches/alfred/newbb/language/english/main.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/english/main.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/english/main.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: main.php 17 2007-11-18 14:22:36Z LupusC $ +// $Id: main.php 62 2012-08-17 10:15:26Z alfred $ if(defined('MAIN_DEFINED')) return; define('MAIN_DEFINED',true); @@ -483,4 +483,6 @@ define('_MD_NEWBB_MAXKB','File is too big (max %s Kb possible).'); define('_MD_NEWBB_UPLOAD_ERRNODEF','undefined Error'); define('_MD_NEWBB_MAXUPLOADFILEINI','The uploaded file exceeds the upload_max_filesize directive in php.ini.'); +define('_MD_NEWBB_MAXPIC','Images at the max. Size %s X %s pixels.'); +define('_MD_NEWBB_SEARCHDISABLED','The search is disabled and can not be used.'); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/english/modinfo.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: modinfo.php,v 2.3 2012/02/08 16:20:00 dhcst Exp $ +// $Id: modinfo.php 62 2012-08-17 10:15:26Z alfred $ // Thanks Tom (http://www.wf-projects.com), for correcting the Engligh language package if (defined('NEWBB_MODINFO_DEFINED')) return; Modified: XoopsModules/newbb/branches/alfred/newbb/language/german/admin.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/german/admin.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/german/admin.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: admin.php,v 2.3 2005/11/01 12:25:54 phppp Exp $ +// $Id: admin.php 62 2012-08-17 10:15:26Z alfred $ if(defined('NEWBB_ADMIN_DEFINED')) return; else define('NEWBB_ADMIN_DEFINED',true); @@ -294,4 +294,9 @@ define("_AM_NEWBB_GROUPMOD_ALLFORUMS","alle Foren"); define("_AM_NEWBB_GROUPMOD_ADDMOD","Moderatoren wurden erfolgreich eingetragen."); define("_AM_NEWBB_GROUPMOD_ERRMOD","Fehler aufgetreten!"); + +// added in V 4.3 +define('_AM_NEWBB_UPLOAD','max. Upload je Datei:'); +define('_AM_NEWBB_MEMLIMITTOLARGE','Achtung! Wert \'memory_limit\' in PHP.INI kleiner als \'post_max_size\''); +define('_AM_NEWBB_MEMLIMITOK','Es können Dateien mit max %s hochgeladen werden.'); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/language/german/blocks.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/german/blocks.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/german/blocks.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: blocks.php,v 2.3 2005/11/01 12:25:54 phppp Exp $ +// $Id: blocks.php 62 2012-08-17 10:15:26Z alfred $ // Blocks if(defined('NEWBB_BLOCKS_DEFINED')) return; else define('NEWBB_BLOCKS_DEFINED',true); Modified: XoopsModules/newbb/branches/alfred/newbb/language/german/main.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/german/main.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/german/main.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: main.php 17 2007-11-18 14:22:36Z LupusC $ +// $Id: main.php 62 2012-08-17 10:15:26Z alfred $ if(defined('MAIN_DEFINED')) return; define('MAIN_DEFINED',true); @@ -488,4 +488,6 @@ define('_MD_NEWBB_MAXKB','Datei ist zu groß (max. %s Kb möglich).'); define('_MD_NEWBB_UPLOAD_ERRNODEF','unbekannter Fehler'); define('_MD_NEWBB_MAXUPLOADFILEINI','Die hochgeladene Datei überschreitet die in der Anweisung upload_max_filesize in php.ini festgelegte Größe.'); +define('_MD_NEWBB_MAXPIC','bei Bildern beträgt die max. Größe %s X %s Pixel.'); +define('_MD_NEWBB_SEARCHDISABLED','Die Suche ist deaktiviert und kann nicht genutzt werden.'); ?> \ No newline at end of file Modified: XoopsModules/newbb/branches/alfred/newbb/language/german/modinfo.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/language/german/modinfo.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/language/german/modinfo.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: modinfo.php,v 2.3 2012/02/08 16:20:00 dhcst Exp $ +// $Id: modinfo.php 62 2012-08-17 10:15:26Z alfred $ // Thanks Tom (http://www.wf-projects.com), for correcting the Engligh language package if (defined('NEWBB_MODINFO_DEFINED')) return; @@ -16,7 +16,7 @@ // Names of blocks for this module (Not all module has blocks) define("_MI_NEWBB_BLOCK_TOPIC_POST","Aktuelle Beiträge im Forum"); define("_MI_NEWBB_BLOCK_TOPIC","Zuletzt beantwortete Themen"); -define("_MI_NEWBB_BLOCK_POST","Aktuelle Beiträge"); +define("_MI_NEWBB_BLOCK_POST","Aktuelle Postings im Forum"); define("_MI_NEWBB_BLOCK_AUTHOR","Autoren"); define("_MI_NEWBB_BLOCK_TAG_CLOUD","Tag Wolke"); define("_MI_NEWBB_BLOCK_TAG_TOP","Top Tags"); Modified: XoopsModules/newbb/branches/alfred/newbb/makepdf.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/makepdf.php 2012-08-23 15:48:30 UTC (rev 10092) +++ XoopsModules/newbb/branches/alfred/newbb/makepdf.php 2012-08-23 18:20:19 UTC (rev 10093) @@ -1,5 +1,5 @@ <?php -// $Id: makepdf.php,v 1.1.1.1 2005/10/19 15:58:07 phppp Exp $ +// $Id: makepdf.php 62 2012-08-17 10:15:26Z alfred $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // Modified: XoopsModules/newbb/branches/alfred/newbb/notification_update.p... [truncated message content] |
From: <ma...@us...> - 2012-08-23 15:48:37
|
Revision: 10092 http://xoops.svn.sourceforge.net/xoops/?rev=10092&view=rev Author: mageg Date: 2012-08-23 15:48:30 +0000 (Thu, 23 Aug 2012) Log Message: ----------- fix BUG ID:3560274 Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/renderbanner.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/renderbanner.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/renderbanner.php 2012-08-20 22:45:06 UTC (rev 10091) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/renderbanner.php 2012-08-23 15:48:30 UTC (rev 10092) @@ -98,9 +98,9 @@ */ $impmade = $impmade + 1; if ($imptotal > 0 && $impmade >= $imptotal) { - $xoops->db->queryF(sprintf('UPDATE %s SET status = %u, dateend = %u WHERE bid = %u', $this->db->prefix('banner'), 0, time(), $bid)); + $xoops->db->queryF(sprintf('UPDATE %s SET status = %u, dateend = %u WHERE bid = %u', $xoops->db->prefix('banner'), 0, time(), $bid)); }else{ - $xoops->db->queryF(sprintf('UPDATE %s SET impmade = %u WHERE bid = %u', $this->db->prefix('banner'), $impmade, $bid)); + $xoops->db->queryF(sprintf('UPDATE %s SET impmade = %u WHERE bid = %u', $xoops->db->prefix('banner'), $impmade, $bid)); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-08-20 22:45:19
|
Revision: 10091 http://xoops.svn.sourceforge.net/xoops/?rev=10091&view=rev Author: wishcraft Date: 2012-08-20 22:45:06 +0000 (Mon, 20 Aug 2012) Log Message: ----------- X-Payment 1.51 - Final Fixes For XOOPS 2.5.x Added Paths: ----------- XoopsModules/xpayment/releases/1.51/ XoopsModules/xpayment/releases/1.51/docs/ XoopsModules/xpayment/releases/1.51/docs/.htaccess.dist XoopsModules/xpayment/releases/1.51/docs/licence.txt XoopsModules/xpayment/releases/1.51/htdocs/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/2dbarcodes.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/CHANGELOG.TXT XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/LICENSE.TXT XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/README.TXT XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/barcodes.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/cache/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/cache/chapter_demo_1.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/cache/chapter_demo_2.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/cache/table_data_demo.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/cache/utf8test.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/cn.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/en.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/eng.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/ge.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/ger.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/it.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/lang/ita.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/tcpdf_config.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/config/tcpdf_config_alt.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/classtrees_com-tecnick-tcpdf.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/TCPDF.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/TCPDFBarcode.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_barcodes.php.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_htmlcolors.php.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_tcpdf.php.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_unicode_data.php.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/elementindex.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/elementindex_com-tecnick-tcpdf.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/errors.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/index.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/li_com-tecnick-tcpdf.html XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/media/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/media/background.png XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/media/empty.png XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/doc/media/style.css XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_001.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_002.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_003.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_004.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_005.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_006.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_007.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_008.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_009.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_010.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_011.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_012.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_013.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_014.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_015.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_016.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_017.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_018.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_019.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_020.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_021.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_022.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_023.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_024.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_025.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_026.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_027.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_028.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_029.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_030.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_031.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_032.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_033.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_034.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_035.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_036.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_037.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_038.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_039.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_040.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_041.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_042.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_043.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_044.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_045.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_046.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_047.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_048.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_049.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_050.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_051.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_052.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_053.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_054.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/example_055.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/examples/index.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/README.TXT XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/ZarBold.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/ZarBold.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/almohanad.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/almohanad.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/almohanad.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/arialunicid0.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/courier.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/AUTHORS XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/BUGS XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/LICENSE XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/NEWS XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/README XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/langcover.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/status.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/unicover.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusans.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusans.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusans.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansb.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansb.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansb.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansbi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansbi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansbi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensed.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensed.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensed.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedb.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedb.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedb.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedbi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedbi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedbi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusanscondensedi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmono.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmono.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmono.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonob.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonob.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonob.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonobi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonobi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonobi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonoi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonoi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavusansmonoi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserif.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserif.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserif.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifb.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifb.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifb.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifbi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifbi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifbi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensed.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensed.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensed.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedb.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedb.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedb.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedbi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedbi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedbi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifcondensedi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/dejavuserifi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/AUTHORS XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/COPYING XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/CREDITS XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/ChangeLog XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/INSTALL XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/README XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemono.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemono.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemono.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonob.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonob.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonob.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonobi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonobi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonobi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonoi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonoi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freemonoi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesans.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesans.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesans.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansb.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansb.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansb.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansbi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansbi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansbi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freesansi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserif.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserif.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserif.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifb.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifb.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifb.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifbi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifbi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifbi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifi.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/freeserifi.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/gbsn00lp.ctg.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/gbsn00lp.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/gbsn00lp.z XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/helvetica.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/helveticab.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/helveticabi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/helveticai.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/hysmyeongjostdmedium.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/kozgopromedium.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/kozminproregular.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/msungstdlight.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/stsongstdlight.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/symbol.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/times.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/timesb.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/timesbi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/timesi.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/uni2cid_ac15.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/uni2cid_ag15.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/uni2cid_aj16.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/uni2cid_ak12.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/README.TXT XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1250.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1251.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1252.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1253.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1254.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1255.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1257.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1258.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp874.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-1.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-11.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-15.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-16.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-2.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-4.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-5.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-7.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-9.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/koi8-r.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/enc/koi8-u.map XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/freetype6.dll XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/makeallttffonts.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/makefont.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/pfm2afm XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/pfm2afm.exe XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/src/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/src/pfm2afm-src.tar.gz XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/src/readme.txt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/src/ttf2ufm-src.tar.gz XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/ttf2ufm XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/ttf2ufm.exe XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/utils/zlib1.dll XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/zapfdingbats.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/fonts/zarbold.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/htmlcolors.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/ XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/_blank.png XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/alpha.png XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/bug.eps XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/image_demo.jpg XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/image_with_alpha.png XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/img.png XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/logo_example.gif XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/logo_example.jpg XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/logo_example.png XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/pelican.ai XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/tcpdf_logo.jpg XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/images/tiger.ai XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/tcpdf.crt XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/tcpdf.fdf XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/tcpdf.php XoopsModules/xpayment/releases/1.51/htdocs/Frameworks/tcpdf/unicode_data.php XoopsModules/xpayment/releases/1.51/htdocs/ZombaioGW_1_1.php XoopsModules/xpayment/releases/1.51/htdocs/modules/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/accounts.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/admin/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/admin/header.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/admin/index.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/admin/menu.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/broker.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/cancel.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/autotax.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/discounts.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/ccbill/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/ccbill/ccbill.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/ccbill/gateway_info.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/ccbill/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/gateway_info.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/google.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlecart.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googleitem.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlelog.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlemerchantcalculations.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlenotification.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlenotificationhistory.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlepoll.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlerequest.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googleresponse.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googleresult.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googleshipping.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googlesubscription.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/googletax.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/htmlSignatureGen.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/xml-processing/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/xml-processing/gc_xmlbuilder.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/google/xml-processing/gc_xmlparser.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/paypal/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/paypal/gateway_info.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/paypal/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/paypal/paypal.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/twocheckout/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/twocheckout/gateway_info.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/twocheckout/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/twocheckout/twocheckout.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/zombaio/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/zombaio/gateway_info.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/zombaio/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateway/zombaio/zombaio.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateways.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/gateways_options.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/groups.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/invoice.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/invoice_items.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/invoice_transactions.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/class/ip2locationlite.class.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/crons/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/crons/actions.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/changelog.txt XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/credits.txt XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/install.txt XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/lang_diff.txt XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/licence.txt XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/docs/readme.txt XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/dojsongateway.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/header.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/xpayment.discounts.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/xpayment.gateways.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/xpayment.groups.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/xpayment.invoices.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/xpayment.permissions.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/xpayment.taxes.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/16/xpayment.transactions.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/xpayment.discounts.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/xpayment.gateways.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/xpayment.groups.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/xpayment.invoices.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/xpayment.permissions.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/xpayment.taxes.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/32/xpayment.transactions.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/icons/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/pdf.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/images/xpayment_slogo.png XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/JSON.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/formselectgateway.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/formselectinvoicemode.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/formselectinvoiceremittion.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/formselectplugin.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/formselectuser.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/install.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/onupdate.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/uninstall.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/xpayment.forms.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/xpayment.functions.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/include/xpayment.objects.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/index.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/ipn.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/js/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/js/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/js/jquery.json.gateway.js XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/admin.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/block.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/ccbill.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/google.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/help/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/help/help.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/help/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_discount_more.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_discount_new.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_discount_reminder.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_collect.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_damaged.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_discounted.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_express.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_fraud.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_none.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_notice.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_pending.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_purchased.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_refunded.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_settled.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_canceled_undelivered.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_created.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_collect.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_damaged.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_discounted.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_express.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_fraud.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_none.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_notice.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_pending.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_purchased.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_refunded.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_settled.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_paid_undelieved.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_reminder.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_canceled_notice.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_canceled_other.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_canceled_payment.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_canceled_pending.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_canceled_refund.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_paid_notice.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_paid_other.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_paid_payment.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_paid_pending.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_paid_refund.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_unpaid_notice.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_unpaid_other.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_unpaid_payment.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_unpaid_pending.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_transaction_unpaid_refund.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_collect.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_damaged.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_discounted.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_express.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_fraud.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_none.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_notice.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_pending.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_purchased.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_refunded.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_settled.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/mail_templates/xpayment_invoice_unpaid_undelieved.tpl XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/main.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/modinfo.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/paypal.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/twocheckout.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/english/zombaio.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/language/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/officers.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/pdf.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/plugin/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/plugin/example.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/plugin/xpayment.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/return.php XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/sql/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/sql/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/sql/mysql.sql XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/ XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/index.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cancel.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_discounts_list.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_gateways_list.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_gateways_options.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_groups.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_groups_edit.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_invoice_list.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_invoice_view.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_tax_list.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_transactions_list.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_cpanel_transactions_view.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_help.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_invoice.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_invoice_list.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_invoice_view.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_payment.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_payment_pdf.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_return.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_transactions_list.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/templates/xpayment_transactions_view.html XoopsModules/xpayment/releases/1.51/htdocs/modules/xpayment/xoops_version.php Added: XoopsModules/xpayment/releases/1.51/docs/.htaccess.dist =================================================================== --- XoopsModules/xpayment/releases/1.51/docs/.htaccess.dist (rev 0) +++ XoopsModules/xpayment/releases/1.51/docs/.htaccess.dist 2012-08-20 22:45:06 UTC (rev 10091) @@ -0,0 +1,11 @@ + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^payment/(.*?).html$ modules/xpayment/index.php?iid=$1 +RewriteRule ^payment/pdf,(.*?).pdf$ modules/xpayment/pdf.php?iid=$1 +RewriteRule ^payment/index$ modules/xpayment/index.php$1 +RewriteRule ^payment/$ modules/xpayment/index.php$1 + + Added: XoopsModules/xpayment/releases/1.51/docs/licence.txt =================================================================== --- XoopsModules/xpayment/releases/1.51/docs/licence.txt (rev 0) +++ XoopsModules/xpayment/releases/1.51/docs/licence.txt 2012-08-20 22:45:06 UTC (rev 10091) @@ -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 wor... [truncated message content] |
From: <be...@us...> - 2012-08-20 10:16:19
|
Revision: 10090 http://xoops.svn.sourceforge.net/xoops/?rev=10090&view=rev Author: beckmi Date: 2012-08-20 10:16:09 +0000 (Mon, 20 Aug 2012) Log Message: ----------- Adding RhEditor from XOOPS Russia Added Paths: ----------- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/Readme.txt ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/images/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/images/buttons.gif ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/images/toolbar.gif ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.xoopscode.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor_registry.php ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/index.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/english.php ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/index.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/russian.php ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/rheditor.php Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/Readme.txt =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/Readme.txt (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/Readme.txt 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,3 @@ +This is an editor create by members from XOOPS Russia. +See more info: +http://xoops.ws/modules/news/article.php?storyid=56 \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/images/buttons.gif =================================================================== (Binary files differ) Property changes on: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/images/buttons.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/images/toolbar.gif =================================================================== (Binary files differ) Property changes on: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/images/toolbar.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.css =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.css (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.css 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,24 @@ +.rheditorMain {border:1px solid #999; padding:0 1px 1px; background-color:white} +.rheditorMain iframe {border:none; margin:0; padding:0} +.rheditorMain textarea {border:none; margin:0; padding:0; overflow-y:scroll; font:10pt Arial,Verdana; resize:none; outline:none /* webkit grip focus */} +.rheditorToolbar {background: url('images/toolbar.gif') repeat} +.rheditorGroup {float:left; height:26px} +.rheditorButton {float:left; width:24px; height:24px; margin:1px 0 1px 0; background: url('images/buttons.gif')} +.rheditorDisabled {opacity:0.3; filter:alpha(opacity=30)} +.rheditorDivider {float:left; width:1px; height:23px; margin:1px 0 1px 0; background:#CCC} +.rheditorPopup {border:solid 1px #999; background-color:white; position:absolute; font:10pt Arial,Verdana; cursor:default; z-index:10000} +.rheditorList div {padding:2px 4px 2px 4px} +.rheditorList p, +.rheditorList h1, +.rheditorList h2, +.rheditorList h3, +.rheditorList h4, +.rheditorList h5, +.rheditorList h6, +.rheditorList font {padding:0; margin:0; background-color:Transparent} +.rheditorColor {width:150px; padding:1px 0 0 1px} +.rheditorColor div {float:left; width:14px; height:14px; margin:0 1px 1px 0} +.rheditorPrompt {background-color:#F6F7F9; padding:4px; font-size:8.5pt} +.rheditorPrompt input, +.rheditorPrompt textarea {font:8.5pt Arial,Verdana;} +.rheditorMsg {background-color:#FDFCEE; width:150px; padding:4px; font-size:8.5pt} Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.js =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.js (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.js 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,1119 @@ + +(function($) { + + //============== + // jQuery Plugin + //============== + + $.rheditor = { + + // Define the defaults used for all new rheditor instances + defaultOptions: { + width: 500, // width not including margins, borders or padding + height: 250, // height not including margins, borders or padding + controls: // controls to add to the toolbar + "bold italic underline strikethrough subscript superscript | font size " + + "style | color highlight removeformat | bullets numbering | outdent " + + "indent | alignleft center alignright justify | undo redo | " + + "rule image link unlink | cut copy paste pastetext | print source", + colors: // colors in the color popup + "FFF FCC FC9 FF9 FFC 9F9 9FF CFF CCF FCF " + + "CCC F66 F96 FF6 FF3 6F9 3FF 6FF 99F F9F " + + "BBB F00 F90 FC6 FF0 3F3 6CC 3CF 66C C6C " + + "999 C00 F60 FC3 FC0 3C0 0CC 36F 63F C3C " + + "666 900 C60 C93 990 090 399 33F 60C 939 " + + "333 600 930 963 660 060 366 009 339 636 " + + "000 300 630 633 330 030 033 006 309 303", + fonts: // font names in the font popup + "Arial,Arial Black,Comic Sans MS,Courier New,Narrow,Garamond," + + "Georgia,Impact,Sans Serif,Serif,Tahoma,Trebuchet MS,Verdana", + sizes: // sizes in the font size popup + "1,2,3,4,5,6,7", + styles: // styles in the style popup + [["Paragraph", "<p>"], ["Header 1", "<h1>"], ["Header 2", "<h2>"], + ["Header 3", "<h3>"], ["Header 4","<h4>"], ["Header 5","<h5>"], + ["Header 6","<h6>"]], + useCSS: false, // use CSS to style HTML when possible (not supported in ie) + docType: // Document type contained within the editor + '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">', + docCSSFile: // CSS file used to style the document contained within the editor + "", + bodyStyle: // style to assign to document body contained within the editor + "margin:4px; font:10pt Arial,Verdana; cursor:text" + }, + + // Define all usable toolbar buttons - the init string property is + // expanded during initialization back into the buttons object and + // seperate object properties are created for each button. + // e.g. buttons.size.title = "Font Size" + buttons: { + // name,title,command,popupName (""=use name) + init: + "bold,,|" + + "italic,,|" + + "underline,,|" + + "strikethrough,,|" + + "subscript,,|" + + "superscript,,|" + + "font,,fontname,|" + + "size,Font Size,fontsize,|" + + "style,,formatblock,|" + + "color,Font Color,forecolor,|" + + "highlight,Text Highlight Color,hilitecolor,color|" + + "removeformat,Remove Formatting,|" + + "bullets,,insertunorderedlist|" + + "numbering,,insertorderedlist|" + + "outdent,,|" + + "indent,,|" + + "alignleft,Align Text Left,justifyleft|" + + "center,,justifycenter|" + + "alignright,Align Text Right,justifyright|" + + "justify,,justifyfull|" + + "undo,,|" + + "redo,,|" + + "rule,Insert Horizontal Rule,inserthorizontalrule|" + + "image,Insert Image,insertimage,url|" + + "link,Insert Hyperlink,createlink,url|" + + "unlink,Remove Hyperlink,|" + + "cut,,|" + + "copy,,|" + + "paste,,|" + + "pastetext,Paste as Text,inserthtml,|" + + "print,,|" + + "source,Show Source" + }, + + // imagesPath - returns the path to the images folder + imagesPath: function() { return imagesPath(); } + + }; + + // rheditor - creates a new editor for each of the matched textareas + $.fn.rheditor = function(options) { + + // Create a new jQuery object to hold the results + var $result = $([]); + + // Loop through all matching textareas and create the editors + this.each(function(idx, elem) { + if (elem.tagName == "TEXTAREA") { + var data = $.data(elem, RHEDITOR); + if (!data) data = new rheditor(elem, options); + $result = $result.add(data); + } + }); + + // return the new jQuery object + return $result; + + }; + + //================== + // Private Variables + //================== + + var + + // Misc constants + BACKGROUND_COLOR = "backgroundColor", + BUTTON = "button", + BUTTON_NAME = "buttonName", + CHANGE = "change", + RHEDITOR = "rheditor", + CLICK = "click", + DISABLED = "disabled", + DIV_TAG = "<div>", + TRANSPARENT = "transparent", + UNSELECTABLE = "unselectable", + + // Class name constants + MAIN_CLASS = "rheditorMain", // main containing div + TOOLBAR_CLASS = "rheditorToolbar", // toolbar div inside main div + GROUP_CLASS = "rheditorGroup", // group divs inside the toolbar div + BUTTON_CLASS = "rheditorButton", // button divs inside group div + DISABLED_CLASS = "rheditorDisabled",// disabled button divs + DIVIDER_CLASS = "rheditorDivider", // divider divs inside group div + POPUP_CLASS = "rheditorPopup", // popup divs inside body + LIST_CLASS = "rheditorList", // list popup divs inside body + COLOR_CLASS = "rheditorColor", // color popup div inside body + PROMPT_CLASS = "rheditorPrompt", // prompt popup divs inside body + MSG_CLASS = "rheditorMsg", // message popup div inside body + + // Test for ie + ie = $.browser.msie, + ie6 = /msie\s6/i.test(navigator.userAgent), + + // Test for iPhone/iTouch/iPad + iOS = /iphone|ipad|ipod/i.test(navigator.userAgent), + + // Popups are created once as needed and shared by all editor instances + popups = {}, + + // Used to prevent the document click event from being bound more than once + documentClickAssigned, + + // Local copy of the buttons object + buttons = $.rheditor.buttons; + + //=============== + // Initialization + //=============== + + // Expand the buttons.init string back into the buttons object + // and create seperate object properties for each button. + // e.g. buttons.size.title = "Font Size" + $.each(buttons.init.split("|"), function(idx, button) { + var items = button.split(","), name = items[0]; + buttons[name] = { + stripIndex: idx, + name: name, + title: items[1] === "" ? name.charAt(0).toUpperCase() + name.substr(1) : items[1], + command: items[2] === "" ? name : items[2], + popupName: items[3] === "" ? name : items[3] + }; + }); + delete buttons.init; + + //============ + // Constructor + //============ + + // rheditor - creates a new editor for the passed in textarea element + rheditor = function(area, options) { + + var editor = this; + + // Get the defaults and override with options + editor.options = options = $.extend({}, $.rheditor.defaultOptions, options); + + // Hide the textarea and associate it with this editor + var $area = editor.$area = $(area) + .hide() + .data(RHEDITOR, editor) + .blur(function() { + // Update the iframe when the textarea loses focus + updateFrame(editor, true); + }); + + // Create the main container and append the textarea + var $main = editor.$main = $(DIV_TAG) + .addClass(MAIN_CLASS) + .width(options.width) + .height(options.height); + + // Create the toolbar + var $toolbar = editor.$toolbar = $(DIV_TAG) + .addClass(TOOLBAR_CLASS) + .appendTo($main); + + // Add the first group to the toolbar + var $group = $(DIV_TAG) + .addClass(GROUP_CLASS) + .appendTo($toolbar); + + // Add the buttons to the toolbar + $.each(options.controls.split(" "), function(idx, buttonName) { + if (buttonName === "") return true; + + // Divider + if (buttonName == "|") { + + // Add a new divider to the group + var $div = $(DIV_TAG) + .addClass(DIVIDER_CLASS) + .appendTo($group); + + // Create a new group + $group = $(DIV_TAG) + .addClass(GROUP_CLASS) + .appendTo($toolbar); + + } + + // Button + else { + + // Get the button definition + var button = buttons[buttonName]; + + // Add a new button to the group + var $buttonDiv = $(DIV_TAG) + .data(BUTTON_NAME, button.name) + .addClass(BUTTON_CLASS) + .attr("title", button.title) + .bind(CLICK, $.proxy(buttonClick, editor)) + .appendTo($group) + .hover(hoverEnter, hoverLeave); + + // Prepare the button image + var map = {}; + if (button.css) map = button.css; + else if (button.image) map.backgroundImage = imageUrl(button.image); + if (button.stripIndex) map.backgroundPosition = button.stripIndex * -24; + $buttonDiv.css(map); + + // Add the unselectable attribute for ie + if (ie) + $buttonDiv.attr(UNSELECTABLE, "on"); + + // Create the popup + if (button.popupName) + createPopup(button.popupName, options, button.popupClass, + button.popupContent, button.popupHover); + + } + + }); + + // Add the main div to the DOM and append the textarea + $main.insertBefore($area) + .append($area); + + // Bind the document click event handler + if (!documentClickAssigned) { + $(document).click(function(e) { + // Dismiss all non-prompt popups + var $target = $(e.target); + if (!$target.add($target.parents()).is("." + PROMPT_CLASS)) + hidePopups(); + }); + documentClickAssigned = true; + } + + // Bind the window resize event when the width or height is auto or % + if (/auto|%/.test("" + options.width + options.height)) + $(window).resize(function() {refresh(editor);}); + + // Create the iframe and resize the controls + refresh(editor); + + }; + + //=============== + // Public Methods + //=============== + + var fn = rheditor.prototype, + + // Expose the following private functions as methods on the rheditor object. + // The closure compiler will rename the private functions. However, the + // exposed method names on the rheditor object will remain fixed. + methods = [ + ["clear", clear], + ["disable", disable], + ["execCommand", execCommand], + ["focus", focus], + ["hidePopups", hidePopups], + ["sourceMode", sourceMode, true], + ["refresh", refresh], + ["select", select], + ["selectedHTML", selectedHTML, true], + ["selectedText", selectedText, true], + ["showMessage", showMessage], + ["updateFrame", updateFrame], + ["updateTextArea", updateTextArea] + ]; + + $.each(methods, function(idx, method) { + fn[method[0]] = function() { + var editor = this, args = [editor]; + // using each here would cast booleans into objects! + for(var x = 0; x < arguments.length; x++) {args.push(arguments[x]);} + var result = method[1].apply(editor, args); + if (method[2]) return result; + return editor; + }; + }); + + // change - shortcut for .bind("change", handler) or .trigger("change") + fn.change = function(handler) { + var $this = $(this); + return handler ? $this.bind(CHANGE, handler) : $this.trigger(CHANGE); + }; + + //=============== + // Event Handlers + //=============== + + // buttonClick - click event handler for toolbar buttons + function buttonClick(e) { + + var editor = this, + buttonDiv = e.target, + buttonName = $.data(buttonDiv, BUTTON_NAME), + button = buttons[buttonName], + popupName = button.popupName, + popup = popups[popupName]; + + // Check if disabled + if (editor.disabled || $(buttonDiv).attr(DISABLED) == DISABLED) + return; + + // Fire the buttonClick event + var data = { + editor: editor, + button: buttonDiv, + buttonName: buttonName, + popup: popup, + popupName: popupName, + command: button.command, + useCSS: editor.options.useCSS + }; + + if (button.buttonClick && button.buttonClick(e, data) === false) + return false; + + // Toggle source + if (buttonName == "source") { + + // Show the iframe + if (sourceMode(editor)) { + delete editor.range; + editor.$area.hide(); + editor.$frame.show(); + buttonDiv.title = button.title; + } + + // Show the textarea + else { + editor.$frame.hide(); + editor.$area.show(); + buttonDiv.title = "Show Rich Text"; + } + + // Enable or disable the toolbar buttons + // IE requires the timeout + setTimeout(function() {refreshButtons(editor);}, 100); + + } + + // Check for rich text mode + else if (!sourceMode(editor)) { + + // Handle popups + if (popupName) { + var $popup = $(popup); + + // URL + if (popupName == "url") { + + // Check for selection before showing the link url popup + if (buttonName == "link" && selectedText(editor) === "") { + showMessage(editor, "A selection is required when inserting a link.", buttonDiv); + return false; + } + + // Wire up the submit button click event handler + $popup.children(":button") + .unbind(CLICK) + .bind(CLICK, function() { + + // Insert the image or link if a url was entered + var $text = $popup.find(":text"), + url = $.trim($text.val()); + if (url !== "") + execCommand(editor, data.command, url, null, data.button); + + // Reset the text, hide the popup and set focus + $text.val("http://"); + hidePopups(); + focus(editor); + + }); + + } + + // Paste as Text + else if (popupName == "pastetext") { + + // Wire up the submit button click event handler + $popup.children(":button") + .unbind(CLICK) + .bind(CLICK, function() { + + // Insert the unformatted text replacing new lines with break tags + var $textarea = $popup.find("textarea"), + text = $textarea.val().replace(/\n/g, "<br />"); + if (text !== "") + execCommand(editor, data.command, text, null, data.button); + + // Reset the text, hide the popup and set focus + $textarea.val(""); + hidePopups(); + focus(editor); + + }); + + } + + // Show the popup if not already showing for this button + if (buttonDiv !== $.data(popup, BUTTON)) { + showPopup(editor, popup, buttonDiv); + return false; // stop propagination to document click + } + + // propaginate to documnt click + return; + + } + + // Print + else if (buttonName == "print") + editor.$frame[0].contentWindow.print(); + + // All other buttons + else if (!execCommand(editor, data.command, data.value, data.useCSS, buttonDiv)) + return false; + + } + + // Focus the editor + focus(editor); + + } + + // hoverEnter - mouseenter event handler for buttons and popup items + function hoverEnter(e) { + var $div = $(e.target).closest("div"); + $div.css(BACKGROUND_COLOR, $div.data(BUTTON_NAME) ? "#FFF" : "#FFC"); + } + + // hoverLeave - mouseleave event handler for buttons and popup items + function hoverLeave(e) { + $(e.target).closest("div").css(BACKGROUND_COLOR, "transparent"); + } + + // popupClick - click event handler for popup items + function popupClick(e) { + + var editor = this, + popup = e.data.popup, + target = e.target; + + // Check for message and prompt popups + if (popup === popups.msg || $(popup).hasClass(PROMPT_CLASS)) + return; + + // Get the button info + var buttonDiv = $.data(popup, BUTTON), + buttonName = $.data(buttonDiv, BUTTON_NAME), + button = buttons[buttonName], + command = button.command, + value, + useCSS = editor.options.useCSS; + + // Get the command value + if (buttonName == "font") + // Opera returns the fontfamily wrapped in quotes + value = target.style.fontFamily.replace(/"/g, ""); + else if (buttonName == "size") { + if (target.tagName == "DIV") + target = target.children[0]; + value = target.innerHTML; + } + else if (buttonName == "style") + value = "<" + target.tagName + ">"; + else if (buttonName == "color") + value = hex(target.style.backgroundColor); + else if (buttonName == "highlight") { + value = hex(target.style.backgroundColor); + if (ie) command = 'backcolor'; + else useCSS = true; + } + + // Fire the popupClick event + var data = { + editor: editor, + button: buttonDiv, + buttonName: buttonName, + popup: popup, + popupName: button.popupName, + command: command, + value: value, + useCSS: useCSS + }; + + if (button.popupClick && button.popupClick(e, data) === false) + return; + + // Execute the command + if (data.command && !execCommand(editor, data.command, data.value, data.useCSS, buttonDiv)) + return false; + + // Hide the popup and focus the editor + hidePopups(); + focus(editor); + + } + + //================== + // Private Functions + //================== + + // checksum - returns a checksum using the Adler-32 method + function checksum(text) + { + var a = 1, b = 0; + for (var index = 0; index < text.length; ++index) { + a = (a + text.charCodeAt(index)) % 65521; + b = (b + a) % 65521; + } + return (b << 16) | a; + } + + // clear - clears the contents of the editor + function clear(editor) { + editor.$area.val(""); + updateFrame(editor); + } + + // createPopup - creates a popup and adds it to the body + function createPopup(popupName, options, popupTypeClass, popupContent, popupHover) { + + // Check if popup already exists + if (popups[popupName]) + return popups[popupName]; + + // Create the popup + var $popup = $(DIV_TAG) + .hide() + .addClass(POPUP_CLASS) + .appendTo("body"); + + // Add the content + + // Custom popup + if (popupContent) + $popup.html(popupContent); + + // Color + else if (popupName == "color") { + var colors = options.colors.split(" "); + if (colors.length < 10) + $popup.width("auto"); + $.each(colors, function(idx, color) { + $(DIV_TAG).appendTo($popup) + .css(BACKGROUND_COLOR, "#" + color); + }); + popupTypeClass = COLOR_CLASS; + } + + // Font + else if (popupName == "font") + $.each(options.fonts.split(","), function(idx, font) { + $(DIV_TAG).appendTo($popup) + .css("fontFamily", font) + .html(font); + }); + + // Size + else if (popupName == "size") + $.each(options.sizes.split(","), function(idx, size) { + $(DIV_TAG).appendTo($popup) + .html("<font size=" + size + ">" + size + "</font>"); + }); + + // Style + else if (popupName == "style") + $.each(options.styles, function(idx, style) { + $(DIV_TAG).appendTo($popup) + .html(style[1] + style[0] + style[1].replace("<", "</")); + }); + + // URL + else if (popupName == "url") { + $popup.html('Enter URL:<br><input type=text value="http://" size=35><br><input type=button value="Submit">'); + popupTypeClass = PROMPT_CLASS; + } + + // Paste as Text + else if (popupName == "pastetext") { + $popup.html('Paste your content here and click submit.<br /><textarea cols=40 rows=3></textarea><br /><input type=button value=Submit>'); + popupTypeClass = PROMPT_CLASS; + } + + // Add the popup type class name + if (!popupTypeClass && !popupContent) + popupTypeClass = LIST_CLASS; + $popup.addClass(popupTypeClass); + + // Add the unselectable attribute to all items + if (ie) { + $popup.attr(UNSELECTABLE, "on") + .find("div,font,p,h1,h2,h3,h4,h5,h6") + .attr(UNSELECTABLE, "on"); + } + + // Add the hover effect to all items + if ($popup.hasClass(LIST_CLASS) || popupHover === true) + $popup.children().hover(hoverEnter, hoverLeave); + + // Add the popup to the array and return it + popups[popupName] = $popup[0]; + return $popup[0]; + + } + + // disable - enables or disables the editor + function disable(editor, disabled) { + + // Update the textarea and save the state + if (disabled) { + editor.$area.attr(DISABLED, DISABLED); + editor.disabled = true; + } + else { + editor.$area.removeAttr(DISABLED); + delete editor.disabled; + } + + // Switch the iframe into design mode. + // ie6 does not support designMode. + // ie7 & ie8 do not properly support designMode="off". + try { + if (ie) editor.doc.body.contentEditable = !disabled; + else editor.doc.designMode = !disabled ? "on" : "off"; + } + // Firefox 1.5 throws an exception that can be ignored + // when toggling designMode from off to on. + catch (err) {} + + // Enable or disable the toolbar buttons + refreshButtons(editor); + + } + + // execCommand - executes a designMode command + function execCommand(editor, command, value, useCSS, button) { + + // Restore the current ie selection + restoreRange(editor); + + // Set the styling method + if (!ie) { + if (useCSS === undefined || useCSS === null) + useCSS = editor.options.useCSS; + editor.doc.execCommand("styleWithCSS", 0, useCSS.toString()); + } + + // Execute the command and check for error + var success = true, description; + if (ie && command.toLowerCase() == "inserthtml") + getRange(editor).pasteHTML(value); + else { + try { success = editor.doc.execCommand(command, 0, value || null); } + catch (err) { description = err.description; success = false; } + if (!success) { + if ("cutcopypaste".indexOf(command) > -1) + showMessage(editor, "For security reasons, your browser does not support the " + + command + " command. Try using the keyboard shortcut or context menu instead.", + button); + else + showMessage(editor, + (description ? description : "Error executing the " + command + " command."), + button); + } + } + + // Enable the buttons + refreshButtons(editor); + return success; + + } + + // focus - sets focus to either the textarea or iframe + function focus(editor) { + setTimeout(function() { + if (sourceMode(editor)) editor.$area.focus(); + else editor.$frame[0].contentWindow.focus(); + refreshButtons(editor); + }, 0); + } + + // getRange - gets the current text range object + function getRange(editor) { + if (ie) return getSelection(editor).createRange(); + return getSelection(editor).getRangeAt(0); + } + + // getSelection - gets the current text range object + function getSelection(editor) { + if (ie) return editor.doc.selection; + return editor.$frame[0].contentWindow.getSelection(); + } + + // Returns the hex value for the passed in string. + // hex("rgb(255, 0, 0)"); // #FF0000 + // hex("#FF0000"); // #FF0000 + // hex("#F00"); // #FF0000 + function hex(s) { + var m = /rgba?\((\d+), (\d+), (\d+)/.exec(s), + c = s.split(""); + if (m) { + s = ( m[1] << 16 | m[2] << 8 | m[3] ).toString(16); + while (s.length < 6) + s = "0" + s; + } + return "#" + (s.length == 6 ? s : c[1] + c[1] + c[2] + c[2] + c[3] + c[3]); + } + + // hidePopups - hides all popups + function hidePopups() { + $.each(popups, function(idx, popup) { + $(popup) + .hide() + .unbind(CLICK) + .removeData(BUTTON); + }); + } + + // imagesPath - returns the path to the images folder + function imagesPath() { + var cssFile = "jquery.rheditor.css", + href = $("link[href$='" + cssFile +"']").attr("href"); + return href.substr(0, href.length - cssFile.length) + "images/"; + } + + // imageUrl - Returns the css url string for a filemane + function imageUrl(filename) { + return "url(" + imagesPath() + filename + ")"; + } + + // refresh - creates the iframe and resizes the controls + function refresh(editor) { + + var $main = editor.$main, + options = editor.options; + + // Remove the old iframe + if (editor.$frame) + editor.$frame.remove(); + + // Create a new iframe + var $frame = editor.$frame = $('<iframe frameborder="0" src="javascript:true;">') + .hide() + .appendTo($main); + + // Load the iframe document content + var contentWindow = $frame[0].contentWindow, + doc = editor.doc = contentWindow.document, + $doc = $(doc); + + doc.open(); + doc.write( + options.docType + + '<html>' + + ((options.docCSSFile === '') ? '' : '<head><link rel="stylesheet" type="text/css" href="' + options.docCSSFile + '" /></head>') + + '<body style="' + options.bodyStyle + '"></body></html>' + ); + doc.close(); + + // Work around for bug in IE which causes the editor to lose + // focus when clicking below the end of the document. + if (ie) + $doc.click(function() {focus(editor);}); + + // Load the content + updateFrame(editor); + + // Bind the ie specific iframe event handlers + if (ie) { + + // Save the current user selection. This code is needed since IE will + // reset the selection just after the beforedeactivate event and just + // before the beforeactivate event. + $doc.bind("beforedeactivate beforeactivate selectionchange keypress", function(e) { + + // Flag the editor as inactive + if (e.type == "beforedeactivate") + editor.inactive = true; + + // Get rid of the bogus selection and flag the editor as active + else if (e.type == "beforeactivate") { + if (!editor.inactive && editor.range && editor.range.length > 1) + editor.range.shift(); + delete editor.inactive; + } + + // Save the selection when the editor is active + else if (!editor.inactive) { + if (!editor.range) + editor.range = []; + editor.range.unshift(getRange(editor)); + + // We only need the last 2 selections + while (editor.range.length > 2) + editor.range.pop(); + } + + }); + + // Restore the text range when the iframe gains focus + $frame.focus(function() { + restoreRange(editor); + }); + + } + + // Update the textarea when the iframe loses focus + ($.browser.mozilla ? $doc : $(contentWindow)).blur(function() { + updateTextArea(editor, true); + }); + + // Enable the toolbar buttons as the user types or clicks + $doc.click(hidePopups) + .bind("keyup mouseup", function() { + refreshButtons(editor); + }); + + // Show the textarea for iPhone/iTouch/iPad or + // the iframe when design mode is supported. + if (iOS) editor.$area.show(); + else $frame.show(); + + // Wait for the layout to finish - shortcut for $(document).ready() + $(function() { + + var $toolbar = editor.$toolbar, + $group = $toolbar.children("div:last"), + wid = $main.width(); + + // Resize the toolbar + var hgt = $group.offset().top + $group.outerHeight() - $toolbar.offset().top + 1; + $toolbar.height(hgt); + + // Resize the iframe + hgt = (/%/.test("" + options.height) ? $main.height() : parseInt(options.height)) - hgt; + $frame.width(wid).height(hgt); + + // Resize the textarea. IE6 textareas have a 1px top + // & bottom margin that cannot be removed using css. + editor.$area.width(wid).height(ie6 ? hgt - 2 : hgt); + + // Switch the iframe into design mode if enabled + disable(editor, editor.disabled); + + // Enable or disable the toolbar buttons + refreshButtons(editor); + + }); + + } + + // refreshButtons - enables or disables buttons based on availability + function refreshButtons(editor) { + + // Webkit requires focus before queryCommandEnabled will return anything but false + if (!iOS && $.browser.webkit && !editor.focused) { + editor.$frame[0].contentWindow.focus(); + window.focus(); + editor.focused = true; + } + + // Get the object used for checking queryCommandEnabled + var queryObj = editor.doc; + if (ie) queryObj = getRange(editor); + + // Loop through each button + var inSourceMode = sourceMode(editor); + $.each(editor.$toolbar.find("." + BUTTON_CLASS), function(idx, elem) { + + var $elem = $(elem), + button = $.rheditor.buttons[$.data(elem, BUTTON_NAME)], + command = button.command, + enabled = true; + + // Determine the state + if (editor.disabled) + enabled = false; + else if (button.getEnabled) { + var data = { + editor: editor, + button: elem, + buttonName: button.name, + popup: popups[button.popupName], + popupName: button.popupName, + command: button.command, + useCSS: editor.options.useCSS + }; + enabled = button.getEnabled(data); + if (enabled === undefined) + enabled = true; + } + else if (((inSourceMode || iOS) && button.name != "source") || + (ie && (command == "undo" || command == "redo"))) + enabled = false; + else if (command && command != "print") { + if (ie && command == "hilitecolor") + command = "backcolor"; + // IE does not support inserthtml, so it's always enabled + if (!ie || command != "inserthtml") { + try {enabled = queryObj.queryCommandEnabled(command);} + catch (err) {enabled = false;} + } + } + + // Enable or disable the button + if (enabled) { + $elem.removeClass(DISABLED_CLASS); + $elem.removeAttr(DISABLED); + } + else { + $elem.addClass(DISABLED_CLASS); + $elem.attr(DISABLED, DISABLED); + } + + }); + } + + // restoreRange - restores the current ie selection + function restoreRange(editor) { + if (ie && editor.range) + editor.range[0].select(); + } + + // select - selects all the text in either the textarea or iframe + function select(editor) { + setTimeout(function() { + if (sourceMode(editor)) editor.$area.select(); + else execCommand(editor, "selectall"); + }, 0); + } + + // selectedHTML - returns the current HTML selection or and empty string + function selectedHTML(editor) { + restoreRange(editor); + var range = getRange(editor); + if (ie) + return range.htmlText; + var layer = $("<layer>")[0]; + layer.appendChild(range.cloneContents()); + var html = layer.innerHTML; + layer = null; + return html; + } + + // selectedText - returns the current text selection or and empty string + function selectedText(editor) { + restoreRange(editor); + if (ie) return getRange(editor).text; + return getSelection(editor).toString(); + } + + // showMessage - alert replacement + function showMessage(editor, message, button) { + var popup = createPopup("msg", editor.options, MSG_CLASS); + popup.innerHTML = message; + showPopup(editor, popup, button); + } + + // showPopup - shows a popup + function showPopup(editor, popup, button) { + + var offset, left, top, $popup = $(popup); + + // Determine the popup location + if (button) { + var $button = $(button); + offset = $button.offset(); + left = --offset.left; + top = offset.top + $button.height(); + } + else { + var $toolbar = editor.$toolbar; + offset = $toolbar.offset(); + left = Math.floor(($toolbar.width() - $popup.width()) / 2) + offset.left; + top = offset.top + $toolbar.height() - 2; + } + + // Position and show the popup + hidePopups(); + $popup.css({left: left, top: top}) + .show(); + + // Assign the popup button and click event handler + if (button) { + $.data(popup, BUTTON, button); + $popup.bind(CLICK, {popup: popup}, $.proxy(popupClick, editor)); + } + + // Focus the first input element if any + setTimeout(function() { + $popup.find(":text,textarea").eq(0).focus().select(); + }, 100); + + } + + // sourceMode - returns true if the textarea is showing + function sourceMode(editor) { + return editor.$area.is(":visible"); + } + + // updateFrame - updates the iframe with the textarea contents + function updateFrame(editor, checkForChange) { + + var code = editor.$area.val(), + options = editor.options, + updateFrameCallback = options.updateFrame, + $body = $(editor.doc.body); + + // Check for textarea change to avoid unnecessary firing + // of potentially heavy updateFrame callbacks. + if (updateFrameCallback) { + var sum = checksum(code); + if (checkForChange && editor.areaChecksum == sum) + return; + editor.areaChecksum = sum; + } + + // Convert the textarea source code into iframe html + var html = updateFrameCallback ? updateFrameCallback(code) : code; + + // Prevent script injection attacks by html encoding script tags + html = html.replace(/<(?=\/?script)/ig, "<"); + + // Update the iframe checksum + if (options.updateTextArea) + editor.frameChecksum = checksum(html); + + // Update the iframe and trigger the change event + if (html != $body.html()) { + $body.html(html); + $(editor).triggerHandler(CHANGE); + } + + } + + // updateTextArea - updates the textarea with the iframe contents + function updateTextArea(editor, checkForChange) { + + var html = $(editor.doc.body).html(), + options = editor.options, + updateTextAreaCallback = options.updateTextArea, + $area = editor.$area; + + // Check for iframe change to avoid unnecessary firing + // of potentially heavy updateTextArea callbacks. + if (updateTextAreaCallback) { + var sum = checksum(html); + if (checkForChange && editor.frameChecksum == sum) + return; + editor.frameChecksum = sum; + } + + // Convert the iframe html into textarea source code + var code = updateTextAreaCallback ? updateTextAreaCallback(html) : html; + + // Update the textarea checksum + if (options.updateFrame) + editor.areaChecksum = checksum(code); + + // Update the textarea and trigger the change event + if (code != $area.val()) { + $area.val(code); + $(editor).triggerHandler(CHANGE); + } + + } + +})(jQuery); Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.xoopscode.js =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.xoopscode.js (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor/jquery.rheditor.xoopscode.js 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,217 @@ + +(function($) { + + // Браузеры + var browserMozilla = $.browser.mozilla; + var browserMsie = $.browser.msie; + var browserOpera = $.browser.opera; + var browserWebkit = $.browser.webkit; + + // XoopsCode only supports a small subset of HTML, so remove + // any toolbar buttons that are not currently supported. + $.rheditor.defaultOptions.controls = + "bold italic underline strikethrough | font size color removeformat | bullets numbering | " + + "undo redo | image link unlink | cut copy paste pastetext | source"; + + // Save the previously assigned callback handlers + var oldAreaCallback = $.rheditor.defaultOptions.updateTextArea; + var oldFrameCallback = $.rheditor.defaultOptions.updateFrame; + + // Wireup the updateTextArea callback handler + $.rheditor.defaultOptions.updateTextArea = function(html) { + + // Fire the previously assigned callback handler + if (oldAreaCallback) + html = oldAreaCallback(html); + + // Convert the HTML to XoopsCode + return $.rheditor.convertHTMLtoXoopsCode(html); + + } + + // Wireup the updateFrame callback handler + $.rheditor.defaultOptions.updateFrame = function(code) { + + // Fire the previously assigned callback handler + if (oldFrameCallback) + code = oldFrameCallback(code); + + // Convert the XoopsCode to HTML + return $.rheditor.convertXoopsCodeToHTML(code); + + } + + // Expose the convertHTMLtoXoopsCode method + $.rheditor.convertHTMLtoXoopsCode = function(html) { + + // Переводы строк + html = html.replace( /[\r|\n]/g, "" ); + + // Списки + html = html.replace( /<ul>/gi, "[ul]" ); + html = html.replace( /<\/ul>/gi, "[/ul]" ); + html = html.replace( /<ol>/gi, "[ol]" ); + html = html.replace( /<\/ol>/gi, "[/ol]" ); + html = html.replace( /<li>/gi, "[li]" ); + html = html.replace( /<\/li>/gi, "[/li]" ); + + // Картинка + // С шириной + html = html.replace( /<img style=\"?width: ?([0-9]+px|auto);? ?height: ?([0-9]+px|auto);?\"? [^<>]*?src=\"([^<>\"]*?)\"(\s[^<>]*)?\/?>/gi, "[img width=$1]$3[/img]" ); + // <img src="http://localhost.radio-hobby.org/themes/rh/img/logo-ng2012.png" height="100" width="422"> Мазила + // <img src="http://localhost.radio-hobby.org/themes/rh/img/logo-ng2012.png" width="373" height="100"> IE9 + // <IMG height=100 src="http://localhost.radio-hobby.org/themes/rh/img/logo-ng2012.png" width=397> IE6 + html = html.replace( /<img\s[^<>]*?src=\"([^<>\"]*?)\"[^<>]*?width=\"?([0-9]+)\"?[^<>]*?\/?>/gi, "[img width=$2]$1[/img]" ); // IE9 IE6 в первый раз так изменяет размеры + // Остальные картинки + html = html.replace( /<img\s[^<>]*?src=\"([^<>\"]*?)\"(\s[^<>]*)?\/?>/gi, "[img]$1[/img]" ); + // Очищаем ТЕГ [img] + html = html.replace( /\[img width=([0-9]+)px\]/gi, "[img width=$1]" ); + html = html.replace( /\[img width=auto\]/gi, "[img]" ); + // Ссылки + html = html.replace( /<a\s[^<>]*?href=\"([^<>\"]*?)\"(\s[^<>]*)?>([^<>]*?)<\/a>/gi, "[url=$1]$3[/url]" ); + // Цвет + //html = html.replace( /<font\s[^<>]*?color=\"\#([0-9a-f]+)\"(\s[^<>]*)?>([^<>]*?)<\/font>/gi, "[color=$1]$3[/color]" ); + // + html = html.replace( /<(u|ins)(\s[^<>]*)?>/gi, "[u]" ); + html = html.replace( /<\/(u|ins)>/gi, "[/u]" ); + html = html.replace( /<(strike|del)(\s[^<>]*)?>/gi, "[d]" ); + html = html.replace( /<\/(strike|del)>/gi, "[/d]" ); + html = html.replace( /<(strong|b)(\s[^<>]*)?>/gi, "[b]" ); + html = html.replace( /<\/(strong|b)>/gi, "[/b]" ); + html = html.replace( /<(em|i)(\s[^<>]*)?>/gi, "[i]" ); + html = html.replace( /<\/(em|i)>/gi, "[/i]" ); + + // Переводы строк + html = html.replace( /<br(\s[^<>]*)?>/gi, "\n" ); + html = html.replace( /<p(\s[^<>]*)?>/gi, "" ); + html = html.replace( /<\/p>/gi, "\n" ); + // DIV заменяем на SPAN + html = html.replace( /<div><br(\s[^<>]*)?>/gi, "<div>" ); //chrome-safari fix to prevent double linefeeds + html = html.replace( /<\/div>\s*<div([^<>]*)>/gi, "</span>\n<span$1>" ); //chrome-safari fix to prevent double linefeeds + html = html.replace( /<div([^<>]*)>/gi, "\n<span$1>" ); + html = html.replace( /<\/div>/gi, "</span>\n" ); + + // HTML мнемоника + html = html.replace( / /gi, " " ); + html = html.replace( /"/gi, "\"" ); + html = html.replace( /&/gi, "&" ); + + var sc; + // Цикл обработки SPAN + do { + sc = html; + // Обработка тега FONT + // Цвет + html = html.replace( /<font\s([^<>]*?)color=\"?\#([0-9a-f]+)\"?([^<]*?)<\/font>/gi, "[color=$2]<font $1$3</font>[/color]" ); + // Шрифт + html = html.replace( /<font\s([^<>]*?)face=\"'?([^<>\"]*?)'?\"([^<]*?)<\/font>/gi, "[font=$2]<font $1$3</font>[/font]" ); // Сафари и Хром в face добавляют одинарные ковычки + // Размер шрифта + html = html.replace( /<font\s([^<>]*?)size=\"?([1-7]+)\"?([^<]*?)<\/font>/gi, "[size=$2]<font $1$3</font>[/size]" ); + // Удаляем пустой FONT + html = html.replace( /<font\s*>([^<>]*?)<\/font>/gi, "$1" ); + // Удаляем неизвестный FONT + if( sc == html ){ + html = html.replace( /<font[^<>]*>([^<>]*?)<\/font>/gi, "$1" ); + } + + // + } while( sc != html ); + // Преобразуем HTML размеры шрифта в CSS + html = html.replace( /\[size=1\]/gi, "[size=xx-small]" ); + html = html.replace( /\[size=2\]/gi, "[size=small]" ); + html = html.replace( /\[size=3\]/gi, "[size=medium]" ); + html = html.replace( /\[size=4\]/gi, "[size=large]" ); + html = html.replace( /\[size=5\]/gi, "[size=x-large]" ); + html = html.replace( /\[size=6\]/gi, "[size=xx-large]" ); + html = html.replace( /\[size=7\]/gi, "[size=xx-large]" ); + // =================== + + // Удаляем HTML теги + html = html.replace( /<[^<>]*>/gi, "" ); + html = html.replace( /</gi, "<" ); + html = html.replace( />/gi, ">" ); + + // Упорядочиваем BB теги + // ===================== + + // Удаляем пустые BB теги + do { + sc = html; + html = html.replace( /\[b\]\n*\[\/b\]/gi, "" ); + html = html.replace( /\[i\]\n*\[\/i\]/gi, "" ); + html = html.replace( /\[u\]\n*\[\/u\]/gi, "" ); + html = html.replace( /\[quote[^\]]*\]\n*\[\/quote\]/gi, "" ); + html = html.replace( /\[code\]\n*\[\/code\]/gi, "" ); + html = html.replace( /\[url=([^\]]+)\]\n*\[\/url\]/gi, "" ); + html = html.replace( /\[img( align=(left|center|right))?( width=[0-9]+)?\]\n*\[\/img\]/gi, "" ); + html = html.replace( /\[color=\#?[0-9a-f]+\]\n*\[\/color\]/gi, "" ); + html = html.replace( /\[font=[^\]]*\]\n*\[\/font\]/gi, "" ); + // + }while( sc != html ); + + return html; + + } + + // Expose the convertXoopsCodeToHTML method + $.rheditor.convertXoopsCodeToHTML = function(code) { + + // Удаляем HTML теги + code = code.replace( /\</gi, "<" ); + code = code.replace( /\>/gi, ">" ); + + // Переводы строк + code = code.replace( /\r/g, "" ); + code = code.replace( /\n/g, "<br />" ); + // Списки + code = code.replace( /\[ul\]/gi, "<ul>" ); + code = code.replace( /\[\/ul\]/gi, "</ul>" ); + code = code.replace( /\[ol\]/gi, "<ol>" ); + code = code.replace( /\[\/ol\]/gi, "</ol>" ); + code = code.replace( /\[li\]/gi, "<li>" ); + code = code.replace( /\[\/li\]/gi, "</li>" ); + // Картинки + code = code.replace( /\[img align=(left|center|right) width=([0-9]+)\]([^\"\(\)\?\&'<>]*?)\[\/img\]/gi, "<img style=\"width: $2px; height: auto;\" src=\"$3\">" ); + code = code.replace( /\[img align=(left|center|right)\]([^\"\(\)\?\&'<>]*?)\[\/img\]/gi, "<img style=\"width: auto; height: auto;\" src=\"$2\">" ); + code = code.replace( /\[img width=([0-9]+)\]([^\"\(\)\?\&'<>]*?)\[\/img\]/gi, "<img style=\"width: $1px; height: auto;\" src=\"$2\">" ); + code = code.replace( /\[img\]([^\"\(\)\?\&'<>]*?)\[\/img\]/gi, "<img style=\"width: auto; height: auto;\" src=\"$1\">" ); + // Ссылки + code = code.replace( /\[url=([^'\"<>]*?)\](.*?)\[\/url\]/gi, "<a href=\"$1\">$2</a>" ); + // Цвета + code = code.replace( /\[color=\#?([0-9a-f]+)\](.*?)\[\/color\]/gi, "<font color=\"#$1\">$2</font>" ); + // Шрифт + code = code.replace( /\[font=([^;<>\*\(\)\"']*?)\](.*?)\[\/font\]/gi, "<font face=\"$1\">$2</font>" ); + // Размер шрифта + // Преобразуем CSS размер в HTML + code = code.replace( /\[size=xx\-small\]/gi, "[size=1]" ); + code = code.replace( /\[size=small\]/gi, "[size=2]" ); + code = code.replace( /\[size=medium\]/gi, "[size=3]" ); + code = code.replace( /\[size=large\]/gi, "[size=4]" ); + code = code.replace( /\[size=x\-large\]/gi, "[size=5]" ); + code = code.replace( /\[size=xx\-large\]/gi, "[size=6]" ); + // Переводим BB тег в HTML + code = code.replace( /\[size=([1-7]+)\](.*?)\[\/size\]/gi, "<font size=\"$1\">$2</font>" ); + // + code = code.replace( /\[u\]/gi, "<u>" ); + code = code.replace( /\[\/u\]/gi, "</u>" ); + code = code.replace( /\[(d|s)\]/gi, "<strike>" ); + code = code.replace( /\[\/(d|s)\]/gi, "</strike>" ); + // Опера и IE отличаются умом и производительностью... + if( browserOpera || browserMsie ) { + code = code.replace( /\[b\]/gi, "<strong>" ); + code = code.replace( /\[\/b\]/gi, "</strong>" ); + code = code.replace( /\[i\]/gi, "<em>" ); + code = code.replace( /\[\/i\]/gi, "</em>" ); + // Остальные браузеры + } else { + code = code.replace( /\[b\]/gi, "<b>" ); + code = code.replace( /\[\/b\]/gi, "</b>" ); + code = code.replace( /\[i\]/gi, "<i>" ); + code = code.replace( /\[\/i\]/gi, "</i>" ); + } + + return code; + + } + +})(jQuery); \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor_registry.php =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor_registry.php (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/editor_registry.php 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,15 @@ +<?php +// Автор: andrey3761 +// Копирайт: xoops.ws + +defined( 'XOOPS_ROOT_PATH' ) or die( 'Restricted access' ); + +return $config = array( + 'class' => 'FormRhEditor', + 'file' => XOOPS_ROOT_PATH . '/class/xoopseditor/rheditor/rheditor.php', + 'title' => _XOOPS_EDITOR_RHEDITOR, + 'order' => 2, + 'nohtml' => 1 +); + +?> \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/index.html =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/index.html (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/index.html 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/english.php =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/english.php (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/english.php 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,7 @@ +<?php +// Автор: andrey3761 +// Копирайт: xoops.ws + +define( '_XOOPS_EDITOR_RHEDITOR', 'Rh Editor' ); + +?> Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/index.html =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/index.html (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/index.html 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/russian.php =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/russian.php (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/language/russian.php 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,7 @@ +<?php +// Автор: andrey3761 +// Копирайт: xoops.ws + +define( '_XOOPS_EDITOR_RHEDITOR', 'Rh Editor' ); + +?> Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/rheditor.php =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/rheditor.php (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/rheditor/rheditor.php 2012-08-20 10:16:09 UTC (rev 10090) @@ -0,0 +1,47 @@ +<?php +// Автор: andrey3761 +// Копирайт: xoops.ws + +xoops_load('XoopsEditor'); + +class FormRhEditor extends XoopsEditor +{ + + // Инициализация заголовка + private function initHeader() + { + static $init; + + if( !$init ) { + // Подключаем jQuery + $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/jquery.js'); + // Подключаем редактор + $GLOBALS['xoTheme']->addScript(XOOPS_URL . '/class/xoopseditor/rheditor/editor/jquery.rheditor.js'); + $GLOBALS['xoTheme']->addScript(XOOPS_URL . '/class/xoopseditor/rheditor/editor/jquery.rheditor.xoopscode.js'); + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . '/class/xoopseditor/rheditor/editor/jquery.rheditor.css'); + + $init = true; + } + + return $init; + } + + // Прорисовка + public function render() + { + // + $this->initHeader(); + + $ret = ' +<script type="text/javascript"> + $(document).ready(function() { + $("#' . $this->getName() . '").rheditor()[0].focus(); + }); +</script> +'; + $ret .= parent::render(); + + return $ret; + } +} +?> \ 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: <be...@us...> - 2012-08-19 19:54:09
|
Revision: 10089 http://xoops.svn.sourceforge.net/xoops/?rev=10089&view=rev Author: beckmi Date: 2012-08-19 19:54:01 +0000 (Sun, 19 Aug 2012) Log Message: ----------- removing backup file Removed Paths: ------------- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt Deleted: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt 2012-08-19 19:22:48 UTC (rev 10088) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt 2012-08-19 19:54:01 UTC (rev 10089) @@ -1,8 +0,0 @@ -SCEditor Website: http://www.sceditor.com/ - -This is a testing version for XOOPS - -Known bugs/incompatibilities: -================================= -- Selecting Color inserts "#" in front of color code (XOOPS doesn't use it) -- Clicking on Preview in XOOPS, inserts "<br /> on line breaks \ 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: <be...@us...> - 2012-08-19 19:22:58
|
Revision: 10088 http://xoops.svn.sourceforge.net/xoops/?rev=10088&view=rev Author: beckmi Date: 2012-08-19 19:22:48 +0000 (Sun, 19 Aug 2012) Log Message: ----------- Adding SCEditor, potential replacement for DHTML Added Paths: ----------- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Readme_XOOPS.txt ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/editor_registry.php ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/formsceditor.php ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/index.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/CHANGELOG.txt ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/GPL.txt ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/MIT.txt ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/README.md ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/build/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/build/CodeView/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/build/build.php ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/build/build.sh ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/all.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-bold-webfont.eot ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-bold-webfont.svg ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-bold-webfont.ttf ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-bold-webfont.woff ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-regular-webfont.eot ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-regular-webfont.svg ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-regular-webfont.ttf ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/fonts/mplus-1m-regular-webfont.woff ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/handheld.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/css/screen.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/files.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/index.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/javascript/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/javascript/all.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/javascript/html5.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/jQuery.sceditor.command.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/jQuery.sceditor.dom.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/jQuery.sceditor.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/jQuery.sceditor.rangeHelper.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/jQuery.sceditorBBCodePlugin.bbcode.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/jQuery.sceditorBBCodePlugin.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/src/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/src/jquery.sceditor.bbcode.js.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/docs/symbols/src/jquery.sceditor.js.html ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/alien.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/angel.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/angry.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/blink.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/blush.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/cheerful.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/cool.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/credits.txt ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/cwy.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/devil.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/dizzy.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/ermm.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/face.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/getlost.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/grin.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/happy.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/heart.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/kissing.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/laughing.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/ninja.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/pinch.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/pouty.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/sad.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/shocked.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/sick.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/sideways.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/silly.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/sleeping.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/smile.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/tongue.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/unsure.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/w00t.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/wassat.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/whistling.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/wink.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/emoticons/wub.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/jquery.sceditor.bbcode.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/jquery.sceditor.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/jquery.sceditor.default.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/jquery.sceditor.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/de.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/en-US.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/en.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/english.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/es.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/et.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/fr.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/nl.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/no.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/pt-BR.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/ru.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/sv.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/languages/template.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/jquery.sceditor.default.min.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/jquery.sceditor.min.js ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/themes/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/themes/default.min.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/themes/famfamfam.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/themes/modern.min.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/themes/office-toolbar.min.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/minified/themes/office.min.css ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/package.json ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/default.less ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/famfamfam.less ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/famfamfam.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/bold.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/bulletlist.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/center.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/code.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/color.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/copy.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/cut.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/date.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/email.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/emoticon.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/font.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/grip.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/horizontalrule.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/image.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/italic.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/justify.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/left.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/ltr.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/orderedlist.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/paste.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/pastetext.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/print.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/quote.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/removeformat.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/right.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/rtl.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/size.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/source.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/strike.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/subscript.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/superscript.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/table.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/text_ltr.xcf ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/text_rtl.xcf ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/time.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/underline.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/unlink.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/url.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/famfamfam/youtube.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/bold.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/bulletlist.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/center.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/code.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/color.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/copy.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/cut.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/date.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/email.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/emotion.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/font.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/grip.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/horizontalrule.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/image.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/italic.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/justify.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/left.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/ltr.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/orderedlist.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/paste.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/pastetext.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/print.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/quote.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/removeformat.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/right.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/rtl.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/size.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/source.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/strike.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/subscript.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/superscript.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/table.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/time.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/underline.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/unlink.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/url.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/icons/src/new/youtube.png ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/modern.less ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/office-toolbar.less ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/themes/office.less Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Backup-Readme_XOOPS.txt 2012-08-19 19:22:48 UTC (rev 10088) @@ -0,0 +1,8 @@ +SCEditor Website: http://www.sceditor.com/ + +This is a testing version for XOOPS + +Known bugs/incompatibilities: +================================= +- Selecting Color inserts "#" in front of color code (XOOPS doesn't use it) +- Clicking on Preview in XOOPS, inserts "<br /> on line breaks \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Readme_XOOPS.txt =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Readme_XOOPS.txt (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/Readme_XOOPS.txt 2012-08-19 19:22:48 UTC (rev 10088) @@ -0,0 +1,10 @@ +SCEditor Website: http://www.sceditor.com/ + +Version 1.37 + +This is a test installation for XOOPS + +Found incompatibilities: +================================= +- Selecting Color inserts "#" in front of color code (XOOPS doesn't use it) +- Clicking on Preview, XOOPS inserts "<br /> on line breaks \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/editor_registry.php =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/editor_registry.php (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/editor_registry.php 2012-08-19 19:22:48 UTC (rev 10088) @@ -0,0 +1,22 @@ +<?php +/** + * SCEditor adapter for XOOPS + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package class + * @subpackage editor + * @since 2.5.6 + * @author XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX + * @version $Id: editor_registry.php 8066 2011-11-06 05:09:33Z beckmi $ + */ + +return $config = array( + "name" => "sceditor", + "class" => "XoopsFormSceditor", + "file" => XOOPS_ROOT_PATH . "/class/xoopseditor/sceditor/formsceditor.php", + "title" => 'SCEditor', + "order" => 6, + "nohtml" => 0 + ); +?> Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/formsceditor.php =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/formsceditor.php (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/formsceditor.php 2012-08-19 19:22:48 UTC (rev 10088) @@ -0,0 +1,149 @@ +<?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. +*/ + +/** + * SCEditor adapter for XOOPS + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package class + * @subpackage editor + * @since 2.5.6 + * @author XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX + * @version $Id: formtinymce.php 8066 2011-11-06 05:09:33Z beckmi $ + */ + +xoops_load('XoopsEditor'); + +class XoopsFormSceditor extends XoopsEditor +{ + var $language = _LANGCODE; + var $width; + var $height; +// var $editor; + + function __construct($configs) + { + $current_path = __FILE__; + if ( DIRECTORY_SEPARATOR != "/" ) { + $current_path = str_replace( strpos( $current_path, "\\\\", 2 ) ? "\\\\" : DIRECTORY_SEPARATOR, "/", $current_path); + } + $this->rootPath = "/class/xoopseditor/sceditor"; + parent::__construct($configs); + $this->width = $configs['width']; + $this->height = $configs['height']; + } + function getName() + { + return $this->name; + } + function setName($value) + { + $this->name = $value; + } + /** + * get textarea width + * + * @return string + */ + function getWidth() + { + return $this->width; + } + /** + * get textarea height + * + * @return string + */ + function getHeight() + { + return $this->height; + } + /** + * get language + * + * @return string + */ + function getLanguage() + { + return str_replace('_','-',strtolower($this->language)); + } + /** + * set language + * + * @return null + */ + function setLanguage($lang='en') + { + $this->language = $lang; + } + /** + * Get initial content + * + * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat + * @return string + */ + function getValue() { + return strtr(htmlspecialchars_decode($this->_value) , array("\n" => '<br />', "\r\n" =>'<br />')); + } + /** + * Renders the Javascript function needed for client-side for validation + * + * @return string + */ + function renderValidationJS() + { + if ($this->isRequired() && $eltname = $this->getName()) { + $eltcaption = $this->getCaption(); + $eltmsg = empty($eltcaption) ? sprintf( _FORM_ENTER, $eltname ) : sprintf( _FORM_ENTER, $eltcaption ); + $eltmsg = str_replace('"', '\"', stripslashes( $eltmsg ) ); + $ret = "\n"; + $ret.= "if ( myform.{$eltname}.value == '' || myform.{$eltname}.value == '<br />' )"; + $ret.= "{ window.alert(\"{$eltmsg}\"); myform.{$eltname}.focus(); return false; }"; + return $ret; + } + return ''; + } + /** + * prepare HTML for output + * + * @return sting HTML + */ + function render() + { + static $isJsLoaded = false; + $ret = "\n"; + if(!$isJsLoaded) + { + /* css files in header */ + $GLOBALS['xoTheme']->addStylesheet( XOOPS_URL . '/class/xoopseditor/sceditor/sceditor/minified/themes/default.min.css', array('type'=>'text/css', 'media'=>'all') ); + /* js files in header */ + $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/jquery.js'); + $GLOBALS['xoTheme']->addScript( XOOPS_URL . '/class/xoopseditor/sceditor/sceditor/minified/jquery.sceditor.min.js' ); + $isJsLoaded = true; + } + + + $ret.= "<script type='text/javascript'>\n"; + $ret.= "jQuery(document).ready(function(){\n"; +// $ret.= " jQuery.sceditor.defaultOptions.width = 650;\n"; + $ret.= " jQuery.sceditor.defaultOptions.height = 250;\n"; + $ret.= " jQuery('#".$this->getName()."').sceditorBBCodePlugin({style: '/minified/jquery.sceditor.default.min.css'});\n"; + $ret.= " });\n"; + + $ret.= "</script>\n"; + + $ret.= "<textarea class='".$this->getName()."' name='".$this->getName()."' id='".$this->getName()."' ".$this->getExtra()."style='width:".$this->getWidth().";height:".$this->getHeight().";'>" . $this->getValue() . "</textarea>"; + return $ret ; + + } +} +?> \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/index.html =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/index.html (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/index.html 2012-08-19 19:22:48 UTC (rev 10088) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/CHANGELOG.txt =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/CHANGELOG.txt (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/CHANGELOG.txt 2012-08-19 19:22:48 UTC (rev 10088) @@ -0,0 +1,192 @@ +Version 1.3.7: + Fix emoticon "more" button closing the dropdown + Fix blur() function causing small box to appear in IE + Update theme so that the container has no z-index set + +Version 1.3.6: + Added Spanish translation + - Thanks to Maxpower for translating + Fixed YouTube command not matching youtu.be URLs + Added form reset support + Added autoExpand option + Fixed bug related to inserting BBCodes in source mode when textarea is empty. + - Thanks to Martec for reporting + Fixed stripQuotes bug + - Thanks to Maxpower for reporting + Fixed destory() to stop memory leak + Fixed iOS bug with content overflowing the container + Fixed font size BBCode bug with WebOS browser + Added blur() function + Fixed list bug where newlines from the end would be removed + - Thanks to Birkoff Keren for reporting + Fixed whitespace removal bug causing some whitespace to be left. + - Thanks to Martec for reporting + Fixed val() helper function bug returning HTML when in source mode. + - Thanks to Maxpower for reporting + Fixed bug with IE compatibility modes "Quirks" and "IE 7" causing new lines + not to show. + +Version 1.3.5: + Fixed bug in FF making pasting via right click difficult when empty + - Thanks to Nibogo2 for reporting + Added readonly method and option + Added expandToContent method + Reorganised themes to their own directory. + Changed themes to be in .less format and added to build file + Added modern, office-toolbar and office themes + Added autofocus option + Added a roadmap to the GitHub wiki + Added height and width methods + Added method to check for WYSIWYG support + Changed so that by default the editor won't start in browsers + that do not support WYSIWYG editing (old mobile browsers) + Added rtl option along with rtl & ltr commands + Added id option + Added sourceMode, val, insertText and insert methods + Fixed quote bug where author from nested quotes would be removed + Added Estonian language file + - Thanks to Rivo for translating + Fixed bug with dom.fixNesting when fixing certain tags + Improve adding/updating/removing of commands and BBCodes + Fixed bug causing elements that are styled with display: block to be treated + as block level elements + - Thanks to Rene for reporting + Added Brazilian Portuguese language file + - Thanks to Martec for translating + +Version 1.3.4: + Updated focus method to work in source mode + Added public inSourceMode method + Fixed bug causing BBCodes to be striped + - Thanks to Nibogo2 for reporting + +Version 1.3.3: + Added dropDownCss option, thanks to @esion + Add txtExec option to setCommand function + Updated BBCode plugin to support some BBCodes in source mode + Updated editor to disable AYT emotion conversion if emotions is not in toolbar + Fixed rare problem with value not being submitted + - Thanks to Marco for reporting + Added experimental paste filtering + +Version 1.3.2: + Created rangeHelper class to improve code quality + Fix bug with IE8 and below related to newlines + Updated to remove empty BBCodes such as [b][/b] + +Version 1.3.1: + Add emoticonsRoot option. Allows adding a root URL to be prepended to all emoticons. + - Thanks to @primehalo for the idea + Fix IE9 bug showing resize handles + Fix IE ranges sometimes causing the last typed character to be unselected + - Thanks to Maxime Lemercier for reporting + +Version 1.3.0: + Add package.json file + Add Contribute to README + Add GitHub pages page + Fix newline bug. This greatly improves the BBCode to HTML parsers handling of newlines. + +Version 1.2.9: + Started on improving accessibility + Added charset option + Updated quote command to support authors + Fix Webkit based bug causing newlines not to be added sometimes + - Thanks to Robin for reporting and extra help providing information + Added Swedish translation kindly submitted by Robin + Added French translation kindly submitted by Nicolas + Fix extra newlines being included in quotes + Removed undo/redo commands as they cause Safari to reopen closed tabs if they have been closed + after the point being undone. + - This happens with other editors and also on plain HTML text inputs. Thanks to Robin for finding and reporting. + Fixed header (h1, h2, h3, ect.) related BBCode bug + Removed Undo/Redo images from the sprite + Small tweak to BBCode parser to improve IE UX + Make BBCode parser strip unused whitespace to improve copying HTML from websites + Fix newline problem with [code] tag + Started adding unit tests to what can be tested + - WYSIWYG will still need manual testing as faking user input is ugly or just not possible + Fix IE < 8 newlines bug + +Version 1.2.8: + Updated to use contentEditable if supported. This fixes some selection issues in IE9 + Fixed problem with YouTube videos hiding after switching between WYSIWYG and source modes + Added new build page + Fixed bug causing quotes with author attributes to lose their content + Fixed HTML5 form required attribute compatibility + Added destroy function to enable removing the editor + Updated editor to only pre-load emoticons when they are in the toolbar. + Idea from kaen25's[https://github.com/kaen25/] fork. + Added Dutch translation kindly submitted by Samuel + Added German translation kindly submitted by Tina + Changed I18n to default to just the ISO 639-1 and only include the dialect when needed + +Version 1.2.7: + Added options for emoticons to require spaces around them for compatibility. + i.e. If you have the emoticon :/ it will not replace http://. This + mode currently has limited As You Tyne emoticon conversion. + Fixed problem with YouTube dropdown + Fixed Opera problem with [url] + Fixed problem with default style causing table to have size tags wrapped around them + Fixed dropdowns being hidden behind YouTube videos + Fixed empty tables being inserted if columns and rows are set to 0 + Updated so that when enter is pressed on code or quotes a new line is always inserted + Updated quote behaviour to insert selected text into the quote rather than replace it + Updated editor to not allow block level elements inside inline elements + Fixed problem with Opera not allowing text to be aligned after switching from WYSIWYG to source modes and back again + Updated so there is always a newline at the end of the editor if a quote or code is inserted. Allows to get out of them. + Updated to allow only certain bbcode tags within tags + Fix bug with IE selection + +Version 1.2.6: + Added i18n support + Added support for text mode commands and disabling all non-text mode commands when in text mode + Fixed date bug that caused the month to be out by -1 + Fixed newlines being removed from [code] tags + Fixed newlines being added to tables when switching between source and design mode + Fixed error when attempting to insert HTML before anything has been entered in the editor + +Version 1.2.5: + Fixed IE select problem. + Fixed percent based width/height problem. + +Version 1.2.4: + Added custom commands support. + Added date format option. + Added ability for % to be set as width/height. + Improved IE support. + +Version 1.2.3: + Added resize support. + Fixed IE 9 bug. + Fixed Opera colour picker bug. + Added hidden emoticons option. + +Version 1.2.2: + Improved the code to update the forms textarea value. + Improved As You Type emoticon support. + General code tidying. + Fix typo with image insert. + Added YouTube embedding. + +Version 1.2.1: + Fix BBCode color bug. + Improved colour picker speed. + Improved styling. + Fix IE6 bug where colour picker boxes are slightly bigger. + Add optional width/height to image insert. + +Version 1.2: + Fix typo stopping value getting posted + Added code tag. + Added Quote tag. + Improved how HTML is inserted. + +Version 1.1: + Improved colour picker performance + Fixed BBCode bold bug with FF 3.5 + Changed toolbar CSS to use a sprite + Fixed rounded corners CSS in Chrome + +Version 1: + First version Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/GPL.txt =================================================================== --- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/GPL.txt (rev 0) +++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/sceditor/sceditor/GPL.txt 2012-08-19 19:22:48 UTC (rev 10088) @@ -0,0 +1,620 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy li... [truncated message content] |
From: <be...@us...> - 2012-08-17 16:27:51
|
Revision: 10087 http://xoops.svn.sourceforge.net/xoops/?rev=10087&view=rev Author: beckmi Date: 2012-08-17 16:27:45 +0000 (Fri, 17 Aug 2012) Log Message: ----------- Tagging Release 2.6.0 Alpha 1 Added Paths: ----------- XoopsCore/releases/2.6.0-Alpha1/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-17 14:58:32
|
Revision: 10086 http://xoops.svn.sourceforge.net/xoops/?rev=10086&view=rev Author: beckmi Date: 2012-08-17 14:58:26 +0000 (Fri, 17 Aug 2012) Log Message: ----------- Updating Changelog with SVN Revisions Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt Modified: XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt 2012-08-17 14:25:44 UTC (rev 10085) +++ XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt 2012-08-17 14:58:26 UTC (rev 10086) @@ -1,11 +1,320 @@ XOOPS 2.6 Changelog =============================== -2011/10: Version 2.6.0 +2012/08: Version 2.6.0 Alpha 1 =============================== - - Delete unused directory (forxoops) - - Core just support one theme 'default' (forxoops) - - Move smarty lib to xoops_lib directory (forxoops) +Below are Revisions from SVN: + +10083 Updating to jQuery UI 1.8.23 (mamba) +10082 Updating to jQuery UI 1.8 (mamba) +10077 Fix some errors for alpha release reported by Luiz (formuss) +10068 Correcting English translations. (mamba) +10067 Adding Bootstrap Grid to banners (mamba) +10057 Converting xoops_getcss to XOOPS 2.6.0 API (mamba) +10056 Removing spaces from "define", which is required for Transifex per DCrusader (mamba) +10036 Change tooltip icons for admin side (formuss) +10035 Small change in extension part (formuss) +10032 Change avatar logo (formuss) +10030 Add extension installation step (formuss) +9874 Only 1 query for Admin icon instead of 1 for each user (arion92fr) +9868 Only 1 query for getAllByGroupModule (arion92fr) +9866 (theme)/theme_onload.php before Instanciating of plugins and modules (arion92fr) +9861 update mailusers (mage) +9832 Commit error (formuss) +9829 Update theme and template for bootstrap (formuss) +9826 little bug with the banner templates (mage) +9801 Adding Bootstrip Tables styles (mamba) +9800 error in installing the module banner (mage) +9798 Renaming system "plugins" to "extensions" (mamba) +9797 Fixing typo in $ohander to $oHandler (mamba) +9791 Adding missing link to preferences (mamba) +9732 update profile (mage) +9707 modified ligne_break (mage) +9703 Changing the theme to display banners (mage) +9702 Adding preloads for banner management (mage) +9676 Moving sql tables in the module banner (mage) +9662 Use moduleadmin for system/preferences (mage) +9661 correction of an error html (mage) +9660 update maintenance (template maintenance_dump.html) (mage) +9659 Standardization of the help section (html5) (mage) +9600 Removing BOM from files (mamba) +9592 Add media directory for browse.php (formuss) +9585 Fixing typo (mamba) +9584 remove check is active in Userrank (mage) +9583 Add CleanCache function in system class (mage) +9570 change userrank.html to help.html in userrank plugin (mage) +9569 Changing _SEND to _SUBMIT in Maintenance (mamba) +9567 Update insertBreak in themform.php and modification in the system module (mage) +9566 Change in the plugin maintenance. For the part dump modules and plugins are displayed if they have a sql table. (mage) +9565 change constant language error (mage) +9562 update userrank with new form (mage) +9561 The description is no longer displayed with the title to the preferences of modules / plugins (mage) +9560 correction of an error in Protector (mage) +9559 update userrank (mage) +9558 Converting link button to icon, changing hardcoded date format to localized format (mamba) +9557 Changing _GO to _SUBMIT in Preferences (mamba) +9556 Updating English language files in Maintenance (mamba) +9555 Fixing wrong links to Maintenance class (mamba) +9554 Updating English language files (mamba) +9553 Adding a screenshot, so it's visible in Install (mamba) +9552 Fixing division by zero in: $total_pages = ceil($this->total / $this->perpage); (mamba) +9550 Updating icon links in Protector (mamba) +9548 Fixing icon links in userrank (mamba) +9547 Adding icons from XOOPS 2.5.5 (mamba) +9546 Fixing link to icons (currently it creates /icons/32// (mamba) +9543 update logo for maintenance plugin (mage) +9539 Add forms style in main style, Change login template with bootstrap (formuss) +9538 Change the default theme to an HTML5 theme with bootstrap, Prepare theme manager part (formuss) +9537 Update all template with HTML5 and bootstrap (formuss) +9536 Add some new variables for theme (formuss) +9535 Correct some warning for W3C validation (formuss) +9534 Remove PHP 5.3 error (formuss) +9532 Update bootstrap framework to 2.0.3 (formuss) +9518 update protecor plugins (mage) +9516 update forms (mage) +9514 update maintenance plugin (mage) +9491 remove system maintenance (mage) +9490 add maintenance plugin (mage) +9489 Fixing typo in Copyright sign (should be ?\194?\169 instead of @) (mamba) +9480 update icons for Userrank (mage) +9479 Add plugin class (formuss) +9472 Manage plugins link in admin area for each module Add some change to admin theme (formuss) +9461 Delete mail users from system module (formuss) +9460 Change and add plugin logo (formuss) +9459 Change PM logo (formuss) +9458 Rename moduleadmin function (formuss) +9457 Change mailuser as plugin (formuss) +Correct an error in new form +Remove some error for PHP5.3 STRICT +9453 fixing a bug with "Module File for $dirname Not Found!" (mage) +9452 update system module (mage) +9443 update smilies plugin (mage) +9442 add template for xoops confirm (mage) +9439 Update new forms (mage) +9437 bugfixes in moduladmin (mage) +9422 update profile module (mage) +9419 update pm module (mage) +9411 Update avatar (mage) +9410 update banners (mage) +9409 Update smilies (mage) +9408 Display change to the help section (mage) +9407 Error on the links of icons (mage) +9406 Fixed errors with bootstrap 2.0 (mage) +9405 Correction in the new forms (mage) +9392 Changing forms. Compatible with HTML5 and bootstrap. Much change (Templates, pattern, placeholder and ...) (mage) +9391 suppression of templates for banners in the module system (mage) +9390 small link error (mage) +9204 test for new formtext (mage) +9092 Correction template, url de redirection sur validation des envois de mails (JJDai) +9027 Replace bootstrap version to the lastest, Replace some system tool by plugin (formuss) +9016 Replace bootstrap version to the lastest (formuss) +8952 fixed bug ID: 3432275 (mage) +8951 Fixed bug ID: 3201929 (mage) +8886 Adding check for "can delete", to ensure that System module doesn't show the "Uninstall" icon (mamba) +8884 - fix some E_STRICT errors (mamba) +- fix wrong name of an image +- add load language references for admin.php +8844 update of the core with the avatars plugin (mage) +8843 small error in protector (mage) +8842 update the Profile module with the avatars plugin (mage +8841 add avatars plugin (mage) +8833 fixing UTF conversion (mamba) +8832 Adding missing translation and admin image in MailUser (mamba) +8831 bug when the module does not exist (mage) +8829 Fix an error when user log out without the profile module (mage) +8823 Version 0.1 - Create "mailusers" module from "system.mailusers" (JJDai) +8801 Adding Copyright file. (mamba) +8799 Update protector with bootstrap (mage) +8789 Error with the help menu (mage) +8786 Fixing submenu link (it pointed to the currently selected module) (mamba) +8785 Fixing E_STRICT: Declaration of XoopsPersistableObjectHandler::insert() should be compatible with XoopsObjectHandler (mamba) +8782 Add bootstrap CSS framework (formuss) +Change default theme +Change module admin parts +Add plugin manager +Add CSS sprites in media +8781 Change module as plugin and add default icons in userrank (formuss) +8780 Change module as plugin and add default icons in smilies (formuss) +8736 small error with the help link in MaduleAdmin (mage) +8690 omissions in smilies module (mage) +8677 changes in protector module (in templates admin, define new, etc.) (mage) +8676 fix html error in banners (mage) +8665 Fixed a small error in banners (mage) +8664 language update in banners (mage) +8658 Updating English translations and docs (mamba) +8647 finalize upgrade for banners module (mage) +8643 Final version of the banners module with modification of the xoops core (mage) +8639 Update xoops_version for manage plugin side (formuss) +8638 Change module logo and add module icons (formuss) +8637 Add module icons (formuss) +8636 Change module logo and add module icons (formuss) +8633 Adding email icons to /media folder (mamba) +8632 removing unneeded email icons (they are now in /media) (mamba) +8630 - adjusting message icons links, fixing Smarty Plugins with links to Icon folders (mamba) +8629 Changes for the new banners module (mage) +8628 New banners module (system update sql tables from 2.5.4 integrated) (mage) +8623 change 13 => 'swc' to 13 => 'swf' in $imageExtensions (mage) +8622 add .swf in getImgListAsArray (mage) +8621 small corrections in the smilies module (mage) +8540 Bug for update permissions (mage) +8517 move images/banners to uploads/banners (TODO Do not forget to make changes in the package update) (mage) +8491 Update module logo (formuss) +8487 Smilies and userrank final (mage) +8486 Updating to jQuery 1.71 (mamba) +8483 Adding back the modules admin template. +8482 Refactor module class (formuss) +8472 Fix an error when user log out (formuss) +8471 Updated banners (draft 1) (mage) +8470 updated smilies (mage) +8469 Fixing functions names for AdminModule (mamba) +8466 Refactor module class and adapt modules (formuss) +8460 Updating smilies (draft 1) (mage) +8457 Refactor module class (first draft) (formuss) +8456 "blocks" and "Go to module" appear only if there are blocks and a user page. (mage) +8443 Updating some countries (mamba) +8439 Move all html codes in bannerstats to banners_client.html (voltan) +8437 Fixing bug $xoTheme->addScript('', '', 'content here'); causes duplicate CDATA on cached pages (trabis) +8435 Move all html codes in bannerstats to banners_client.html (voltan) +8434 Move userside functions to client class in banners (voltan) +8433 Add login template and login.css (voltan) +8426 Logo for module banner (mage) +8424 Add banner module (voltan) +- codes same smills module +- not clinup yet +- just add system module banner options whit out new option +8416 fixing back-link in PM (mamba) +8413 Some omissions for XoopModuleAdmin (mage) +8411 Update module protector to use XoopsModuleAdmin (mage) +8410 Update module profile to use XoopsModuleAdmin (mage) +8409 Update module pm to use XoopsModuleAdmin (mage) +8408 Update module smilies to use XoopsModuleAdmin (mage) +8407 Integration of moduleadmin class in xoops (mage) +8405 Rename admin.php in index.php (mage) +8404 Module smilies (mage) +8402 Moving HTMLPurifier to private folder, removing some unused files (trabis) +8398 change formatTimestamp to XoopsLocal::formatTimestamp (mage) +8397 Add icon for module smilies (mage) +8391 Initial refactoring of protector module: (trabis) +- moving protector to public folder +- removing unused files/folders +- removing code related with xoops forks +- removing code related with easy cloning +8387 Adding xoopsformtab and xoopsformtabtray to allow tabbed forms (using jquery ui) (trabis) +8386 change to point to "index.php" (profile) (mage) +8384 error in index.php (pm) (mage) +8383 add smilies structures (mage) +8376 Updating handlers calls (trabis) +8374 Refactoring install folder (trabis) +8373 Merging Eduardo's work on install wizzard (trabis) +8372 Refactore system module (formuss) +8371 No need to set icons on module admin header (trabis) +8370 There is no need for icons set in admin header file (trabis) +8369 Merging pm module from 2.5.4 (trabis) +8368 Merging 2.5.4 Profile Module (trabis) +8367 Refactore system module (formuss) +8362 Merging 2.5.4 changes (only modules left) (trabis) +8361 Merging some more 2.5.4 changes (trabis) +8359 Adding some of 254 changes (trabis) +8358 merging 2.5.4rc extras (trabis) +8357 Merging 2.5.4rc docs (trabis) +8356 Removing templates declaration from xoops_version.php (trabis) +8355 More profile refactoring (trabis) +8336 Some refactoring on Profile module (trabis) +8320 Refactore system module (formuss) +8319 Refactore system module (formuss) +8312 Do some cleaning on @package. Adding registry class (borrowed from Zend) so modules can avoid using GLOBALS. (trabis) +8311 Removing srand(), . thanks to zyspec. Allow loadLanguage to be used in additional situations, thanks to zyspec Allow $xoops->url() to receive a path, ie $xoops->url(dirname(__FILE__)); (trabis) +8307 Fixing some issues in xoops class (trabis) +8306 Refactoring pm module (trabis) +8299 Adding new property in XoopsTheme class to allow changing the cache engine for headers storage. Currently we use 'file' for saving files in xoops/data/xoops_cache, but we can select 'model' to store in database(good for sites using many caches) (trabis) +8289 Improving XoopsCache so we can actually use XoopsCacheModel to save caches on database (if needed) (trabis) +8284 removing xoopsOpion from system files. Now using $xoTheme->header('templatenname'); (trabis) +8283 Droping cpanel and gui class, using $xoops->header() on admin side now. (trabis) +8280 Updating system files (trabis) +8276 Updating some system files (trabis) +8275 Updating block manager (trabis) +8274 Removing svn ignore properties on modules folder (trabis) +8271 U+dating class phpdoc header (trabis) +8269 Changing xos_ classes to use Xoops prefix (trabis) +8238 Updating version number (mamba) +8237 Improving smarty block(everywhere) plugin (making use of core class instead of duplicating code) (trabis) +8236 Making core files using new resources (trabis) +8235 Renaming reource from blocks to block to match tplfile type in database (trabis) +8234 adding new resources to replace db:template.html. (trabis) +You can now use module:dirname|template.html You can now use block:dirname|template.html You can now use admin:dirname|template.html (trabis) +All resources look for override templates in theme dir +You can use this new resources inside templates: +<{includeq file="module:system|system_header.html"}> +Or on any template object: +if (!$tpl->is_cached('module:system|system_rss.html')) +8228 Updating file headers (trabis) +8227 We should use headers in this format for all files :) License at the top out of the phpdoc (trabis) +8225 Main templates should look for overriding theme templates (trabis) +8224 Refactore system module (formuss) +8223 Refactoring root/banners.php with handlers usage (trabis) +8219 Refactore system avatars (formuss) +8215 Refactore system avatars (formuss) +8163 Updating to jQuery 1.7 (mamba) +8144 Move public lib in media directory (jquery) (formuss) +8049 Move smarty lib to xoops_lib directory (formuss) +8043 refactoring xoops->loadModuleForm() (trabis) +8042 Adding $xoops->getModuleForm() to handle form classes. Refactoring avatar form. (trabis) +8041 Updating system handlers for banner (trabis) +8040 Adding smilies handler (trabis) +8039 Adding Ranks Handler (trabis) +8038 Adding some more handlers... (trabis) +8033 getter and setter methods for $xoops->option. Fixing notification handler for strict compliance (trabis) +8032 Using $xoops->getConfig() instead of $xoops->config, adding $xoops->disableModuleCache() and $xoops->appendConfig() methods to deal with module_cache and other configs that are arrays and cannot rely on $xoops->setConfig() (trabis) +8028 Some refactoring on handlers, better to keep same name convention (trabis) +8005 Reverting some previous changes in xml parsers. Using extend again instead of interface. (trabis) +8004 Updating config and tplset class methods (trabis) +8003 Updating image and avatar classes (trabis) +8000 Updating tplfile methods (trabis) +7999 Adding kernel classes to autoload to allow modules to extend them without using include (trabis) +7998 more refactoring , moving some functions to correspondent classes (trabis) +7996 formatTimestamp belongs in XoopsLocal (trabis) +7989 Adding get methods for kernel handlers (trabis) +7984 updating setActiveModules (trabis) +7983 Moving functions to xoops class and mark them as deprecated. Notice that functions are required on every page and there is no difference in having them inside the main class. (trabis) +7981 removing unnecessary 'includes' (trabis) +7980 changing some block and privmessage methods names (trabis) +7979 Moving template functions to functions.php(where functions should be) and updating protector Database::getInstance(); (trabis) +7978 Updating module methods (trabis) +7976 Move smarty lib to xoops_lib directory (formuss) +7963 updating system gui (trabis) +7961 More refactoring. removing xmlrpc.php (this file is related with news module) (trabis) +7955 Assigning globals by reference to maintain compatibility (trabis) +7948 Small update to ensure legacy compatibility (trabis) +7947 Introducing $xoops->header() and $xoops->footer() (trabis) +7933 More globals removing and removing of deprecated files (trabis) +7924 Start removing of global variables using Xoops class (trabis) +7923 pm using abstract XoopsForm (trabis) +7922 refactoring class/xoopsforms (trabis) +7921 Refactoring class/xoopseditor (trabis) +7920 Refactoring class/xml (some of this classes will be removed latter on) (trabis) +7901 Refactoring class/textsanitizer (trabis) +7900 Refactoring class/model (trabis) +7899 Refactoring class/mail (need to update phpmailer, not done yet) (trabis) +7896 refactoring class/logger (trabis) +7892 Refactoring class/file (trabis) +7891 Refactoring class/database (trabis) +7890 Refactoring class/captcha (trabis) +7889 refactoring class/cache (trabis) +7888 Fixing @package for class/kernel (trabis) +7887 finishing class folder refactoring (root) (trabis) +7885 enabling autoload and removing xoops_load() calls (trabis) +7861 Core just support one theme 'default'(formuss) +7860 Core just support one theme 'default'(formuss) +7856 Delete unused directory (formuss) +7842 Start class refactoring, added modules admin (trabis) +7814 Finishing kernel and class/model refactoring (trabis) +7813 More updated kernel classes (trabis) +7789 Ignore db templates for blocks (trabis) +7787 More class refactoring. Deleting class handler registry(not used) (trabis) +7785 Removing license key (trabis) +7784 Updating 2.5.3/4 fixes and some more refactoring (trabis) + + Languages - modules/system/language/admin/avatars.php _AM_SYSTEM_AVATAR_CAT \ 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: <be...@us...> - 2012-08-17 14:25:50
|
Revision: 10085 http://xoops.svn.sourceforge.net/xoops/?rev=10085&view=rev Author: beckmi Date: 2012-08-17 14:25:44 +0000 (Fri, 17 Aug 2012) Log Message: ----------- Updating release_notes.txt Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/docs/release_notes.txt Modified: XoopsCore/branches/2.6.x/2.6.0/docs/release_notes.txt =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/docs/release_notes.txt 2012-08-17 14:19:07 UTC (rev 10084) +++ XoopsCore/branches/2.6.x/2.6.0/docs/release_notes.txt 2012-08-17 14:25:44 UTC (rev 10085) @@ -1,14 +1,37 @@ -XOOPS 2.5.2 Release Candidate (RC) +XOOPS 2.6.0 Alpha 1 -The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.2 RC. Several bugs have been fixed as well as security enhancement based on report from High-Tech Bridge Security Research Lab.. -Please be aware that the bugfix is not complete and 2.5 series will be following small but frequent release rule so that users can take advantage of quick fixes. +The XOOPS Development Team is pleased to announce the release of XOOPS 2.6.0 Alpha 1. -This 2.5 series builds on the XOOPS 2.4.x series with objectives of usability improvements instead of architecture or API changes. -The system module is updated with a major redesign with jQuery based AJAX, done mainly by ForMusS, kraven_30, Mage with contributions from trabis, voltan, Kris_fr, onokazu etc. -Besides usability, some proof-of-concept experiments have also been proven for module and theme development. Unavoidably there are bugs and incompatibility introduced. +This is a brand new 2.6.x series, with several major changes and enhancements to the Core. -Download XOOPS 2.5.2 from [url=https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28stable%20releases%29/XOOPS%202.5.2/]Sourceforge repository[/url]. +You can review the current Roadmap here: +http://xoops.org/modules/news/article.php?storyid=6339 +The main goal of the 2.6 series is to update the XOOPS Core and all classes to PHP5 (public, protected, static) and E_STRICT, and to remove / clean up old legacy code and remove all HTML code found in the PHP files. + +Some of the main changes in Alpha 1: + +\xB7 Central class "xoops" to simplify the development of XOOPS modules, giving developers direct access to XOOPS API +\xB7 Removal of unused folders in XOOPS.(cache and template_c). +\xB7 Only one theme for the administration and user interface. +\xB7 Automatic loading of all XOOPS classes +\xB7 Removal of global variables, these variables can be used from XOOPS class (e.g. "$xoopsModule" becomes "$xoops->module"). +\xB7 Cental folder for all multimedia public frameworks (jQuery, CSS, JS, images, ...). +\xB7 Module Class Admin to give the same admin interface for all modules, this class already exists in such frameworks, but now it is included in the core and uses HTML templates. +\xB7 moving of some libraries, such as Smarty, to the xoops_lib folder. +\xB7 Refactoring the system module. +\xB7 Adding a new feature: System Extensions. Some parts of the system module are now separate "system extensions" (eg. Banners, Avatars, Smilies). +\xB7 Some modules in the Admin will also become Extensions (eg. Protector). All these Extensions are runing as modules, but they cannot be renamed, and they will be shown in a separate menu module +\xB7 Integration of CSS Framework: Bootstrap from Twitter. +\xB7 Removal of all queries for the block templates and modules. Now, XOOPS reads directly the templates for each part. +\xB7 Reduction of queries in all pages. +\xB7 New theme in the Admin interface. + +There will be more changes in Alpha 2 and Alpha 3, but for now we would appreciate your help in testing existing features. + + +Download XOOPS 2.5.0 Alpha 1 from [url=https://sourceforge.net/projects/xoops/files/XOOPS%20Core%20%28Beta%20Releases%29/XOOPS_2.6.0_Alpha1/]Sourceforge repository[/url]. + System requirements ----------------------------------- @@ -41,46 +64,20 @@ Installing Protector in XOOPS ----------------------------------- -We also highly recommend the installation of the PROTECTOR module which will bring additional security protection and logging capabilities to your site. +We also highly recommend the installation of the PROTECTOR extension which will bring additional security protection and logging capabilities to your site. Upgrading from a previous version ----------------------------------- -Upgrading from 2.5.0 to 2.5.2: - 1. Get the right update package from the sourceforge file repository - 2. Overwrite files in XOOPS directory on your server with the content of /htdocs - * make sure that you copy the content of /xoops_lib to whatever directory you keep it on the server now (it should be your current XOOPS_TRUST_PATH directory), then delete the /xoops_lib directory. There can NOT be two directories with the content of /xoops_lib - 3. Update the "system" module from the modules administration interface. Other modules, especially "Profile" and "Protector" are recommended to update as well +NOT available in Alpha -Upgrading from previous versions older than 2.5.0: - The upgrade scripts from older versions to 2.5.0 are not complete, however it won't affect your XOOPS site. The scripts will be improved in next release. - Following is an instruction for upgrading from XOOPS 2.4.5 to 2.5 provided by John Healy: - 0. Verify the system requirements, in particular the version of PHP. Backup your XOOPS database and site directory. (There are several ways to do these actions, which are discussed elsewhere.) Turning your site off is optional. - Change the permissions on mainfile.php to be writable, for example: - File Normal For upgrade - mainfile.php 400 700 - Get the correct update package from the SourceForge file repository. - 1. In the upgrade package folder, move the "upgrade" folder inside the "htdocs" folder, if it's not already there. Remove the install folder from the "htdocs" folder, if it's there. Remove the mainfile.php file from the "htdocs" folder, if it's there. - If you've moved the xoops_data and xoops_lib folders outside your site's root directory, move these folders out of the "htdocs" folder in the upgrade package folder. - 2. Delete the /modules/system directory on your current XOOPS site (to get rid of any old unnecessary files). - 3. Overwrite the files in the XOOPS directory on your current XOOPS site with the content of "htdocs" folder of the upgrade package. (There are several ways to do this action, which are discussed elsewhere.) - As noted above, if relocated, overwrite the files in your current xoops_data and xoops_lib with the content of those in the upgrade package. - 4. If you have Protector previously installed, open the "mainfile.php" file , and remove the Pre-check and Post-check lines (if they exist): - include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ; - include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ; - 5. At your site's address (URL), login as administrator. Access <your.site.url>/upgrade/ with a browser, and follow the instructions (and any for updating your XOOPS database). After all updates have been applied (green checkmarks), note the link in the Updater to update the "system" module, and do so. - 6. Delete the "upgrade" folder from your site's "htdocs" directory. - 7. Update (reload) other modules, especially "Profile" and "Protector," if necessary. - 8. Change permissions on the files noted above back to their normal state. - 9. Turn your site back on, if you turned it off earlier. - - Debug information display level ----------------------------------- -Since XOOPS 2.3.1 debug information display level is enabled as a temporary solution for 2.3* to show debug information to different level of users: to all users, to members or to admins only. +Debug information display level is enabled to show debug information to different level of users: to all users, to members or to admins only. The configuration can be set in /xoops_data/configs/xoopsconfig.php +The default is for Admin only. Files integrity check @@ -97,9 +94,11 @@ Modules ----------------------------------- -This release contains only the "system-related modules". You are invited to browse the XOOPS modules repository to if you need additional functionality. Note: as a new repository is being built, the current repository is not up-to-date, PLEASE VISIT INDIVIDUAL DEVELOPERS' WEBSITES TO MAKE SURE YOU ARE USING LATEST VERSION OF MODULES. +This release contains only the "system-related modules and extensions". +Unless specifically stated by the module Author, current modules will NOT work properly with XOOPS 2.6.0 Alpha. + How to contribute ----------------------------------- Bug report: http://sourceforge.net/tracker/?group_id=41586&atid=430840 @@ -109,4 +108,4 @@ XOOPS Development Team -September 15th, 2011 \ No newline at end of file +August 17th, 2012 \ 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: <be...@us...> - 2012-08-17 14:19:14
|
Revision: 10084 http://xoops.svn.sourceforge.net/xoops/?rev=10084&view=rev Author: beckmi Date: 2012-08-17 14:19:07 +0000 (Fri, 17 Aug 2012) Log Message: ----------- Updating to jQuery UI 1.8.23 Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.custom.css Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.custom.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.custom.css 2012-08-17 14:17:19 UTC (rev 10083) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.custom.css 2012-08-17 14:19:07 UTC (rev 10084) @@ -1,7 +1,7 @@ -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -13,12 +13,9 @@ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } @@ -41,10 +38,10 @@ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -280,29 +277,24 @@ ----------------------------------*/ /* Corner radius */ -.ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; } -.ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; } -.ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; } -.ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } -.ui-corner-top { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; } -.ui-corner-bottom { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } -.ui-corner-right { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } -.ui-corner-left { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; } -.ui-corner-all { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; } +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-left-radius: 6px; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -khtml-border-top-right-radius: 6px; border-top-right-radius: 6px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } /* Overlays */ .ui-widget-overlay { background: #eeeeee url(images/ui-bg_diagonals-thick_90_eeeeee_40x40.png) 50% 50% repeat; opacity: .80;filter:Alpha(Opacity=80); } -.ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* - * jQuery UI Resizable 1.8.10 +.ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*! + * jQuery UI Resizable 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Resizable#theming */ .ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } @@ -311,20 +303,20 @@ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* - * jQuery UI Selectable 1.8.10 +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*! + * jQuery UI Selectable 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Selectable#theming */ .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } -/* - * jQuery UI Accordion 1.8.10 +/*! + * jQuery UI Accordion 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -340,10 +332,10 @@ .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } .ui-accordion .ui-accordion-content-active { display: block; } -/* - * jQuery UI Autocomplete 1.8.10 +/*! + * jQuery UI Autocomplete 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -355,7 +347,7 @@ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ /* - * jQuery UI Menu 1.8.10 + * jQuery UI Menu 1.8.23 * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. @@ -393,10 +385,10 @@ font-weight: normal; margin: -1px; } -/* - * jQuery UI Button 1.8.10 +/*! + * jQuery UI Button 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -431,10 +423,10 @@ /* workarounds */ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ -/* - * jQuery UI Dialog 1.8.10 +/*! + * jQuery UI Dialog 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -452,10 +444,10 @@ .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } .ui-draggable .ui-dialog-titlebar { cursor: move; } -/* - * jQuery UI Slider 1.8.10 +/*! + * jQuery UI Slider 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -475,10 +467,10 @@ .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } .ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; }/* - * jQuery UI Tabs 1.8.10 +.ui-slider-vertical .ui-slider-range-max { top: 0; }/*! + * jQuery UI Tabs 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -493,10 +485,10 @@ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } .ui-tabs .ui-tabs-hide { display: none !important; } -/* - * jQuery UI Datepicker 1.8.10 +/*! + * jQuery UI Datepicker 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -534,7 +526,7 @@ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; } +.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } /* RTL support */ .ui-datepicker-rtl { direction: rtl; } @@ -551,8 +543,6 @@ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ .ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ position: absolute; /*must have*/ z-index: -1; /*must have*/ filter: mask(); /*must have*/ @@ -560,14 +550,14 @@ left: -4px; /*must have*/ width: 200px; /*must have*/ height: 200px; /*must have*/ -}/* - * jQuery UI Progressbar 1.8.10 +}/*! + * jQuery UI Progressbar 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Progressbar#theming */ -.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar { height:2em; text-align: left; overflow: hidden; } .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ 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: <be...@us...> - 2012-08-17 14:17:29
|
Revision: 10083 http://xoops.svn.sourceforge.net/xoops/?rev=10083&view=rev Author: beckmi Date: 2012-08-17 14:17:19 +0000 (Fri, 17 Aug 2012) Log Message: ----------- Updating to jQuery UI 1.8.23 Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.accordion.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.all.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.autocomplete.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.base.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.button.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.core.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.datepicker.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.dialog.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.progressbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.resizable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.selectable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.slider.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.tabs.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.theme.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-icons_2694e8_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-icons_3d80b3_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.accordion.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.all.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.autocomplete.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.button.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.core.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.datepicker.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.dialog.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.progressbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.resizable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.selectable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.slider.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.tabs.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.theme.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/jquery.ui.js XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-bg_flat_55_fbec88_40x100.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.accordion.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.all.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.autocomplete.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.button.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.core.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.custom.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.datepicker.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.dialog.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.progressbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.resizable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.selectable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.slider.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.tabs.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/ui.theme.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.accordion.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.all.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.autocomplete.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.button.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.core.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.custom.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.datepicker.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.dialog.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.progressbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.resizable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.selectable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.slider.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.tabs.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/smoothness/ui.theme.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.accordion.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.all.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.autocomplete.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.button.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.core.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.custom.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.datepicker.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.dialog.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.progressbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.resizable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.selectable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.slider.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.tabs.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-darkness/ui.theme.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.accordion.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.all.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.autocomplete.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.button.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.core.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.custom.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.datepicker.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.dialog.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.progressbar.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.resizable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.selectable.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.slider.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.tabs.css XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/ui-lightness/ui.theme.css Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-icons_222222_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-icons_228ef1_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-icons_454545_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-icons_888888_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-icons_ef8c08_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-icons_ffd27a_256x240.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/redmond/images/ui-icons_ffffff_256x240.png Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.accordion.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.accordion.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.accordion.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Accordion 1.8.10 +/*! + * jQuery UI Accordion 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.all.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.all.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.all.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.autocomplete.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.autocomplete.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.autocomplete.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Autocomplete 1.8.10 +/*! + * jQuery UI Autocomplete 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -13,7 +13,7 @@ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ /* - * jQuery UI Menu 1.8.10 + * jQuery UI Menu 1.8.23 * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.base.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.base.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.base.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,11 +1,21 @@ -@import url("ui.core.css"); -@import url("ui.resizable.css"); -@import url("ui.selectable.css"); +/*! + * jQuery UI CSS Framework 1.8.23 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming + */ +@import url("jquery.ui.core.css"); + @import url("ui.accordion.css"); @import url("ui.autocomplete.css"); @import url("ui.button.css"); +@import url("ui.datepicker.css"); @import url("ui.dialog.css"); +@import url("ui.progressbar.css"); +@import url("ui.resizable.css"); +@import url("ui.selectable.css"); @import url("ui.slider.css"); @import url("ui.tabs.css"); -@import url("ui.datepicker.css"); -@import url("ui.progressbar.css"); \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.button.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.button.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.button.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Button 1.8.10 +/*! + * jQuery UI Button 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.core.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.core.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.core.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -13,12 +13,9 @@ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.datepicker.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.datepicker.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.datepicker.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Datepicker 1.8.10 +/*! + * jQuery UI Datepicker 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -39,7 +39,7 @@ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; } +.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } /* RTL support */ .ui-datepicker-rtl { direction: rtl; } @@ -56,8 +56,6 @@ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ .ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ position: absolute; /*must have*/ z-index: -1; /*must have*/ filter: mask(); /*must have*/ Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.dialog.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.dialog.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.dialog.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Dialog 1.8.10 +/*! + * jQuery UI Dialog 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.progressbar.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.progressbar.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.progressbar.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,11 +1,11 @@ -/* - * jQuery UI Progressbar 1.8.10 +/*! + * jQuery UI Progressbar 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Progressbar#theming */ -.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar { height:2em; text-align: left; overflow: hidden; } .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.resizable.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.resizable.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.resizable.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,14 +1,14 @@ -/* - * jQuery UI Resizable 1.8.10 +/*! + * jQuery UI Resizable 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Resizable#theming */ .ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.selectable.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.selectable.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.selectable.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Selectable 1.8.10 +/*! + * jQuery UI Selectable 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.slider.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.slider.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.slider.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Slider 1.8.10 +/*! + * jQuery UI Slider 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.tabs.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.tabs.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.tabs.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Tabs 1.8.10 +/*! + * jQuery UI Tabs 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.theme.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.theme.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/base/ui.theme.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -237,16 +237,11 @@ ----------------------------------*/ /* Corner radius */ -.ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-top { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-bottom { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-right { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-left { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; border-radius: 4px/*{cornerRadius}*/; } +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -khtml-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; -khtml-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; } /* Overlays */ .ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; } -.ui-widget-shadow { margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; padding: 8px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityShadow}*/; -moz-border-radius: 8px/*{cornerRadiusShadow}*/; -webkit-border-radius: 8px/*{cornerRadiusShadow}*/; border-radius: 8px/*{cornerRadiusShadow}*/; } \ No newline at end of file +.ui-widget-shadow { margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; padding: 8px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityShadow}*/; -moz-border-radius: 8px/*{cornerRadiusShadow}*/; -khtml-border-radius: 8px/*{cornerRadiusShadow}*/; -webkit-border-radius: 8px/*{cornerRadiusShadow}*/; border-radius: 8px/*{cornerRadiusShadow}*/; } \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png =================================================================== (Binary files differ) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png =================================================================== (Binary files differ) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-icons_2694e8_256x240.png =================================================================== (Binary files differ) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/images/ui-icons_3d80b3_256x240.png =================================================================== (Binary files differ) Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.accordion.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.accordion.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.accordion.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Accordion 1.8.10 +/*! + * jQuery UI Accordion 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.all.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.all.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.all.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.autocomplete.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.autocomplete.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.autocomplete.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Autocomplete 1.8.10 +/*! + * jQuery UI Autocomplete 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -13,7 +13,7 @@ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ /* - * jQuery UI Menu 1.8.10 + * jQuery UI Menu 1.8.23 * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.button.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.button.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.button.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Button 1.8.10 +/*! + * jQuery UI Button 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.core.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.core.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.core.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -13,12 +13,9 @@ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.datepicker.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.datepicker.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.datepicker.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Datepicker 1.8.10 +/*! + * jQuery UI Datepicker 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -39,7 +39,7 @@ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; } +.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } /* RTL support */ .ui-datepicker-rtl { direction: rtl; } @@ -56,8 +56,6 @@ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ .ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ position: absolute; /*must have*/ z-index: -1; /*must have*/ filter: mask(); /*must have*/ Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.dialog.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.dialog.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.dialog.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Dialog 1.8.10 +/*! + * jQuery UI Dialog 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.progressbar.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.progressbar.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.progressbar.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,11 +1,11 @@ -/* - * jQuery UI Progressbar 1.8.10 +/*! + * jQuery UI Progressbar 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Progressbar#theming */ -.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar { height:2em; text-align: left; overflow: hidden; } .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.resizable.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.resizable.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.resizable.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,14 +1,14 @@ -/* - * jQuery UI Resizable 1.8.10 +/*! + * jQuery UI Resizable 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Resizable#theming */ .ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.selectable.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.selectable.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.selectable.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Selectable 1.8.10 +/*! + * jQuery UI Selectable 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.slider.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.slider.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.slider.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Slider 1.8.10 +/*! + * jQuery UI Slider 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.tabs.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.tabs.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.tabs.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,7 +1,7 @@ -/* - * jQuery UI Tabs 1.8.10 +/*! + * jQuery UI Tabs 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.theme.css =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.theme.css 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/cupertino/ui.theme.css 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,9 +1,9 @@ -/* - * jQuery UI CSS Framework 1.8.10 +/*! + * jQuery UI CSS Framework 1.8.23 * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * @@ -239,16 +239,11 @@ ----------------------------------*/ /* Corner radius */ -.ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; } -.ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; } -.ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; } -.ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } -.ui-corner-top { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; } -.ui-corner-bottom { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } -.ui-corner-right { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } -.ui-corner-left { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; } -.ui-corner-all { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; } +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-left-radius: 6px; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -khtml-border-top-right-radius: 6px; border-top-right-radius: 6px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } /* Overlays */ .ui-widget-overlay { background: #eeeeee url(images/ui-bg_diagonals-thick_90_eeeeee_40x40.png) 50% 50% repeat; opacity: .80;filter:Alpha(Opacity=80); } -.ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; } \ No newline at end of file +.ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; } \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/jquery.ui.js =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/jquery.ui.js 2012-08-17 12:55:28 UTC (rev 10082) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/ui/jquery.ui.js 2012-08-17 14:17:19 UTC (rev 10083) @@ -1,791 +1,5 @@ -/*! - * jQuery UI 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function(c,j){function k(a,b){var d=a.nodeName.toLowerCase();if("area"===d){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&l(a)}return(/input|select|textarea|button|object/.test(d)?!a.disabled:"a"==d?a.href||b:b)&&l(a)}function l(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.16", -keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({propAttr:c.fn.prop||c.fn.attr,_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d= -this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this, -"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart": -"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,m,n){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(m)g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0;if(n)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight, -outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){return k(a,!isNaN(c.attr(a,"tabindex")))},tabbable:function(a){var b=c.attr(a, -"tabindex"),d=isNaN(b);return(d||b>=0)&&k(a,!d)}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&& -a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&& -c.ui.isOverAxis(b,e,i)}})}})(jQuery); -;/*! - * jQuery UI Widget 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)try{b(d).triggerHandler("remove")}catch(e){}k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(d){}});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]= -function(h){return!!b.data(h,a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)): -d;if(e&&d.charAt(0)==="_")return h;e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options= -b.extend(true,{},this.options,this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+ -"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled", -c);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery); -;/*! - * jQuery UI Mouse 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function(b){var d=false;b(document).mouseup(function(){d=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(true===b.data(c.target,a.widgetName+".preventClickEvent")){b.removeData(c.target,a.widgetName+".preventClickEvent");c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+ -this.widgetName)},_mouseDown:function(a){if(!d){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,f=a.which==1,g=typeof this.options.cancel=="string"&&a.target.nodeName?b(a.target).closest(this.options.cancel).length:false;if(!f||g||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted= -this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}true===b.data(a.target,this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(e){return c._mouseMove(e)};this._mouseUpDelegate=function(e){return c._mouseUp(e)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return d=true}},_mouseMove:function(a){if(b.browser.msie&& -!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted= -false;a.target==this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery); -;/* - * jQuery UI Position 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Position - */ -(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY, -left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/2;if(b.at[1]==="bottom")j.top+= -k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+(parseInt(c.curCSS(this,"marginRight",true))||0),w=m+q+(parseInt(c.curCSS(this,"marginBottom",true))||0),i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]==="center")i.top-= -m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left= -d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+= -a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b), -g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery); -;/* - * jQuery UI Draggable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Draggables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper== -"original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b= -this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;if(b.iframeFix)d(b.iframeFix===true?"iframe":b.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")});return true},_mouseStart:function(a){var b=this.options; -this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}); -this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions();d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);d.ui.ddmanager&&d.ui.ddmanager.dragStart(this,a);return true}, -_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b= -false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return false;if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&&this.... [truncated message content] |
From: <be...@us...> - 2012-08-17 12:55:37
|
Revision: 10082 http://xoops.svn.sourceforge.net/xoops/?rev=10082&view=rev Author: beckmi Date: 2012-08-17 12:55:28 +0000 (Fri, 17 Aug 2012) Log Message: ----------- Updating jQuery to 1.8 Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/jquery.js Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/jquery.js =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/jquery.js 2012-08-15 16:26:42 UTC (rev 10081) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/media/jquery/jquery.js 2012-08-17 12:55:28 UTC (rev 10082) @@ -1,4 +1,2 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="strin... [truncated message content] |
From: <wis...@us...> - 2012-08-15 16:26:50
|
Revision: 10081 http://xoops.svn.sourceforge.net/xoops/?rev=10081&view=rev Author: wishcraft Date: 2012-08-15 16:26:42 +0000 (Wed, 15 Aug 2012) Log Message: ----------- Songlist 1.14 - MP3 Playback and Upload/Import Modified Paths: -------------- XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/about.php XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/header.php XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/import.php XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/songs.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/songs.php XoopsModules/songlist/trunk/htdocs/modules/songlist/docs/changelog.txt XoopsModules/songlist/trunk/htdocs/modules/songlist/header.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/songlist.form.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/update.php XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/admin.php XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/blocks.php XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/forms.php XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/main.php XoopsModules/songlist/trunk/htdocs/modules/songlist/sql/mysql.sql XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_cpanel_songs_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_songs_item.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_songs_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/xoops_version.php Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/about.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/about.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/about.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -31,11 +31,47 @@ include ('header.php'); xoops_loadLanguage('admin', 'songlist'); + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); echo $indexAdmin->addNavigation(basename(__FILE__)); - $paypalitemno='H3ADAE8U2W5U2'; - echo $indexAdmin->renderabout($paypalitemno, false); + $aboutAdmin = new ModuleAdmin(); + $paypalitemno='SONGLIST'; + $aboutAdmin = new ModuleAdmin(); + $about = $aboutAdmin->renderabout($paypalitemno, false); + $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">', + 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_AM_SONGLIST_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>', + 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'', + 3 => '', + 4 => '<!-- Start Form Validation JavaScript //--> +<script type="text/javascript"> +<!--// +function xoopsFormValidate_donation() { var myform = window.document.donation; +var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true; +} +//--></script> +<!-- End Form Validation JavaScript //-->'); + $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">', + 1 => '<input name="cmd" value="_s-xclick" type="hidden">', + 2 => '<input name="hosted_button_id" value="%s" type="hidden">', + 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">', + 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="image">', + 5 => '</form>'); + for($key=0;$key<=4;$key++) { + switch ($key) { + case 2: + $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['songlistModule']->getVar('dirname')), strtoupper($GLOBALS['songlistModule']->getVar('dirname')). ' '.$GLOBALS['songlistModule']->getVar('name')); + break; + } + } + + $istart = strpos($about, ($paypalform[0]), 1); + $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1; + echo (substr($about, 0, $istart-1)); + echo implode("\n", $donationform); + echo (substr($about, $iend+1, strlen($about)-$iend-1)); + xoops_cp_footer(); ?> \ No newline at end of file Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/header.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/header.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/header.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -33,9 +33,9 @@ require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); if (!defined('_CHARSET')) - define("_CHARSET","UTF-8"); + define ("_CHARSET","UTF-8"); if (!defined('_CHARSET_ISO')) - define("_CHARSET_ISO","ISO-8859-1"); + define ("_CHARSET_ISO","ISO-8859-1"); $GLOBALS['songlistAdmin'] = true; Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/import.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/import.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/import.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -232,6 +232,7 @@ $object->setVar('traxid', trim($data[$_POST['traxid']])); $object->setVar('title', trim($data[$_POST['title']])); $object->setVar('tags', trim($data[$_POST['tags']])); + $object->setVar('mp3', trim($data[$_POST['mp3']])); $object->setVar('lyrics', str_replace("\n", "<br/>\n", trim($data[$_POST['lyrics']]))); $sid = $songs_handler->insert($object); @@ -379,6 +380,7 @@ $object->setVar('songid', trim($data[$_POST['songid']])); $object->setVar('traxid', trim($data[$_POST['traxid']])); $object->setVar('tags', trim($data[$_POST['tags']])); + $object->setVar('mp3', trim($data[$_POST['mp3']])); $object->setVar('title', trim($data[$_POST['title']])); $object->setVar('lyrics', str_replace("\n", "<br/>\n", trim($data[$_POST['lyrics']]))); $sid = $songs_handler->insert($object); @@ -538,6 +540,7 @@ $object->setVar('traxid', trim($data[$_POST['traxid']])); $object->setVar('title', trim($data[$_POST['title']])); $object->setVar('tags', trim($data[$_POST['tags']])); + $object->setVar('mp3', trim($data[$_POST['mp3']])); $object->setVar('lyrics', str_replace("\n", "<br/>\n", trim($data[$_POST['lyrics']]))); $sid = $songs_handler->insert($object); Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/songs.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/songs.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/songs.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -80,7 +80,7 @@ $GLOBALS['xoopsTpl']->display('db:songlist_cpanel_songs_edit.html'); break; case "save": - + $songs_handler =& xoops_getmodulehandler('songs', 'songlist'); $extras_handler = xoops_getmodulehandler('extras', 'songlist'); $id=0; @@ -91,6 +91,45 @@ } $songs->setVars($_POST[$id]); + if (isset($_FILES['mp3'.$id])&&!empty($_FILES['mp3'.$id]['title'])) { + + if (!is_dir($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']))) { + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) + foreach(explode('/', $folders) as $folder) { + $path .= DS . $folder; + mkdir($path, 0777); + } + } + + include_once($GLOBALS['xoops']->path('modules/songlist/include/uploader.php')); + $uploader = new SonglistMediaUploader($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']), explode('|', $GLOBALS['songlistModuleConfig']['mp3_mimetype']), $GLOBALS['songlistModuleConfig']['mp3_filesize'], 0, 0, explode('|', $GLOBALS['songlistModuleConfig']['mp3_extensions'])); + $uploader->setPrefix(substr(md5(microtime(true)), mt_rand(0,20), 13)); + + if ($uploader->fetchMedia('mp3'.$id)) { + if (!$uploader->upload()) { + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + echo $uploader->getErrors(); + xoops_cp_footer(); + exit(0); + } else { + + if (strlen($songs->getVar('mp3'))) + unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); + + $songs->setVar('mp3', XOOPS_URL.'/'.str_replace(DS, '/', $GLOBALS['songlistModuleConfig']['upload_areas']).$uploader->getSavedFileName()); + + } + } else { + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + echo $uploader->getErrors(); + xoops_cp_footer(); + exit(0); + } + } if (!$id=$songs_handler->insert($songs)) { redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_SONGS_FAILEDTOSAVE); exit(0); @@ -105,6 +144,7 @@ $tag_handler->updateByItem($_POST['tags'], $id, $GLOBALS['songlistModule']->getVar("dirname"), $songs->getVar('cid')); } + if ($_REQUEST['state'][$_REQUEST['id']]=='new') redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=edit&id='.$_REQUEST['id'] . '&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_SONGS_SAVEDOKEY); else @@ -113,11 +153,51 @@ } break; case "savelist": - + print_r($_FILES); + exit; $songs_handler =& xoops_getmodulehandler('songs', 'songlist'); foreach($_REQUEST['id'] as $id) { $songs = $songs_handler->get($id); $songs->setVars($_POST[$id]); + if (isset($_FILES['mp3'.$id])&&!empty($_FILES['mp3'.$id]['title'])) { + + if (!is_dir($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']))) { + foreach(explode('\\', $GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas'])) as $folders) + foreach(explode('/', $folders) as $folder) { + $path .= DS . $folder; + mkdir($path, 0777); + } + } + + include_once($GLOBALS['xoops']->path('modules/songlist/include/uploader.php')); + $uploader = new SonglistMediaUploader($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']), explode('|', $GLOBALS['songlistModuleConfig']['mp3_mimetype']), $GLOBALS['songlistModuleConfig']['mp3_filesize'], 0, 0, explode('|', $GLOBALS['songlistModuleConfig']['mp3_extensions'])); + $uploader->setPrefix(substr(md5(microtime(true)), mt_rand(0,20), 13)); + + if ($uploader->fetchMedia('mp3'.$id)) { + if (!$uploader->upload()) { + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + echo $uploader->getErrors(); + xoops_cp_footer(); + exit(0); + } else { + + if (strlen($songs->getVar('mp3'))) + unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); + + $songs->setVar('mp3', XOOPS_URL.'/'.str_replace(DS, '/', $GLOBALS['songlistModuleConfig']['upload_areas']).$uploader->getSavedFileName()); + + } + } else { + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + echo $uploader->getErrors(); + xoops_cp_footer(); + exit(0); + } + } if (!$songs_handler->insert($songs)) { redirect_header($_SERVER['PHP_SELF'].'?op='.$GLOBALS['op'].'&fct=list&limit='.$GLOBALS['limit'].'&start='.$GLOBALS['start'].'&order='.$GLOBALS['order'].'&sort='.$GLOBALS['sort'].'&filter='.$GLOBALS['filter'], 10, _AM_SONGLIST_MSG_SONGS_FAILEDTOSAVE); exit(0); Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/class/songs.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/class/songs.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/class/songs.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -26,6 +26,7 @@ $this->initVar('rank', XOBJ_DTYPE_DECIMAL, 0, false); $this->initVar('votes', XOBJ_DTYPE_INT, 0, false); $this->initVar('tags', XOBJ_DTYPE_TXTBOX, null, false, 255); + $this->initVar('mp3', XOBJ_DTYPE_OTHER, null, false, 500); $this->initVar('created', XOBJ_DTYPE_INT, 0, false); $this->initVar('updated', XOBJ_DTYPE_INT, 0, false); } @@ -56,6 +57,10 @@ $ret['rank'] = number_format(($this->getVar('rank')>0&&$this->getVar('votes')>0?$this->getVar('rank')/$this->getVar('votes'):0),2)._MI_SONGLIST_OFTEN; + if (!empty($ret['mp3'])) { + $ret['mp3'] = "<embed flashvars=\"playerID=1&bg=0xf8f8f8&leftbg=0x3786b3&lefticon=0x78bee3&rightbg=0x3786b3&rightbghover=0x78bee3&righticon=0x78bee3&righticonhover=0x3786b3&text=0x666666&slider=0x3786b3&track=0xcccccc&border=0x666666&loader=0x78bee3&loop=no&soundFile=".$ret['mp3']."\" quality='high' menu='false' wmode='transparent' pluginspage='http://www.macromedia.com/go/getflashplayer' src='" . XOOPS_URL . "/images/form/player.swf' width=290 height=24 type='application/x-shockwave-flash'></embed>"; + } + if (file_exists($GLOBALS['xoops']->path("/modules/tag/include/tagbar.php"))&&$GLOBALS['songlistModuleConfig']['tags']) { include_once XOOPS_ROOT_PATH."/modules/tag/include/tagbar.php"; $ret['tagbar'] = tagBar($this->getVar('sid'), $this->getVar('cid')); @@ -155,7 +160,7 @@ } function filterFields() { - return array('sid', 'cid', 'gid', 'vcid', 'aids', 'abid', 'songid', 'title', 'lyrics', 'hits', 'rank', 'votes', 'tags', 'created', 'updated'); + return array('sid', 'cid', 'mp3', 'gid', 'vcid', 'aids', 'abid', 'songid', 'title', 'lyrics', 'hits', 'rank', 'votes', 'tags', 'created', 'updated'); } function getFilterCriteria($filter) { Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/docs/changelog.txt =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/docs/changelog.txt 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/docs/changelog.txt 2012-08-15 16:26:42 UTC (rev 10081) @@ -1,15 +1,4 @@ ========================================== - 2012/08/07 21:56:01 Version 1.13 STABLE -========================================== -Changed: /admin/import.php - Tags, track no added to import feature (wishcraft) -Changed: /class/albums.php - SEO Path fixed (wishcraft) -Changed: /class/artists.php - SEO Path fixed (wishcraft) -Changed: /class/songs.php - SEO Path fixed (wishcraft) -Changed: /docs/.htaccess - SEO Path fixed (wishcraft) - Added: /class/songs.php - Field `traxid` added (wishcraft) - - -========================================== 2012/03/26 09:16:01 Version 1.07 STABLE ========================================== - First Release Package Was Finalised (wishcraft) \ No newline at end of file Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/header.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/header.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/header.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -33,9 +33,9 @@ require_once (dirname(dirname(dirname(__FILE__))).'/mainfile.php'); if (!defined('_CHARSET')) - define("_CHARSET","UTF-8"); + define ("_CHARSET","UTF-8"); if (!defined('_CHARSET_ISO')) - define("_CHARSET_ISO","ISO-8859-1"); + define ("_CHARSET_ISO","ISO-8859-1"); $GLOBALS['myts'] = MyTextSanitizer::getInstance(); Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/include/songlist.form.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/include/songlist.form.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/include/songlist.form.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -417,6 +417,8 @@ $ele['lyrics']->setDescription(($as_array==false?_FRM_SONGLIST_FORM_ELEMENT_LYRICS_DESC:'')); $ele['tags'] = new XoopsFormText(($as_array==false?_FRM_SONGLIST_FORM_ELEMENT_TAGS:''), 'tags', 32, 128, 'tags'); $ele['tags']->setDescription(($as_array==false?_FRM_SONGLIST_FORM_ELEMENT_TAGS_DESC:'')); + $ele['mp3'] = new XoopsFormText(($as_array==false?_FRM_SONGLIST_FORM_ELEMENT_MP3:''), 'mp3', 32, 128, 'mp3'); + $ele['mp3']->setDescription(($as_array==false?_FRM_SONGLIST_FORM_ELEMENT_MP3_DESC:'')); $extras_handler = xoops_getmodulehandler('extras', 'songlist'); $fields = $extras_handler->getFields(NULL); foreach($fields as $field) { @@ -1011,7 +1013,8 @@ $description_configs['height'] = "400px"; $ele['lyrics'] = new XoopsFormEditor(_FRM_SONGLIST_FORM_SONGS_LYRICS, $GLOBALS['songlistModuleConfig']['editor'], $description_configs); $ele['lyrics']->setDescription(($as_array==false?_FRM_SONGLIST_FORM_SONGS_LYRICS_DESC:'')); - + $ele['mp3'] = new XoopsFormFile(($as_array==false?_FRM_SONGLIST_FORM_SONGS_MP3:''), 'mp3'.$id, $GLOBALS['songlistModuleConfig']['mp3_filesize']); + $ele['mp3']->setDescription(($as_array==false?_FRM_SONGLIST_FORM_SONGS_MP3_DESC:'')); $category_handler = xoops_getmodulehandler('category', 'songlist'); $criteria = new CriteriaCompo(new Criteria('cid', (!empty($_REQUEST['cid']))?intval($_REQUEST['cid']):$object->getVar('cid'))); $all_categories = $category_handler->getObjects($criteria, true, false); Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/include/update.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/include/update.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/include/update.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -8,7 +8,9 @@ $sql[] = "CREATE TABLE `".$GLOBALS['xoopsDB']->prefix('songlist_voice')."` ( `vcid` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(128) DEFAULT NULL, `artists` int(12) unsigned DEFAULT '0', `albums` int(12) unsigned DEFAULT '0', `songs` int(12) unsigned DEFAULT '0', `rank` decimal(10,3) unsigned DEFAULT '0.000', `votes` int(10) unsigned DEFAULT '0', `created` int(12) unsigned DEFAULT '0', `updated` int(12) unsigned DEFAULT '0', PRIMARY KEY (`vcid`), KEY `SORT` (`name`(32),`rank`,`votes`,`created`)) ENGINE=InnoDB DEFAULT CHARSET=utf8"; $sql[] = "ALTER TABLE `".$GLOBALS['xoopsDB']->prefix('songlist_songs')."` ADD COLUMN `vcid` int(12) unsigned DEFAULT '0'"; $sql[] = "ALTER TABLE `".$GLOBALS['xoopsDB']->prefix('songlist_songs')."` CHANGE COLUMN `lyrics` `lyrics` longtext"; - + $sql[] = "ALTER TABLE `".$GLOBALS['xoopsDB']->prefix('songlist_songs')."` ADD COLUMN `mp3` varchar(500) DEFAULT ''"; + $sql[] = "ALTER TABLE `".$GLOBALS['xoopsDB']->prefix('songlist_songs')."` CHANGE COLUMN `traxid` `traxid` int(4) unsigned zerofill DEFAULT NULL"; + return xoops_module_update_vs_executesql($sql); } Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/admin.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/admin.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/admin.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -1,257 +1,258 @@ <?php // Dashboard - define('_AM_SONGLIST_COUNT','Number of items counted'); - define('_AM_SONGLIST_NUMBER_OF_CATEGORY','Number of Categories: %s'); - define('_AM_SONGLIST_NUMBER_OF_ARTISTS','Number of Artists: %s'); - define('_AM_SONGLIST_NUMBER_OF_ALBUMS','Number of Albums: %s'); - define('_AM_SONGLIST_NUMBER_OF_GENRE','Number of Genre: %s'); - define('_AM_SONGLIST_NUMBER_OF_VOICE','Number of Voice: %s'); - define('_AM_SONGLIST_NUMBER_OF_SONGS','Number of Songs: %s'); - define('_AM_SONGLIST_NUMBER_OF_REQUESTS','Number of Request: %s'); - define('_AM_SONGLIST_NUMBER_OF_VOTES','Number of Votes: %s'); + define('_AM_SONGLIST_COUNT', 'Number of items counted'); + define('_AM_SONGLIST_NUMBER_OF_CATEGORY', 'Number of Categories: %s'); + define('_AM_SONGLIST_NUMBER_OF_ARTISTS', 'Number of Artists: %s'); + define('_AM_SONGLIST_NUMBER_OF_ALBUMS', 'Number of Albums: %s'); + define('_AM_SONGLIST_NUMBER_OF_GENRE', 'Number of Genre: %s'); + define('_AM_SONGLIST_NUMBER_OF_VOICE', 'Number of Voice: %s'); + define('_AM_SONGLIST_NUMBER_OF_SONGS', 'Number of Songs: %s'); + define('_AM_SONGLIST_NUMBER_OF_REQUESTS', 'Number of Request: %s'); + define('_AM_SONGLIST_NUMBER_OF_VOTES', 'Number of Votes: %s'); // Table Headers - define('_AM_SONGLIST_TH_GID','Genre ID'); - define('_AM_SONGLIST_TH_CID','Category ID'); - define('_AM_SONGLIST_TH_PID','Parent ID'); - define('_AM_SONGLIST_TH_NAME','Name'); - define('_AM_SONGLIST_TH_ARTISTS','Artists'); - define('_AM_SONGLIST_TH_ALBUMS','Album\'s'); - define('_AM_SONGLIST_TH_SONGS','Song\'s'); - define('_AM_SONGLIST_TH_HITS','Hit\'s'); - define('_AM_SONGLIST_TH_RANK','Rank'); - define('_AM_SONGLIST_TH_CREATED','Created'); - define('_AM_SONGLIST_TH_UPDATED','Updated'); - define('_AM_SONGLIST_TH_ACTIONS','Actions'); - define('_AM_SONGLIST_TH_SINGER','Singer'); - define('_AM_SONGLIST_TH_AID','Artist ID'); - define('_AM_SONGLIST_TH_SID','Song ID'); - define('_AM_SONGLIST_TH_ABID','Album'); - define('_AM_SONGLIST_TH_SONGID','Song Ref.'); - define('_AM_SONGLIST_TH_TITLE','Title'); - define('_AM_SONGLIST_TH_VID','Vote ID'); - define('_AM_SONGLIST_TH_UID','User'); - define('_AM_SONGLIST_TH_IP','IP Address'); - define('_AM_SONGLIST_TH_NETADDY','NetBIOS Address'); - define('_AM_SONGLIST_TH_RID','Request ID'); - define('_AM_SONGLIST_TH_ARTIST','Artist'); - define('_AM_SONGLIST_TH_ALBUM','Album'); - define('_AM_SONGLIST_TH_LYRICS','Lyrics'); - define('_AM_SONGLIST_TH_EMAIL','Email'); - define('_AM_SONGLIST_TH_UTFID','Map ID'); - define('_AM_SONGLIST_TH_FROM','From'); - define('_AM_SONGLIST_TH_TO','To'); - define('_AM_SONGLIST_TH_VCID','Voice ID'); + define('_AM_SONGLIST_TH_GID', 'Genre ID'); + define('_AM_SONGLIST_TH_CID', 'Category ID'); + define('_AM_SONGLIST_TH_PID', 'Parent ID'); + define('_AM_SONGLIST_TH_NAME', 'Name'); + define('_AM_SONGLIST_TH_ARTISTS', 'Artists'); + define('_AM_SONGLIST_TH_ALBUMS', 'Album\'s'); + define('_AM_SONGLIST_TH_SONGS', 'Song\'s'); + define('_AM_SONGLIST_TH_HITS', 'Hit\'s'); + define('_AM_SONGLIST_TH_RANK', 'Rank'); + define('_AM_SONGLIST_TH_CREATED', 'Created'); + define('_AM_SONGLIST_TH_UPDATED', 'Updated'); + define('_AM_SONGLIST_TH_ACTIONS', 'Actions'); + define('_AM_SONGLIST_TH_SINGER', 'Singer'); + define('_AM_SONGLIST_TH_AID', 'Artist ID'); + define('_AM_SONGLIST_TH_SID', 'Song ID'); + define('_AM_SONGLIST_TH_ABID', 'Album'); + define('_AM_SONGLIST_TH_SONGID', 'Song Ref.'); + define('_AM_SONGLIST_TH_TITLE', 'Title'); + define('_AM_SONGLIST_TH_VID', 'Vote ID'); + define('_AM_SONGLIST_TH_UID', 'User'); + define('_AM_SONGLIST_TH_IP', 'IP Address'); + define('_AM_SONGLIST_TH_NETADDY', 'NetBIOS Address'); + define('_AM_SONGLIST_TH_RID', 'Request ID'); + define('_AM_SONGLIST_TH_ARTIST', 'Artist'); + define('_AM_SONGLIST_TH_ALBUM', 'Album'); + define('_AM_SONGLIST_TH_LYRICS', 'Lyrics'); + define('_AM_SONGLIST_TH_EMAIL', 'Email'); + define('_AM_SONGLIST_TH_UTFID', 'Map ID'); + define('_AM_SONGLIST_TH_FROM', 'From'); + define('_AM_SONGLIST_TH_TO', 'To'); + define('_AM_SONGLIST_TH_VCID', 'Voice ID'); + define('_AM_SONGLIST_TH_MP3', 'MP3'); // Category - define('_AM_SONGLIST_CATEGORY_H1','Categories'); - define('_AM_SONGLIST_CATEGORY_P','These are the categories and child categories you have on the system.'); - define('_AM_SONGLIST_NEW_CATEGORY_H1','New Category'); - define('_AM_SONGLIST_NEW_CATEGORY_P','Create a new Category from here'); - define('_AM_SONGLIST_EDIT_CATEGORY_H1','Edit Category'); - define('_AM_SONGLIST_EDIT_CATEGORY_P','Edit an existing Category from here'); + define('_AM_SONGLIST_CATEGORY_H1', 'Categories'); + define('_AM_SONGLIST_CATEGORY_P', 'These are the categories and child categories you have on the system.'); + define('_AM_SONGLIST_NEW_CATEGORY_H1', 'New Category'); + define('_AM_SONGLIST_NEW_CATEGORY_P', 'Create a new Category from here'); + define('_AM_SONGLIST_EDIT_CATEGORY_H1', 'Edit Category'); + define('_AM_SONGLIST_EDIT_CATEGORY_P', 'Edit an existing Category from here'); // Category Redirection Messages - define('_AM_SONGLIST_MSG_CATEGORY_SAVEDOKEY','Category Saved Okey!'); - define('_AM_SONGLIST_MSG_CATEGORY_FAILEDTOSAVE','Category Failed to Save!'); - define('_AM_SONGLIST_MSG_CATEGORY_FAILEDTODELETE','Category Failed to Delete!'); - define('_AM_SONGLIST_MSG_CATEGORY_DELETED','Category Deleted Fine!'); - define('_AM_SONGLIST_MSG_CATEGORY_DELETE','Are you sure you wish to delete the Category "%s"?'); + define('_AM_SONGLIST_MSG_CATEGORY_SAVEDOKEY', 'Category Saved Okey!'); + define('_AM_SONGLIST_MSG_CATEGORY_FAILEDTOSAVE', 'Category Failed to Save!'); + define('_AM_SONGLIST_MSG_CATEGORY_FAILEDTODELETE', 'Category Failed to Delete!'); + define('_AM_SONGLIST_MSG_CATEGORY_DELETED', 'Category Deleted Fine!'); + define('_AM_SONGLIST_MSG_CATEGORY_DELETE', 'Are you sure you wish to delete the Category "%s"?'); // Artist - define('_AM_SONGLIST_ARTISTS_H1','Artists'); - define('_AM_SONGLIST_ARTISTS_P','These are the artists you have on the system.'); - define('_AM_SONGLIST_NEW_ARTISTS_H1','New Artist'); - define('_AM_SONGLIST_NEW_ARTISTS_P','Create a new Artist from here'); - define('_AM_SONGLIST_EDIT_ARTISTS_H1','Edit Artist'); - define('_AM_SONGLIST_EDIT_ARTISTS_P','Edit an existing Artist from here'); + define('_AM_SONGLIST_ARTISTS_H1', 'Artists'); + define('_AM_SONGLIST_ARTISTS_P', 'These are the artists you have on the system.'); + define('_AM_SONGLIST_NEW_ARTISTS_H1', 'New Artist'); + define('_AM_SONGLIST_NEW_ARTISTS_P', 'Create a new Artist from here'); + define('_AM_SONGLIST_EDIT_ARTISTS_H1', 'Edit Artist'); + define('_AM_SONGLIST_EDIT_ARTISTS_P', 'Edit an existing Artist from here'); // Artist Redirection Messages - define('_AM_SONGLIST_MSG_ARTISTS_SAVEDOKEY','Artist Saved Okey!'); - define('_AM_SONGLIST_MSG_ARTISTS_FAILEDTOSAVE','Artist Failed to Save!'); - define('_AM_SONGLIST_MSG_ARTISTS_FAILEDTODELETE','Artist Failed to Delete!'); - define('_AM_SONGLIST_MSG_ARTISTS_DELETED','Artist Deleted Fine!'); - define('_AM_SONGLIST_MSG_ARTISTS_DELETE','Are you sure you wish to delete the Artist "%s"?'); + define('_AM_SONGLIST_MSG_ARTISTS_SAVEDOKEY', 'Artist Saved Okey!'); + define('_AM_SONGLIST_MSG_ARTISTS_FAILEDTOSAVE', 'Artist Failed to Save!'); + define('_AM_SONGLIST_MSG_ARTISTS_FAILEDTODELETE', 'Artist Failed to Delete!'); + define('_AM_SONGLIST_MSG_ARTISTS_DELETED', 'Artist Deleted Fine!'); + define('_AM_SONGLIST_MSG_ARTISTS_DELETE', 'Are you sure you wish to delete the Artist "%s"?'); // Album - define('_AM_SONGLIST_ALBUMS_H1','Albums'); - define('_AM_SONGLIST_ALBUMS_P','These are the albums you have on the system.'); - define('_AM_SONGLIST_NEW_ALBUMS_H1','New Album'); - define('_AM_SONGLIST_NEW_ALBUMS_P','Create a new Album from here'); - define('_AM_SONGLIST_EDIT_ALBUMS_H1','Edit Album'); - define('_AM_SONGLIST_EDIT_ALBUMS_P','Edit an existing Album from here'); + define('_AM_SONGLIST_ALBUMS_H1', 'Albums'); + define('_AM_SONGLIST_ALBUMS_P', 'These are the albums you have on the system.'); + define('_AM_SONGLIST_NEW_ALBUMS_H1', 'New Album'); + define('_AM_SONGLIST_NEW_ALBUMS_P', 'Create a new Album from here'); + define('_AM_SONGLIST_EDIT_ALBUMS_H1', 'Edit Album'); + define('_AM_SONGLIST_EDIT_ALBUMS_P', 'Edit an existing Album from here'); // Album Redirection Messages - define('_AM_SONGLIST_MSG_ALBUMS_SAVEDOKEY','Album Saved Okey!'); - define('_AM_SONGLIST_MSG_ALBUMS_FAILEDTOSAVE','Album Failed to Save!'); - define('_AM_SONGLIST_MSG_ALBUMS_FAILEDTODELETE','Album Failed to Delete!'); - define('_AM_SONGLIST_MSG_ALBUMS_DELETED','Album Deleted Fine!'); - define('_AM_SONGLIST_MSG_ALBUMS_DELETE','Are you sure you wish to delete the Album "%s"?'); + define('_AM_SONGLIST_MSG_ALBUMS_SAVEDOKEY', 'Album Saved Okey!'); + define('_AM_SONGLIST_MSG_ALBUMS_FAILEDTOSAVE', 'Album Failed to Save!'); + define('_AM_SONGLIST_MSG_ALBUMS_FAILEDTODELETE', 'Album Failed to Delete!'); + define('_AM_SONGLIST_MSG_ALBUMS_DELETED', 'Album Deleted Fine!'); + define('_AM_SONGLIST_MSG_ALBUMS_DELETE', 'Are you sure you wish to delete the Album "%s"?'); // Genre - define('_AM_SONGLIST_GENRE_H1','Genres'); - define('_AM_SONGLIST_GENRE_P','These are the genre you have on the system.'); - define('_AM_SONGLIST_NEW_GENRE_H1','New Genre'); - define('_AM_SONGLIST_NEW_GENRE_P','Create a new Genre from here'); - define('_AM_SONGLIST_EDIT_GENRE_H1','Edit Genre'); - define('_AM_SONGLIST_EDIT_GENRE_P','Edit an existing Genre from here'); + define('_AM_SONGLIST_GENRE_H1', 'Genres'); + define('_AM_SONGLIST_GENRE_P', 'These are the genre you have on the system.'); + define('_AM_SONGLIST_NEW_GENRE_H1', 'New Genre'); + define('_AM_SONGLIST_NEW_GENRE_P', 'Create a new Genre from here'); + define('_AM_SONGLIST_EDIT_GENRE_H1', 'Edit Genre'); + define('_AM_SONGLIST_EDIT_GENRE_P', 'Edit an existing Genre from here'); // Voice - define('_AM_SONGLIST_VOICE_H1','Voices'); - define('_AM_SONGLIST_VOICE_P','These are the Voice you have on the system.'); - define('_AM_SONGLIST_NEW_VOICE_H1','New Voice'); - define('_AM_SONGLIST_NEW_VOICE_P','Create a new Voice from here'); - define('_AM_SONGLIST_EDIT_VOICE_H1','Edit voice'); - define('_AM_SONGLIST_EDIT_VOICE_P','Edit an existing Voice from here'); + define('_AM_SONGLIST_VOICE_H1', 'Voices'); + define('_AM_SONGLIST_VOICE_P', 'These are the Voice you have on the system.'); + define('_AM_SONGLIST_NEW_VOICE_H1', 'New Voice'); + define('_AM_SONGLIST_NEW_VOICE_P', 'Create a new Voice from here'); + define('_AM_SONGLIST_EDIT_VOICE_H1', 'Edit voice'); + define('_AM_SONGLIST_EDIT_VOICE_P', 'Edit an existing Voice from here'); // Genre Redirection Messages - define('_AM_SONGLIST_MSG_GENRE_SAVEDOKEY','Genre Saved Okey!'); - define('_AM_SONGLIST_MSG_GENRE_FAILEDTOSAVE','Genre Failed to Save!'); - define('_AM_SONGLIST_MSG_GENRE_FAILEDTODELETE','Genre Failed to Delete!'); - define('_AM_SONGLIST_MSG_GENRE_DELETED','Genre Deleted Fine!'); - define('_AM_SONGLIST_MSG_GENRE_DELETE','Are you sure you wish to delete the Genre "%s"?'); + define('_AM_SONGLIST_MSG_GENRE_SAVEDOKEY', 'Genre Saved Okey!'); + define('_AM_SONGLIST_MSG_GENRE_FAILEDTOSAVE', 'Genre Failed to Save!'); + define('_AM_SONGLIST_MSG_GENRE_FAILEDTODELETE', 'Genre Failed to Delete!'); + define('_AM_SONGLIST_MSG_GENRE_DELETED', 'Genre Deleted Fine!'); + define('_AM_SONGLIST_MSG_GENRE_DELETE', 'Are you sure you wish to delete the Genre "%s"?'); // Voice Redirection Messages - define('_AM_SONGLIST_MSG_VOICE_SAVEDOKEY','Voice Saved Okey!'); - define('_AM_SONGLIST_MSG_VOICE_FAILEDTOSAVE','Voice Failed to Save!'); - define('_AM_SONGLIST_MSG_VOICE_FAILEDTODELETE','Voice Failed to Delete!'); - define('_AM_SONGLIST_MSG_VOICE_DELETED','Voice Deleted Fine!'); - define('_AM_SONGLIST_MSG_VOICE_DELETE','Are you sure you wish to delete the Voice "%s"?'); + define('_AM_SONGLIST_MSG_VOICE_SAVEDOKEY', 'Voice Saved Okey!'); + define('_AM_SONGLIST_MSG_VOICE_FAILEDTOSAVE', 'Voice Failed to Save!'); + define('_AM_SONGLIST_MSG_VOICE_FAILEDTODELETE', 'Voice Failed to Delete!'); + define('_AM_SONGLIST_MSG_VOICE_DELETED', 'Voice Deleted Fine!'); + define('_AM_SONGLIST_MSG_VOICE_DELETE', 'Are you sure you wish to delete the Voice "%s"?'); // Request - define('_AM_SONGLIST_REQUESTS_H1','Requests'); - define('_AM_SONGLIST_REQUESTS_P','These are the user requests you have on the system.'); - define('_AM_SONGLIST_NEW_REQUESTS_H1','New Request'); - define('_AM_SONGLIST_NEW_REQUESTS_P','Create a new Request from here'); - define('_AM_SONGLIST_EDIT_REQUESTS_H1','Edit Request'); - define('_AM_SONGLIST_EDIT_REQUESTS_P','Edit an existing Request from here'); + define('_AM_SONGLIST_REQUESTS_H1', 'Requests'); + define('_AM_SONGLIST_REQUESTS_P', 'These are the user requests you have on the system.'); + define('_AM_SONGLIST_NEW_REQUESTS_H1', 'New Request'); + define('_AM_SONGLIST_NEW_REQUESTS_P', 'Create a new Request from here'); + define('_AM_SONGLIST_EDIT_REQUESTS_H1', 'Edit Request'); + define('_AM_SONGLIST_EDIT_REQUESTS_P', 'Edit an existing Request from here'); // Request Redirection Messages - define('_AM_SONGLIST_MSG_REQUESTS_SAVEDOKEY','Request Saved Okey!'); - define('_AM_SONGLIST_MSG_REQUESTS_FAILEDTOSAVE','Request Failed to Save!'); - define('_AM_SONGLIST_MSG_REQUESTS_FAILEDTODELETE','Request Failed to Delete!'); - define('_AM_SONGLIST_MSG_REQUESTS_DELETED','Request Deleted Fine!'); - define('_AM_SONGLIST_MSG_REQUESTS_DELETE','Are you sure you wish to delete the Request "%s"?'); + define('_AM_SONGLIST_MSG_REQUESTS_SAVEDOKEY', 'Request Saved Okey!'); + define('_AM_SONGLIST_MSG_REQUESTS_FAILEDTOSAVE', 'Request Failed to Save!'); + define('_AM_SONGLIST_MSG_REQUESTS_FAILEDTODELETE', 'Request Failed to Delete!'); + define('_AM_SONGLIST_MSG_REQUESTS_DELETED', 'Request Deleted Fine!'); + define('_AM_SONGLIST_MSG_REQUESTS_DELETE', 'Are you sure you wish to delete the Request "%s"?'); // Song - define('_AM_SONGLIST_SONGS_H1','Songs'); - define('_AM_SONGLIST_SONGS_P','These are the songs you have on the system.'); - define('_AM_SONGLIST_NEW_SONGS_H1','New Song'); - define('_AM_SONGLIST_NEW_SONGS_P','Create a new Song from here'); - define('_AM_SONGLIST_EDIT_SONGS_H1','Edit Song'); - define('_AM_SONGLIST_EDIT_SONGS_P','Edit an existing Song from here'); + define('_AM_SONGLIST_SONGS_H1', 'Songs'); + define('_AM_SONGLIST_SONGS_P', 'These are the songs you have on the system.'); + define('_AM_SONGLIST_NEW_SONGS_H1', 'New Song'); + define('_AM_SONGLIST_NEW_SONGS_P', 'Create a new Song from here'); + define('_AM_SONGLIST_EDIT_SONGS_H1', 'Edit Song'); + define('_AM_SONGLIST_EDIT_SONGS_P', 'Edit an existing Song from here'); // Song Redirection Messages - define('_AM_SONGLIST_MSG_SONGS_SAVEDOKEY','Song Saved Okey!'); - define('_AM_SONGLIST_MSG_SONGS_FAILEDTOSAVE','Song Failed to Save!'); - define('_AM_SONGLIST_MSG_SONGS_FAILEDTODELETE','Song Failed to Delete!'); - define('_AM_SONGLIST_MSG_SONGS_DELETED','Song Deleted Fine!'); - define('_AM_SONGLIST_MSG_SONGS_DELETE','Are you sure you wish to delete the Song "%s"?'); + define('_AM_SONGLIST_MSG_SONGS_SAVEDOKEY', 'Song Saved Okey!'); + define('_AM_SONGLIST_MSG_SONGS_FAILEDTOSAVE', 'Song Failed to Save!'); + define('_AM_SONGLIST_MSG_SONGS_FAILEDTODELETE', 'Song Failed to Delete!'); + define('_AM_SONGLIST_MSG_SONGS_DELETED', 'Song Deleted Fine!'); + define('_AM_SONGLIST_MSG_SONGS_DELETE', 'Are you sure you wish to delete the Song "%s"?'); // Character Conversion Mapping - define('_AM_SONGLIST_UTF8MAP_H1','Character Conversion Mappings'); - define('_AM_SONGLIST_UTF8MAP_P','These are the character conversion mapping for search and keyboards you have on the system.'); - define('_AM_SONGLIST_NEW_UTF8MAP_H1','New Character Conversion Mapping'); - define('_AM_SONGLIST_NEW_UTF8MAP_P','Create a new Character Conversion Mapping from here'); - define('_AM_SONGLIST_EDIT_UTF8MAP_H1','Edit Character Conversion Mapping '); - define('_AM_SONGLIST_EDIT_UTF8MAP_P','Edit an existing Character Conversion Mapping from here'); + define('_AM_SONGLIST_UTF8MAP_H1', 'Character Conversion Mappings'); + define('_AM_SONGLIST_UTF8MAP_P', 'These are the character conversion mapping for search and keyboards you have on the system.'); + define('_AM_SONGLIST_NEW_UTF8MAP_H1', 'New Character Conversion Mapping'); + define('_AM_SONGLIST_NEW_UTF8MAP_P', 'Create a new Character Conversion Mapping from here'); + define('_AM_SONGLIST_EDIT_UTF8MAP_H1', 'Edit Character Conversion Mapping '); + define('_AM_SONGLIST_EDIT_UTF8MAP_P', 'Edit an existing Character Conversion Mapping from here'); // Character Conversion Mapping Redirection Messages - define('_AM_SONGLIST_MSG_UTF8MAP_SAVEDOKEY','Character Conversion Mapping Saved Okey!'); - define('_AM_SONGLIST_MSG_UTF8MAP_FAILEDTOSAVE','Character Conversion Mapping Failed to Save!'); - define('_AM_SONGLIST_MSG_UTF8MAP_FAILEDTODELETE','Character Conversion Mapping Failed to Delete!'); - define('_AM_SONGLIST_MSG_UTF8MAP_DELETED','Character Conversion Mapping Deleted Fine!'); - define('_AM_SONGLIST_MSG_UTF8MAP_DELETE','Are you sure you wish to delete the Character Conversion Mapping "%s"?'); + define('_AM_SONGLIST_MSG_UTF8MAP_SAVEDOKEY', 'Character Conversion Mapping Saved Okey!'); + define('_AM_SONGLIST_MSG_UTF8MAP_FAILEDTOSAVE', 'Character Conversion Mapping Failed to Save!'); + define('_AM_SONGLIST_MSG_UTF8MAP_FAILEDTODELETE', 'Character Conversion Mapping Failed to Delete!'); + define('_AM_SONGLIST_MSG_UTF8MAP_DELETED', 'Character Conversion Mapping Deleted Fine!'); + define('_AM_SONGLIST_MSG_UTF8MAP_DELETE', 'Are you sure you wish to delete the Character Conversion Mapping "%s"?'); // Vote - define('_AM_SONGLIST_VOTES_H1','Votes'); - define('_AM_SONGLIST_VOTES_P','These are the votes you have on the system.'); - define('_AM_SONGLIST_NEW_VOTES_H1','New Vote'); - define('_AM_SONGLIST_NEW_VOTES_P','Create a new Vote from here'); - define('_AM_SONGLIST_EDIT_VOTES_H1','Edit Vote'); - define('_AM_SONGLIST_EDIT_VOTES_P','Edit an existing Vote from here'); + define('_AM_SONGLIST_VOTES_H1', 'Votes'); + define('_AM_SONGLIST_VOTES_P', 'These are the votes you have on the system.'); + define('_AM_SONGLIST_NEW_VOTES_H1', 'New Vote'); + define('_AM_SONGLIST_NEW_VOTES_P', 'Create a new Vote from here'); + define('_AM_SONGLIST_EDIT_VOTES_H1', 'Edit Vote'); + define('_AM_SONGLIST_EDIT_VOTES_P', 'Edit an existing Vote from here'); // Vote Redirection Messages - define('_AM_SONGLIST_MSG_VOTES_SAVEDOKEY','Vote Saved Okey!'); - define('_AM_SONGLIST_MSG_VOTES_FAILEDTOSAVE','Vote Failed to Save!'); - define('_AM_SONGLIST_MSG_VOTES_FAILEDTODELETE','Vote Failed to Delete!'); - define('_AM_SONGLIST_MSG_VOTES_DELETED','Vote Deleted Fine!'); - define('_AM_SONGLIST_MSG_VOTES_DELETE','Are you sure you wish to delete the Vote "%s"?'); + define('_AM_SONGLIST_MSG_VOTES_SAVEDOKEY', 'Vote Saved Okey!'); + define('_AM_SONGLIST_MSG_VOTES_FAILEDTOSAVE', 'Vote Failed to Save!'); + define('_AM_SONGLIST_MSG_VOTES_FAILEDTODELETE', 'Vote Failed to Delete!'); + define('_AM_SONGLIST_MSG_VOTES_DELETED', 'Vote Deleted Fine!'); + define('_AM_SONGLIST_MSG_VOTES_DELETE', 'Are you sure you wish to delete the Vote "%s"?'); // Fields - define('_AM_SONGLIST_FIELDS_FIELDS','Fields'); - define('_AM_SONGLIST_FIELDS_FIELD','Field'); - define('_AM_SONGLIST_FIELDS_NAME','Name'); - define('_AM_SONGLIST_FIELDS_TITLE','Title'); - define('_AM_SONGLIST_FIELDS_DESCRIPTION','Description'); - define('_AM_SONGLIST_FIELDS_TYPE','Type'); - define('_AM_SONGLIST_FIELDS_CATEGORIES','Categories'); - define('_AM_SONGLIST_FIELDS_WEIGHT','Weight'); - define('_AM_SONGLIST_FIELDS_CATEGORY','Category'); - define('_AM_SONGLIST_FIELDS_DEFAULT','Default'); - define('_AM_SONGLIST_FIELDS_ADD','Add Field'); - define('_AM_SONGLIST_FIELDS_EDIT','Edit Field'); - define('_AM_SONGLIST_FIELDS_PROF_EDITABLE','Songs Field Editable?'); + define('_AM_SONGLIST_FIELDS_FIELDS', 'Fields'); + define('_AM_SONGLIST_FIELDS_FIELD', 'Field'); + define('_AM_SONGLIST_FIELDS_NAME', 'Name'); + define('_AM_SONGLIST_FIELDS_TITLE', 'Title'); + define('_AM_SONGLIST_FIELDS_DESCRIPTION', 'Description'); + define('_AM_SONGLIST_FIELDS_TYPE', 'Type'); + define('_AM_SONGLIST_FIELDS_CATEGORIES', 'Categories'); + define('_AM_SONGLIST_FIELDS_WEIGHT', 'Weight'); + define('_AM_SONGLIST_FIELDS_CATEGORY', 'Category'); + define('_AM_SONGLIST_FIELDS_DEFAULT', 'Default'); + define('_AM_SONGLIST_FIELDS_ADD', 'Add Field'); + define('_AM_SONGLIST_FIELDS_EDIT', 'Edit Field'); + define('_AM_SONGLIST_FIELDS_PROF_EDITABLE', 'Songs Field Editable?'); //Field Redirection Messages - define('_AM_SONGLIST_FIELDS_FIELDNOTCONFIGURABLE','Field not Configurable!'); - define('_AM_SONGLIST_FIELDS_SAVEDSUCCESS','%s Saved Successfully!'); - define('_AM_SONGLIST_FIELDS_DELETEDSUCCESS','%s Deleted Sucessfully!'); + define('_AM_SONGLIST_FIELDS_FIELDNOTCONFIGURABLE', 'Field not Configurable!'); + define('_AM_SONGLIST_FIELDS_SAVEDSUCCESS', '%s Saved Successfully!'); + define('_AM_SONGLIST_FIELDS_DELETEDSUCCESS', '%s Deleted Sucessfully!'); //Field value types - define('_AM_SONGLIST_FIELDS_ARRAY','Array'); - define('_AM_SONGLIST_FIELDS_EMAIL','eMail'); - define('_AM_SONGLIST_FIELDS_INT','Integer'); - define('_AM_SONGLIST_FIELDS_TXTAREA','Text Area'); - define('_AM_SONGLIST_FIELDS_TXTBOX','Text-box'); - define('_AM_SONGLIST_FIELDS_URL','URL'); - define('_AM_SONGLIST_FIELDS_OTHER','Other'); - define('_AM_SONGLIST_FIELDS_DATE','Date'); + define('_AM_SONGLIST_FIELDS_ARRAY', 'Array'); + define('_AM_SONGLIST_FIELDS_EMAIL', 'eMail'); + define('_AM_SONGLIST_FIELDS_INT', 'Integer'); + define('_AM_SONGLIST_FIELDS_TXTAREA', 'Text Area'); + define('_AM_SONGLIST_FIELDS_TXTBOX', 'Text-box'); + define('_AM_SONGLIST_FIELDS_URL', 'URL'); + define('_AM_SONGLIST_FIELDS_OTHER', 'Other'); + define('_AM_SONGLIST_FIELDS_DATE', 'Date'); //Field element types - define('_AM_SONGLIST_FIELDS_CHECKBOX','Checkboxes'); - define('_AM_SONGLIST_FIELDS_GROUP','Single Groups'); - define('_AM_SONGLIST_FIELDS_GROUPMULTI','Multiple Groups'); - define('_AM_SONGLIST_FIELDS_LANGUAGE','Language Select'); - define('_AM_SONGLIST_FIELDS_RADIO','Radio Buttons'); - define('_AM_SONGLIST_FIELDS_SELECT','Single Select'); - define('_AM_SONGLIST_FIELDS_SELECTMULTI','Multiple Select'); - define('_AM_SONGLIST_FIELDS_TEXTAREA','Text Area'); - define('_AM_SONGLIST_FIELDS_DHTMLTEXTAREA','DHTML Text Editor'); - define('_AM_SONGLIST_FIELDS_EDITOR','Editor'); - define('_AM_SONGLIST_FIELDS_TEXTBOX','Text-box'); - define('_AM_SONGLIST_FIELDS_TIMEZONE','Timezone Select'); - define('_AM_SONGLIST_FIELDS_YESNO','Yes/No Radio'); - define('_AM_SONGLIST_FIELDS_DATETIME','Date Time'); - define('_AM_SONGLIST_FIELDS_LONGDATE','Long Date'); - define('_AM_SONGLIST_FIELDS_THEME','Theme Select'); - define('_AM_SONGLIST_FIELDS_AUTOTEXT','Autotext'); - define('_AM_SONGLIST_FIELDS_RANK','Rank'); + define('_AM_SONGLIST_FIELDS_CHECKBOX', 'Checkboxes'); + define('_AM_SONGLIST_FIELDS_GROUP', 'Single Groups'); + define('_AM_SONGLIST_FIELDS_GROUPMULTI', 'Multiple Groups'); + define('_AM_SONGLIST_FIELDS_LANGUAGE', 'Language Select'); + define('_AM_SONGLIST_FIELDS_RADIO', 'Radio Buttons'); + define('_AM_SONGLIST_FIELDS_SELECT', 'Single Select'); + define('_AM_SONGLIST_FIELDS_SELECTMULTI', 'Multiple Select'); + define('_AM_SONGLIST_FIELDS_TEXTAREA', 'Text Area'); + define('_AM_SONGLIST_FIELDS_DHTMLTEXTAREA', 'DHTML Text Editor'); + define('_AM_SONGLIST_FIELDS_EDITOR', 'Editor'); + define('_AM_SONGLIST_FIELDS_TEXTBOX', 'Text-box'); + define('_AM_SONGLIST_FIELDS_TIMEZONE', 'Timezone Select'); + define('_AM_SONGLIST_FIELDS_YESNO', 'Yes/No Radio'); + define('_AM_SONGLIST_FIELDS_DATETIME', 'Date Time'); + define('_AM_SONGLIST_FIELDS_LONGDATE', 'Long Date'); + define('_AM_SONGLIST_FIELDS_THEME', 'Theme Select'); + define('_AM_SONGLIST_FIELDS_AUTOTEXT', 'Autotext'); + define('_AM_SONGLIST_FIELDS_RANK', 'Rank'); // Field Visibility - define('_AM_SONGLIST_FIELDNOTVISIBLE','-- Field Not Visible --'); - define('_AM_SONGLIST_FIELDVISIBLEFOR',' Visible For '); - define('_AM_SONGLIST_FIELDVISIBLEON',' On '); - define('_AM_SONGLIST_FIELDVISIBLE','Field Visible: '); + define('_AM_SONGLIST_FIELDNOTVISIBLE', '-- Field Not Visible --'); + define('_AM_SONGLIST_FIELDVISIBLEFOR', ' Visible For '); + define('_AM_SONGLIST_FIELDVISIBLEON', ' On '); + define('_AM_SONGLIST_FIELDVISIBLE', 'Field Visible: '); // Field Permissions - define('_AM_SONGLIST_PROF_VISIBLE','Field Visiblity'); - define('_AM_SONGLIST_PROF_EDITABLE','Field Editable'); - define('_AM_SONGLIST_PROF_POST','Field Post'); - define('_AM_SONGLIST_PROF_SEARCH','Field Searchable'); + define('_AM_SONGLIST_PROF_VISIBLE', 'Field Visiblity'); + define('_AM_SONGLIST_PROF_EDITABLE', 'Field Editable'); + define('_AM_SONGLIST_PROF_POST', 'Field Post'); + define('_AM_SONGLIST_PROF_SEARCH', 'Field Searchable'); // Import Wizards - define('_AM_SONGLIST_IMPORT_NOFILE','No File Specified!'); - define('_AM_SONGLIST_IMPORT_ACTIONA_H1','Upload XML File to Import'); - define('_AM_SONGLIST_IMPORT_ACTIONA_P','Select an XML File you have exported from Excel or other platform to import.'); - define('_AM_SONGLIST_IMPORT_ACTIONB_H1','Specify Element Names'); - define('_AM_SONGLIST_IMPORT_ACTIONB_P','You have to specify from the example the elements that exists in this XML file to import, may vary from file to file and also if you specify no element name the field type is ignored..'); - define('_AM_SONGLIST_XMLFILE_COMPLETE','XML File Import and Comparison Complete!'); - define('_AM_SONGLIST_XMLFILE_COPIED','The source XML File has been copied for importing!'); + define('_AM_SONGLIST_IMPORT_NOFILE', 'No File Specified!'); + define('_AM_SONGLIST_IMPORT_ACTIONA_H1', 'Upload XML File to Import'); + define('_AM_SONGLIST_IMPORT_ACTIONA_P', 'Select an XML File you have exported from Excel or other platform to import.'); + define('_AM_SONGLIST_IMPORT_ACTIONB_H1', 'Specify Element Names'); + define('_AM_SONGLIST_IMPORT_ACTIONB_P', 'You have to specify from the example the elements that exists in this XML file to import, may vary from file to file and also if you specify no element name the field type is ignored..'); + define('_AM_SONGLIST_XMLFILE_COMPLETE', 'XML File Import and Comparison Complete!'); + define('_AM_SONGLIST_XMLFILE_COPIED', 'The source XML File has been copied for importing!'); // About Box - define('_AM_SONGLIST_ABOUT_MAKEDONATE','Make Song List Better Donate Today!'); + define('_AM_SONGLIST_ABOUT_MAKEDONATE', 'Make Song List Better Donate Today!'); ?> \ No newline at end of file Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/blocks.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/blocks.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/blocks.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -1,18 +1,18 @@ <?php // blocks - define('_BL_SONGLIST_NUMBEROFITEMS','Number of items: '); + define('_BL_SONGLIST_NUMBEROFITEMS', 'Number of items: '); // Titles - define('_BL_SONGLIST_CATEGORIES','Categories'); - define('_BL_SONGLIST_CATEGORY','Category'); - define('_BL_SONGLIST_GENRES','Genre\'s'); - define('_BL_SONGLIST_GENRE','Genre'); - define('_BL_SONGLIST_ARTISTS','Artist\'s'); - define('_BL_SONGLIST_ARTIST','Artist'); - define('_BL_SONGLIST_ALBUMS','Album\'s'); - define('_BL_SONGLIST_ALBUM','Album'); - define('_BL_SONGLIST_SONGS','Song\'s'); - define('_BL_SONGLIST_SONG','Song'); + define('_BL_SONGLIST_CATEGORIES', 'Categories'); + define('_BL_SONGLIST_CATEGORY', 'Category'); + define('_BL_SONGLIST_GENRES', 'Genre\'s'); + define('_BL_SONGLIST_GENRE', 'Genre'); + define('_BL_SONGLIST_ARTISTS', 'Artist\'s'); + define('_BL_SONGLIST_ARTIST', 'Artist'); + define('_BL_SONGLIST_ALBUMS', 'Album\'s'); + define('_BL_SONGLIST_ALBUM', 'Album'); + define('_BL_SONGLIST_SONGS', 'Song\'s'); + define('_BL_SONGLIST_SONG', 'Song'); ?> Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/forms.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/forms.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/forms.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -59,7 +59,9 @@ define('_FRM_SONGLIST_FORM_SONGS_VOICE_DESC', ''); define('_FRM_SONGLIST_FORM_SONGS_ALBUM', 'Song Album'); define('_FRM_SONGLIST_FORM_SONGS_ALBUM_DESC', ''); - + define('_FRM_SONGLIST_FORM_SONGS_MP3', 'MP3 File'); + define('_FRM_SONGLIST_FORM_SONGS_MP3_DESC', ''); + // UTF8 Mapping Form define('_FRM_SONGLIST_FORM_ISNEW_UTF8MAP', 'New Chracter replacement mapping'); define('_FRM_SONGLIST_FORM_EDIT_UTF8MAP', 'Edit Chracter replacement mapping'); @@ -224,6 +226,8 @@ define('_FRM_SONGLIST_FORM_ELEMENT_LYRICS_DESC', 'Lyrics data is contained in this element'); define('_FRM_SONGLIST_FORM_ELEMENT_TAGS', 'Song Tags Element Is'); define('_FRM_SONGLIST_FORM_ELEMENT_TAGS_DESC', 'Tags is contained in this element'); + define('_FRM_SONGLIST_FORM_ELEMENT_MP3', 'Song MP3 URL'); + define('_FRM_SONGLIST_FORM_ELEMENT_MP3_DESC', 'URL for MP3 is contained in this element'); define('_FRM_SONGLIST_FORM_IMPORT_LIMITING', 'Import Sessioning Limitations?'); define('_FRM_SONGLIST_FORM_IMPORT_LIMITING_DESC', 'If this is enabled every number of records the process will sleep for a certain amount of seconds.'); define('_FRM_SONGLIST_FORM_IMPORT_RECORDS', 'Import Sessioning Record Count'); Modified: XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/main.php =================================================================== --- XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/main.php 2012-08-15 16:26:29 UTC (rev 10080) +++ XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/main.php 2012-08-15 16:26:42 UTC (rev 10081) @@ -1,86 +1,87 @@ <?php // Song Item Index - define('_MN_SONGLIST_ALBUM','Album: '); - define('_MN_SONGLIST_ARTISTS','Artists: '); - define('_MN_SONGLIST_ARTIST','Artist: '); - define('_MN_SONGLIST_TITLE','Title: '); - define('_MN_SONGLIST_SONGID','Song ID: '); - define('_MN_SONGLIST_TRAXID','Track Number: '); - define('_MN_SONGLIST_TAGS','Tags: '); - define('_MN_SONGLIST_SONGS','Song: '); - define('_MN_SONGLIST_ALBUMS','Album: '); - define('_MN_SONGLIST_LYRICS','Lyric: '); - define('_MN_SONGLIST_GENRE','Genre: '); - define('_MN_SONGLIST_VOICE','Voice: '); - define('_MN_SONGLIST_CATEGORY','Company: '); + define('_MN_SONGLIST_ALBUM', 'Album: '); + define('_MN_SONGLIST_ARTISTS', 'Artists: '); + define('_MN_SONGLIST_ARTIST', 'Artist: '); + define('_MN_SONGLIST_TITLE', 'Title: '); + define('_MN_SONGLIST_SONGID', 'Song ID: '); + define('_MN_SONGLIST_TRAXID', 'Track Number: '); + define('_MN_SONGLIST_TAGS', 'Tags: '); + define('_MN_SONGLIST_SONGS', 'Song: '); + define('_MN_SONGLIST_ALBUMS', 'Album: '); + define('_MN_SONGLIST_LYRICS', 'Lyric: '); + define('_MN_SONGLIST_GENRE', 'Genre: '); + define('_MN_SONGLIST_VOICE', 'Voice: '); + define('_MN_SONGLIST_CATEGORY', 'Company: '); // Browse By - define('_MN_SONGLIST_BROWSEBY','Browse by Character'); - define('_MN_SONGLIST_BROWSEBY1','Browse'); - define('_MN_SONGLIST_BROWSEBY2','by Character'); - define('_MN_SONGLIST_SELECTBY_TITLE','Title'); - define('_MN_SONGLIST_SELECTBY_LYRICS','Lyrics'); - define('_MN_SONGLIST_SELECTBY_ARTIST','Artist'); - define('_MN_SONGLIST_SELECTBY_ALBUM','Album'); + define('_MN_SONGLIST_BROWSEBY', 'Browse by Character'); + define('_MN_SONGLIST_BROWSEBY1', 'Browse'); + define('_MN_SONGLIST_BROWSEBY2', 'by Character'); + define('_MN_SONGLIST_SELECTBY_TITLE', 'Title'); + define('_MN_SONGLIST_SELECTBY_LYRICS', 'Lyrics'); + define('_MN_SONGLIST_SELECTBY_ARTIST', 'Artist'); + define('_MN_SONGLIST_SELECTBY_ALBUM', 'Album'); // Search - define('_MN_SONGLIST_SEARCH','Search Database'); - define('_MN_SONGLIST_FILTER_KEYWORD','Keywords'); - define('_MN_SONGLIST_FILTER_SEARCHBY','Search'); - define('_MN_SONGLIST_FILTER_ALBUM','Album'); - define('_MN_SONGLIST_FILTER_ARTIST','Artist'); - define('_MN_SONGLIST_FILTER_TITLE','Title'); - define('_MN_SONGLIST_FILTER_LYRICS','Lyrics'); - define('_MN_SONGLIST_FILTER_ARTISTANDLYRICS','Title & Lyrics'); - define('_MN_SONGLIST_FILTER_CATEGORY','Company'); - define('_MN_SONGLIST_FILTER_GENRE','Genre'); - define('_MN_SONGLIST_FILTER_VOICE','Voice'); + define('_MN_SONGLIST_SEARCH', 'Search Database'); + define('_MN_SONGLIST_FILTER_KEYWORD', 'Keywords'); + define('_MN_SONGLIST_FILTER_SEARCHBY', 'Search'); + define('_MN_SONGLIST_FILTER_ALBUM', 'Album'); + define('_MN_SONGLIST_FILTER_ARTIST', 'Artist'); + define('_MN_SONGLIST_FILTER_TITLE', 'Title'); + define('_MN_SONGLIST_FILTER_LYRICS', 'Lyrics'); + define('_MN_SONGLIST_FILTER_ARTISTANDLYRICS', 'Title & Lyrics'); + define('_MN_SONGLIST_FILTER_CATEGORY', 'Company'); + define('_MN_SONGLIST_FILTER_GENRE', 'Genre'); + define('_MN_SONGLIST_FILTER_VOICE', 'Voice'); // Results - define('_MN_SONGLIST_RESULTS','Songs'); - define('_MN_SONGLIST_RESULTS_ARTIST','Artist'); - define('_MN_SONGLIST_RESULTS_ALBUM','Album'); - define('_MN_SONGLIST_RESULTS_GENRE','Genre'); - define('_MN_SONGLIST_RESULTS_SINGER','Singer'); - define('_MN_SONGLIST_RESULTS_TITLE','Title'); - define('_MN_SONGLIST_RESULTS_SONGID','ID'); - define('_MN_SONGLIST_RESULTS_ACTIONS','Actions'); - define('_MN_SONGLIST_RESULTS_TAGS','Tags'); - define('_MN_SONGLIST_RESULTS_VOICE','Voice'); - define('_MN_SONGLIST_RESULTS_TRAXNO','Track No.'); + define('_MN_SONGLIST_RESULTS', 'Songs'); + define('_MN_SONGLIST_RESULTS_ARTIST', 'Artist'); + define('_MN_SONGLIST_RESULTS_ALBUM', 'Album'); + define('_MN_SONGLIST_RESULTS_GENRE', 'Genre'); + define('_MN_SONGLIST_RESULTS_SINGER', 'Singer'); + define('_MN_SONGLIST_RESULTS_TITLE', 'Title'); + define('_MN_SONGLIST_RESULTS_SONGID', 'ID'); + define('_MN_SONGLIST_RESULTS_ACTIONS', 'Actions'); + define('_MN_SONGLIST_RESULTS_TAGS', 'Tags'); + define('_MN_SONGLIST_RESULTS_VOICE', 'Voice'); + define('_MN_SONGLIST_RESULTS_TRAXNO', 'Track No.'); + define('_MN_SONGLIST_RESULTS_MP3', 'MP3'); // Voting - define('_MN_SONGLIST_10STARS','10 Stars'); - define('_MN_SONGLIST_9STARS','9 Stars'); - define('_MN_SONGLIST_8STARS','8 Stars'); - define('_MN_SONGLIST_7STARS','7 Stars'); - define('_MN_SONGLIST_6STARS','6 Stars'); - define('_MN_SONGLIST_5STARS','5 Stars'); - define('_MN_SONGLIST_4STARS','4 Stars'); - define('_MN_SONGLIST_3STARS','3 Stars'); - define('_MN_SONGLIST_2STARS','2 Stars'); - define('_MN_SONGLIST_1STARS','1 Stars'); - define('_MN_SONGLIST_VOTE','Vote!'); + define('_MN_SONGLIST_10STARS', '10 Stars'); + define('_MN_SONGLIST_9STARS', '9 Stars'); + define('_MN_SONGLIST_8STARS', '8 Stars'); + define('_MN_SONGLIST_7STARS', '7 Stars'); + define('_MN_SONGLIST_6STARS', '6 Stars'); + define('_MN_SONGLIST_5STARS', '5 Stars'); + define('_MN_SONGLIST_4STARS', '4 Stars'); + define('_MN_SONGLIST_3STARS', '3 Stars'); + define('_MN_SONGLIST_2STARS', '2 Stars'); + define('_MN_SONGLIST_1STARS', '1 Stars'); + define('_MN_SONGLIST_VOTE', 'Vote!'); // Categories - define('_MN_SONGLIST_CATEGORIES','Company'); - define('_MN_SONGLIST_HOME','Company Index'); - define('_MN_SONGLIST_MSG_CATEGORYCHANGED','Company Changed!'); + define('_MN_SONGLIST_CATEGORIES', 'Company'); + define('_MN_SONGLIST_HOME', 'Company Index'); + define('_MN_SONGLIST_MSG_CATEGORYCHANGED', 'Company Changed!'); //Votes - define('_MN_SONGLIST_MSG_VOTED_ALREADY','You have already voted for this item, you can only vote once on an item!'); - define('_MN_SONGLIST_MSG_VOTED_FINISHED','Thanks for the vote for this item, you not be able to vote again on this item!'); - define('_MN_SONGLIST_MSG_VOTED_SOMETHINGWRONG','Something is wrong with taking the vote, we where unable to rate the items for you!'); + define('_MN_SONGLIST_MSG_VOTED_ALREADY', 'You have already voted for this item, you can only vote once on an item!'); + define('_MN_SONGLIST_MSG_VOTED_FINISHED', 'Thanks for the vote for this item, you not be able to vote again on this item!'); + define('_MN_SONGLIST_MSG_VOTED_SOMETHINGWRONG', 'Something is wrong with taking the vote, we where unable to rate the items for you!'); // Requests - define('_MN_SONGLIST_MSG_REQUESTSENT','Request to Admin has been sent for this song to be added!'); - define('_MN_SONGLIST_MSG_REQUESTNOTSENT','Request to Admin has not been sent you may have been missing a field like `email`!'); - define('_MN_SONGLIST_REQUEST_H1','Make a request for a song to be added!'); - define('_MN_SONGLIST_REQUEST_P','Fill out this form to email the webmasters, so that a song will be added to the site, you will need to include as much information as possible including your name and email addresses so we can tell you when we have found the song!'); + define('_MN_SONGLIST_MSG_REQUESTSENT', 'Request to Admin has been sent for this song to be added!'); + define('_MN_SONGLIST_MSG_REQUESTNOTSENT', 'Request to Admin has not been sent you may have been missing a field like `email`!'); + define('_MN_SONGLIST_REQUEST_H1', 'Make a request for a song to be added!'); + define('_MN_SONGLIST_REQUEST_P', 'Fill out this form to email the webmasters, so that a song will be added to the site, you will need to include as much information as possible including your name and email addresses so we can tell you when we have found the song!'); // Version 1.13 // Error - define('_MN_SONGLIST_MSG_EMAILNOTSET','The email you entered is either invalid or blank, please try again!'); + define('_MN_SONGLIST_MSG_EMAILNOTSET', 'The email you en... [truncated message content] |
From: <wis...@us...> - 2012-08-15 16:26:36
|
Revision: 10080 http://xoops.svn.sourceforge.net/xoops/?rev=10080&view=rev Author: wishcraft Date: 2012-08-15 16:26:29 +0000 (Wed, 15 Aug 2012) Log Message: ----------- Songlist 1.14 - MP3 Playback and Upload/Import Modified Paths: -------------- XoopsModules/songlist/releases/1.14/htdocs/modules/songlist/admin/songs.php Modified: XoopsModules/songlist/releases/1.14/htdocs/modules/songlist/admin/songs.php =================================================================== --- XoopsModules/songlist/releases/1.14/htdocs/modules/songlist/admin/songs.php 2012-08-15 16:21:35 UTC (rev 10079) +++ XoopsModules/songlist/releases/1.14/htdocs/modules/songlist/admin/songs.php 2012-08-15 16:26:29 UTC (rev 10080) @@ -118,7 +118,7 @@ if (strlen($songs->getVar('mp3'))) unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); - $songs->setVar('mp3', XOOPS_URL.'/'.$GLOBALS['songlistModuleConfig']['upload_areas'].$uploader->getSavedFileName()); + $songs->setVar('mp3', XOOPS_URL.'/'.str_replace(DS, '/', $GLOBALS['songlistModuleConfig']['upload_areas']).$uploader->getSavedFileName()); } } else { @@ -186,7 +186,7 @@ if (strlen($songs->getVar('mp3'))) unlink($GLOBALS['xoops']->path($songs->getVar('path')).basename($songs->getVar('mp3'))); - $songs->setVar('mp3', XOOPS_URL.'/'.$GLOBALS['songlistModuleConfig']['upload_areas'].$uploader->getSavedFileName()); + $songs->setVar('mp3', XOOPS_URL.'/'.str_replace(DS, '/', $GLOBALS['songlistModuleConfig']['upload_areas']).$uploader->getSavedFileName()); } } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |