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: <luc...@us...> - 2012-08-07 16:46:05
|
Revision: 10004 http://xoops.svn.sourceforge.net/xoops/?rev=10004&view=rev Author: luciorota Date: 2012-08-07 16:45:58 +0000 (Tue, 07 Aug 2012) Log Message: ----------- removed spaces in definitions add new feature: redirect to previous page Modified Paths: -------------- XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php XoopsModules/xhttperror/trunk/xhttperror/class/error.php XoopsModules/xhttperror/trunk/xhttperror/language/english/admin.php XoopsModules/xhttperror/trunk/xhttperror/language/english/help/help.html XoopsModules/xhttperror/trunk/xhttperror/language/english/main.php XoopsModules/xhttperror/trunk/xhttperror/language/english/modinfo.php XoopsModules/xhttperror/trunk/xhttperror/templates/xhttperror_index.html XoopsModules/xhttperror/trunk/xhttperror/xoops_version.php Modified: XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -1,37 +1,42 @@ -<?php -/** - * **************************************************************************** - * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) - * **************************************************************************** - * XHTTPERROR - MODULE FOR XOOPS - * Copyright (c) 2007 - 2012 - * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) - * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting - * source code which is considered copyrighted (c) material of the - * original comment or credit authors. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * --------------------------------------------------------------------------- - * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) - * @license GNU General Public License v3.0 - * @package xhttperror - * @author Rota Lucio ( luc...@gm... ) - * - * $Rev$: Revision of last commit - * $Author$: Author of last commit - * $Date$: Date of last commit - * **************************************************************************** - */ - -global $pathImageAdmin; -echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> - <img src='".$pathImageModule."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; -echo "<div class='center small italic pad5'> - <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_XHTTPERR_MAINTAINEDBY." - <a href='IN PROGRESS' title='Visit IN PROGRESS' class='tooltip' rel='external'>IN PROGRESS</a></div>"; -xoops_cp_footer(); +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +global $pathImageAdmin; + +echo "<div align=\"center\">"; +echo "<a href=\"http://www.xoops.org\" target=\"_blank\">"; +echo "<img src=" . $pathImageAdmin.'/xoopsmicrobutton.gif'.' '." alt='XOOPS' title='XOOPS'>"; +echo "</a>"; +echo "</div>"; +echo "<div class='center small italic pad5'>"; +echo "<strong>" . $xoopsModule->getVar("name") . "</strong> " . _AM_XHTTPERR_MAINTAINEDBY . " <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a>"; +echo "</div>"; + +xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -59,7 +59,7 @@ $GLOBALS['xoopsTpl']->assign('errors', $errors); $GLOBALS['xoopsTpl']->assign('token', $GLOBALS['xoopsSecurity']->getTokenHTML() ); - $GLOBALS['xoopsTpl']->display("db:xhttperror_admin_errors_list.html"); + $GLOBALS['xoopsTpl']->display('db:xhttperror_admin_errors_list.html'); } else { echo _AM_XHTTPERR_ERROR_NOERRORS; } @@ -120,6 +120,9 @@ $error->setVar('error_showme', $_REQUEST['error_showme']); $error->setVar('error_redirect', $_REQUEST['error_redirect']); $error->setVar('error_redirect_time', (int)$_REQUEST['error_redirect_time']); + /* IN PROGRESS + $error->setVar('error_redirect_message', (int)$_REQUEST['error_redirect_message']); + */ $error->setVar('error_redirect_uri', $_REQUEST['error_redirect_uri']); if ( $errorHandler->insert($error) ) { Modified: XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -55,7 +55,6 @@ $criteria->setOrder('ASC'); $criteria->setLimit($GLOBALS['xoopsModuleConfig']['reports_per_page']); $reports = $reportHandler->getObjects($criteria, true, false); - foreach ($reports as $key=>$report) { $reports[$key]['report_user'] = XoopsUserUtility::getUnameFromId($report['report_uid'], false, true); $reports[$key]['report_date'] = formatTimeStamp($report['report_date'], _DATESTRING); Modified: XoopsModules/xhttperror/trunk/xhttperror/class/error.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/class/error.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/class/error.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -32,6 +32,10 @@ die("XOOPS root path not defined"); } +define('XHTTPERR_REDIRECT_NO', 0); +define('XHTTPERR_REDIRECT_URI', 1); +define('XHTTPERR_REDIRECT_PREVIOUS', 2); + class XhttperrorError extends XoopsObject { @@ -47,7 +51,7 @@ $this->initVar('error_text_smiley', XOBJ_DTYPE_INT, true, false); // default: true $this->initVar('error_text_breaks', XOBJ_DTYPE_INT, false, false); // default: false $this->initVar("error_showme", XOBJ_DTYPE_INT, true, false); // default: true - $this->initVar("error_redirect", XOBJ_DTYPE_INT, false, false); // default: false + $this->initVar("error_redirect", XOBJ_DTYPE_INT, XHTTPERR_REDIRECT_NO, false); // default: XHTTPERR_REDIRECT_NO $this->initVar("error_redirect_time", XOBJ_DTYPE_INT, 3, false); // default: 3 seconds $this->initVar("error_redirect_message", XOBJ_DTYPE_TXTBOX, '', false); // IN PROGRESS $this->initVar("error_redirect_uri", XOBJ_DTYPE_URL, XOOPS_URL, false); // default XOOPS_URL @@ -68,9 +72,10 @@ $form->setExtra('enctype="multipart/form-data"'); // Title - $title = new XoopsFormText(_AM_XHTTPERR_ERROR_TITLE, 'error_title', 40, 255, $this->getVar('error_title')); - $form->addElement($title, true); - unset($title); + $errorTitle = new XoopsFormText(_AM_XHTTPERR_ERROR_TITLE, 'error_title', 40, 255, $this->getVar('error_title')); + $errorTitle->setDescription(_AM_XHTTPERR_ERROR_TITLE_DESC); + $form->addElement($errorTitle, true); + unset($errorTitle); // Error number if ($this->isNew()) { $errorStatuscode = new XoopsFormText(_AM_XHTTPERR_ERROR_STATUSCODE, 'error_statuscode', 3, 3, $this->getVar('error_statuscode')); @@ -80,8 +85,8 @@ $form->addElement($errorStatuscode, true); unset($errorStatuscode); // Text - $editor_configs=array(); - $editor_configs["name"] ="error_text"; + $editor_configs = array(); + $editor_configs["name"] = "error_text"; $editor_configs["value"] = $this->getVar('error_text', 'e'); $editor_configs["rows"] = 10; $editor_configs["cols"] = 50; @@ -96,6 +101,7 @@ $errorTextOptions->addElement(new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_TEXT_HTML, 'error_text_html', $this->getVar('error_text_html'), _YES, _NO)); $errorTextOptions->addElement(new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_TEXT_SMILEY, 'error_text_smiley', $this->getVar('error_text_smiley'), _YES, _NO)); $errorTextOptions->addElement(new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_TEXT_BREAKS, 'error_text_breaks', $this->getVar('error_text_breaks'), _YES, _NO)); + $errorTextOptions->setDescription(_AM_XHTTPERR_ERROR_TEXT_OPTIONS_DESC); $form->addElement($errorTextOptions); unset($errorTextOptions); // Showme @@ -106,7 +112,11 @@ $form->addElement(new XoopsFormLabel(_AM_XHTTPERR_ERROR_REDIRECT_OPTIONS, '', '')); // Redirect - $errorRedirect = new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_REDIRECT, 'error_redirect', $this->getVar('error_redirect'), _YES, _NO); + $errorRedirect = new XoopsFormSelect (_AM_XHTTPERR_ERROR_REDIRECT, 'error_redirect', $this->getVar('error_redirect'), 1, false); + $errorRedirect->addOption (XHTTPERR_REDIRECT_NO, _AM_XHTTPERR_ERROR_REDIRECT_OPTION_NO); + $errorRedirect->addOption (XHTTPERR_REDIRECT_URI, _AM_XHTTPERR_ERROR_REDIRECT_OPTION_URI); + $errorRedirect->addOption (XHTTPERR_REDIRECT_PREVIOUS, _AM_XHTTPERR_ERROR_REDIRECT_OPTION_PREVIOUS); + //$errorRedirect = new XoopsFormRadioYN(, _YES, _NO); $errorRedirect->setDescription(_AM_XHTTPERR_ERROR_REDIRECT_DESC); $form->addElement($errorRedirect); unset($errorRedirect); @@ -115,8 +125,13 @@ $errorRedirectTime->setDescription(_AM_XHTTPERR_ERROR_REDIRECT_TIME_DESC); $form->addElement($errorRedirectTime); unset($errorRedirectTime); + /* IN PROGRESS // Redirect message - // IN PROGRESS + $errorRedirectMessage = new XoopsFormText(_AM_XHTTPERR_ERROR_REDIRECT_MESSAGE, 'error_redirect_message', 40, 255, $this->getVar('error_redirect_message')); + $errorRedirectMessage->setDescription(_AM_XHTTPERR_ERROR_REDIRECT_MESSAGE_DESC); + $form->addElement($errorRedirectMessage, true); + unset($errorRedirectMessage); + */ // Redirect uri $errorRedirectUri = new XoopsFormText(_AM_XHTTPERR_ERROR_REDIRECT_URI, 'error_redirect_uri', 40, 255, $this->getVar('error_redirect_uri')); $errorRedirectUri->setDescription(_AM_XHTTPERR_ERROR_REDIRECT_URI_DESC); Modified: XoopsModules/xhttperror/trunk/xhttperror/language/english/admin.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/language/english/admin.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/language/english/admin.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -1,89 +1,94 @@ <?php -define("_AM_XHTTPERR_ACTION", "Action"); -define("_AM_XHTTPERR_ACTION_TEST", "Test"); -define("_AM_XHTTPERR_ACTION_EDIT_DESC", "Click to edit"); -define("_AM_XHTTPERR_ACTION_DELETE_DESC", "Click to delete"); +define("_AM_XHTTPERR_ACTION","Action"); +define("_AM_XHTTPERR_ACTION_TEST","Test"); +define("_AM_XHTTPERR_ACTION_EDIT_DESC","Click to edit"); +define("_AM_XHTTPERR_ACTION_DELETE_DESC","Click to delete"); -define("_AM_XHTTPERR_DELETEDSUCCESS", "Deleted"); -define("_AM_XHTTPERR_NOTDELETED", "Not deleted"); -define("_AM_XHTTPERR_SAVEDSUCCESS", "Saved"); -define("_AM_XHTTPERR_NOTSAVED", "Not saved"); +define("_AM_XHTTPERR_DELETEDSUCCESS","Deleted"); +define("_AM_XHTTPERR_NOTDELETED","Not deleted"); +define("_AM_XHTTPERR_SAVEDSUCCESS","Saved"); +define("_AM_XHTTPERR_NOTSAVED","Not saved"); // admin/index.php -define("_AM_XHTTPERR_INTRO", " Info "); +define("_AM_XHTTPERR_INTRO"," Info "); -define("_AM_XHTTPERR_INFO", "<p><strong>Please note:</strong> This module requires that the server supports .htaccess files (and that .htaccess files are allowed for your account), or some way for you to add custom error message redirects.</p>"); +define("_AM_XHTTPERR_INFO","<p><strong>Please note:</strong> This module requires that the server supports .htaccess files (and that .htaccess files are allowed for your account), or some way for you to add custom error message redirects.</p>"); -define("_AM_XHTTPERR_FILECHK", "Checking for the <b>.htaccess</b> file: "); -define("_AM_XHTTPERR_FILEEXISTS", "<p style=\"color: green; font-weight: bold;\">OK</p>"); -define("_AM_XHTTPERR_FILENOEXIST", "<p style=\"color: red; font-weight: bold;\">the .htaccess does not exist - please add this file with the lines added below (please note the full stop at the start - this is part of the filename).</p>"); -define("_AM_XHTTPERR_ADDCODE", "<p>You will need to manually add the following lines to the <b>.htaccess</b> file in your XOOPS root directory for the error codes to work.</p>"); -define("_AM_XHTTPERR_NOCODE", "<p style=\"color: red; font-weight: bold;\">There are currently no error codes defined.</p>"); +define("_AM_XHTTPERR_FILECHK","Checking for the <b>.htaccess</b> file: "); +define("_AM_XHTTPERR_FILEEXISTS","<p style=\"color: green; font-weight: bold;\">OK</p>"); +define("_AM_XHTTPERR_FILENOEXIST","<p style=\"color: red; font-weight: bold;\">the .htaccess does not exist - please add this file with the lines added below (please note the full stop at the start - this is part of the filename).</p>"); +define("_AM_XHTTPERR_ADDCODE","<p>You will need to manually add the following lines to the <b>.htaccess</b> file in your XOOPS root directory for the error codes to work.</p>"); +define("_AM_XHTTPERR_NOCODE","<p style=\"color: red; font-weight: bold;\">There are currently no error codes defined.</p>"); // admin/errors.php // class/error.php -define("_AM_XHTTPERR_ERROR_ADD", "Create error code"); -define("_AM_XHTTPERR_ERROR_EDIT", "Edit error code"); -define("_AM_XHTTPERR_ERROR_LIST", "List error codes"); -define("_AM_XHTTPERR_ERROR_CODES", "Error codes"); -define("_AM_XHTTPERR_ERROR_CODE", "Error code"); +define("_AM_XHTTPERR_ERROR_ADD","Create error code"); +define("_AM_XHTTPERR_ERROR_EDIT","Edit error code"); +define("_AM_XHTTPERR_ERROR_LIST","List error codes"); +define("_AM_XHTTPERR_ERROR_CODES","Error codes"); +define("_AM_XHTTPERR_ERROR_CODE","Error code"); -define("_AM_XHTTPERR_ERROR_NOERRORS", "No error types defined"); +define("_AM_XHTTPERR_ERROR_NOERRORS","No error types defined"); -define("_AM_XHTTPERR_ERRORS", "Error codes"); -define("_AM_XHTTPERR_ERROR_ID", "ID"); -define("_AM_XHTTPERR_ERROR_ID_DESC", ""); -define("_AM_XHTTPERR_ERROR_TITLE", "Title"); -define("_AM_XHTTPERR_ERROR_TITLE_DESC", ""); -define("_AM_XHTTPERR_ERROR_STATUSCODE", "Error status code"); -define("_AM_XHTTPERR_ERROR_STATUSCODE_DESC", ""); -define("_AM_XHTTPERR_ERROR_TEXT", "Message"); -define("_AM_XHTTPERR_ERROR_TEXT_DESC", ""); -define("_AM_XHTTPERR_ERROR_TEXT_OPTIONS", "Message options"); -define("_AM_XHTTPERR_ERROR_TEXT_HTML", "Html"); -define("_AM_XHTTPERR_ERROR_TEXT_SMILEY", "Smilies"); -define("_AM_XHTTPERR_ERROR_TEXT_BREAKS", "Line Feed"); -define("_AM_XHTTPERR_ERROR_STATUS", "Status"); -define("_AM_XHTTPERR_ERROR_STATUS_DESC", "Select Yes to display"); -define("_AM_XHTTPERR_ERROR_STATUS_SHOW", "Published"); -define("_AM_XHTTPERR_ERROR_STATUS_HIDE", "Hidden"); -define("_AM_XHTTPERR_ERROR_REDIRECT_OPTIONS", "Redirect options"); +define("_AM_XHTTPERR_ERRORS","Error codes"); +define("_AM_XHTTPERR_ERROR_ID","ID"); +define("_AM_XHTTPERR_ERROR_ID_DESC",""); +define("_AM_XHTTPERR_ERROR_TITLE","Title"); +define("_AM_XHTTPERR_ERROR_TITLE_DESC",""); +define("_AM_XHTTPERR_ERROR_STATUSCODE","Error status code"); +define("_AM_XHTTPERR_ERROR_STATUSCODE_DESC",""); +define("_AM_XHTTPERR_ERROR_TEXT","Message"); +define("_AM_XHTTPERR_ERROR_TEXT_DESC",""); +define("_AM_XHTTPERR_ERROR_TEXT_OPTIONS","Message options"); +define("_AM_XHTTPERR_ERROR_TEXT_OPTIONS_DESC",""); +define("_AM_XHTTPERR_ERROR_TEXT_HTML","Html"); +define("_AM_XHTTPERR_ERROR_TEXT_SMILEY","Smilies"); +define("_AM_XHTTPERR_ERROR_TEXT_BREAKS","Line Feed"); +define("_AM_XHTTPERR_ERROR_STATUS","Status"); +define("_AM_XHTTPERR_ERROR_STATUS_DESC","Select Yes to display"); +define("_AM_XHTTPERR_ERROR_STATUS_SHOW","Published"); +define("_AM_XHTTPERR_ERROR_STATUS_HIDE","Hidden"); +define("_AM_XHTTPERR_ERROR_REDIRECT_OPTIONS","Redirect options"); define("_AM_XHTTPERR_ERROR_REDIRECT_OPTIONS_DESC", ""); -define("_AM_XHTTPERR_ERROR_REDIRECT", "Redirect"); -define("_AM_XHTTPERR_ERROR_REDIRECT_DESC", "Select Yes to redirect"); -define("_AM_XHTTPERR_ERROR_REDIRECT_TIME", "Redirect time"); -define("_AM_XHTTPERR_ERROR_REDIRECT_TIME_DESC", "Page will be redirected after n seconds"); -// Redirect message IN PROGRESS -define("_AM_XHTTPERR_ERROR_REDIRECT_URI", "Redirect url"); -define("_AM_XHTTPERR_ERROR_REDIRECT_URI_DESC", "Page will be redirected to ..."); +define("_AM_XHTTPERR_ERROR_REDIRECT","Redirect"); +define("_AM_XHTTPERR_ERROR_REDIRECT_DESC",""); +define("_AM_XHTTPERR_ERROR_REDIRECT_OPTION_NO","No redirect"); +define("_AM_XHTTPERR_ERROR_REDIRECT_OPTION_URI","Redirect to url ..."); +define("_AM_XHTTPERR_ERROR_REDIRECT_OPTION_PREVIOUS","Redirect to previous page"); +define("_AM_XHTTPERR_ERROR_REDIRECT_TIME","Redirect time"); +define("_AM_XHTTPERR_ERROR_REDIRECT_TIME_DESC","Page will be redirected after ... seconds"); +//define("_AM_XHTTPERR_ERROR_REDIRECT_MESSAGE","Redirect message"); +//define("_AM_XHTTPERR_ERROR_REDIRECT_MESSAGE_DESC",""); +define("_AM_XHTTPERR_ERROR_REDIRECT_URI","Redirect url"); +define("_AM_XHTTPERR_ERROR_REDIRECT_URI_DESC","Page will be redirected to ..."); -define("_AM_XHTTPERR_ERROR_RUSUREDEL", "Are you sure to delete %s error?"); -define("_AM_XHTTPERR_STATUSCODE_EXISTS", "That error code already exists!"); +define("_AM_XHTTPERR_ERROR_RUSUREDEL","Are you sure to delete %s error?"); +define("_AM_XHTTPERR_STATUSCODE_EXISTS","That error code already exists!"); // admin/reports.php // class/report.php -define("_AM_XHTTPERR_REPORT_NOREPORTS", "There are no error reports"); +define("_AM_XHTTPERR_REPORT_NOREPORTS","There are no error reports"); -define("_AM_XHTTPERR_REPORTS", "Reports"); -define("_AM_XHTTPERR_REPORT_ID", "ID"); -define("_AM_XHTTPERR_REPORT_USER", "User"); -define("_AM_XHTTPERR_REPORT_STATUSCODE", "Error status code"); -define("_AM_XHTTPERR_REPORT_DATE", "Date"); -define("_AM_XHTTPERR_REPORT_REFERER", "Referer"); -define("_AM_XHTTPERR_REPORT_USERAGENT", "User agent"); -define("_AM_XHTTPERR_REPORT_REMOTEADDR", "User IP"); -define("_AM_XHTTPERR_REPORT_REQUESTEDURI", "Page requested"); +define("_AM_XHTTPERR_REPORTS","Reports"); +define("_AM_XHTTPERR_REPORT_ID","ID"); +define("_AM_XHTTPERR_REPORT_USER","User"); +define("_AM_XHTTPERR_REPORT_STATUSCODE","Error status code"); +define("_AM_XHTTPERR_REPORT_DATE","Date"); +define("_AM_XHTTPERR_REPORT_REFERER","Referer"); +define("_AM_XHTTPERR_REPORT_USERAGENT","User agent"); +define("_AM_XHTTPERR_REPORT_REMOTEADDR","User IP"); +define("_AM_XHTTPERR_REPORT_REQUESTEDURI","Page requested"); -define("_AM_XHTTPERR_REPORT_RUSUREDEL", "Are you sure to delete this report (ID=%s)?"); +define("_AM_XHTTPERR_REPORT_RUSUREDEL","Are you sure to delete this report (ID=%s)?"); // Error NoFrameworks define("_AM_XHTTPERR_NOFRAMEWORKS","Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); -define("_AM_XHTTPERR_MAINTAINEDBY", "is maintained by the"); +define("_AM_XHTTPERR_MAINTAINEDBY","is maintained by the"); Modified: XoopsModules/xhttperror/trunk/xhttperror/language/english/help/help.html =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/language/english/help/help.html 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/language/english/help/help.html 2012-08-07 16:45:58 UTC (rev 10004) @@ -14,7 +14,7 @@ <br /> ErrorDocument 403 [xoops_url]/modules/xhttperror/index.php?error=403 <br /> - ErrorDocument 403 [xoops_url]/modules/xhttperror/index.php?error=[status code here] + ErrorDocument 403 [xoops_url]/modules/xhttperror/index.php?error=[status code] </div> <p>Where [status_code] is the status code for server errors and [xoops_url] is the URL to your main XOOPS directory WITHOUT trailing slash (<{$xoops_url}>)</p> <br /> Modified: XoopsModules/xhttperror/trunk/xhttperror/language/english/main.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/language/english/main.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/language/english/main.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -1,3 +1,3 @@ <?php // index.php -define("_MD_XHTTPERR_SEARCH", "Search this site:"); +define("_MD_XHTTPERR_SEARCH","Search this site:"); Modified: XoopsModules/xhttperror/trunk/xhttperror/language/english/modinfo.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/language/english/modinfo.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/language/english/modinfo.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -1,30 +1,29 @@ <?php -define("_MI_XHTTPERR_NAME", "xHttpError"); -define("_MI_XHTTPERR_DESC", "A XOOPS module to manage http errors."); +define("_MI_XHTTPERR_NAME","xHttpError"); +define("_MI_XHTTPERR_DESC","A XOOPS module to manage http errors."); // config options -define("_MI_XHTTPERR_FORM_EDITOR", "[Editor] Choose an editor for categories description"); -define("_MI_XHTTPERR_FORM_EDITOR_DESC", "<ul><li><b>dhtmltextarea:</b> default Xoops editor</li><li><b>textarea:</b> standard html textarea</li><li><b>tinymce:</b> enhanced WYSIWYG editor</li><li>...</li></ul>"); -define("_MI_XHTTPERR_IGNOREADMIN", "Ignore admins"); -define("_MI_XHTTPERR_IGNOREADMIN_DESC", "Do not add error reports into the database for admins."); -define("_MI_XHTTPERR_REPORTING", "Turn off error reports"); -define("_MI_XHTTPERR_REPORTING_DESC", "Busy sites may want to turn off error reporting if the report page gets too large."); -define("_MI_XHTTPERR_PAGETTL", "Page title"); -define("_MI_XHTTPERR_PAGETTLDSC", "Put the error title in the page's title"); -define("_MI_XHTTPERR_PAGETTL1", "None"); -define("_MI_XHTTPERR_PAGETTL2", "Yes: <module name> - <error>"); -define("_MI_XHTTPERR_PAGETTL3", "Yes: <error> - <module name>"); -define("_MI_XHTTPERR_NUMREPS", "Number of reports"); -define("_MI_XHTTPERR_NUMREPS_DESC", "The numbers of reports to show."); +define("_MI_XHTTPERR_FORM_EDITOR","[Editor] Choose an editor for categories description"); +define("_MI_XHTTPERR_FORM_EDITOR_DESC","<ul><li><b>dhtmltextarea:</b> default Xoops editor</li><li><b>textarea:</b> standard html textarea</li><li><b>tinymce:</b> enhanced WYSIWYG editor</li><li>...</li></ul>"); +define("_MI_XHTTPERR_IGNOREADMIN","Ignore admins"); +define("_MI_XHTTPERR_IGNOREADMIN_DESC","Do not add error reports into the database for admins."); +define("_MI_XHTTPERR_REPORTING","Turn off error reports"); +define("_MI_XHTTPERR_REPORTING_DESC","Busy sites may want to turn off error reporting if the report page gets too large."); +define("_MI_XHTTPERR_PAGETTL","Page title"); +define("_MI_XHTTPERR_PAGETTLDSC","Put the error title in the page's title"); +define("_MI_XHTTPERR_PAGETTL1","None"); +define("_MI_XHTTPERR_PAGETTL2","Yes: <module name> - <error>"); +define("_MI_XHTTPERR_PAGETTL3","Yes: <error> - <module name>"); +define("_MI_XHTTPERR_NUMREPS","Number of reports"); +define("_MI_XHTTPERR_NUMREPS_DESC","The numbers of reports to show."); // Admin menu // admin/menu.php -define("_MI_XHTTPERR_ADMENU_INDEX", "Index"); -define("_MI_XHTTPERR_ADMENU_INDEX_DESC", ""); -define("_MI_XHTTPERR_ADMENU_ERRORS", "Error codes"); -define("_MI_XHTTPERR_ADMENU_ERRORS_DESC", ""); -define("_MI_XHTTPERR_ADMENU_REPORTS", "Reports"); -define("_MI_XHTTPERR_ADMENU_REPORTS_DESC", ""); -define("_MI_XHTTPERR_ADMENU_ABOUT", "About"); -define("_MI_XHTTPERR_ADMENU_ABOUT_DESC", ""); - +define("_MI_XHTTPERR_ADMENU_INDEX","Index"); +define("_MI_XHTTPERR_ADMENU_INDEX_DESC",""); +define("_MI_XHTTPERR_ADMENU_ERRORS","Error codes"); +define("_MI_XHTTPERR_ADMENU_ERRORS_DESC",""); +define("_MI_XHTTPERR_ADMENU_REPORTS","Reports"); +define("_MI_XHTTPERR_ADMENU_REPORTS_DESC",""); +define("_MI_XHTTPERR_ADMENU_ABOUT","About"); +define("_MI_XHTTPERR_ADMENU_ABOUT_DESC",""); Modified: XoopsModules/xhttperror/trunk/xhttperror/templates/xhttperror_index.html =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/templates/xhttperror_index.html 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/templates/xhttperror_index.html 2012-08-07 16:45:58 UTC (rev 10004) @@ -3,18 +3,27 @@ $title text Error title $text text/html Error description $showsearch boolean True if show search form in error page -$redirect boolean True if redirect +$redirect int $smarty.const.XHTTPERR_REDIRECT_no: no redirect; + $smarty.const.XHTTPERR_REDIRECT_URI: redirect tu url...; + $smarty.const.XHTTPERR_REDIRECT_PREVIOUS: redirect to previous page; $redirect_time int Milliseconds to redirect $redirect_uri text Redirect to *}> -<{if ($redirect)}> +<{if ($redirect == $smarty.const.XHTTPERR_REDIRECT_URI)}> <script type="text/JavaScript"> <!-- setTimeout("location.href = '<{$redirect_uri}>';", <{$redirect_time}>); - //setTimeout("history.go(-1);", <{$redirect_time}>); --> </script> <{/if}> +<{if ($redirect == $smarty.const.XHTTPERR_REDIRECT_PREVIOUS)}> +<script type="text/JavaScript"> + <!-- + setTimeout("history.go(-1);", <{$redirect_time}>); + --> +</script> +<{/if}> + <h1 style="text-align: center;"><{$title}></h1> <{$text}> Modified: XoopsModules/xhttperror/trunk/xhttperror/xoops_version.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/xoops_version.php 2012-08-07 16:26:27 UTC (rev 10003) +++ XoopsModules/xhttperror/trunk/xhttperror/xoops_version.php 2012-08-07 16:45:58 UTC (rev 10004) @@ -47,7 +47,7 @@ $modversion['release_info'] = 'in progress'; $modversion['release_file'] = XOOPS_URL . "/modules/{$dirname}/docs/RC"; -$modversion['release_date'] = '2012/08/06'; // 'Y/m/d' +$modversion['release_date'] = '2012/08/08'; // 'Y/m/d' $modversion['min_php'] = '5.2'; $modversion['min_xoops'] = '2.5.5'; @@ -71,7 +71,7 @@ $modversion['support_site_url'] = ''; $modversion['support_site_name'] = ''; $modversion['release'] = "release"; -$modversion['module_status'] = 'beta'; //"Stable"; +$modversion['module_status'] = 'rc'; //"Stable"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <Zy...@us...> - 2012-08-07 16:26:33
|
Revision: 10003 http://xoops.svn.sourceforge.net/xoops/?rev=10003&view=rev Author: ZySpec Date: 2012-08-07 16:26:27 +0000 (Tue, 07 Aug 2012) Log Message: ----------- - fixed syntax error in ORDER BY SQL statement - fixed path to home icon Modified Paths: -------------- XoopsModules/mylinks/branches/Mamba/mylinks/include/search.inc.php Modified: XoopsModules/mylinks/branches/Mamba/mylinks/include/search.inc.php =================================================================== --- XoopsModules/mylinks/branches/Mamba/mylinks/include/search.inc.php 2012-08-07 12:46:01 UTC (rev 10002) +++ XoopsModules/mylinks/branches/Mamba/mylinks/include/search.inc.php 2012-08-07 16:26:27 UTC (rev 10003) @@ -42,12 +42,12 @@ } $sql .= ") "; } - $sql .= "ORDER BY l.date DESC"; + $sql .= " ORDER BY l.date DESC"; $result = $xoopsDB->query($sql, $limit, $offset); $ret = array(); $i = 0; while ($myrow = $xoopsDB->fetchArray($result)) { - $ret[$i]['image'] = "images/home.gif"; + $ret[$i]['image'] = "images/icons/home.gif"; $ret[$i]['link'] = "singlelink.php?cid={$myrow['cid']}&lid={$myrow['lid']}"; $ret[$i]['title'] = $myrow['title']; $ret[$i]['time'] = $myrow['date']; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-08-07 12:46:15
|
Revision: 10002 http://xoops.svn.sourceforge.net/xoops/?rev=10002&view=rev Author: wishcraft Date: 2012-08-07 12:46:01 +0000 (Tue, 07 Aug 2012) Log Message: ----------- Songlist 1.13 - Major Bug Fixes (See changelog.txt) Modified Paths: -------------- XoopsModules/songlist/trunk/docs/.htaccess XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/about.php XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/category.php XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/dashboard.php XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/export.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/menu.php XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/songs.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/albums.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/artists.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/category.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/extras.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/field.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/genre.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/songs.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/votes.php XoopsModules/songlist/trunk/htdocs/modules/songlist/css/songlist.css XoopsModules/songlist/trunk/htdocs/modules/songlist/docs/changelog.txt XoopsModules/songlist/trunk/htdocs/modules/songlist/docs/licence.txt XoopsModules/songlist/trunk/htdocs/modules/songlist/header.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/formselectalbum.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/formselectartist.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/formselectcategory.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/formselectgenre.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/formselectsong.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/functions.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/songlist.form.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/songlist.object.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/uploader.php XoopsModules/songlist/trunk/htdocs/modules/songlist/index.php XoopsModules/songlist/trunk/htdocs/modules/songlist/language/english/admin.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/language/english/modinfo.php XoopsModules/songlist/trunk/htdocs/modules/songlist/request.php XoopsModules/songlist/trunk/htdocs/modules/songlist/search.php XoopsModules/songlist/trunk/htdocs/modules/songlist/sql/mysql.sql XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_albums_index.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_albums_item.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_albums_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_alpha_browse.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_artists_index.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_artists_item.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_artists_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_category_item.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_category_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_cpanel_artists_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_cpanel_songs_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_search_index.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_search_search.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_songs_index.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 XoopsModules/songlist/trunk/htdocs/modules/tag/plugin/songlist.php Added Paths: ----------- XoopsModules/songlist/releases/1.13/ XoopsModules/songlist/releases/1.13/docs/ XoopsModules/songlist/releases/1.13/docs/.htaccess XoopsModules/songlist/releases/1.13/htdocs/ XoopsModules/songlist/releases/1.13/htdocs/modules/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/about.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/albums.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/artists.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/category.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/dashboard.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/export.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/field.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/field_permissions.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/field_visibility.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/genre.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/header.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/import.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/menu.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/permissions.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/requests.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/songs.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/utf8map.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/voice.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/votes.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/albums.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/artists.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_album.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_albums.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_artist.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_artists.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_genre.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_genres.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_song.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/blocks/songlist_popular_songs.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/albums.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/artists.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/category.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/extras.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/field.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/genre.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/requests.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/songs.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/utf8map.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/visibility.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/voice.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/class/votes.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/css/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/css/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/css/songlist.css XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/SonglistRequirement.txt XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/changelog.txt XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/credits.txt XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/install.txt XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/lang_diff.txt XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/licence.txt XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/docs/readme.txt XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/header.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/accept.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/cancel.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/no.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.albums.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.artists.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.category.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.field.permissions.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.fields.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.genre.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.import.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.permissions.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.requests.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.songs.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.utf8map.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.voice.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/songlist.votes.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/16/yes.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.albums.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.artists.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.category.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.field.permissions.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.fields.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.genre.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.import.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.permissions.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.requests.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.songs.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.utf8map.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.voice.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/32/songlist.votes.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/icons/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/left_both.gif XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/right_both.gif XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/songlist_slogo.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/images/xoopsxf_slogo.png XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/JSON.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/formselectalbum.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/formselectartist.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/formselectcategory.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/formselectgenre.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/formselectsong.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/formselectvoice.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/functions.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/songlist.form.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/songlist.object.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/update.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/include/uploader.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/index.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/js/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/js/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/admin.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/blocks.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/email.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/enum.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/forms.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/mail_templates/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/mail_templates/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/mail_templates/songlist_request_created.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/mail_templates/songlist_request_updated.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/main.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/english/modinfo.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/language/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/list.tag.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/request.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/search.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/sql/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/sql/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/sql/mysql.htm XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/sql/mysql.sql XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_album.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_albums.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_artist.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_artists.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_genre.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_genres.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_song.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/blocks/songlist_popular_songs.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_albums_index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_albums_item.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_albums_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_alpha_browse.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_artists_index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_artists_item.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_artists_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_category_item.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_category_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_albums_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_albums_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_artists_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_artists_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_category_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_category_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_fieldlist.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_genre_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_genre_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_import_actiona.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_import_actionb.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_requests_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_requests_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_songs_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_songs_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_utf8map_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_utf8map_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_visibility.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_voice_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_voice_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_votes_edit.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_cpanel_votes_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_requests_index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_search_index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_search_search.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_songs_index.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_songs_item.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/templates/songlist_songs_list.html XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/view.tag.php XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/xoops_version.php XoopsModules/songlist/releases/1.13/htdocs/modules/tag/ XoopsModules/songlist/releases/1.13/htdocs/modules/tag/plugin/ XoopsModules/songlist/releases/1.13/htdocs/modules/tag/plugin/songlist.php XoopsModules/songlist/releases/1.13/htdocs/uploads/ XoopsModules/songlist/releases/1.13/htdocs/uploads/songlist/ XoopsModules/songlist/trunk/htdocs/modules/songlist/admin/voice.php XoopsModules/songlist/trunk/htdocs/modules/songlist/class/voice.php XoopsModules/songlist/trunk/htdocs/modules/songlist/images/icons/16/songlist.voice.png XoopsModules/songlist/trunk/htdocs/modules/songlist/images/icons/32/songlist.voice.png XoopsModules/songlist/trunk/htdocs/modules/songlist/include/formselectvoice.php XoopsModules/songlist/trunk/htdocs/modules/songlist/include/update.php XoopsModules/songlist/trunk/htdocs/modules/songlist/list.tag.php XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_cpanel_voice_edit.html XoopsModules/songlist/trunk/htdocs/modules/songlist/templates/songlist_cpanel_voice_list.html XoopsModules/songlist/trunk/htdocs/modules/songlist/view.tag.php Added: XoopsModules/songlist/releases/1.13/docs/.htaccess =================================================================== --- XoopsModules/songlist/releases/1.13/docs/.htaccess (rev 0) +++ XoopsModules/songlist/releases/1.13/docs/.htaccess 2012-08-07 12:46:01 UTC (rev 10002) @@ -0,0 +1,21 @@ + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^songlist/([a-zA-Z0-9]+)/(.*?)/([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+).html modules/songlist/$1.php?op=$3&fct=$4&id=$5 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/(.*?)/([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)-([0-9]+).html modules/songlist/$1.php?op=$3&fct=$4&id=$5&gid=$6&cid=$7 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/(.*?)/([0-9]+)-([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)/(.*?).html modules/songlist/$1.php?start=$3&id=$4&op=$5&fct=$6&gid=$7&cid=$8&value=$9 +RewriteRule ^songlist/([a-zA-Z0-9]+)/(.*?)/([0-9]+)-([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+).html modules/songlist/$1.php?start=$3&id=$4&op=$5&fct=$6&gid=$7&cid=$8 +RewriteRule ^songlist/([a-zA-Z0-9]+)/(.*?)/([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)-([0-9]+)/(.*?).html modules/songlist/$1.php?op=$3&fct=$4&id=$5&value=$8&gid=$6&cid=$7 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)-([a-zA-Z0-9]+)-([0-9]+).html modules/songlist/$1.php?op=$2&fct=$3&id=$4 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)-([a-zA-Z0-9]+).html modules/songlist/$1.php?op=$2&fct=$3 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([0-9]+)-([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+).html modules/songlist/$1.php?start=$2&id=3&op=$4&fct=$5&gid=$6&cid=$7 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html modules/songlist/$1.php?start=$2&op=$3&fct=$4&id=$5&gid=$6&vcid=$7&cid=$8 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)-([0-9]+).html modules/songlist/$1.php?start=$2&op=$3&fct=$4&gid=$5&cid=$6&vcid=$7 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)/(.*?).html modules/songlist/$1.php?start=$2&op=$3&fct=$4&id=$5&value=$9&gid=$6&cid=$7&vcid=$8 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([0-9]+)-([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)-([0-9]+)/(.*?).html modules/songlist/$1.php?start=$2&id=$3&op=$4&fct=$5&value=$8&gid=$6&cid=$7 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([0-9]+)-([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)/(.*?).html modules/songlist/$1.php?start=$2&id=3&op=$4&fct=$5&gid=$6&cid=$7&value=$8 [L,NC,QSA] +RewriteRule ^songlist/([a-zA-Z0-9]+)/([0-9]+)-([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)-([0-9]+)-([0-9]+)/(.*?).html modules/songlist/$1.php?start=$2&op=$3&fct=$4&value=$8&gid=$5&cid=$6&vcid=$7 [L,NC,QSA] + + Added: XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/about.php =================================================================== --- XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/about.php (rev 0) +++ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/about.php 2012-08-07 12:46:01 UTC (rev 10002) @@ -0,0 +1,41 @@ +<?php +// $Id: about.php 5204 2010-09-06 20:10:52Z mageg $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: XOOPS Foundation // +// URL: http://www.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + + 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); + xoops_cp_footer(); + +?> \ No newline at end of file Added: XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/albums.php =================================================================== --- XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/albums.php (rev 0) +++ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/albums.php 2012-08-07 12:46:01 UTC (rev 10002) @@ -0,0 +1,184 @@ +<?php + + include('header.php'); + + xoops_loadLanguage('admin', 'songlist'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"albums"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:"list"; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch($op) { + default: + case "albums": + switch ($fct) + { + default: + case "list": + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + + $albums_handler =& xoops_getmodulehandler('albums', 'songlist'); + + $criteria = $albums_handler->getFilterCriteria($GLOBALS['filter']); + $ttl = $albums_handler->getCount($criteria); + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach ($albums_handler->filterFields() as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $albums_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct'])); + } + + $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); + $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); + $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); + $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); + $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['songlistModuleConfig']); + + $criteria->setStart($GLOBALS['start']); + $criteria->setLimit($GLOBALS['limit']); + $criteria->setSort('`'.$GLOBALS['sort'].'`'); + $criteria->setOrder($GLOBALS['order']); + + $albumss = $albums_handler->getObjects($criteria, true); + foreach($albumss as $cid => $albums) { + if (is_object($albums)) + $GLOBALS['xoopsTpl']->append('albums', $albums->toArray()); + } + $GLOBALS['xoopsTpl']->assign('form', songlist_albums_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:songlist_cpanel_albums_list.html'); + break; + + case "new": + case "edit": + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + + $albums_handler =& xoops_getmodulehandler('albums', 'songlist'); + if (isset($_REQUEST['id'])) { + $albums = $albums_handler->get(intval($_REQUEST['id'])); + } else { + $albums = $albums_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', $albums->getForm()); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:songlist_cpanel_albums_edit.html'); + break; + case "save": + + $albums_handler =& xoops_getmodulehandler('albums', 'songlist'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $albums = $albums_handler->get($id); + } else { + $albums = $albums_handler->create(); + } + $albums->setVars($_POST[$id]); + + if (!$id=$albums_handler->insert($albums)) { + 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_ALBUMS_FAILEDTOSAVE); + exit(0); + } else { + + if (isset($_FILES['image'])&&!empty($_FILES['image']['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')); + $albums = $albums_handler->get($id); + $uploader = new SonglistMediaUploader($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']), explode('|', $GLOBALS['songlistModuleConfig']['allowed_mimetype']), $GLOBALS['songlistModuleConfig']['filesize_upload'], 0, 0, explode('|', $GLOBALS['songlistModuleConfig']['allowed_extensions'])); + $uploader->setPrefix(substr(md5(microtime(true)), mt_rand(0,20), 13)); + + if ($uploader->fetchMedia('image')) { + if (!$uploader->upload()) { + + songlist_adminMenu(1); + echo $uploader->getErrors(); + songlist_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } else { + + if (strlen($albums->getVar('image'))) + unlink($GLOBALS['xoops']->path($albums->getVar('path')).$albums->getVar('image')); + + $albums->setVar('path', $GLOBALS['songlistModuleConfig']['upload_areas']); + $albums->setVar('image', $uploader->getSavedFileName()); + @$albums_handler->insert($albums); + + } + } else { + + songlist_adminMenu(1); + echo $uploader->getErrors(); + songlist_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } + } + + 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_ALBUMS_SAVEDOKEY); + else + 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_ALBUMS_SAVEDOKEY); + exit(0); + } + break; + case "savelist": + + $albums_handler =& xoops_getmodulehandler('albums', 'songlist'); + foreach($_REQUEST['id'] as $id) { + $albums = $albums_handler->get($id); + $albums->setVars($_POST[$id]); + if (!$albums_handler->insert($albums)) { + 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_ALBUMS_FAILEDTOSAVE); + exit(0); + } + } + 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_ALBUMS_SAVEDOKEY); + exit(0); + break; + case "delete": + + $albums_handler =& xoops_getmodulehandler('albums', 'songlist'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $albums = $albums_handler->get($id); + if (!$albums_handler->delete($albums)) { + 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_ALBUMS_FAILEDTODELETE); + exit(0); + } else { + 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_ALBUMS_DELETED); + exit(0); + } + } else { + $albums = $albums_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), $_SERVER['PHP_SELF'], sprintf(_AM_SONGLIST_MSG_ALBUMS_DELETE, $albums->getVar('title'))); + } + break; + } + break; + + } + + xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/artists.php =================================================================== --- XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/artists.php (rev 0) +++ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/artists.php 2012-08-07 12:46:01 UTC (rev 10002) @@ -0,0 +1,140 @@ +<?php + + include('header.php'); + + xoops_loadLanguage('admin', 'songlist'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"artists"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:"list"; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch($op) { + default: + case "artists": + switch ($fct) + { + default: + case "list": + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + + $artists_handler =& xoops_getmodulehandler('artists', 'songlist'); + + $criteria = $artists_handler->getFilterCriteria($GLOBALS['filter']); + $ttl = $artists_handler->getCount($criteria); + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach ($artists_handler->filterFields() as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $artists_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct'])); + } + + $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); + $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); + $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); + $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); + $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['songlistModuleConfig']); + + $criteria->setStart($GLOBALS['start']); + $criteria->setLimit($GLOBALS['limit']); + $criteria->setSort('`'.$GLOBALS['sort'].'`'); + $criteria->setOrder($GLOBALS['order']); + + $artists = $artists_handler->getObjects($criteria, true); + foreach($artists as $cid => $artist) { + if (is_object($artist)) + $GLOBALS['xoopsTpl']->append('artists', $artist->toArray()); + } + $GLOBALS['xoopsTpl']->assign('form', songlist_artists_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:songlist_cpanel_artists_list.html'); + break; + + case "new": + case "edit": + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + + $artists_handler =& xoops_getmodulehandler('artists', 'songlist'); + if (isset($_REQUEST['id'])) { + $artists = $artists_handler->get(intval($_REQUEST['id'])); + } else { + $artists = $artists_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', $artists->getForm()); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:songlist_cpanel_artists_edit.html'); + break; + case "save": + + $artists_handler =& xoops_getmodulehandler('artists', 'songlist'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $artists = $artists_handler->get($id); + } else { + $artists = $artists_handler->create(); + } + $artists->setVars($_POST[$id]); + + if (!$id=$artists_handler->insert($artists)) { + 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_ARTISTS_FAILEDTOSAVE); + exit(0); + } else { + 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_ARTISTS_SAVEDOKEY); + else + 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_ARTISTS_SAVEDOKEY); + exit(0); + } + break; + case "savelist": + + $artists_handler =& xoops_getmodulehandler('artists', 'songlist'); + foreach($_REQUEST['id'] as $id) { + $artists = $artists_handler->get($id); + $artists->setVars($_POST[$id]); + if (!$artists_handler->insert($artists)) { + 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_ARTISTS_FAILEDTOSAVE); + exit(0); + } + } + 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_ARTISTS_SAVEDOKEY); + exit(0); + break; + case "delete": + + $artists_handler =& xoops_getmodulehandler('artists', 'songlist'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $artists = $artists_handler->get($id); + if (!$artists_handler->delete($artists)) { + 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_ARTISTS_FAILEDTODELETE); + exit(0); + } else { + 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_ARTISTS_DELETED); + exit(0); + } + } else { + $artists = $artists_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), $_SERVER['PHP_SELF'], sprintf(_AM_SONGLIST_MSG_ARTISTS_DELETE, $artists->getVar('name'))); + } + break; + } + break; + + } + + xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/category.php =================================================================== --- XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/category.php (rev 0) +++ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/category.php 2012-08-07 12:46:01 UTC (rev 10002) @@ -0,0 +1,185 @@ +<?php + + include('header.php'); + + xoops_loadLanguage('admin', 'songlist'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"category"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:"list"; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch($op) { + default: + case "category": + switch ($fct) + { + default: + case "list": + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + + $category_handler =& xoops_getmodulehandler('category', 'songlist'); + + $criteria = $category_handler->getFilterCriteria($GLOBALS['filter']); + $ttl = $category_handler->getCount($criteria); + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + + $pagenav = new XoopsPageNav($ttl, $GLOBALS['limit'], $GLOBALS['start'], 'start', 'limit='.$GLOBALS['limit'].'&sort='.$GLOBALS['sort'].'&order='.$GLOBALS['order'].'&op='.$GLOBALS['op'].'&fct='.$GLOBALS['fct'].'&filter='.$GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach ($category_handler->filterFields() as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$GLOBALS['start'].'&limit='.$GLOBALS['limit'].'&sort='.$key.'&order='.(($key==$GLOBALS['sort'])?($GLOBALS['order']=='DESC'?'ASC':'DESC'):$GLOBALS['order']).'&op='.$GLOBALS['op'].'&filter='.$GLOBALS['filter'].'">'.(defined('_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_SONGLIST_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $category_handler->getFilterForm($GLOBALS['filter'], $key, $GLOBALS['sort'], $GLOBALS['op'], $GLOBALS['fct'])); + } + + $GLOBALS['xoopsTpl']->assign('limit', $GLOBALS['limit']); + $GLOBALS['xoopsTpl']->assign('start', $GLOBALS['start']); + $GLOBALS['xoopsTpl']->assign('order', $GLOBALS['order']); + $GLOBALS['xoopsTpl']->assign('sort', $GLOBALS['sort']); + $GLOBALS['xoopsTpl']->assign('filter', $GLOBALS['filter']); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['songlistModuleConfig']); + + $criteria->setStart($GLOBALS['start']); + $criteria->setLimit($GLOBALS['limit']); + $criteria->setSort('`'.$GLOBALS['sort'].'`'); + $criteria->setOrder($GLOBALS['order']); + + $categorys = $category_handler->getObjects($criteria, true); + foreach($categorys as $cid => $category) { + if (is_object($category)) + $GLOBALS['xoopsTpl']->append('categories', $category->toArray()); + } + $GLOBALS['xoopsTpl']->assign('form', songlist_category_get_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:songlist_cpanel_category_list.html'); + break; + + case "new": + case "edit": + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + + $category_handler =& xoops_getmodulehandler('category', 'songlist'); + if (isset($_REQUEST['id'])) { + $category = $category_handler->get(intval($_REQUEST['id'])); + } else { + $category = $category_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', $category->getForm()); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:songlist_cpanel_category_edit.html'); + break; + case "save": + + $category_handler =& xoops_getmodulehandler('category', 'songlist'); + $id=0; + if ($id=intval($_REQUEST['id'])) { + $category = $category_handler->get($id); + } else { + $category = $category_handler->create(); + } + $category->setVars($_POST[$id]); + + if (!$id=$category_handler->insert($category)) { + 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_CATEGORY_FAILEDTOSAVE); + exit(0); + } else { + + if (isset($_FILES['image'])&&!empty($_FILES['image']['name'])) { + + 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')); + $category = $category_handler->get($id); + $uploader = new SonglistMediaUploader($GLOBALS['xoops']->path($GLOBALS['songlistModuleConfig']['upload_areas']), explode('|', $GLOBALS['songlistModuleConfig']['allowed_mimetype']), $GLOBALS['songlistModuleConfig']['filesize_upload'], 0, 0, explode('|', $GLOBALS['songlistModuleConfig']['allowed_extensions'])); + $uploader->setPrefix(substr(md5(microtime(true)), mt_rand(0,20), 13)); + + if ($uploader->fetchMedia('image')) { + if (!$uploader->upload()) { + + songlist_adminMenu(1); + echo $uploader->getErrors(); + songlist_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } else { + + if (strlen($category->getVar('image'))) + unlink($GLOBALS['xoops']->path($category->getVar('path')).$category->getVar('image')); + + $category->setVar('path', $GLOBALS['songlistModuleConfig']['upload_areas']); + $category->setVar('image', $uploader->getSavedFileName()); + @$category_handler->insert($category); + + } + } else { + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + echo $uploader->getErrors(); + songlist_footer_adminMenu(); + xoops_cp_footer(); + exit(0); + } + } + + 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_CATEGORY_SAVEDOKEY); + else + 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_CATEGORY_SAVEDOKEY); + exit(0); + } + break; + case "savelist": + + $category_handler =& xoops_getmodulehandler('category', 'songlist'); + foreach($_REQUEST['id'] as $id) { + $category = $category_handler->get($id); + $category->setVars($_POST[$id]); + if (!$category_handler->insert($category)) { + 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_CATEGORY_FAILEDTOSAVE); + exit(0); + } + } + 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_CATEGORY_SAVEDOKEY); + exit(0); + break; + case "delete": + + $category_handler =& xoops_getmodulehandler('category', 'songlist'); + $id=0; + if (isset($_POST['id'])&&$id=intval($_POST['id'])) { + $category = $category_handler->get($id); + if (!$category_handler->delete($category)) { + 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_CATEGORY_FAILEDTODELETE); + exit(0); + } else { + 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_CATEGORY_DELETED); + exit(0); + } + } else { + $category = $category_handler->get(intval($_REQUEST['id'])); + xoops_confirm(array('id'=>$_REQUEST['id'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), $_SERVER['PHP_SELF'], sprintf(_AM_SONGLIST_MSG_CATEGORY_DELETE, $category->getVar('name'))); + } + break; + } + break; + + } + + xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/dashboard.php =================================================================== --- XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/dashboard.php (rev 0) +++ XoopsModules/songlist/releases/1.13/htdocs/modules/songlist/admin/dashboard.php 2012-08-07 12:46:01 UTC (rev 10002) @@ -0,0 +1,72 @@ +<?php +// $Id: directory.php 5204 2010-09-06 20:10:52Z mageg $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: XOOPS Foundation // +// URL: http://www.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + + include ('header.php'); + xoops_loadLanguage('admin', 'songlist'); + + xoops_cp_header(); + + $op = (!empty($_GET['op']) ? $_GET['op'] : (!empty($_POST['op']) ? $_POST['op'] : "default")); + + switch ($op) { + case "default": + default: + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename(__FILE__)); + + $indexAdmin = new ModuleAdmin(); + + $category_handler = xoops_getmodulehandler('category', 'songlist'); + $artists_handler = xoops_getmodulehandler('artists', 'songlist'); + $albums_handler = xoops_getmodulehandler('albums', 'songlist'); + $genre_handler = xoops_getmodulehandler('genre', 'songlist'); + $voice_handler = xoops_getmodulehandler('voice', 'songlist'); + $songs_handler = xoops_getmodulehandler('songs', 'songlist'); + $requests_handler = xoops_get... [truncated message content] |
From: <be...@us...> - 2012-08-07 07:07:13
|
Revision: 10001 http://xoops.svn.sourceforge.net/xoops/?rev=10001&view=rev Author: beckmi Date: 2012-08-07 07:07:07 +0000 (Tue, 07 Aug 2012) Log Message: ----------- Adding missing language constants. Updating to RC 1 Modified Paths: -------------- XoopsModules/shoutbox/trunk/shoutbox/docs/lang_diff.txt XoopsModules/shoutbox/trunk/shoutbox/include/module.php XoopsModules/shoutbox/trunk/shoutbox/language/english/main.php XoopsModules/shoutbox/trunk/shoutbox/xoops_version.php Modified: XoopsModules/shoutbox/trunk/shoutbox/docs/lang_diff.txt =================================================================== --- XoopsModules/shoutbox/trunk/shoutbox/docs/lang_diff.txt 2012-08-07 06:56:25 UTC (rev 10000) +++ XoopsModules/shoutbox/trunk/shoutbox/docs/lang_diff.txt 2012-08-07 07:07:07 UTC (rev 10001) @@ -12,3 +12,13 @@ --------------------------------------- 5.01 Beta 1 2012-07-30 --------------------------------------- + +main.php +-------- +define('_MD_AM_GROUP_SETTINGS_ADD','Add Group Settings'); +define('_MD_AM_BLOCK_ID','Block ID'); +define('_MD_AM_ACCESS_ADMIN_ADD','Add Admin Access'); +define('_MD_AM_ACCESS_USER_ADD_ERROR',"User couldn't be added"); +define('_MD_AM_BLOCK_ACCESS','Block Access'); +define('_MD_AM_GROUP_ID','Group ID'); +define('_MD_AM_WELCOME','Welcome to the Shoutbox for XOOPS'); \ No newline at end of file Modified: XoopsModules/shoutbox/trunk/shoutbox/include/module.php =================================================================== --- XoopsModules/shoutbox/trunk/shoutbox/include/module.php 2012-08-07 06:56:25 UTC (rev 10000) +++ XoopsModules/shoutbox/trunk/shoutbox/include/module.php 2012-08-07 07:07:07 UTC (rev 10001) @@ -21,9 +21,13 @@ function xoops_module_install_shoutbox(&$module) { + $newmid = $module->getVar('mid'); $groups = array(XOOPS_GROUP_ADMIN, XOOPS_GROUP_USERS, XOOPS_GROUP_ANONYMOUS); + $thisModuleDir = $module->getVar('dirname'); + xoops_loadLanguage('main', $thisModuleDir); + // retrieve all block ids for this module $blocks = XoopsBlock::getByModule($newmid, false); $msgs[] = _MD_AM_GROUP_SETTINGS_ADD; @@ -85,7 +89,7 @@ } if ($file = fopen($cacheFile, 'w')) { - if (!fwrite($file, "Shoutbox|Welcome to the Shoutbox v4.x for Xoops|1|111.111.111.111|guest\n")) { + if (!fwrite($file, "Shoutbox|"._MD_AM_WELCOME."|1|111.111.111.111|guest\n")) { //$msgs[] = " Could not put content in file /uploads/shoutbox/shout.cvs! Please create <i>manually</i>."; } fclose($file); Modified: XoopsModules/shoutbox/trunk/shoutbox/language/english/main.php =================================================================== --- XoopsModules/shoutbox/trunk/shoutbox/language/english/main.php 2012-08-07 06:56:25 UTC (rev 10000) +++ XoopsModules/shoutbox/trunk/shoutbox/language/english/main.php 2012-08-07 07:07:07 UTC (rev 10001) @@ -14,4 +14,13 @@ define("_MD_SHOUTBOX_POPUP_NOSHOUTS", "No shouts!"); define("_MD_SHOUTBOX_POPUP_AUTOFOCUS", "Auto-Focus"); define("_MD_SHOUTBOX_POPUP_SOUND_ON", "Sound On New Message Enable"); -?> \ No newline at end of file + +// 5.01 + +define('_MD_AM_GROUP_SETTINGS_ADD','Add Group Settings'); +define('_MD_AM_BLOCK_ID','Block ID'); +define('_MD_AM_ACCESS_ADMIN_ADD','Add Admin Access'); +define('_MD_AM_ACCESS_USER_ADD_ERROR',"User couldn't be added"); +define('_MD_AM_BLOCK_ACCESS','Block Access'); +define('_MD_AM_GROUP_ID','Group ID'); +define('_MD_AM_WELCOME','Welcome to the Shoutbox for XOOPS'); \ No newline at end of file Modified: XoopsModules/shoutbox/trunk/shoutbox/xoops_version.php =================================================================== --- XoopsModules/shoutbox/trunk/shoutbox/xoops_version.php 2012-08-07 06:56:25 UTC (rev 10000) +++ XoopsModules/shoutbox/trunk/shoutbox/xoops_version.php 2012-08-07 07:07:07 UTC (rev 10001) @@ -23,17 +23,17 @@ die('XOOPS root path not defined'); } -$modversion['name'] = _MI_SHOUTBOX_NAME; -$modversion['version'] = '5.01'; +$modversion['name'] = _MI_SHOUTBOX_NAME; +$modversion['version'] = '5.01'; $modversion['description'] = _MI_SHOUTBOX_DESC; -$modversion['credits'] = "The XOOPS Project"; +$modversion['credits'] = "The XOOPS Project"; $modversion['help'] = 'page=help'; $modversion['license'] = 'GNU GPL 2.0 or later'; $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; -$modversion['official'] = 0; -$modversion['image'] = "images/module_logo.png"; -$modversion['dirname'] = "shoutbox"; -$modversion['author'] = 'Tank, Trabis'; +$modversion['official'] = 0; +$modversion['image'] = "images/module_logo.png"; +$modversion['dirname'] = "shoutbox"; +$modversion['author'] = 'Tank, Trabis'; $modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; $modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; @@ -42,13 +42,12 @@ $modversion['release_date'] = '2012/05/09'; $modversion["module_website_url"] = "http://www.xoops.org/"; $modversion["module_website_name"] = "XOOPS"; -$modversion["module_status"] = "Beta 1"; +$modversion["module_status"] = "RC 1"; $modversion['min_php'] = '5.2'; $modversion['min_xoops'] = "2.5.5"; $modversion['min_admin'] = '1.1'; $modversion['min_db'] = array( - 'mysql' => '5.0.7', - 'mysqli' => '5.0.7' + 'mysql' => '5.0.7', 'mysqli' => '5.0.7' ); // Admin things This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-07 06:56:34
|
Revision: 10000 http://xoops.svn.sourceforge.net/xoops/?rev=10000&view=rev Author: beckmi Date: 2012-08-07 06:56:25 +0000 (Tue, 07 Aug 2012) Log Message: ----------- Updating to TinyMCE 3.5.6 Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.6/docs/changelog.250.txt XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/media.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js XoopsCore/branches/2.5.x/2.5.6/htdocs/include/version.php Modified: XoopsCore/branches/2.5.x/2.5.6/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/docs/changelog.250.txt 2012-08-07 06:53:35 UTC (rev 9999) +++ XoopsCore/branches/2.5.x/2.5.6/docs/changelog.250.txt 2012-08-07 06:56:25 UTC (rev 10000) @@ -1,12 +1,12 @@ XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt) =============================== -2012/06/24: Version 2.5.6 Alpha +2012/08/06: Version 2.5.6 Alpha =============================== Bugfixes: Updated: - - TinyMCE to 3.5.4 (mamba) + - TinyMCE to 3.5.6 (mamba) =============================== Modified: XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2012-08-07 06:53:35 UTC (rev 9999) +++ XoopsCore/branches/2.5.x/2.5.6/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2012-08-07 06:56:25 UTC (rev 10000) @@ -1,1620 +1,445 @@ -Version 3.5.4 (2012-06-21) - Added missing mouse events to HTML5 schema. Some events needs to be manually defined though since the spec is huge. - Added image resizing for WebKit browsers by faking the whole resize behavior. - Fixed bug in context menu plugin where listener to hide menu wasn't removed correctly. - Fixed bug where media plugin wouldn't use placeholder size for the object/video elements. - Fixed bug where jQuery plugin would break attr function in jQuery 1.7.2. - Fixed bug where jQuery plugin would throw an error if you used the tinymce pseudo selector when TinyMCE wasn't loaded. - Fixed so encoding option gets applied when using jQuery val() or attr() to extract the contents. - Fixed so any non valid width/height passed to media plugin would get parsed to proper integer or percent values. -Version 3.5.3 (2012-06-19) - Added missing wbr element to HTML5 schema. - Added new mceToggleFormat command. Enabled you to toggle a specific format on/off. - Fixed bug where undo/redo state didn't update correctly after executing an execCommand call. - Fixed bug where the editor would get auto focused on IE running in quirks mode. - Fixed bug where pressing enter before an IMG or INPUT element wouldn't properly split the block. - Fixed bug where backspace would navigate back when selecting control types on IE. - Fixed bug where the editor remove method would unbind events for controls outside the editor instance UI. - Fixed bug where the autosave plugin would try to store a draft copy of editors that where removed. - Fixed bug where floated elements wouldn't expand the block created when pressing enter on non IE browsers. - Fixed bug where the caret would be placed in the wrong location when pressing enter at the beginning of a block. - Fixed bug where it wasn't possible to block events using the handle_event_callback option. - Fixed bug where keyboard navigation of the ColorSplitButton.js didn't work correctly. - Fixed bug where keyboard navigation didn't work correctly on split buttons. - Fixed bug where the legacy Event.add function didn't properly handle multiple id:s passed in. - Fixed bug where the caret would disappear on IE when selecting all contents and pressing backspace/delete. - Fixed bug where the getStart/getEnd methods would sometimes return elements from the wrong document on IE. - Fixed so paragraphs gets created if you press enter inside a form element. -Version 3.5.2 (2012-05-31) - Added new formatChanged method to tinymce.Formatter class. Enables easier state change handling of formats. - Added new selectorChanged method to tinymce.dom.Selection class. Enables easier state change handling of matching CSS selectors. - Changed the default theme to be advanced instead of simple since most users uses the advanced theme. - Changed so the theme_advanced_buttons doesn't have a default set if one button row is specified. - Changed the theme_advanced_toolbar_align default value to "left". - Changed the theme_advanced_toolbar_location default value to "top". - Changed the theme_advanced_statusbar_location default value to "bottom". - Fixed bug where the simple link dialog would remove class and target attributes from links when updating them if the drop downs wasn't visible. - Fixed bug where the link/unlink buttons wouldn't get disabled once a link was created by the autolink plugin logic. - Fixed bug where the border attribute was missing in the HTML5 schema. - Fixed bug where the legacyoutput plugin would use inline styles for font color. - Fixed bug where editing of anchor names wouldn't produce an undo level. - Fixed bug where the table plugin would delete the last empty block element in the editor. - Fixed bug where pasting table rows when they where selected would make it impossible to editor that table row. - Fixed bug with pressing enter in IE while having a select list focused would produce a JS error. - Fixed bug where it wasn't possible to merge table cells by selecting them and using merge from context menu. - Removed summary from HTML5 table attributes and fixed so this and other deprecated table fields gets hidden in the table dialog. -Version 3.5.1.1 (2012-05-25) - Fixed bug with control creation where plugin specific controls didn't work as expected. -Version 3.5.1 (2012-05-25) - Added new onBeforeAdd event to UndoManager patch contributed by Dan Rumney. - Added support for overriding the theme rendering logic by using a custom function. - Fixed bug where links wasn't automatically created by the autolink plugin on old IE versions when pressing enter in BR mode. - Fixed bug where enter on older IE versions wouldn't produce a new paragraph if the previous sibling paragraph was empty. - Fixed bug where toString on a faked DOM range on older IE versions wouldn't return a proper string. - Fixed bug where named anchors wouldn't work properly when schema was set to HTML5. - Fixed bug where HTML5 datalist options wasn't correctly parsed or indented. - Fixed bug where linking would add anchors around block elements when the HTML5 schema was used. - Fixed issue where the autolink plugin wouldn't properly handle mailto:us...@do.... - Optimized initialization and reduced rendering flicker by hiding the target element while initializing. -Version 3.5.0.1 (2012-05-10) - Fixed bug where selection normalization logic would break the selections of parent elements using the element path. - Fixed bug where the autolink plugin would include trailing dots in domain names in the link creation. - Fixed bug where the autolink plugin would produce an error on older IE versions when pressing enter. - Fixed bug where old IE versions would throw an error during initialization when the editor was placed in an size restricted div. -Version 3.5 (2012-05-03) - Fixed menu rendering issue if the document was in rtl mode. - Fixed bug where the hide function would throw an error about a missing variable. - Fixed bug where autolink wouldn't convert URLs when hitting enter on IE due to the new enter key logic. - Fixed bug where formatting using shortcuts like ctrl+b wouldn't work properly the first time. - Fixed bug where selection.setContent after a formatter call wouldn't generate formatted contents. - Fixed bug where whitespace would be removed before/after invalid_elements when they where removed. - Fixed bug where updating styles using the theme image dialog in non inline mode on IE9 would produce errors. - Fixed bug where IE 8 would produce an error when using the contextmenu plugin. - Fixed bug where delete/backspace could remove contents of noneditable elements. - Fixed so background color in style preview gets computed from body element if the current style element is transparent. -Version 3.5b3 (2012-03-29) - Added cancel button to colour picker dialog. - Added figure and figcaption to the html5 visualblocks plugin. - Added default alignment options for the figure element. - Fixed bug where empty inline elements within block elements would sometimes produce a br child element. - Fixed bug where urls pointing to the same domain as the current one would cause undefined errors. Patch contributed by Paul Giberson. - Fixed bug where enter inside an editable element inside an non editable element would split the element. - Fixed bug where cut/copy/paste of noneditable elements didn't work. - Fixed bug where backspace would sometimes produce font elements on WebKit. - Fixed bug where WebKit would produce spans out of various inline elements when using backspace. - Fixed bug where IE9 wouldn't properly update image styles when images where resized. - Fixed bug where drag/drop of noneditable elements didn't work correctly. - Fixed bug where applying formatting to all contents wouldn't work correctly when an end point was inside an empty bock. Patch contributed by Jose Luiz. - Fixed bug where IE10 removed the scopeName from the DOM element interface and there for it produced an undefined string in element path. - Fixed bug where the caret would be placed at an incorrect location if you applied block formatting while having the caret at the end of the block. - Fixed bug where applying column changes using the cell dialog would only update the first column. Patch contributed by krzyko. - Fixed bug where the visualblocks plugin would force editor focus if it was turned on by default. - Fixed bug where the tabfocus plugin would tab to iframes these are now ignored. - Fixed bug where format drop down list wouldn't show the currently active format for a parent element. - Fixed bug where paste of plain text in IE 9 would remove the new line characters from text. - Fixed bug where the menu buttons/split button menus wouldn't be opened at the right location on older IE versions. - Fixed bug where Gecko browsers wouldn't properly display the right format when having the selection as specific places. - Fixed bug where shift+enter inside the body when having forced_root_blocks set to false would throw an error. - Fixed bug where the jQuery plugin would break the attr method of jQuery 1.7.2. Patch contributed by Markus Kemmerling. - Fixed so options like content_css accepts and array as well as a comma separated string as input. - Restructured the internal logic to make it more separate from Editor.js. - Updated the Sizzle engine to the latest version. -Version 3.5b2 (2012-03-15) - Rewrote the enter key logic to normalize browser behavior. - Fixed so enter within PRE elements produces a BR and shift+enter breaks/end the PRE. Can be disabled using the br_in_pre option. - Fixed bug where the selection wouldn't be correct after applying formatting and having the caret at the end of the new format node. - Fixed bug where the noneditable plugin would process contents on raw input calls for example on undo/redo calls. - Fixed bug where WebKit could produce an exception when a bookmark was requested when there wasn't a proper selection. - Fixed bug where WebKit would fail to open the image dialog since it would be returning false for a class name instead of a string. - Fixed so alignment and indentation works properly when forced_root_blocks is set to false. It will produce a DIV by default. -Version 3.5b1 (2012-03-08) - Added new event class that is faster and enables support for faking events. - Added new self_closing_elements, short_ended_elements, boolean_attributes, non_empty_elements and block_elements options to control the HTML Schema. - Added new schema option and support for the HTML5 schema. - Added new visualblocks plugin that shows html5 blocks with visual borders. - Added new types and selector options to make it easier to create editor instances with different configs. - Added new preview of formatting options in various listboxes. - Added new preview_styles option that enables control over what gets previewed. - Fixed bug where content css would be loaded twice into iframe. - Fixed bug where start elements with only whitespace in the attribute part wouldn't be correctly parsed. - Fixed bug where the advlink dialog would produce an error about the addSelectAccessibility function not being defined. - Fixed bug where the caret would be placed at an incorrect position if span was removed by the invalid_elements setting. - Fixed bug where elements inside a white space preserve element like pre didn't inherit the behavior while parsing. -Version 3.4.9 (2012-02-23) - Added settings to wordcount plugin to configure update rate and checking wordcount on backspace and delete using wordcount_update_rate and wordcount_update_on_delete. - Fixed bug in Webkit and IE where deleting empty paragraphs would remove entire editor contents. - Fixed bug where pressing enter on end of list item with a heading would create a new item with heading. - Fixed edit css style dialog text-decoration none checkbox so it disables other text-decoration options when enabled. - Fixed bug in Gecko where undo wasn't added when focus was lost. - Fixed bug in Gecko where shift-enter in table cell ending with BR doesn't move caret to new line. - Fixed bug where right-click on formatted text in IE selected the entire line. - Fixed bug where text ending with space could not be unformatted in IE. - Fixed bug where caret formatting would be removed when moving the caret when a selector expression was used. - Fixed bug where formatting would be applied to the body element when all contents where selected and format had both inline and selector parts. - Fixed bug where the media plugin would throw errors if you had iframe set as an invalid element in config. - Fixed bug where the caret would be placed at the top of the document if you inserted a table and undo:ed that operation. Patch contributed by Wesley Walser. - Fixed bug where content css files where loaded twice into the iframe. - Fixed so elements with comments would be trated as non empty elements. Patch contributed by Arjan Scherpenisse. -Version 3.4.8 (2012-02-02) - Fixed bug in IE where selected text ending with space cannot be formatted then formatted again to get original text. - Fixed bug in IE where images larger than editor area were being deselected when toolbar buttons are clicked. - Fixed bug where wrong text align buttons are active when multiple block elements are selected. - Fixed bug where selected link not showing in target field of link dialog in some selection cases. - Use settings for remove_trailing_br so this can be turned off instead of hard coding the value. - Fixed bug in IE where the media plugin displayed null text when some values aren't filled in. - Added API method 'onSetAttrib' that fires when the attribute value on a node changes. - Fix font size dropdown value not being updated when text already has a font size in the advanced template. - Fixed bug in IE where IE doesn't use ARIA attributes properly on options - causing labels to be read out 2 times. - Fixed bug where caret cannot be placed after table if table is at end of document in IE. - Fixed bug where adding range isn't always successful so we need to check range count otherwise an exception can occur. - Added spacebar onclick handler to toolbar buttons to ensure that the accessibility behaviour works correctly. - Fixed bug where a stranded bullet point would get created in WebKit. - Fixed bug where selecting text in a blockquote and pressing backspace toggles the style. - Fixed bug where pressing enter from a heading in IE, the resulting P tag below it shares the style property. - Fix white space in between spans from being deleted. - Fixed bug where scrollbars where visible in the character map dialog on Gecko. - Fixed issue with missing translation for one of the emoticons. - Fixed bug where dots in id:s where causing problems. Patch provided by Abhishek Dev. - Fixed bug where urls with an at sign in the path wouldn't be parsed correctly. Patch contributed by Jason Grout. - Fixed bug where Opera would remove the first character of a inline formatted word if you pressed backspace. - Fixed bugs with the autoresize plugin on various browsers and removed the need for the throbber. - Fixed performance issue where the contextmenu plugin would try to remove the menu even if it was removed. Patch contributed by mhu. -Version 3.4.7 (2011-11-03) - Modified the caret formatting behavior to word similar to common desktop wordprocessors like Word or Libre Office. - Fixed bug in Webkit - Cursor positioning does not work vertically within a table cell with multiple lines of text. - Fixed bug in IE where Inserting a table in IE8 places cursor in the second cell of the first row. - Fixed bug in IE where editor in a frame doesn't give focus to the toolbar using ALT-F10. - Fix for webkit and gecko so that deleting bullet from start of list outdents inner list items and moves first item into paragraph. - Fix new list items in IE8 not displayed on a new line when list contains nested list items. - Clear formatting in table cell breaks the cell. - Made media type list localisable. - Fix out of memory error when using prototype in media dialog. - Fixed bug where could not add a space in the middle of a th cell. - Fixed bug where adding a bullet between two existing bullets adds an extra one - Fixed bug where trying to insert a new entry midway through a bulleted list fails dismally when the next entry is tabbed in. - Fixed bug where pressing enter on an empty list item does not outdent properly in FF - Fixed bug where adding a heading after a list item in a table cell changes all styles in that cell - Fixed bug where hitting enter to exit from a bullet list moves cursor to the top of the page in Firefox. - Fixed bug where pressing backspace would not delete HRs in Firefox and IE when next to an empty paragraph. - Fixed bug where deleting part of the link text can cause a link with no destination to be saved. - Fixed bug where css style border widths wasn't handled correctly in table dialog. - Fixed bug where parsing invalid html contents on IE or WebKit could produce an infinite loop. - Fixed bug where scripts with custom script types wasn't properly passed though the editor. - Fixed issue where some Japanese kanji characters wasn't properly entity encoded when numeric entity mode was enabled. - Made emoticons dialog use the keyboard naviation. - Added navigation instructions to the symbols dialog. - Added ability to set default values for the media plugin. - Added new font_size_legacy_values option for converting old font element sizes to span with font-size properties. - Fixed bug where the symbols dialog was not accessible. - Added quirk for IE ensuring that the body of the document containing tinyMCE has a role="application" for accessibility. - Fixed bug where the advanced color picker wasn't working properly on FF 7. - Fixed issue where the advanced color picker was producing uppercase hex codes. - Fixed bug where IE 8 could throw exceptions if the contents contained resizable content elements. - Fixed bug where caret formatting wouldn't be correctly applied to previous sibling on WebKit. - Fixed bug where the select boxes for font size/family would loose it's value on WebKit due to recent iOS fixes. -Version 3.4.6 (2011-09-29) - Fixed bug where list items were being created for empty divs. - Added support in Media plugin for audio media using the embed tag - Fixed accessibility bugs in WebKit and IE8 where toolbar items were not being read. - Added new use_accessible_selects option to ensure accessible list boxes are used in all browsers (custom widget in firefox native on other browsers) - Fixed bug where classid attribute was not being checked from embed objects. - Fixed bug in jsrobot tests with intermittently failing. - Fixed bug where anchors wasn't updated properly if you edited them using IE 8. - Fixed bug where input method on WebKit on Mac OS X would fail to initialize when sometimes focusing the editor. - Fixed bug where it wasn't possible to select HR elements on WebKit by simply clicking on them. - Fixed bug where the media plugin wouldn't work on IE9 when not using the inlinepopups plugin. - Fixed bug where hspace,vspace,align and bgcolor would be removed from object elements in the media plugin. - Fixed bug where the new youtube format wouldn't be properly parsed by the media plugin. - Fixed bug where the style attribute of layers wasn't properly updated on IE and Gecko. - Fixed bug where editing contents in a layer would fail on Gecko since contentEditable doesn't inherit properly. - Fixed bug where IE 6/7 would produce JS errors when serializing contents containing layers. -Version 3.4.5 (2011-09-06) - Fixed accessibility bug in WebKit where the right and left arrow keys would update native list boxes. - Added new whitespace_elements option to enable users to specify specific elements where the whitespace is preserved. - Added new merge_siblings option to formats. This option makes it possible to disable the auto merging of siblings when applying formats. - Fixed bug in IE where trailing comma in paste plugin would cause plugin to not run correctly. - Fixed bug in WebKit where console messages would be logged when deleting an empty document. - Fixed bug in IE8 where caret positioned is on list item instead of paragraph when outdent splits the list - Fixed bug with image dialogs not inserting an image if id was omitted from valid_elements. - Fixed bug where the selection normalization logic wouldn't properly handle image elements in specific config cases. - Fixed bug where the map elements coords attribute would be messed up by IE when serializing the DOM. - Fixed bug where IE wouldn't properly handle custom elements when the contents was serialized. - Fixed bug where you couldn't move the caret in Gecko if you focused the editor using the API or a UI control. - Fixed bug where adjacent links would get merged on IE due to bugs in their link command. - Fixed bug where the color split buttons would loose the selection on IE if the editor was placed in a frame/iframe. - Fixed bug where floated images in WebKit wouldn't get properly linked. - Fixed bug where the fullscreen mode in a separate window wasn't forced into IE9+ standards mode. - Fixed bug where pressing enter in an empty editor on WebKit could produce DIV elements instead of P. - Fixed bug where spans would get removed incorrectly when merging two blocks on backspace/delete on WebKit. - Fixed bug where the editor contents wouldn't be completely removed on backspace/delete on WebKit. - Fixed bug where the fullpage plugin wouldn't properly render style elements in the head on IE 6/7. - Fixed bug where the nonbreaking_force_tab option in the nonbreaking plugin wouldn't work on Gecko/WebKit. - Fixed bug where the isDirty state would become true on non IE browsers if there was an table at the end of the contents. - Fixed bug where entities wasn't properly encoded on WebKit when pasting text as plain text. - Fixed bug where empty editors would produce an exception of valid_elements didn't include body and forced_root_blocks where disabled. - Fixed bug where the fullscreen mode wouldn't retain the header/footer in the fullpage plugin. - Fixed issue where the plaintext_mode and plaintext_mode_sticky language keys where swapped. -Version 3.4.4 (2011-08-04) - Added new html5 audio support. Patch contributed by Ronald M. Clifford. - Added mute option for video elements and preload options for video/audio patch contributed by Dmitry Kalinkin. - Fixed selection to match visual selection before applying formatting changes. - Fixed browser specific bugs in lists for WebKit and IE. - Fixed bug where IE would scroll the window if you closed an inline dialog that was larger than the viewport. Patch by Laurence Keijmel. - Fixed bug where pasting contents near a span element could remove parts of that span. Patch contributed by Wesley Walser. - Fixed bug where formatting change would be lost after pressing enter. - Fixed bug in WebKit where deleting across blocks would add extra styles. - Fixed bug where moving cursor vertically in tables in WebKit wasn't working. - Fixed bug in IE where deleting would cause error in console. - Fixed bug where the formatter was not applying formats across list elements. - Fixed bug where the wordcount plugin would try and update the wordcount if tinymce had been destroyed. - Fixed bug where tabfocus plugin would attempt to focus elements not displayed when their parent element was hidden. - Fixed bug where the contentEditable state would sometimes be removed if you deleted contents in Gecko. - Fixed bug where inserting contents using mceInsertContent would fail if "span" was disabled in valid_elements. - Fixed bug where initialization might fail if some resource on gecko wouldn't load properly and fire the onload event. - Fixed bug where ctrl+7/8/9 keys wouldn't properly add the specific formats associated with them. - Fixed bug where the HTML tags wasn't properly closed in the style plugins properties dialog. - Fixed bug where the list plugin would produce an exception if the user tried to delete an element at the very first location. -Version 3.4.3.2 (2011-06-30) - Fixed bug where deleting all of a paragraph inside a table cell would behave badly in webkit. - Fixed bugs in tests in firefox5 and WebKit. - Fixed bug where selection of table cells would produce an exception on Gecko. - Fixed bug where the caret wasn't properly rendered on Gecko when the editor was hidden. - Fixed bug where pasting plain text into WebKit would produce a pre element it will now produce more semantic markup. - Fixed bug where selecting list type formats using the advlist plugin on IE8 would loose editor selection. - Fixed bug where forced root blocks logic wouldn't properly pad elements created if they contained data attributes. - Fixed bug where it would remove all contents of the editor if you inserted an image when not having a caret in the document. - Fixed bug where the YUI compressor wouldn't properly encode strings with only a quote in them. - Fixed bug where WebKit on iOS5 wouldn't call nodeChanged when the selection was changed. - Fixed bug where mceFocus command wouldn't work properly on Gecko since it didn't focus the body element. - Fixed performance issue with the noneditable plugin where it would enable/disable controls to often. -Version 3.4.3.1 (2011-06-16) - Fixed bug where listboxes were not being handled correctly by JAWS in firefox with the o2k7 skin. - Fixed bug where custom buttons were not being rendered correctly when in high contrast mode. - Added support for iOS 5 that now supporting contentEditable in it's latest beta. - Fixed bug where urls in style attributes with a _ character followed by a number would cause incorrect output. - Fixed bug where custom_elements option wasn't working properly on IE browsers. - Fixed bug where custom_elements marked as block elements wouldn't get correctly treated as block elements. - Fixed bug where attributes with </> wasn't properly encoded as XML entities. -Version 3.4.3 (2011-06-09) - Fixed bug where deleting backwards before an image into a list would put the cursor in the wrong location. - Fixed bug where styles plugin would not apply styles across multiple selected block elements correctly. - Fixed bug where cursor would jump to start of document when selection contained empty table cells in IE8. - Fixed bug where applied styles wouldn't be kept if you pressed enter twice to produce two paragraphs. - Fixed bug where a ghost like caret would appear on Gecko when pressing enter while having a text color applied. - Fixed bug where IE would produce absolute urls if you inserted a image/link and reloaded the page. - Fixed bug where applying a heading style to a list item would cascade style to children list items. - Fixed bug where Editor loses focus when backspacing and changing styles in WebKit. - Fixed bug where exception was thrown in tinymce.util.URI when parsing a relative URI and no base_uri setting was provided. - Fixed bug where alt-f10 was not always giving focus to the toolbar on Safari. - Added new 'allow_html_in_named_anchor' option to allow html to occur within a named anchor tag. Use at own risk. - Added plugin dependency support. Will autoload plugins specified as a dependency if they haven't been loaded. - Fixed bug where the autolink plugin didn't work with non-English keyboards when pressing ). - Added possibility to change properties of all table cells in a column. - Added external_image_list option to get images list from user-defined variable or function. - Fixed bug where the autoresize plugin wouldn't reduce the editors height on Chrome. - Fixed bug where table size inputs were to small for values with size units. - Fixed bug where table cell/row size input values were not validated. - Fixed bug where menu item line-height would be set to wrong value by external styles. - Fixed bug where hasUndo() would return wrong answer. - Fixed bug where page title would be set to undefined by fullpage plugin. - Fixed bug where HTML5 video properties were not updated in embedded media settings. - Fixed bug where HTML comment on the first line would cause an error. - Fixed bug where spellchecker menu was positioned incorrectly on IE. - Fixed bug where breaking out of list elements on WebKit would produce a DIV instead of P after the list. - Fixed bug where pasting from Word in IE9 would add extra BR elements when text was word wrapped. - Fixed bug where numeric entities with leading zeros would produce incorrect decoding. - Fixed bug where hexadecimal entities wasn't properly decoded. - Fixed bug where bookmarks wasn't properly stored/restored on undo/redo. - Fixed bug where the mceInsertCommand didn't retain the values of links if they contained non url contents. - Fixed bug where the valid_styles option wouldn't be properly used on styles for specific elements. - Fixed so contentEditable is used for the body of the editor if it's supported. - Fixed so trailing BR elements gets removed even when forced_root_blocks option was set to false/null. - Fixed performance issue with mceInsertCommand and inserting very simple contents. - Fixed performance issue with older IE version and huge documents by optimizing the forced root blocks logic. - Fixed performance issue with table plugin where it checked for selected cells to often. - Fixed bug where creating a link on centered/floated image would produce an error on WebKit browsers. - Fixed bug where Gecko would remove single paragraphs if there where contents before/after it. - Fixed bug where the scrollbar would move up/down when pasting contents using the paste plugin. -Version 3.4.2 (2011-04-07) - Added new 'paste_text_sticky_default' option to paste plugin, enables you to set the default state for paste as plain text. - Added new autoresize_bottom_margin option to autoresize plugin that enables you to add an extra margin at the bottom. Patch contributed by Andrew Ozz. - Rewritten the fullpage plugin to handle style contents better and have a more normalized behavior across browsers. - Fixed bug where contents inserted with mceInsertContent wasn't parsed using the default dom parser. - Fixed bug where blocks containing a single anchor element would be treated as empty. - Fixed bug where merging of table cells on IE 6, 7 wouldn't look correctly until the contents was refreshed. - Fixed bug where context menu wouldn't work properly on Safari since it was passing out the ctrl key as pressed. - Fixed bug where image border color/style values were overwritten by advimage plugin. - Fixed bug where setting border in advimage plugin would throw error in IE. - Fixed bug where empty anchors list in link settings wasn't hidden. - Fixed bug where xhtmlextras popups were missing localized popup-size parameters. - Fixed bug where the context menu wouldn't select images on WebKit browsers. - Fixed bug where paste plugin wouldn't properly extract the contents on WebKit due to recent changes in browser behavior. - Fixed bug where focus of the editor would get on control contents on IE lost due to a bug in the ColorSplitButton control. - Fixed bug where contextmenu wasn't disabled on noneditable elements. - Fixed bug where getStyle function would trigger error when called on element without style property. - Fixed bug where editor fail to load if Javascript Compressor was used. - Fixed bug where list-style-type=lower-greek would produce errors in IE<8. - Fixed bug where spellchecker plugin would produce errors on IE6-7. - Fixed bug where theme_advanced_containers configuration option causes error. - Fixed bug where the mceReplaceContent command would produce an error since it didn't correctly handle a return value. - Fixed bug where you couldn't enter float point values for em in dialog input fields since it wouldn't be considered a valid size. - Fixed bug in xhtmlxtras plugin where it wasn't possible to remove some attributes in the attributes dialog. -Version 3.4.1 (2011-03-24) - Added significantly improved list handling via the new 'lists' plugin. - Added 'autolink' plugin to enable automatically linking URLs. Similar to the behavior IE has by default. - Added 'theme_advanced_show_current_color' setting to enable the forecolor and backcolor buttons to continuously show the current text color. - Added 'contextmenu_never_use_native' setting to disable the ctrl-right-click showing the native browser context menu behaviour. - Added 'paste_enable_default_filters' setting to enable the default paste filters to be disabled. - Fixed bug where selection locations on undo/redo didn't work correctly on specific contents. - Fixed bug where an exception would be trown on IE when loading TinyMCE inside an iframe. - Fixed bug where some ascii numeric entities wasn't properly decoded. - Fixed bug where some non western language codes wasn't properly decoded/encoded. - Fixed bug where undo levels wasn't created when deleting contents on IE. - Fixed bug where the initial undo levels bookmark wasn't updated correctly. - Fixed bug where search/replace wouldn't be scoped to editor instances on IE8. - Fixed bug where IE9 would produce two br elements after block elements when pasting. - Fixed bug where IE would place the caret at an incorrect position after a paste operation. - Fixed bug where a paste operation using the keyboard would add an extra undo level. - Fixed bug where some attributes/elements wasn't correctly filtered when invalid contents was inserted. - Fixed bug where the table plugin couldn't correctly handle invalid table structures. - Fixed bug where charset and title of the page were handled incorrectly by the fullpage plugin. - Fixed bug where toggle states on some of the list boxes didn't update correctly. - Fixed bug where sub/sub wouldn't work correctly when done as a caret action in Chrome 10. - Fixed bug where the constrain proportions checkbox wouldn't work in the media plugin. - Fixed bug where block elements containing trailing br elements wouldn't treated properly if they where invalid. - Fixed bug where the color picker dialog wouldn't be rendered correctly when using the o2k7 theme. - Fixed bug where setting border=0 using advimage plugin invalid style attribute content was created in Chrome. - Fixed bug with references to non-existing images in css of fullpage plugin. - Fixed bug where item could be unselected in spellchecker's language selector. - Fixed bug where some mispelled words could be not highlighted using spellchecker plugin. - Fixed bug where spellchecking would merge some words on IE. - Fixed bug where spellchecker context menu was not always positioned correctly. - Fixed bug with empty anchors list in advlink popup when Invisible Elements feature was disabled. - Fixed bug where older IE versions wouldn't properly handle some elements if they where placed at the top of editor contents. - Fixed bug where selecting the whole table would enable table tools for cells and rows. - Fixed bug where it wasn't possible to replace selected contents on IE when pasting using the paste plugin. - Fixed bug where setting text color in fullpage plugin doesn't work. - Fixed bug where the state of checkboxes in media plugin wouldn't be set correctly. - Fixed bug where black spade suit character was not included in special character selector. - Fixed bug where setting invalid values for table cell size would throw an error in IE. - Fixed bug where spellchecking would remove whitespace characters from PRE block in IE. - Fixed bug where HR was inserted inside P elements instead of splitting them. - Fixed bug where extra, empty span tags were added when using a format with both selector and inline modes. - Fixed bug where bullet lists weren't always detected correctly. - Fixed bug where deleting some paragraphs on IE would cause an exception. - Fixed bug where the json encoder logic wouldn't properly encode \ characters. - Fixed bug where the onChange event would be fired when the editor was first initialized. - Fixed bug where mceSelected wouldn't be removed properly from output even if it's an internal class. - Fixed issue with table background colors not being transparent. This improves compliance with users browser color preferences. - Fixed issue where styles were not included when using the full page plugin. - Fixed issue where drag/drop operations wasn't properly added to the undo levels. - Fixed issue where colors wasn't correctly applied to elements with underline decoration. - Fixed issue where deleting some paragraphs on IE would cause an exception. -Version 3.4 (2011-03-10) - Added accessibility example with various accessibility options contributed by Ephox. - Fixed bug where attributes wasn't properly handled in the xhtmlxtras plugin. - Fixed bug where the image.htm had some strange td artifacts probably due to auto merging. - Fixed bug where the ToolbarGroup had an missing reference to this in it's destroy method. - Fixed bug with the resizeBy function in the advanced theme where it was scaled by the wrong parent. - Fixed bug where an exception would be thrown by the element if the page was served in xhtml mode. - Fixed bug where mceInsertContent would throw an exception when page was served in xhtml mode. - Fixed bug where you couldn't select a forground/background color when page was served in xhtml mode. - Fixed bug where the editor would scroll to the toolbar when clicked due to a call to focus in ListBox. - Fixed bug where pages with rtl dir wouldn't render split buttons correctly when using the o2k7 theme. - Fixed bug where anchor elements with names wasn't properly collapsed as they where in 3.3.x. - Fixed bug where WebKit wouldn't properly handle image selection if it was done left to right. - Fixed bug where the formatter would align images when the selection range was collapsed. - Fixed bug where the image button would be active when the selection range was collapsed. - Fixed bug where the element_format option wasn't used by the new (X)HTML serializer logic. - Fixed bug where the table cell/row dialogs would produce empty attributes. - Fixed bug where the tfoot wouldn't be added to the top of the table. - Fixed bug where the formatter would merge siblings with white space between them. - Fixed bug where pasting headers and paragraphs would produce an extra paragraph. - Fixed bug where the ColorSplitButton would throw an exception if you clicked out side a color. - Fixed bug where IE9 wouldn't properly produce new paragraphs on enter if the current paragraph had formatting. - Fixed bug where multiple BR elements at end of block elements where removed. - Fixed bug where fullscreen plugin wouldn't correctly display the edit area on IE6 for long pages. - Fixed bug where paste plugin wouldn't properly encode raw entities when pasting in plain text mode. - Fixed bug where the search/replace plugin wouldn't work correctly on IE 9. - Fixed so the drop menus doesn't get an outline border visible when focused, patch contributed by Ephox. - Fixed so the values entered in the color picker are forced to hex values. - Removed dialog workaround for IE 9 beta since the RC is now out and people should upgrade. - Removed obsolete calls in various plugins to the mceBeginUndoLevel command. -Version 3.4b3 (2011-02-10) - Added WAI-ARIA support for the main UI and dialogs this feature was contributed by Ephox. - Added iframe support to media plugin in order to handle the new YouTube HTML5 video formats. - Fixed bug where anchors would wrap the text contents after it due to a bug in the DomParser logic. - Fixed bug where the selected state wouldn't be removed on ListBox controls when a menu item was selected. - Fixed bug where IE could throw an unspecified error exception when the getBookmark logic was executed. - Fixed bug where IE would throw an invalid argument error when focus was applied to an empty editor instance. - Fixed bug where applying inline format wouldn't work if the start cell in the selection was empty. - Fixed bug where auto detection logic for YouTube and Google Video wouldn't work in the new media plugin. - Fixed bug where td elements would get a colspan/rowspan of 1 when created by the table plugin. - Fixed bug where removal/padding of empty elements wasn't handled correctly. - Fixed bug where internal elements would show up in element path. - Fixed bug where internal elements would get serialized as valid output. - Fixed bug where color wasn't correctly applied to anchor elements. - Fixed bug where float option in the style plugin dialog wouldn't be handled correctly on WebKit. - Fixed bug where the tinymce.dom.TreeWalker prev function wouldn't walk the DOM correctly. - Fixed bug where mceInsertContent command could produce empty block elements after the inserted content. - Fixed bug where mceInsertContent command wouldn't apply visual aids on tables and similar elements. - Fixed bug where empty block elements would get double br bogus elements in them. - Fixed bug where the color menu wouldn't apply the color correctly on IE when the viewport was to small. - Fixed bug where right clicking out side the body element of the editor iframe would prevent paste from working on IE. - Fixed bug where the onContextMenu event wouldn't fire correctly on IE if you clicked out side the body element. - Fixed bug where the onContextMenu event wouldn't fire correctly on modern Opera versions that now support it by default. - Fixed bug where legacy content wasn't converted correctly when inserted using mceInsertContent or through the source dialog. - Fixed bug where resizing images or tables wouldn't update the style attribute correctly or leave data-mce prefixed attributes. - Fixed bug where adding links wouldn't work correctly when using TinyMCE jQuery version with jQuery 1.5. - Fixed bug where single quotes inside param elements wasn't treated correctly by the media plugin. - Fixed bug where pasting plain text in WebKit wouldn't work correctly. It will now auto detect the WebKit bug and use plain text mode. - Fixed bug where the DomParser would fail to move out invalid elements within invalid elements on complex contents. - Fixed bug where paste as plain text would not decode html entities properly. - Fixed bug where large paragraphs would cause incorrect scrolling behavior if you would split them using enter. - Fixed bug where the SaxParser wouldn't properly parse some specific short ended elements. - Fixed so mceReplaceContent supports caret position and makes sure that the contents inserted gets validated. - Fixed so unnecessary traling br elements in blocks gets removed on Gecko/WebKit when using mceInsertContent command. - Moved some plugin css contents into the skin content css files to reduce the number of http requests. - Moved some plugin specific images into the theme img directory since they can then be shared. -Version 3.4b2 (2011-01-13) - Added new custom flash player, this player supports mp4 and flv and has skin support. - Fixed so mceInsertContent handles context correctly to enforce valid nesting of elements. - Fixed bug where scrolling would become jerky on IE on some contents. - Fixed bug where paste as plain text would throw exception of missing entities setting. - Fixed bug where anchor nodes where removed by the new serializer engine. - Fixed bug where IE would crash if when backspace where used on some specific contents. - Fixed bug where pasting of plain text in WebKit would result in merging of text lines. - Fixed bug where it wasn't possible to delete images or tables using backspace on IE9. - Fixed bug where urls in styles would generate a JS error due to incorrect scope. - Fixed bug where copy paste from Java applications would produce extra contents in FF on Mac. - Fixed bug where the verify_html option wouldn't allow all elements and attributes. -Version 3.4b1 (2010-12-20) - Added new serialization engine that increases performance and enforces valid output according to the specified schema settings. - Added new HTML parser logic used by the serialization engine and can handle malformed html contents. - Added new valid_children config option, enables more fine grain control of elements can be inside other elements. - Added new entities encoding logic boost performance and will only encode entities based on context i.e. attributes/text nodes. - Added new protect setting that enables users to protect template items from being removed by the serializer logic. - Added new {$caret} marker for the mceInsertContent command. Makes it possible to move the caret to a specific position when inserting contents. - Added new validation of anchor names. Only valid W3C names will be accepted. - Replaced the internal _mce_ prefixed attributes to the more standard HTML5 data-mce- prefix. This will also resolve future browser santiaztion issues. - Fixed bug where the paste plugin wouldn't convert Word lists with more than 9 items to real ol lists. Patch contributed by Mike (yogaboy). - Fixed bug where clicking on a format title would produce errors if the current selection didn't have any formats. - Fixed bug where paste of simple texts wouldn't work correctly in Gecko using the paste plugin since it keeps block formatting. - Fixed bug where confirm dialogs didn't display correctly due to resent IE9 fixes. - Fixed bug where spaces in URLs wouldn't be properly encoded to %20 if the user entered them in the link dialogs. Patch contributed by Ephox. - Fixed bug where the image alignment buttons wouldn't reposition the resize handles on FF due to a browser issue. Patch contributed by Ephox. - Fixed bug where the compareBoundaryPoints method of the IE Range class didn't work correctly. Patch contributed by Ephox. - Fixed bug where selection of elements using double click wouldn't select the clicked element but rather the parent node on FF. Patch contributed by Ephox. - Fixed bug where IE would scroll the user to the current selection causing parent document to scroll as well. Patch contributed by Ephox. - Fixed bug where style compression would incorrectly compress items with different values. It now only compresses if the values are the same. Patch contributed by Ephox. - Fixed bug where FF would add non breaking spaces outside TD elements if formatting was applied to table cells. Patch contributed by Ephox. - Fixed bug where the caret position would be lost on WebKit browsers if you pasted images multiple times. Patch contributed by Ephox. - Fixed bug where non word contents like * would be counted as words in the wordcount pluging. Patch contributed by David Balatero. - Fixed bug where the toggle absolute button in the layer plugin wouldn't remove the existing internal style attribute first. - Fixed bug where the autosave plugin would generate an exception on IE if the user had disabled userdata persistence. - Fixed bug where the paste plugin would remove dashed classes on IE since the regexps didn't include that character. - Fixed bug where applying text color would not add spans inside link elements. This is needed due to CSS style inheritance. - Fixed bug where applying block formats to empty elements wouldn't render correctly on IE. - Fixed bug where the searchreplace plugin would add a f or r character when shortcuts where used on IE while using default dialogs. - Fixed bug where Opera wouldn't load scripts correctly since the onreadystate would fire even though the script wasn't loaded. - Fixed issue where wouldn't be handled correctly in the bbcode plugin if entity_encoding was set to raw. - Fixed issue where contents would flicker since the content css files where asynchronously loaded. - Fixed bug where WebKit wouldn't create links on images with a float style. -Version 3.3.9.3 (2010-12-20) - Fixed issue where WebKit wouldn't correctly apply ins/del in xhtmlxtras plugin. - Fixed bug where paste as plaintext on WebKit wouldn't produce br and p elements correctly. - Fixed bug where the confirm dialog texts would be incorrectly placed due to recent IE 9 workarounds in the window.css. - Fixed bug where applying text color would not add spans inside link elements. This is needed due to CSS style inheritance. -Version 3.3.9.2 (2010-09-29) - Fixed bug where placing the caret in IE 9 beta 1 would not work correctly if you clicked out side the document body element. - Fixed bug where IE 9 beta 1 wouldn't resize the editor correctly since the events didn't fire as previous versions did. - Fixed bug where FF would produce an error message when being rendered inside a hidden div element. - Fixed bug where resize logic could produce a cookie with a width/height less than the size of the container. - Fixed bug where content_css wouldn't populate the styles dropdown correctly. -Version 3.3.9.1 (2010-09-23) - Fixed bug where WebKit browsers wouldn't activate the image button when images where selected. - Fixed bug where Opera Presto 10.60 deletes elements when restoring bookmarks. - Fixed bug where IE9 beta1 doesn't handle regexp replacement values correctly. - Fixed bug where IE9 beta1 didn't render the inline dialogs correctly due to a bug with CSS clip. - Fixed bug where IE9 beta1 would produce error messages on load since they removed the document.recalc method. - Fixed bug where IE9 beta1 would produce <html xmlns=""> since they haven't implemented document.implementation.createDocument correctly. - Fixed bug where IE9 beta1 would searchreplace doesn't work since their native DOM Range doesn't have a find method. - Fixed bug where IE9 beta1 would render the source view incorrectly due to incorrect viewport size measurements. - Fixed bug where IE9 beta1 would crash when running the basic functionality unit tests. - Fixed bug where IE9 beta1 would wrap elements in blocks correctly due to changes to the selection object. - Fixed bug where IE9 beta1 would fail to insert contents since they havn't implemented the createContextualFragment method in their DOM Range. - Fixed bug where IE9 beta1 would fail to handle image selection since they currently doesn't support control selections in their DOM Range. - Fixed bug where IE9 beta1 would fail to load scripts since they fire the onload event before the scripts are parsed and executed. -Version 3.3.9 (2010-09-08) - Fixed bug where inserting table rows into a table with subtable would produce an incorrect column count. - Fixed bug where the selection of cells in a table with subtables could produce invalid selections. - Fixed bug where the table plugin would produce a script error if you tried to move the caret before a first child table. - Fixed bug where the keep_styles feature on IE would move the caret to an incorrect location at the end of list blocks. - Fixed so attributes from legacy elements such as font gets retained when they get converted to spans. - Fixed minor issue where the select boxes wouldn't be set the not set by default in the table dialog. -Version 3.3.8 (2010-06-30) - On IE8+ and FireFox 3.5+, dragging an image now correctly adds an undo - event. - Fixed bug where WebKit would not move the caret to a correct position after a paste operation. - Fixed bug where WebKit would produce a div wrapper element when pasting some contents. - Fixed bug where the visual chars and nonbreaking plugin wouldn't show nbsp elements correctly. - Fixed bug where the format states would be enabled even after the format was removed. - Fixed bug where the delete key would move the caret to an incorrect position. - Fixed bug where it wasn't possible to toggle of the current font size/family/style by clicking the title item. - Fixed bug where the abbr element wouldn't get serialized correctly on IE6. - Fixed so that the examples checks if they are executed from the local file system since that might not work properly. -Version 3.3.7 (2010-06-10) - Fixed bug where context menu would produce an error on IE if you right clicked twice and left clicked once. - Fixed bug where resizing of the window on WebKit browsers in fullscreen mode wouldn't position the statusbar correctly. - Fixed bug where IE would produce an error if the editor was empty and you where undoing to that initial level. - Fixed bug where setting the table background on gecko would produce \" entities inside the url style property. - Fixed bug where the button states wouldn't be updated correctly on IE if you placed the caret inside the new element. - Fixed bug where undo levels wasn't properly added after applying styles or font sizes. - Fixed bug where IE would throw an error if you used "select all" on empty elements and applied formatting to that. - Fixed bug where IE could select one extra character when you did a bookmark call on a caret location. - Fixed bug where IE could produce a script error on delete since it would sometimes produce an invalid DOM. - Fixed bug where IE would return the wrong start element if the whole element was selected. - Fixed bug where formatting states wasn't updated on IE if you pressed enter at the end of a block with formatting. - Fixed bug where submenus for the context menu wasn't removed correctly when the editor was destroyed. - Fixed bug where Gecko could select the wrong element after applying format to multiple elements. - Fixed bug where Gecko would delete parts of the previous element if the selection range was a element selection. - Fixed bug where Gecko would not merge paragraph elements correctly if they contained br elements. - Fixed bug where the cleanup button could produce span artifacts if you pressed it twice in a row. - Fixed bug where the fullpage plugin header/footer would be have it's header reseted to it's initial state on undo. - Fixed bug where an empty paragraph would be collapsed if you performed a cleanup while having the caret inside it. - Fixed a few memory leaks on IE especially with drop menus in listboxes and the spellchecker. - Fixed so formats applied to the current caret gets merged to reduce the number of output elements. - Added the latest version of Sizzle for the CSS selector logic to fix a compatibility issue with prototype. -Version 3.3.6 (2010-05-20) - Fixed bug where a editor.focus call could produce errors on IE in very specific scenarios. - Fixed bug where Gecko would produce an error if you unformatted text inside an empty element. - Fixed bug where IE would produce an error if the caret was placed before a table and you used the align buttons. - Fixed bug where the font size drop down didn't display the a preview correctly. - Fixed bug where the paste plugin wouldn't include all contents some times on WebKit browsers. - Fixed bug where the plain text mode toggle wouldn't work properly on WebKit. - Fixed bug where the editors statusbar would become invisible when you resized the window in fullscreen mode. -Version 3.3.5.1 (2010-05-07) - Fixed a critical bug with the fullscreen plugin. Produced error messages when the state was toggled on/off. -Version 3.3.5 (2010-05-06) - Added new merge_with_parents option to formats, enables the control of removal of elements with similar parents. - Fixed so the default behavior for applying classes isn't a toggle state but the old behavior from before the 3.3 release. - Fixed bug where selecting contents using double click on Gecko would produce errors when using removing format. - Fixed bug where the IE DOM could get messed up when non valid contents was pasted into the editor. - Fixed bug where merging selected table cells using the context menu didn't work as expected. - Fixed bug where some nestled formatting would be applied incorrectly. - Fixed bug with enter in list items when using the force_br_newlines mode on WebKit patch contributed by Ryan Koopmans. - Fixed bug where undo/redo could produce js errors on some specific operations. - Fixed bug where the theme_advanced_font_sizes didn't work as before 3.3 when complex settings where used. - Fixed bug where the table plugin would copy cell/row id attributes when making new rows/cells. -Version 3.3.4 (2010-04-27) - Fixed bug where fullscreen plugin would add two editor instances to EditorManager collection. - Fixed bug where it was difficult to enter text on non western languages such as Japanese on IE. - Fixed bug where removing contents from nodes could result in an exception when using undo/redo. - Fixed bug with selection of images inside layers or other resizable containers on IE. - Fixed so editors isn't initialized on iPhone/iPad devices since they don't have caret support. -Version 3.3.3 (2010-04-19) - Added new script_loaded callback function setting for the jQuery plugin. - Added various fixes and new rpc methods for the spellchecker plugin. Patch contributed by Michael Peters. - Removed some unnecessary inline style information from some of the dialogs. - Fixed some issues with the chaining for the TinyMCE jQuery plugin. - Fixed so any extra arguments passed to patched jQuery functions gets passed through. Patch contributed by Lee Henson. - Fixed so spellchecking/contextmenu can be toggled on/off if the browser has native spellchecker support. - Fixed bug where some texts in the new paste plugin wasn't placed in language pack. - Fixed bug where IE would produce an incorrect information message when cutting. - Fixed bug where removing items using the xhtmlxtras plugin wouldn't work correctly. - Fixed bug where setting table background images would add extra quotes on Gecko. - Fixed bug where shortcut for bold/italic/underline wouldn't work properly on WebKit. - Fixed bug where IE would produce an error message if only contents was an image tag and bold was used. - Fixed bug where the caret would move if alignment was applied to empty block elements. - Fixed bug where some shortcut key commands wouldn't apply formatting correctly. -Version 3.3.2 (2010-03-25) - Fixed bug where it was possible to scale the editor iframe smaller than the editor UI. - Fixed bug where some of the resizing option didn't work with the new live resize. - Fixed bug where the format listbox didn't show nestled formats correctly. - Fixed bug where the native listboxes didn't work co... [truncated message content] |
From: <be...@us...> - 2012-08-07 06:53:41
|
Revision: 9999 http://xoops.svn.sourceforge.net/xoops/?rev=9999&view=rev Author: beckmi Date: 2012-08-07 06:53:35 +0000 (Tue, 07 Aug 2012) Log Message: ----------- Updating changelog Modified Paths: -------------- XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/changelog.250.txt Modified: XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/changelog.250.txt 2012-08-07 06:50:26 UTC (rev 9998) +++ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/changelog.250.txt 2012-08-07 06:53:35 UTC (rev 9999) @@ -1,14 +1,14 @@ XOOPS 2.5.x Changelog (Language changes: see: /docs/lang_diff.txt) =============================== -2012/06/24: Version 2.5.6 Alpha +2012/08/06: Version 2.5.6 Alpha =============================== Bugfixes: Updated: - - TinyMCE to 3.5.4 (mamba) + - TinyMCE to 3.5.6 (mamba) + - Updated to work under PHP 5.4.5 (mamba) - =============================== 2012/04/15: Version 2.5.5 Final =============================== This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-07 06:50:32
|
Revision: 9998 http://xoops.svn.sourceforge.net/xoops/?rev=9998&view=rev Author: beckmi Date: 2012-08-07 06:50:26 +0000 (Tue, 07 Aug 2012) Log Message: ----------- Adding 2.5.6 Branch, in case we need it Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.6/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-07 06:48:41
|
Revision: 9997 http://xoops.svn.sourceforge.net/xoops/?rev=9997&view=rev Author: beckmi Date: 2012-08-07 06:48:32 +0000 (Tue, 07 Aug 2012) Log Message: ----------- Updating to TinyMCE 3.5.6 Modified Paths: -------------- XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/media.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js Modified: XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt =================================================================== --- XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2012-08-06 19:45:30 UTC (rev 9996) +++ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2012-08-07 06:48:32 UTC (rev 9997) @@ -1,1620 +1,445 @@ -Version 3.5.4 (2012-06-21) - Added missing mouse events to HTML5 schema. Some events needs to be manually defined though since the spec is huge. - Added image resizing for WebKit browsers by faking the whole resize behavior. - Fixed bug in context menu plugin where listener to hide menu wasn't removed correctly. - Fixed bug where media plugin wouldn't use placeholder size for the object/video elements. - Fixed bug where jQuery plugin would break attr function in jQuery 1.7.2. - Fixed bug where jQuery plugin would throw an error if you used the tinymce pseudo selector when TinyMCE wasn't loaded. - Fixed so encoding option gets applied when using jQuery val() or attr() to extract the contents. - Fixed so any non valid width/height passed to media plugin would get parsed to proper integer or percent values. -Version 3.5.3 (2012-06-19) - Added missing wbr element to HTML5 schema. - Added new mceToggleFormat command. Enabled you to toggle a specific format on/off. - Fixed bug where undo/redo state didn't update correctly after executing an execCommand call. - Fixed bug where the editor would get auto focused on IE running in quirks mode. - Fixed bug where pressing enter before an IMG or INPUT element wouldn't properly split the block. - Fixed bug where backspace would navigate back when selecting control types on IE. - Fixed bug where the editor remove method would unbind events for controls outside the editor instance UI. - Fixed bug where the autosave plugin would try to store a draft copy of editors that where removed. - Fixed bug where floated elements wouldn't expand the block created when pressing enter on non IE browsers. - Fixed bug where the caret would be placed in the wrong location when pressing enter at the beginning of a block. - Fixed bug where it wasn't possible to block events using the handle_event_callback option. - Fixed bug where keyboard navigation of the ColorSplitButton.js didn't work correctly. - Fixed bug where keyboard navigation didn't work correctly on split buttons. - Fixed bug where the legacy Event.add function didn't properly handle multiple id:s passed in. - Fixed bug where the caret would disappear on IE when selecting all contents and pressing backspace/delete. - Fixed bug where the getStart/getEnd methods would sometimes return elements from the wrong document on IE. - Fixed so paragraphs gets created if you press enter inside a form element. -Version 3.5.2 (2012-05-31) - Added new formatChanged method to tinymce.Formatter class. Enables easier state change handling of formats. - Added new selectorChanged method to tinymce.dom.Selection class. Enables easier state change handling of matching CSS selectors. - Changed the default theme to be advanced instead of simple since most users uses the advanced theme. - Changed so the theme_advanced_buttons doesn't have a default set if one button row is specified. - Changed the theme_advanced_toolbar_align default value to "left". - Changed the theme_advanced_toolbar_location default value to "top". - Changed the theme_advanced_statusbar_location default value to "bottom". - Fixed bug where the simple link dialog would remove class and target attributes from links when updating them if the drop downs wasn't visible. - Fixed bug where the link/unlink buttons wouldn't get disabled once a link was created by the autolink plugin logic. - Fixed bug where the border attribute was missing in the HTML5 schema. - Fixed bug where the legacyoutput plugin would use inline styles for font color. - Fixed bug where editing of anchor names wouldn't produce an undo level. - Fixed bug where the table plugin would delete the last empty block element in the editor. - Fixed bug where pasting table rows when they where selected would make it impossible to editor that table row. - Fixed bug with pressing enter in IE while having a select list focused would produce a JS error. - Fixed bug where it wasn't possible to merge table cells by selecting them and using merge from context menu. - Removed summary from HTML5 table attributes and fixed so this and other deprecated table fields gets hidden in the table dialog. -Version 3.5.1.1 (2012-05-25) - Fixed bug with control creation where plugin specific controls didn't work as expected. -Version 3.5.1 (2012-05-25) - Added new onBeforeAdd event to UndoManager patch contributed by Dan Rumney. - Added support for overriding the theme rendering logic by using a custom function. - Fixed bug where links wasn't automatically created by the autolink plugin on old IE versions when pressing enter in BR mode. - Fixed bug where enter on older IE versions wouldn't produce a new paragraph if the previous sibling paragraph was empty. - Fixed bug where toString on a faked DOM range on older IE versions wouldn't return a proper string. - Fixed bug where named anchors wouldn't work properly when schema was set to HTML5. - Fixed bug where HTML5 datalist options wasn't correctly parsed or indented. - Fixed bug where linking would add anchors around block elements when the HTML5 schema was used. - Fixed issue where the autolink plugin wouldn't properly handle mailto:us...@do.... - Optimized initialization and reduced rendering flicker by hiding the target element while initializing. -Version 3.5.0.1 (2012-05-10) - Fixed bug where selection normalization logic would break the selections of parent elements using the element path. - Fixed bug where the autolink plugin would include trailing dots in domain names in the link creation. - Fixed bug where the autolink plugin would produce an error on older IE versions when pressing enter. - Fixed bug where old IE versions would throw an error during initialization when the editor was placed in an size restricted div. -Version 3.5 (2012-05-03) - Fixed menu rendering issue if the document was in rtl mode. - Fixed bug where the hide function would throw an error about a missing variable. - Fixed bug where autolink wouldn't convert URLs when hitting enter on IE due to the new enter key logic. - Fixed bug where formatting using shortcuts like ctrl+b wouldn't work properly the first time. - Fixed bug where selection.setContent after a formatter call wouldn't generate formatted contents. - Fixed bug where whitespace would be removed before/after invalid_elements when they where removed. - Fixed bug where updating styles using the theme image dialog in non inline mode on IE9 would produce errors. - Fixed bug where IE 8 would produce an error when using the contextmenu plugin. - Fixed bug where delete/backspace could remove contents of noneditable elements. - Fixed so background color in style preview gets computed from body element if the current style element is transparent. -Version 3.5b3 (2012-03-29) - Added cancel button to colour picker dialog. - Added figure and figcaption to the html5 visualblocks plugin. - Added default alignment options for the figure element. - Fixed bug where empty inline elements within block elements would sometimes produce a br child element. - Fixed bug where urls pointing to the same domain as the current one would cause undefined errors. Patch contributed by Paul Giberson. - Fixed bug where enter inside an editable element inside an non editable element would split the element. - Fixed bug where cut/copy/paste of noneditable elements didn't work. - Fixed bug where backspace would sometimes produce font elements on WebKit. - Fixed bug where WebKit would produce spans out of various inline elements when using backspace. - Fixed bug where IE9 wouldn't properly update image styles when images where resized. - Fixed bug where drag/drop of noneditable elements didn't work correctly. - Fixed bug where applying formatting to all contents wouldn't work correctly when an end point was inside an empty bock. Patch contributed by Jose Luiz. - Fixed bug where IE10 removed the scopeName from the DOM element interface and there for it produced an undefined string in element path. - Fixed bug where the caret would be placed at an incorrect location if you applied block formatting while having the caret at the end of the block. - Fixed bug where applying column changes using the cell dialog would only update the first column. Patch contributed by krzyko. - Fixed bug where the visualblocks plugin would force editor focus if it was turned on by default. - Fixed bug where the tabfocus plugin would tab to iframes these are now ignored. - Fixed bug where format drop down list wouldn't show the currently active format for a parent element. - Fixed bug where paste of plain text in IE 9 would remove the new line characters from text. - Fixed bug where the menu buttons/split button menus wouldn't be opened at the right location on older IE versions. - Fixed bug where Gecko browsers wouldn't properly display the right format when having the selection as specific places. - Fixed bug where shift+enter inside the body when having forced_root_blocks set to false would throw an error. - Fixed bug where the jQuery plugin would break the attr method of jQuery 1.7.2. Patch contributed by Markus Kemmerling. - Fixed so options like content_css accepts and array as well as a comma separated string as input. - Restructured the internal logic to make it more separate from Editor.js. - Updated the Sizzle engine to the latest version. -Version 3.5b2 (2012-03-15) - Rewrote the enter key logic to normalize browser behavior. - Fixed so enter within PRE elements produces a BR and shift+enter breaks/end the PRE. Can be disabled using the br_in_pre option. - Fixed bug where the selection wouldn't be correct after applying formatting and having the caret at the end of the new format node. - Fixed bug where the noneditable plugin would process contents on raw input calls for example on undo/redo calls. - Fixed bug where WebKit could produce an exception when a bookmark was requested when there wasn't a proper selection. - Fixed bug where WebKit would fail to open the image dialog since it would be returning false for a class name instead of a string. - Fixed so alignment and indentation works properly when forced_root_blocks is set to false. It will produce a DIV by default. -Version 3.5b1 (2012-03-08) - Added new event class that is faster and enables support for faking events. - Added new self_closing_elements, short_ended_elements, boolean_attributes, non_empty_elements and block_elements options to control the HTML Schema. - Added new schema option and support for the HTML5 schema. - Added new visualblocks plugin that shows html5 blocks with visual borders. - Added new types and selector options to make it easier to create editor instances with different configs. - Added new preview of formatting options in various listboxes. - Added new preview_styles option that enables control over what gets previewed. - Fixed bug where content css would be loaded twice into iframe. - Fixed bug where start elements with only whitespace in the attribute part wouldn't be correctly parsed. - Fixed bug where the advlink dialog would produce an error about the addSelectAccessibility function not being defined. - Fixed bug where the caret would be placed at an incorrect position if span was removed by the invalid_elements setting. - Fixed bug where elements inside a white space preserve element like pre didn't inherit the behavior while parsing. -Version 3.4.9 (2012-02-23) - Added settings to wordcount plugin to configure update rate and checking wordcount on backspace and delete using wordcount_update_rate and wordcount_update_on_delete. - Fixed bug in Webkit and IE where deleting empty paragraphs would remove entire editor contents. - Fixed bug where pressing enter on end of list item with a heading would create a new item with heading. - Fixed edit css style dialog text-decoration none checkbox so it disables other text-decoration options when enabled. - Fixed bug in Gecko where undo wasn't added when focus was lost. - Fixed bug in Gecko where shift-enter in table cell ending with BR doesn't move caret to new line. - Fixed bug where right-click on formatted text in IE selected the entire line. - Fixed bug where text ending with space could not be unformatted in IE. - Fixed bug where caret formatting would be removed when moving the caret when a selector expression was used. - Fixed bug where formatting would be applied to the body element when all contents where selected and format had both inline and selector parts. - Fixed bug where the media plugin would throw errors if you had iframe set as an invalid element in config. - Fixed bug where the caret would be placed at the top of the document if you inserted a table and undo:ed that operation. Patch contributed by Wesley Walser. - Fixed bug where content css files where loaded twice into the iframe. - Fixed so elements with comments would be trated as non empty elements. Patch contributed by Arjan Scherpenisse. -Version 3.4.8 (2012-02-02) - Fixed bug in IE where selected text ending with space cannot be formatted then formatted again to get original text. - Fixed bug in IE where images larger than editor area were being deselected when toolbar buttons are clicked. - Fixed bug where wrong text align buttons are active when multiple block elements are selected. - Fixed bug where selected link not showing in target field of link dialog in some selection cases. - Use settings for remove_trailing_br so this can be turned off instead of hard coding the value. - Fixed bug in IE where the media plugin displayed null text when some values aren't filled in. - Added API method 'onSetAttrib' that fires when the attribute value on a node changes. - Fix font size dropdown value not being updated when text already has a font size in the advanced template. - Fixed bug in IE where IE doesn't use ARIA attributes properly on options - causing labels to be read out 2 times. - Fixed bug where caret cannot be placed after table if table is at end of document in IE. - Fixed bug where adding range isn't always successful so we need to check range count otherwise an exception can occur. - Added spacebar onclick handler to toolbar buttons to ensure that the accessibility behaviour works correctly. - Fixed bug where a stranded bullet point would get created in WebKit. - Fixed bug where selecting text in a blockquote and pressing backspace toggles the style. - Fixed bug where pressing enter from a heading in IE, the resulting P tag below it shares the style property. - Fix white space in between spans from being deleted. - Fixed bug where scrollbars where visible in the character map dialog on Gecko. - Fixed issue with missing translation for one of the emoticons. - Fixed bug where dots in id:s where causing problems. Patch provided by Abhishek Dev. - Fixed bug where urls with an at sign in the path wouldn't be parsed correctly. Patch contributed by Jason Grout. - Fixed bug where Opera would remove the first character of a inline formatted word if you pressed backspace. - Fixed bugs with the autoresize plugin on various browsers and removed the need for the throbber. - Fixed performance issue where the contextmenu plugin would try to remove the menu even if it was removed. Patch contributed by mhu. -Version 3.4.7 (2011-11-03) - Modified the caret formatting behavior to word similar to common desktop wordprocessors like Word or Libre Office. - Fixed bug in Webkit - Cursor positioning does not work vertically within a table cell with multiple lines of text. - Fixed bug in IE where Inserting a table in IE8 places cursor in the second cell of the first row. - Fixed bug in IE where editor in a frame doesn't give focus to the toolbar using ALT-F10. - Fix for webkit and gecko so that deleting bullet from start of list outdents inner list items and moves first item into paragraph. - Fix new list items in IE8 not displayed on a new line when list contains nested list items. - Clear formatting in table cell breaks the cell. - Made media type list localisable. - Fix out of memory error when using prototype in media dialog. - Fixed bug where could not add a space in the middle of a th cell. - Fixed bug where adding a bullet between two existing bullets adds an extra one - Fixed bug where trying to insert a new entry midway through a bulleted list fails dismally when the next entry is tabbed in. - Fixed bug where pressing enter on an empty list item does not outdent properly in FF - Fixed bug where adding a heading after a list item in a table cell changes all styles in that cell - Fixed bug where hitting enter to exit from a bullet list moves cursor to the top of the page in Firefox. - Fixed bug where pressing backspace would not delete HRs in Firefox and IE when next to an empty paragraph. - Fixed bug where deleting part of the link text can cause a link with no destination to be saved. - Fixed bug where css style border widths wasn't handled correctly in table dialog. - Fixed bug where parsing invalid html contents on IE or WebKit could produce an infinite loop. - Fixed bug where scripts with custom script types wasn't properly passed though the editor. - Fixed issue where some Japanese kanji characters wasn't properly entity encoded when numeric entity mode was enabled. - Made emoticons dialog use the keyboard naviation. - Added navigation instructions to the symbols dialog. - Added ability to set default values for the media plugin. - Added new font_size_legacy_values option for converting old font element sizes to span with font-size properties. - Fixed bug where the symbols dialog was not accessible. - Added quirk for IE ensuring that the body of the document containing tinyMCE has a role="application" for accessibility. - Fixed bug where the advanced color picker wasn't working properly on FF 7. - Fixed issue where the advanced color picker was producing uppercase hex codes. - Fixed bug where IE 8 could throw exceptions if the contents contained resizable content elements. - Fixed bug where caret formatting wouldn't be correctly applied to previous sibling on WebKit. - Fixed bug where the select boxes for font size/family would loose it's value on WebKit due to recent iOS fixes. -Version 3.4.6 (2011-09-29) - Fixed bug where list items were being created for empty divs. - Added support in Media plugin for audio media using the embed tag - Fixed accessibility bugs in WebKit and IE8 where toolbar items were not being read. - Added new use_accessible_selects option to ensure accessible list boxes are used in all browsers (custom widget in firefox native on other browsers) - Fixed bug where classid attribute was not being checked from embed objects. - Fixed bug in jsrobot tests with intermittently failing. - Fixed bug where anchors wasn't updated properly if you edited them using IE 8. - Fixed bug where input method on WebKit on Mac OS X would fail to initialize when sometimes focusing the editor. - Fixed bug where it wasn't possible to select HR elements on WebKit by simply clicking on them. - Fixed bug where the media plugin wouldn't work on IE9 when not using the inlinepopups plugin. - Fixed bug where hspace,vspace,align and bgcolor would be removed from object elements in the media plugin. - Fixed bug where the new youtube format wouldn't be properly parsed by the media plugin. - Fixed bug where the style attribute of layers wasn't properly updated on IE and Gecko. - Fixed bug where editing contents in a layer would fail on Gecko since contentEditable doesn't inherit properly. - Fixed bug where IE 6/7 would produce JS errors when serializing contents containing layers. -Version 3.4.5 (2011-09-06) - Fixed accessibility bug in WebKit where the right and left arrow keys would update native list boxes. - Added new whitespace_elements option to enable users to specify specific elements where the whitespace is preserved. - Added new merge_siblings option to formats. This option makes it possible to disable the auto merging of siblings when applying formats. - Fixed bug in IE where trailing comma in paste plugin would cause plugin to not run correctly. - Fixed bug in WebKit where console messages would be logged when deleting an empty document. - Fixed bug in IE8 where caret positioned is on list item instead of paragraph when outdent splits the list - Fixed bug with image dialogs not inserting an image if id was omitted from valid_elements. - Fixed bug where the selection normalization logic wouldn't properly handle image elements in specific config cases. - Fixed bug where the map elements coords attribute would be messed up by IE when serializing the DOM. - Fixed bug where IE wouldn't properly handle custom elements when the contents was serialized. - Fixed bug where you couldn't move the caret in Gecko if you focused the editor using the API or a UI control. - Fixed bug where adjacent links would get merged on IE due to bugs in their link command. - Fixed bug where the color split buttons would loose the selection on IE if the editor was placed in a frame/iframe. - Fixed bug where floated images in WebKit wouldn't get properly linked. - Fixed bug where the fullscreen mode in a separate window wasn't forced into IE9+ standards mode. - Fixed bug where pressing enter in an empty editor on WebKit could produce DIV elements instead of P. - Fixed bug where spans would get removed incorrectly when merging two blocks on backspace/delete on WebKit. - Fixed bug where the editor contents wouldn't be completely removed on backspace/delete on WebKit. - Fixed bug where the fullpage plugin wouldn't properly render style elements in the head on IE 6/7. - Fixed bug where the nonbreaking_force_tab option in the nonbreaking plugin wouldn't work on Gecko/WebKit. - Fixed bug where the isDirty state would become true on non IE browsers if there was an table at the end of the contents. - Fixed bug where entities wasn't properly encoded on WebKit when pasting text as plain text. - Fixed bug where empty editors would produce an exception of valid_elements didn't include body and forced_root_blocks where disabled. - Fixed bug where the fullscreen mode wouldn't retain the header/footer in the fullpage plugin. - Fixed issue where the plaintext_mode and plaintext_mode_sticky language keys where swapped. -Version 3.4.4 (2011-08-04) - Added new html5 audio support. Patch contributed by Ronald M. Clifford. - Added mute option for video elements and preload options for video/audio patch contributed by Dmitry Kalinkin. - Fixed selection to match visual selection before applying formatting changes. - Fixed browser specific bugs in lists for WebKit and IE. - Fixed bug where IE would scroll the window if you closed an inline dialog that was larger than the viewport. Patch by Laurence Keijmel. - Fixed bug where pasting contents near a span element could remove parts of that span. Patch contributed by Wesley Walser. - Fixed bug where formatting change would be lost after pressing enter. - Fixed bug in WebKit where deleting across blocks would add extra styles. - Fixed bug where moving cursor vertically in tables in WebKit wasn't working. - Fixed bug in IE where deleting would cause error in console. - Fixed bug where the formatter was not applying formats across list elements. - Fixed bug where the wordcount plugin would try and update the wordcount if tinymce had been destroyed. - Fixed bug where tabfocus plugin would attempt to focus elements not displayed when their parent element was hidden. - Fixed bug where the contentEditable state would sometimes be removed if you deleted contents in Gecko. - Fixed bug where inserting contents using mceInsertContent would fail if "span" was disabled in valid_elements. - Fixed bug where initialization might fail if some resource on gecko wouldn't load properly and fire the onload event. - Fixed bug where ctrl+7/8/9 keys wouldn't properly add the specific formats associated with them. - Fixed bug where the HTML tags wasn't properly closed in the style plugins properties dialog. - Fixed bug where the list plugin would produce an exception if the user tried to delete an element at the very first location. -Version 3.4.3.2 (2011-06-30) - Fixed bug where deleting all of a paragraph inside a table cell would behave badly in webkit. - Fixed bugs in tests in firefox5 and WebKit. - Fixed bug where selection of table cells would produce an exception on Gecko. - Fixed bug where the caret wasn't properly rendered on Gecko when the editor was hidden. - Fixed bug where pasting plain text into WebKit would produce a pre element it will now produce more semantic markup. - Fixed bug where selecting list type formats using the advlist plugin on IE8 would loose editor selection. - Fixed bug where forced root blocks logic wouldn't properly pad elements created if they contained data attributes. - Fixed bug where it would remove all contents of the editor if you inserted an image when not having a caret in the document. - Fixed bug where the YUI compressor wouldn't properly encode strings with only a quote in them. - Fixed bug where WebKit on iOS5 wouldn't call nodeChanged when the selection was changed. - Fixed bug where mceFocus command wouldn't work properly on Gecko since it didn't focus the body element. - Fixed performance issue with the noneditable plugin where it would enable/disable controls to often. -Version 3.4.3.1 (2011-06-16) - Fixed bug where listboxes were not being handled correctly by JAWS in firefox with the o2k7 skin. - Fixed bug where custom buttons were not being rendered correctly when in high contrast mode. - Added support for iOS 5 that now supporting contentEditable in it's latest beta. - Fixed bug where urls in style attributes with a _ character followed by a number would cause incorrect output. - Fixed bug where custom_elements option wasn't working properly on IE browsers. - Fixed bug where custom_elements marked as block elements wouldn't get correctly treated as block elements. - Fixed bug where attributes with </> wasn't properly encoded as XML entities. -Version 3.4.3 (2011-06-09) - Fixed bug where deleting backwards before an image into a list would put the cursor in the wrong location. - Fixed bug where styles plugin would not apply styles across multiple selected block elements correctly. - Fixed bug where cursor would jump to start of document when selection contained empty table cells in IE8. - Fixed bug where applied styles wouldn't be kept if you pressed enter twice to produce two paragraphs. - Fixed bug where a ghost like caret would appear on Gecko when pressing enter while having a text color applied. - Fixed bug where IE would produce absolute urls if you inserted a image/link and reloaded the page. - Fixed bug where applying a heading style to a list item would cascade style to children list items. - Fixed bug where Editor loses focus when backspacing and changing styles in WebKit. - Fixed bug where exception was thrown in tinymce.util.URI when parsing a relative URI and no base_uri setting was provided. - Fixed bug where alt-f10 was not always giving focus to the toolbar on Safari. - Added new 'allow_html_in_named_anchor' option to allow html to occur within a named anchor tag. Use at own risk. - Added plugin dependency support. Will autoload plugins specified as a dependency if they haven't been loaded. - Fixed bug where the autolink plugin didn't work with non-English keyboards when pressing ). - Added possibility to change properties of all table cells in a column. - Added external_image_list option to get images list from user-defined variable or function. - Fixed bug where the autoresize plugin wouldn't reduce the editors height on Chrome. - Fixed bug where table size inputs were to small for values with size units. - Fixed bug where table cell/row size input values were not validated. - Fixed bug where menu item line-height would be set to wrong value by external styles. - Fixed bug where hasUndo() would return wrong answer. - Fixed bug where page title would be set to undefined by fullpage plugin. - Fixed bug where HTML5 video properties were not updated in embedded media settings. - Fixed bug where HTML comment on the first line would cause an error. - Fixed bug where spellchecker menu was positioned incorrectly on IE. - Fixed bug where breaking out of list elements on WebKit would produce a DIV instead of P after the list. - Fixed bug where pasting from Word in IE9 would add extra BR elements when text was word wrapped. - Fixed bug where numeric entities with leading zeros would produce incorrect decoding. - Fixed bug where hexadecimal entities wasn't properly decoded. - Fixed bug where bookmarks wasn't properly stored/restored on undo/redo. - Fixed bug where the mceInsertCommand didn't retain the values of links if they contained non url contents. - Fixed bug where the valid_styles option wouldn't be properly used on styles for specific elements. - Fixed so contentEditable is used for the body of the editor if it's supported. - Fixed so trailing BR elements gets removed even when forced_root_blocks option was set to false/null. - Fixed performance issue with mceInsertCommand and inserting very simple contents. - Fixed performance issue with older IE version and huge documents by optimizing the forced root blocks logic. - Fixed performance issue with table plugin where it checked for selected cells to often. - Fixed bug where creating a link on centered/floated image would produce an error on WebKit browsers. - Fixed bug where Gecko would remove single paragraphs if there where contents before/after it. - Fixed bug where the scrollbar would move up/down when pasting contents using the paste plugin. -Version 3.4.2 (2011-04-07) - Added new 'paste_text_sticky_default' option to paste plugin, enables you to set the default state for paste as plain text. - Added new autoresize_bottom_margin option to autoresize plugin that enables you to add an extra margin at the bottom. Patch contributed by Andrew Ozz. - Rewritten the fullpage plugin to handle style contents better and have a more normalized behavior across browsers. - Fixed bug where contents inserted with mceInsertContent wasn't parsed using the default dom parser. - Fixed bug where blocks containing a single anchor element would be treated as empty. - Fixed bug where merging of table cells on IE 6, 7 wouldn't look correctly until the contents was refreshed. - Fixed bug where context menu wouldn't work properly on Safari since it was passing out the ctrl key as pressed. - Fixed bug where image border color/style values were overwritten by advimage plugin. - Fixed bug where setting border in advimage plugin would throw error in IE. - Fixed bug where empty anchors list in link settings wasn't hidden. - Fixed bug where xhtmlextras popups were missing localized popup-size parameters. - Fixed bug where the context menu wouldn't select images on WebKit browsers. - Fixed bug where paste plugin wouldn't properly extract the contents on WebKit due to recent changes in browser behavior. - Fixed bug where focus of the editor would get on control contents on IE lost due to a bug in the ColorSplitButton control. - Fixed bug where contextmenu wasn't disabled on noneditable elements. - Fixed bug where getStyle function would trigger error when called on element without style property. - Fixed bug where editor fail to load if Javascript Compressor was used. - Fixed bug where list-style-type=lower-greek would produce errors in IE<8. - Fixed bug where spellchecker plugin would produce errors on IE6-7. - Fixed bug where theme_advanced_containers configuration option causes error. - Fixed bug where the mceReplaceContent command would produce an error since it didn't correctly handle a return value. - Fixed bug where you couldn't enter float point values for em in dialog input fields since it wouldn't be considered a valid size. - Fixed bug in xhtmlxtras plugin where it wasn't possible to remove some attributes in the attributes dialog. -Version 3.4.1 (2011-03-24) - Added significantly improved list handling via the new 'lists' plugin. - Added 'autolink' plugin to enable automatically linking URLs. Similar to the behavior IE has by default. - Added 'theme_advanced_show_current_color' setting to enable the forecolor and backcolor buttons to continuously show the current text color. - Added 'contextmenu_never_use_native' setting to disable the ctrl-right-click showing the native browser context menu behaviour. - Added 'paste_enable_default_filters' setting to enable the default paste filters to be disabled. - Fixed bug where selection locations on undo/redo didn't work correctly on specific contents. - Fixed bug where an exception would be trown on IE when loading TinyMCE inside an iframe. - Fixed bug where some ascii numeric entities wasn't properly decoded. - Fixed bug where some non western language codes wasn't properly decoded/encoded. - Fixed bug where undo levels wasn't created when deleting contents on IE. - Fixed bug where the initial undo levels bookmark wasn't updated correctly. - Fixed bug where search/replace wouldn't be scoped to editor instances on IE8. - Fixed bug where IE9 would produce two br elements after block elements when pasting. - Fixed bug where IE would place the caret at an incorrect position after a paste operation. - Fixed bug where a paste operation using the keyboard would add an extra undo level. - Fixed bug where some attributes/elements wasn't correctly filtered when invalid contents was inserted. - Fixed bug where the table plugin couldn't correctly handle invalid table structures. - Fixed bug where charset and title of the page were handled incorrectly by the fullpage plugin. - Fixed bug where toggle states on some of the list boxes didn't update correctly. - Fixed bug where sub/sub wouldn't work correctly when done as a caret action in Chrome 10. - Fixed bug where the constrain proportions checkbox wouldn't work in the media plugin. - Fixed bug where block elements containing trailing br elements wouldn't treated properly if they where invalid. - Fixed bug where the color picker dialog wouldn't be rendered correctly when using the o2k7 theme. - Fixed bug where setting border=0 using advimage plugin invalid style attribute content was created in Chrome. - Fixed bug with references to non-existing images in css of fullpage plugin. - Fixed bug where item could be unselected in spellchecker's language selector. - Fixed bug where some mispelled words could be not highlighted using spellchecker plugin. - Fixed bug where spellchecking would merge some words on IE. - Fixed bug where spellchecker context menu was not always positioned correctly. - Fixed bug with empty anchors list in advlink popup when Invisible Elements feature was disabled. - Fixed bug where older IE versions wouldn't properly handle some elements if they where placed at the top of editor contents. - Fixed bug where selecting the whole table would enable table tools for cells and rows. - Fixed bug where it wasn't possible to replace selected contents on IE when pasting using the paste plugin. - Fixed bug where setting text color in fullpage plugin doesn't work. - Fixed bug where the state of checkboxes in media plugin wouldn't be set correctly. - Fixed bug where black spade suit character was not included in special character selector. - Fixed bug where setting invalid values for table cell size would throw an error in IE. - Fixed bug where spellchecking would remove whitespace characters from PRE block in IE. - Fixed bug where HR was inserted inside P elements instead of splitting them. - Fixed bug where extra, empty span tags were added when using a format with both selector and inline modes. - Fixed bug where bullet lists weren't always detected correctly. - Fixed bug where deleting some paragraphs on IE would cause an exception. - Fixed bug where the json encoder logic wouldn't properly encode \ characters. - Fixed bug where the onChange event would be fired when the editor was first initialized. - Fixed bug where mceSelected wouldn't be removed properly from output even if it's an internal class. - Fixed issue with table background colors not being transparent. This improves compliance with users browser color preferences. - Fixed issue where styles were not included when using the full page plugin. - Fixed issue where drag/drop operations wasn't properly added to the undo levels. - Fixed issue where colors wasn't correctly applied to elements with underline decoration. - Fixed issue where deleting some paragraphs on IE would cause an exception. -Version 3.4 (2011-03-10) - Added accessibility example with various accessibility options contributed by Ephox. - Fixed bug where attributes wasn't properly handled in the xhtmlxtras plugin. - Fixed bug where the image.htm had some strange td artifacts probably due to auto merging. - Fixed bug where the ToolbarGroup had an missing reference to this in it's destroy method. - Fixed bug with the resizeBy function in the advanced theme where it was scaled by the wrong parent. - Fixed bug where an exception would be thrown by the element if the page was served in xhtml mode. - Fixed bug where mceInsertContent would throw an exception when page was served in xhtml mode. - Fixed bug where you couldn't select a forground/background color when page was served in xhtml mode. - Fixed bug where the editor would scroll to the toolbar when clicked due to a call to focus in ListBox. - Fixed bug where pages with rtl dir wouldn't render split buttons correctly when using the o2k7 theme. - Fixed bug where anchor elements with names wasn't properly collapsed as they where in 3.3.x. - Fixed bug where WebKit wouldn't properly handle image selection if it was done left to right. - Fixed bug where the formatter would align images when the selection range was collapsed. - Fixed bug where the image button would be active when the selection range was collapsed. - Fixed bug where the element_format option wasn't used by the new (X)HTML serializer logic. - Fixed bug where the table cell/row dialogs would produce empty attributes. - Fixed bug where the tfoot wouldn't be added to the top of the table. - Fixed bug where the formatter would merge siblings with white space between them. - Fixed bug where pasting headers and paragraphs would produce an extra paragraph. - Fixed bug where the ColorSplitButton would throw an exception if you clicked out side a color. - Fixed bug where IE9 wouldn't properly produce new paragraphs on enter if the current paragraph had formatting. - Fixed bug where multiple BR elements at end of block elements where removed. - Fixed bug where fullscreen plugin wouldn't correctly display the edit area on IE6 for long pages. - Fixed bug where paste plugin wouldn't properly encode raw entities when pasting in plain text mode. - Fixed bug where the search/replace plugin wouldn't work correctly on IE 9. - Fixed so the drop menus doesn't get an outline border visible when focused, patch contributed by Ephox. - Fixed so the values entered in the color picker are forced to hex values. - Removed dialog workaround for IE 9 beta since the RC is now out and people should upgrade. - Removed obsolete calls in various plugins to the mceBeginUndoLevel command. -Version 3.4b3 (2011-02-10) - Added WAI-ARIA support for the main UI and dialogs this feature was contributed by Ephox. - Added iframe support to media plugin in order to handle the new YouTube HTML5 video formats. - Fixed bug where anchors would wrap the text contents after it due to a bug in the DomParser logic. - Fixed bug where the selected state wouldn't be removed on ListBox controls when a menu item was selected. - Fixed bug where IE could throw an unspecified error exception when the getBookmark logic was executed. - Fixed bug where IE would throw an invalid argument error when focus was applied to an empty editor instance. - Fixed bug where applying inline format wouldn't work if the start cell in the selection was empty. - Fixed bug where auto detection logic for YouTube and Google Video wouldn't work in the new media plugin. - Fixed bug where td elements would get a colspan/rowspan of 1 when created by the table plugin. - Fixed bug where removal/padding of empty elements wasn't handled correctly. - Fixed bug where internal elements would show up in element path. - Fixed bug where internal elements would get serialized as valid output. - Fixed bug where color wasn't correctly applied to anchor elements. - Fixed bug where float option in the style plugin dialog wouldn't be handled correctly on WebKit. - Fixed bug where the tinymce.dom.TreeWalker prev function wouldn't walk the DOM correctly. - Fixed bug where mceInsertContent command could produce empty block elements after the inserted content. - Fixed bug where mceInsertContent command wouldn't apply visual aids on tables and similar elements. - Fixed bug where empty block elements would get double br bogus elements in them. - Fixed bug where the color menu wouldn't apply the color correctly on IE when the viewport was to small. - Fixed bug where right clicking out side the body element of the editor iframe would prevent paste from working on IE. - Fixed bug where the onContextMenu event wouldn't fire correctly on IE if you clicked out side the body element. - Fixed bug where the onContextMenu event wouldn't fire correctly on modern Opera versions that now support it by default. - Fixed bug where legacy content wasn't converted correctly when inserted using mceInsertContent or through the source dialog. - Fixed bug where resizing images or tables wouldn't update the style attribute correctly or leave data-mce prefixed attributes. - Fixed bug where adding links wouldn't work correctly when using TinyMCE jQuery version with jQuery 1.5. - Fixed bug where single quotes inside param elements wasn't treated correctly by the media plugin. - Fixed bug where pasting plain text in WebKit wouldn't work correctly. It will now auto detect the WebKit bug and use plain text mode. - Fixed bug where the DomParser would fail to move out invalid elements within invalid elements on complex contents. - Fixed bug where paste as plain text would not decode html entities properly. - Fixed bug where large paragraphs would cause incorrect scrolling behavior if you would split them using enter. - Fixed bug where the SaxParser wouldn't properly parse some specific short ended elements. - Fixed so mceReplaceContent supports caret position and makes sure that the contents inserted gets validated. - Fixed so unnecessary traling br elements in blocks gets removed on Gecko/WebKit when using mceInsertContent command. - Moved some plugin css contents into the skin content css files to reduce the number of http requests. - Moved some plugin specific images into the theme img directory since they can then be shared. -Version 3.4b2 (2011-01-13) - Added new custom flash player, this player supports mp4 and flv and has skin support. - Fixed so mceInsertContent handles context correctly to enforce valid nesting of elements. - Fixed bug where scrolling would become jerky on IE on some contents. - Fixed bug where paste as plain text would throw exception of missing entities setting. - Fixed bug where anchor nodes where removed by the new serializer engine. - Fixed bug where IE would crash if when backspace where used on some specific contents. - Fixed bug where pasting of plain text in WebKit would result in merging of text lines. - Fixed bug where it wasn't possible to delete images or tables using backspace on IE9. - Fixed bug where urls in styles would generate a JS error due to incorrect scope. - Fixed bug where copy paste from Java applications would produce extra contents in FF on Mac. - Fixed bug where the verify_html option wouldn't allow all elements and attributes. -Version 3.4b1 (2010-12-20) - Added new serialization engine that increases performance and enforces valid output according to the specified schema settings. - Added new HTML parser logic used by the serialization engine and can handle malformed html contents. - Added new valid_children config option, enables more fine grain control of elements can be inside other elements. - Added new entities encoding logic boost performance and will only encode entities based on context i.e. attributes/text nodes. - Added new protect setting that enables users to protect template items from being removed by the serializer logic. - Added new {$caret} marker for the mceInsertContent command. Makes it possible to move the caret to a specific position when inserting contents. - Added new validation of anchor names. Only valid W3C names will be accepted. - Replaced the internal _mce_ prefixed attributes to the more standard HTML5 data-mce- prefix. This will also resolve future browser santiaztion issues. - Fixed bug where the paste plugin wouldn't convert Word lists with more than 9 items to real ol lists. Patch contributed by Mike (yogaboy). - Fixed bug where clicking on a format title would produce errors if the current selection didn't have any formats. - Fixed bug where paste of simple texts wouldn't work correctly in Gecko using the paste plugin since it keeps block formatting. - Fixed bug where confirm dialogs didn't display correctly due to resent IE9 fixes. - Fixed bug where spaces in URLs wouldn't be properly encoded to %20 if the user entered them in the link dialogs. Patch contributed by Ephox. - Fixed bug where the image alignment buttons wouldn't reposition the resize handles on FF due to a browser issue. Patch contributed by Ephox. - Fixed bug where the compareBoundaryPoints method of the IE Range class didn't work correctly. Patch contributed by Ephox. - Fixed bug where selection of elements using double click wouldn't select the clicked element but rather the parent node on FF. Patch contributed by Ephox. - Fixed bug where IE would scroll the user to the current selection causing parent document to scroll as well. Patch contributed by Ephox. - Fixed bug where style compression would incorrectly compress items with different values. It now only compresses if the values are the same. Patch contributed by Ephox. - Fixed bug where FF would add non breaking spaces outside TD elements if formatting was applied to table cells. Patch contributed by Ephox. - Fixed bug where the caret position would be lost on WebKit browsers if you pasted images multiple times. Patch contributed by Ephox. - Fixed bug where non word contents like * would be counted as words in the wordcount pluging. Patch contributed by David Balatero. - Fixed bug where the toggle absolute button in the layer plugin wouldn't remove the existing internal style attribute first. - Fixed bug where the autosave plugin would generate an exception on IE if the user had disabled userdata persistence. - Fixed bug where the paste plugin would remove dashed classes on IE since the regexps didn't include that character. - Fixed bug where applying text color would not add spans inside link elements. This is needed due to CSS style inheritance. - Fixed bug where applying block formats to empty elements wouldn't render correctly on IE. - Fixed bug where the searchreplace plugin would add a f or r character when shortcuts where used on IE while using default dialogs. - Fixed bug where Opera wouldn't load scripts correctly since the onreadystate would fire even though the script wasn't loaded. - Fixed issue where wouldn't be handled correctly in the bbcode plugin if entity_encoding was set to raw. - Fixed issue where contents would flicker since the content css files where asynchronously loaded. - Fixed bug where WebKit wouldn't create links on images with a float style. -Version 3.3.9.3 (2010-12-20) - Fixed issue where WebKit wouldn't correctly apply ins/del in xhtmlxtras plugin. - Fixed bug where paste as plaintext on WebKit wouldn't produce br and p elements correctly. - Fixed bug where the confirm dialog texts would be incorrectly placed due to recent IE 9 workarounds in the window.css. - Fixed bug where applying text color would not add spans inside link elements. This is needed due to CSS style inheritance. -Version 3.3.9.2 (2010-09-29) - Fixed bug where placing the caret in IE 9 beta 1 would not work correctly if you clicked out side the document body element. - Fixed bug where IE 9 beta 1 wouldn't resize the editor correctly since the events didn't fire as previous versions did. - Fixed bug where FF would produce an error message when being rendered inside a hidden div element. - Fixed bug where resize logic could produce a cookie with a width/height less than the size of the container. - Fixed bug where content_css wouldn't populate the styles dropdown correctly. -Version 3.3.9.1 (2010-09-23) - Fixed bug where WebKit browsers wouldn't activate the image button when images where selected. - Fixed bug where Opera Presto 10.60 deletes elements when restoring bookmarks. - Fixed bug where IE9 beta1 doesn't handle regexp replacement values correctly. - Fixed bug where IE9 beta1 didn't render the inline dialogs correctly due to a bug with CSS clip. - Fixed bug where IE9 beta1 would produce error messages on load since they removed the document.recalc method. - Fixed bug where IE9 beta1 would produce <html xmlns=""> since they haven't implemented document.implementation.createDocument correctly. - Fixed bug where IE9 beta1 would searchreplace doesn't work since their native DOM Range doesn't have a find method. - Fixed bug where IE9 beta1 would render the source view incorrectly due to incorrect viewport size measurements. - Fixed bug where IE9 beta1 would crash when running the basic functionality unit tests. - Fixed bug where IE9 beta1 would wrap elements in blocks correctly due to changes to the selection object. - Fixed bug where IE9 beta1 would fail to insert contents since they havn't implemented the createContextualFragment method in their DOM Range. - Fixed bug where IE9 beta1 would fail to handle image selection since they currently doesn't support control selections in their DOM Range. - Fixed bug where IE9 beta1 would fail to load scripts since they fire the onload event before the scripts are parsed and executed. -Version 3.3.9 (2010-09-08) - Fixed bug where inserting table rows into a table with subtable would produce an incorrect column count. - Fixed bug where the selection of cells in a table with subtables could produce invalid selections. - Fixed bug where the table plugin would produce a script error if you tried to move the caret before a first child table. - Fixed bug where the keep_styles feature on IE would move the caret to an incorrect location at the end of list blocks. - Fixed so attributes from legacy elements such as font gets retained when they get converted to spans. - Fixed minor issue where the select boxes wouldn't be set the not set by default in the table dialog. -Version 3.3.8 (2010-06-30) - On IE8+ and FireFox 3.5+, dragging an image now correctly adds an undo - event. - Fixed bug where WebKit would not move the caret to a correct position after a paste operation. - Fixed bug where WebKit would produce a div wrapper element when pasting some contents. - Fixed bug where the visual chars and nonbreaking plugin wouldn't show nbsp elements correctly. - Fixed bug where the format states would be enabled even after the format was removed. - Fixed bug where the delete key would move the caret to an incorrect position. - Fixed bug where it wasn't possible to toggle of the current font size/family/style by clicking the title item. - Fixed bug where the abbr element wouldn't get serialized correctly on IE6. - Fixed so that the examples checks if they are executed from the local file system since that might not work properly. -Version 3.3.7 (2010-06-10) - Fixed bug where context menu would produce an error on IE if you right clicked twice and left clicked once. - Fixed bug where resizing of the window on WebKit browsers in fullscreen mode wouldn't position the statusbar correctly. - Fixed bug where IE would produce an error if the editor was empty and you where undoing to that initial level. - Fixed bug where setting the table background on gecko would produce \" entities inside the url style property. - Fixed bug where the button states wouldn't be updated correctly on IE if you placed the caret inside the new element. - Fixed bug where undo levels wasn't properly added after applying styles or font sizes. - Fixed bug where IE would throw an error if you used "select all" on empty elements and applied formatting to that. - Fixed bug where IE could select one extra character when you did a bookmark call on a caret location. - Fixed bug where IE could produce a script error on delete since it would sometimes produce an invalid DOM. - Fixed bug where IE would return the wrong start element if the whole element was selected. - Fixed bug where formatting states wasn't updated on IE if you pressed enter at the end of a block with formatting. - Fixed bug where submenus for the context menu wasn't removed correctly when the editor was destroyed. - Fixed bug where Gecko could select the wrong element after applying format to multiple elements. - Fixed bug where Gecko would delete parts of the previous element if the selection range was a element selection. - Fixed bug where Gecko would not merge paragraph elements correctly if they contained br elements. - Fixed bug where the cleanup button could produce span artifacts if you pressed it twice in a row. - Fixed bug where the fullpage plugin header/footer would be have it's header reseted to it's initial state on undo. - Fixed bug where an empty paragraph would be collapsed if you performed a cleanup while having the caret inside it. - Fixed a few memory leaks on IE especially with drop menus in listboxes and the spellchecker. - Fixed so formats applied to the current caret gets merged to reduce the number of output elements. - Added the latest version of Sizzle for the CSS selector logic to fix a compatibility issue with prototype. -Version 3.3.6 (2010-05-20) - Fixed bug where a editor.focus call could produce errors on IE in very specific scenarios. - Fixed bug where Gecko would produce an error if you unformatted text inside an empty element. - Fixed bug where IE would produce an error if the caret was placed before a table and you used the align buttons. - Fixed bug where the font size drop down didn't display the a preview correctly. - Fixed bug where the paste plugin wouldn't include all contents some times on WebKit browsers. - Fixed bug where the plain text mode toggle wouldn't work properly on WebKit. - Fixed bug where the editors statusbar would become invisible when you resized the window in fullscreen mode. -Version 3.3.5.1 (2010-05-07) - Fixed a critical bug with the fullscreen plugin. Produced error messages when the state was toggled on/off. -Version 3.3.5 (2010-05-06) - Added new merge_with_parents option to formats, enables the control of removal of elements with similar parents. - Fixed so the default behavior for applying classes isn't a toggle state but the old behavior from before the 3.3 release. - Fixed bug where selecting contents using double click on Gecko would produce errors when using removing format. - Fixed bug where the IE DOM could get messed up when non valid contents was pasted into the editor. - Fixed bug where merging selected table cells using the context menu didn't work as expected. - Fixed bug where some nestled formatting would be applied incorrectly. - Fixed bug with enter in list items when using the force_br_newlines mode on WebKit patch contributed by Ryan Koopmans. - Fixed bug where undo/redo could produce js errors on some specific operations. - Fixed bug where the theme_advanced_font_sizes didn't work as before 3.3 when complex settings where used. - Fixed bug where the table plugin would copy cell/row id attributes when making new rows/cells. -Version 3.3.4 (2010-04-27) - Fixed bug where fullscreen plugin would add two editor instances to EditorManager collection. - Fixed bug where it was difficult to enter text on non western languages such as Japanese on IE. - Fixed bug where removing contents from nodes could result in an exception when using undo/redo. - Fixed bug with selection of images inside layers or other resizable containers on IE. - Fixed so editors isn't initialized on iPhone/iPad devices since they don't have caret support. -Version 3.3.3 (2010-04-19) - Added new script_loaded callback function setting for the jQuery plugin. - Added various fixes and new rpc methods for the spellchecker plugin. Patch contributed by Michael Peters. - Removed some unnecessary inline style information from some of the dialogs. - Fixed some issues with the chaining for the TinyMCE jQuery plugin. - Fixed so any extra arguments passed to patched jQuery functions gets passed through. Patch contributed by Lee Henson. - Fixed so spellchecking/contextmenu can be toggled on/off if the browser has native spellchecker support. - Fixed bug where some texts in the new paste plugin wasn't placed in language pack. - Fixed bug where IE would produce an incorrect information message when cutting. - Fixed bug where removing items using the xhtmlxtras plugin wouldn't work correctly. - Fixed bug where setting table background images would add extra quotes on Gecko. - Fixed bug where shortcut for bold/italic/underline wouldn't work properly on WebKit. - Fixed bug where IE would produce an error message if only contents was an image tag and bold was used. - Fixed bug where the caret would move if alignment was applied to empty block elements. - Fixed bug where some shortcut key commands wouldn't apply formatting correctly. -Version 3.3.2 (2010-03-25) - Fixed bug where it was possible to scale the editor iframe smaller than the editor UI. - Fixed bug where some of the resizing option didn't work with the new live resize. - Fixed bug where the format listbox didn't show nestled formats correctly. - Fixed bug where the native listboxes didn't work correctly. - Fixed bug where font size selection in using the legacyoutput plugin would produce errors. - Fixed so block and blockquote formats remove their matching element regardless of it's attributes. -Version 3.3.1 (2010-03-18) - Added new live resize feature, the editor contents is now visible while resizing. - Fixed bug where some valid_element patterns would produce an unknown property error. - Fixed bug where it wasn't possible to toggle off blockquotes. - Fixed bug where an undo level wasn't produced when applying formatting using the styles dropdown. - Fixed bug where IE 6/7 wouldn't perform caret... [truncated message content] |
From: <luc...@us...> - 2012-08-06 19:45:40
|
Revision: 9996 http://xoops.svn.sourceforge.net/xoops/?rev=9996&view=rev Author: luciorota Date: 2012-08-06 19:45:30 +0000 (Mon, 06 Aug 2012) Log Message: ----------- Added Paths: ----------- XoopsModules/xhttperror/ XoopsModules/xhttperror/branches/ XoopsModules/xhttperror/releases/ XoopsModules/xhttperror/trunk/ XoopsModules/xhttperror/trunk/xhttperror/ XoopsModules/xhttperror/trunk/xhttperror/admin/ XoopsModules/xhttperror/trunk/xhttperror/admin/about.php XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php XoopsModules/xhttperror/trunk/xhttperror/admin/admin_header.php XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php XoopsModules/xhttperror/trunk/xhttperror/admin/index.html XoopsModules/xhttperror/trunk/xhttperror/admin/index.php XoopsModules/xhttperror/trunk/xhttperror/admin/menu.php XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php XoopsModules/xhttperror/trunk/xhttperror/class/ XoopsModules/xhttperror/trunk/xhttperror/class/error.php XoopsModules/xhttperror/trunk/xhttperror/class/index.html XoopsModules/xhttperror/trunk/xhttperror/class/report.php XoopsModules/xhttperror/trunk/xhttperror/css/ XoopsModules/xhttperror/trunk/xhttperror/css/index.html XoopsModules/xhttperror/trunk/xhttperror/css/style.css XoopsModules/xhttperror/trunk/xhttperror/docs/ XoopsModules/xhttperror/trunk/xhttperror/docs/CHANGELOG.txt XoopsModules/xhttperror/trunk/xhttperror/docs/INSTALL.txt XoopsModules/xhttperror/trunk/xhttperror/docs/LANGUAGES.txt XoopsModules/xhttperror/trunk/xhttperror/docs/LANG_DIFF.txt XoopsModules/xhttperror/trunk/xhttperror/docs/LICENSE.txt XoopsModules/xhttperror/trunk/xhttperror/docs/README1st.txt XoopsModules/xhttperror/trunk/xhttperror/docs/SMARTY_DIFF.txt XoopsModules/xhttperror/trunk/xhttperror/docs/UPGRADE.txt XoopsModules/xhttperror/trunk/xhttperror/docs/index.html XoopsModules/xhttperror/trunk/xhttperror/error.php XoopsModules/xhttperror/trunk/xhttperror/header.php XoopsModules/xhttperror/trunk/xhttperror/images/ XoopsModules/xhttperror/trunk/xhttperror/images/bg.png XoopsModules/xhttperror/trunk/xhttperror/images/bookmarks/ XoopsModules/xhttperror/trunk/xhttperror/images/bookmarks/bookmarks/ XoopsModules/xhttperror/trunk/xhttperror/images/bookmarks/bookmarks/index.html XoopsModules/xhttperror/trunk/xhttperror/images/bookmarks/index.html XoopsModules/xhttperror/trunk/xhttperror/images/bulb-grey.png XoopsModules/xhttperror/trunk/xhttperror/images/bulb-yell.png XoopsModules/xhttperror/trunk/xhttperror/images/del3.png XoopsModules/xhttperror/trunk/xhttperror/images/edit3.png XoopsModules/xhttperror/trunk/xhttperror/images/icons/ XoopsModules/xhttperror/trunk/xhttperror/images/icons/16x16/ XoopsModules/xhttperror/trunk/xhttperror/images/icons/16x16/index.html XoopsModules/xhttperror/trunk/xhttperror/images/icons/32x32/ XoopsModules/xhttperror/trunk/xhttperror/images/icons/32x32/error.png XoopsModules/xhttperror/trunk/xhttperror/images/icons/32x32/house.png XoopsModules/xhttperror/trunk/xhttperror/images/icons/32x32/index.html XoopsModules/xhttperror/trunk/xhttperror/images/icons/32x32/information.png XoopsModules/xhttperror/trunk/xhttperror/images/icons/32x32/report.png XoopsModules/xhttperror/trunk/xhttperror/images/icons/32x32/report_error.png XoopsModules/xhttperror/trunk/xhttperror/images/icons/arrow.gif XoopsModules/xhttperror/trunk/xhttperror/images/icons/index.html XoopsModules/xhttperror/trunk/xhttperror/images/icons/off.png XoopsModules/xhttperror/trunk/xhttperror/images/icons/on.png XoopsModules/xhttperror/trunk/xhttperror/images/index.html XoopsModules/xhttperror/trunk/xhttperror/images/left_both.png XoopsModules/xhttperror/trunk/xhttperror/images/menu/ XoopsModules/xhttperror/trunk/xhttperror/images/menu/index.html XoopsModules/xhttperror/trunk/xhttperror/images/right_both.png XoopsModules/xhttperror/trunk/xhttperror/images/xhttperror_slogo.png XoopsModules/xhttperror/trunk/xhttperror/images/xhttperror_slogo.xcf XoopsModules/xhttperror/trunk/xhttperror/images/xoopsmicrobutton.gif XoopsModules/xhttperror/trunk/xhttperror/include/ XoopsModules/xhttperror/trunk/xhttperror/include/config.php XoopsModules/xhttperror/trunk/xhttperror/include/functions.php XoopsModules/xhttperror/trunk/xhttperror/include/index.html XoopsModules/xhttperror/trunk/xhttperror/include/install_function.php XoopsModules/xhttperror/trunk/xhttperror/include/uninstall_function.php XoopsModules/xhttperror/trunk/xhttperror/include/update_function.php XoopsModules/xhttperror/trunk/xhttperror/index.html XoopsModules/xhttperror/trunk/xhttperror/index.php XoopsModules/xhttperror/trunk/xhttperror/js/ XoopsModules/xhttperror/trunk/xhttperror/js/index.html XoopsModules/xhttperror/trunk/xhttperror/js/script.js XoopsModules/xhttperror/trunk/xhttperror/language/ XoopsModules/xhttperror/trunk/xhttperror/language/english/ XoopsModules/xhttperror/trunk/xhttperror/language/english/admin.php XoopsModules/xhttperror/trunk/xhttperror/language/english/help/ XoopsModules/xhttperror/trunk/xhttperror/language/english/help/help.html XoopsModules/xhttperror/trunk/xhttperror/language/english/help/index.html XoopsModules/xhttperror/trunk/xhttperror/language/english/index.html XoopsModules/xhttperror/trunk/xhttperror/language/english/mail_template/ XoopsModules/xhttperror/trunk/xhttperror/language/english/mail_template/index.html XoopsModules/xhttperror/trunk/xhttperror/language/english/main.php XoopsModules/xhttperror/trunk/xhttperror/language/english/modinfo.php XoopsModules/xhttperror/trunk/xhttperror/language/index.html XoopsModules/xhttperror/trunk/xhttperror/sql/ XoopsModules/xhttperror/trunk/xhttperror/sql/index.html XoopsModules/xhttperror/trunk/xhttperror/sql/mysql.sql XoopsModules/xhttperror/trunk/xhttperror/templates/ XoopsModules/xhttperror/trunk/xhttperror/templates/admin/ XoopsModules/xhttperror/trunk/xhttperror/templates/admin/index.html XoopsModules/xhttperror/trunk/xhttperror/templates/blocks/ XoopsModules/xhttperror/trunk/xhttperror/templates/blocks/index.html XoopsModules/xhttperror/trunk/xhttperror/templates/index.html XoopsModules/xhttperror/trunk/xhttperror/templates/xhttperror_admin_errors_list.html XoopsModules/xhttperror/trunk/xhttperror/templates/xhttperror_admin_reports_list.html XoopsModules/xhttperror/trunk/xhttperror/templates/xhttperror_index.html XoopsModules/xhttperror/trunk/xhttperror/xoops_version.php Added: XoopsModules/xhttperror/trunk/xhttperror/admin/about.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/about.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/about.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,36 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); +$aboutAdmin = new ModuleAdmin(); +echo $aboutAdmin->addNavigation("about.php"); +echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); +include "admin_footer.php"; \ No newline at end of file Added: XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/admin_footer.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,37 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +global $pathImageAdmin; +echo "<div align='center'><a href='http://www.xoops.org' target='_blank'> + <img src='".$pathImageModule."/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a></div>"; +echo "<div class='center small italic pad5'> + <strong>" . $xoopsModule->getVar('name') . "</strong> "._AM_XHTTPERR_MAINTAINEDBY." + <a href='IN PROGRESS' title='Visit IN PROGRESS' class='tooltip' rel='external'>IN PROGRESS</a></div>"; +xoops_cp_footer(); Added: XoopsModules/xhttperror/trunk/xhttperror/admin/admin_header.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/admin_header.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/admin_header.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,99 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +include_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +$dirname = basename(dirname(dirname( __FILE__ ) )); + +// Include xoops admin header +include_once XOOPS_ROOT_PATH . '/include/cp_header.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; +include_once XOOPS_ROOT_PATH . '/class/tree.php'; +include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; +xoops_load ('XoopsUserUtility'); + +$module_handler =& xoops_gethandler('module'); +$xoopsModule = & $module_handler->getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathImageAdmin = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); +$pathImageModule = XOOPS_URL . '/modules/'. $GLOBALS['xoopsModule']->getVar('dirname') .'/images'; + +// Include module functions +include_once XOOPS_ROOT_PATH . "/modules/{$dirname}/include/config.php"; +include_once XOOPS_ROOT_PATH . "/modules/{$dirname}/include/functions.php"; + + + +// Check and load moduleadmin classes +$pathDir = $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin'); +$globalLanguage = $GLOBALS['xoopsConfig']['language']; +if ( file_exists($pathDir . '/language/' . $globalLanguage . '/main.php')){ + include_once $pathDir . '/language/' . $globalLanguage . '/main.php'; +} else { + include_once $pathDir . '/language/english/main.php'; +} +if ( file_exists($pathDir . '/moduleadmin.php')){ + include_once $pathDir . '/moduleadmin.php'; + //return true; +} else { + xoops_cp_header(); + echo xoops_error(_AM_XADDRESSES_NOFRAMEWORKS); + xoops_cp_footer(); + //return false; +} + +$myts =& MyTextSanitizer::getInstance(); + +// Get user groups +$groupPermHandler =& xoops_gethandler('groupperm'); +if ($xoopsUser) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); +} + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $xoopsTpl = new XoopsTpl(); +} + +$xoopsTpl->assign('pathImageIcon', $pathImageIcon); +$xoopsTpl->assign('pathImageAdmin', $pathImageAdmin); +//xoops_cp_header(); + +//Load module languages +xoops_loadLanguage('admin', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('modinfo', $xoopsModule->getVar("dirname")); +xoops_loadLanguage('main', $xoopsModule->getVar("dirname")); Added: XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/errors.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,152 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +$currentFile = basename(__FILE__); +include 'admin_header.php'; +$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : (isset($_REQUEST['error_id']) ? "edit_error" : 'list_errors'); + +// load classes +$errorHandler =& xoops_getModuleHandler('error', 'xhttperror'); +$reportHandler =& xoops_getModuleHandler('report', 'xhttperror'); + +// count errors +$countErrors = $errorHandler->getCount(); + + +switch($op ) { + default: + case 'list_errors' : + // render start here + xoops_cp_header(); + // render submenu + $modcreate_admin = new ModuleAdmin(); + echo $modcreate_admin->addNavigation('errors.php'); + $modcreate_admin->addItemButton(_AM_XHTTPERR_ERROR_ADD, '' . $currentFile . '?op=edit_error', 'add'); + echo $modcreate_admin->renderButton(); + + if($countErrors > 0) { + $criteria = new CriteriaCompo(); + $criteria->setSort('error_statuscode'); + $criteria->setOrder('ASC'); + $errors = $errorHandler->getObjects($criteria, true, false); + + $GLOBALS['xoopsTpl']->assign('errors', $errors); + $GLOBALS['xoopsTpl']->assign('token', $GLOBALS['xoopsSecurity']->getTokenHTML() ); + $GLOBALS['xoopsTpl']->display("db:xhttperror_admin_errors_list.html"); + } else { + echo _AM_XHTTPERR_ERROR_NOERRORS; + } + + include "admin_footer.php"; + break; + + + + case 'edit_error' : + case 'new_error' : + // render start here + xoops_cp_header(); + // render submenu + $modcreate_admin = new ModuleAdmin(); + echo $modcreate_admin->addNavigation('errors.php'); + $modcreate_admin->addItemButton(_AM_XHTTPERR_ERROR_LIST, '' . $currentFile . '?op=list_errors', 'list'); + echo $modcreate_admin->renderButton(); + + if (isset($_REQUEST['error_id'])) { + $error = $errorHandler->get($_REQUEST['error_id']); + } else { + $error = $errorHandler->create(); + + } + $form = $error->getForm(); + $form->display(); + + include "admin_footer.php"; + break; + + + + case 'save_error' : + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors() )); + } + if ( isset($_REQUEST['error_id']) ) { + $error =& $errorHandler->get($_REQUEST['error_id']); + } else { + $error =& $errorHandler->create(); + } + // Check statuscode + if ( isset($_REQUEST['error_statuscode']) ) { + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('error_statuscode', $_REQUEST['error_statuscode'])); + if ($errorHandler->getCount($criteria) > 0) { + redirect_header($currentFile, 3, _AM_XHTTPERR_STATUSCODE_EXISTS ); + } else { + $error->setVar('error_statuscode', $_REQUEST['error_statuscode']); + } + } + $error->setVar('error_title', $_REQUEST['error_title']); + $error->setVar('error_text', $_REQUEST['error_text']); + $error->setVar('error_text_html', $_REQUEST['error_text_html']); + $error->setVar('error_text_smiley', $_REQUEST['error_text_smiley']); + $error->setVar('error_text_breaks', $_REQUEST['error_text_breaks']); + $error->setVar('error_showme', $_REQUEST['error_showme']); + $error->setVar('error_redirect', $_REQUEST['error_redirect']); + $error->setVar('error_redirect_time', (int)$_REQUEST['error_redirect_time']); + $error->setVar('error_redirect_uri', $_REQUEST['error_redirect_uri']); + + if ( $errorHandler->insert($error) ) { + redirect_header($currentFile, 3, _AM_XHTTPERR_SAVEDSUCCESS ); + } else { + redirect_header($currentFile, 3, _AM_XHTTPERR_NOTSAVED ); + } + break; + + + + case 'delete_error' : + $error =& $errorHandler->get($_REQUEST['error_id']); + if ( isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1 ) { + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors() )); + } + if ( $errorHandler->delete($error) ) { + redirect_header($currentFile, 3, _AM_XHTTPERR_DELETEDSUCCESS ); + } else { + echo $error->getHtmlErrors(); + } + } else { + // render start here + xoops_cp_header(); + xoops_confirm(array('ok' => 1, 'error_id' => $_REQUEST['error_id'], 'op' => 'delete_error'), $_SERVER['REQUEST_URI'], sprintf(_AM_XHTTPERR_ERROR_RUSUREDEL, $error->getVar('error_title') )); + xoops_cp_footer(); + } + break; +} Added: XoopsModules/xhttperror/trunk/xhttperror/admin/index.html =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/index.html (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/index.html 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xhttperror/trunk/xhttperror/admin/index.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/index.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/index.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,75 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +include "admin_header.php"; +xoops_cp_header(); + +define('_RED', '#FF0000'); // Red +define('_GREEN', '#00AA00'); // Green + +// load classes +$errorHandler =& xoops_getModuleHandler('error', 'xhttperror'); +$reportHandler =& xoops_getModuleHandler('report', 'xhttperror'); + +// count errors +$countErrors = $errorHandler->getCount(); +// count msgs +$countReports = $reportHandler->getCount(); + + + +if (xhttperror_checkModuleAdmin()) { + $indexAdmin = new ModuleAdmin(); + $indexAdmin->addInfoBox(_AM_XHTTPERR_INTRO); + $indexAdmin->addInfoBoxLine(_AM_XHTTPERR_INTRO, _AM_XHTTPERR_INFO); + if( file_exists(XOOPS_ROOT_PATH . "/.htaccess")) { + $htaccessCheck = _AM_XHTTPERR_FILECHK . XOOPS_ROOT_PATH ."/.htaccess " . "<br />" . _AM_XHTTPERR_FILEEXISTS; + } else { + $htaccessCheck = _AM_XHTTPERR_FILECHK . XOOPS_ROOT_PATH ."/.htaccess " . "<br />" . _AM_XHTTPERR_FILENOEXIST; + } + $indexAdmin->addInfoBoxLine(_AM_XHTTPERR_INTRO, $htaccessCheck); + $indexAdmin->addInfoBoxLine(_AM_XHTTPERR_INTRO, _AM_XHTTPERR_ADDCODE); + if ($countErrors == 0) { + $indexAdmin->addInfoBoxLine(_AM_XHTTPERR_INTRO, _AM_XHTTPERR_NOCODE); + } else { + // get errors + $criteria = new CriteriaCompo(); + $errors = $errorHandler->getObjects($criteria); + foreach ($errors as $error) { + $msg_id = $error->getVar('error_id'); + $error_statuscode = $error->getVar('error_statuscode'); + $hmtl = "ErrorDocument " . $error_statuscode . " " . XOOPS_URL . "/modules/" . $xoopsModule->getVar('dirname') . "/index.php?error=" . $error_statuscode . ""; + $indexAdmin->addInfoBoxLine(_AM_XHTTPERR_INTRO, $hmtl); + } + } + echo $indexAdmin->addNavigation('index.php'); + echo $indexAdmin->renderIndex(); +} +include "admin_footer.php"; Added: XoopsModules/xhttperror/trunk/xhttperror/admin/menu.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/menu.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/menu.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,63 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +$dirname = basename( dirname( dirname( __FILE__ ) ) ) ; +$module_handler =& xoops_gethandler("module"); +$xoopsModule =& XoopsModule::getByDirname($dirname); +$moduleInfo =& $module_handler->get($xoopsModule->getVar("mid")); +$pathImageAdmin = $moduleInfo->getInfo("icons32"); + +$adminmenu = array(); +$i = 1; +$i++; +$adminmenu[$i]['name'] = 'Index'; +$adminmenu[$i]['title'] = _MI_XHTTPERR_ADMENU_INDEX; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]['desc'] = _MI_XHTTPERR_ADMENU_INDEX_DESC; +$adminmenu[$i]['icon'] = "../../{$pathImageAdmin}/house.png"; +$i++; +$adminmenu[$i]['name'] = 'Errors'; +$adminmenu[$i]['title'] = _MI_XHTTPERR_ADMENU_ERRORS; +$adminmenu[$i]['link'] = "admin/errors.php"; +$adminmenu[$i]['desc'] = _MI_XHTTPERR_ADMENU_ERRORS_DESC; +$adminmenu[$i]['icon'] = "../../{$pathImageAdmin}/error.png"; +$i++; +$adminmenu[$i]['name'] = 'Reports'; +$adminmenu[$i]['title'] = _MI_XHTTPERR_ADMENU_REPORTS; +$adminmenu[$i]['link'] = "admin/reports.php"; +$adminmenu[$i]['desc'] = _MI_XHTTPERR_ADMENU_REPORTS_DESC; +$adminmenu[$i]['icon'] = "../../{$pathImageAdmin}/report_error.png"; +$i++; +$adminmenu[$i]['name'] = 'About'; +$adminmenu[$i]['title'] = _MI_XHTTPERR_ADMENU_ABOUT; +$adminmenu[$i]['link'] = "admin/about.php"; +$adminmenu[$i]['desc'] = _MI_XHTTPERR_ADMENU_ABOUT_DESC; +$adminmenu[$i]['icon'] = "../../{$pathImageAdmin}/information.png"; +unset( $i ); Added: XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/admin/reports.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,93 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +$currentFile = basename(__FILE__); +include 'admin_header.php'; +$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : 'list_reports'; + +// load classes +$reportHandler =& xoops_getModuleHandler('report', 'xhttperror'); + +// count reports +$countReports = $reportHandler->getCount(); + + + +switch($op ) { + default: + case 'list_reports' : + // render start here + xoops_cp_header(); + // render submenu + $modcreate_admin = new ModuleAdmin(); + echo $modcreate_admin->addNavigation('reports.php'); + + if($countReports > 0) { + $criteria = new CriteriaCompo(); + $criteria->setSort('report_date'); + $criteria->setOrder('ASC'); + $criteria->setLimit($GLOBALS['xoopsModuleConfig']['reports_per_page']); + $reports = $reportHandler->getObjects($criteria, true, false); + + foreach ($reports as $key=>$report) { + $reports[$key]['report_user'] = XoopsUserUtility::getUnameFromId($report['report_uid'], false, true); + $reports[$key]['report_date'] = formatTimeStamp($report['report_date'], _DATESTRING); + } + + $GLOBALS['xoopsTpl']->assign('reports', $reports); + $GLOBALS['xoopsTpl']->assign('token', $GLOBALS['xoopsSecurity']->getTokenHTML() ); + $GLOBALS['xoopsTpl']->display("db:xhttperror_admin_reports_list.html"); + } else { + echo _AM_XHTTPERR_REPORT_NOREPORTS; + } + include "admin_footer.php"; + break; + + + + case 'delete_report' : + $report =& $reportHandler->get($_REQUEST['report_id']); + if ( isset($_REQUEST['ok']) && $_REQUEST['ok'] == 1 ) { + if ( !$GLOBALS['xoopsSecurity']->check() ) { + redirect_header($currentFile, 3, implode(',', $GLOBALS['xoopsSecurity']->getErrors() )); + } + if ( $reportHandler->delete($report) ) { + redirect_header($currentFile, 3, _AM_XHTTPERR_DELETEDSUCCESS ); + } else { + echo $report->getHtmlErrors(); + } + } else { + // render start here + xoops_cp_header(); + xoops_confirm(array('ok' => 1, 'report_id' => $_REQUEST['report_id'], 'op' => 'delete_report'), $_SERVER['REQUEST_URI'], sprintf(_AM_XHTTPERR_REPORT_RUSUREDEL, $report->getVar('report_id'))); + xoops_cp_footer(); + } + break; +} Added: XoopsModules/xhttperror/trunk/xhttperror/class/error.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/class/error.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/class/error.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,155 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +if (!defined("XOOPS_ROOT_PATH")) { + die("XOOPS root path not defined"); +} + +class XhttperrorError extends XoopsObject +{ + + // constructor + function __construct() + { + $this->XoopsObject(); + $this->initVar("error_id", XOBJ_DTYPE_INT, null, false, 5); + $this->initVar("error_title", XOBJ_DTYPE_TXTBOX, null, true); + $this->initVar("error_statuscode", XOBJ_DTYPE_TXTBOX, '000', true); + $this->initVar("error_text", XOBJ_DTYPE_TXTAREA, null, false, ''); + $this->initVar('error_text_html', XOBJ_DTYPE_INT, true, false); // default: true + $this->initVar('error_text_smiley', XOBJ_DTYPE_INT, true, false); // default: true + $this->initVar('error_text_breaks', XOBJ_DTYPE_INT, false, false); // default: false + $this->initVar("error_showme", XOBJ_DTYPE_INT, true, false); // default: true + $this->initVar("error_redirect", XOBJ_DTYPE_INT, false, false); // default: false + $this->initVar("error_redirect_time", XOBJ_DTYPE_INT, 3, false); // default: 3 seconds + $this->initVar("error_redirect_message", XOBJ_DTYPE_TXTBOX, '', false); // IN PROGRESS + $this->initVar("error_redirect_uri", XOBJ_DTYPE_URL, XOOPS_URL, false); // default XOOPS_URL + } + + function getForm($action = false) + { + global $xoopsDB, $xoopsModule, $xoopsModuleConfig; + + if ($action === false) { + $action = $_SERVER['REQUEST_URI']; + } + $title = $this->isNew() ? sprintf(_AM_XHTTPERR_ERROR_ADD) : sprintf(_AM_XHTTPERR_ERROR_EDIT); + + include_once(XOOPS_ROOT_PATH."/class/xoopsformloader.php"); + + $form = new XoopsThemeForm($title, 'form_error', $action, 'post', true); + $form->setExtra('enctype="multipart/form-data"'); + + // Title + $title = new XoopsFormText(_AM_XHTTPERR_ERROR_TITLE, 'error_title', 40, 255, $this->getVar('error_title')); + $form->addElement($title, true); + unset($title); + // Error number + if ($this->isNew()) { + $errorStatuscode = new XoopsFormText(_AM_XHTTPERR_ERROR_STATUSCODE, 'error_statuscode', 3, 3, $this->getVar('error_statuscode')); + } else { + $errorStatuscode = new XoopsFormLabel (_AM_XHTTPERR_ERROR_STATUSCODE, $this->getVar('error_statuscode')); + } + $form->addElement($errorStatuscode, true); + unset($errorStatuscode); + // Text + $editor_configs=array(); + $editor_configs["name"] ="error_text"; + $editor_configs["value"] = $this->getVar('error_text', 'e'); + $editor_configs["rows"] = 10; + $editor_configs["cols"] = 50; + $editor_configs["width"] = "100%"; + $editor_configs["height"] = "100px"; + $editor_configs["editor"] = $GLOBALS['xoopsModuleConfig']['text_editor']; + $errorText = new XoopsFormEditor(_AM_XHTTPERR_ERROR_TEXT, "error_text", $editor_configs); + $errorText->setDescription(_AM_XHTTPERR_ERROR_TEXT_DESC); + $form->addElement($errorText); + // Text options + $errorTextOptions = new XoopsFormElementTray (_AM_XHTTPERR_ERROR_TEXT_OPTIONS, '|', ''); + $errorTextOptions->addElement(new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_TEXT_HTML, 'error_text_html', $this->getVar('error_text_html'), _YES, _NO)); + $errorTextOptions->addElement(new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_TEXT_SMILEY, 'error_text_smiley', $this->getVar('error_text_smiley'), _YES, _NO)); + $errorTextOptions->addElement(new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_TEXT_BREAKS, 'error_text_breaks', $this->getVar('error_text_breaks'), _YES, _NO)); + $form->addElement($errorTextOptions); + unset($errorTextOptions); + // Showme + $errorShowme = new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_STATUS, 'error_showme', $this->getVar('error_showme'), _YES, _NO); + $errorShowme->setDescription(_AM_XHTTPERR_ERROR_STATUS_DESC); + $form->addElement($errorShowme); + unset($errorShowme); + + $form->addElement(new XoopsFormLabel(_AM_XHTTPERR_ERROR_REDIRECT_OPTIONS, '', '')); + // Redirect + $errorRedirect = new XoopsFormRadioYN(_AM_XHTTPERR_ERROR_REDIRECT, 'error_redirect', $this->getVar('error_redirect'), _YES, _NO); + $errorRedirect->setDescription(_AM_XHTTPERR_ERROR_REDIRECT_DESC); + $form->addElement($errorRedirect); + unset($errorRedirect); + // Redirect time + $errorRedirectTime = new XoopsFormText(_AM_XHTTPERR_ERROR_REDIRECT_TIME, 'error_redirect_time', 2, 2, $this->getVar('error_redirect_time')); + $errorRedirectTime->setDescription(_AM_XHTTPERR_ERROR_REDIRECT_TIME_DESC); + $form->addElement($errorRedirectTime); + unset($errorRedirectTime); + // Redirect message + // IN PROGRESS + // Redirect uri + $errorRedirectUri = new XoopsFormText(_AM_XHTTPERR_ERROR_REDIRECT_URI, 'error_redirect_uri', 40, 255, $this->getVar('error_redirect_uri')); + $errorRedirectUri->setDescription(_AM_XHTTPERR_ERROR_REDIRECT_URI_DESC); + $form->addElement($errorRedirectUri); + unset($errorRedirectUri); + + // Captcha + xoops_load('xoopscaptcha'); + $form->addElement(new XoopsFormCaptcha(), true); + // Hidden Fields + $form->addElement(new XoopsFormHidden('op', 'save_error')); + if ($this->isNew()) { + // NOP + } else { + $form->addElement(new XoopsFormHidden('error_id', $this->getVar('error_id'))); + } + // Submit button + $button_tray = new XoopsFormElementTray(_AM_XHTTPERR_ACTION, '' ,''); + $button_tray->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit')); + $button_tray->addElement(new XoopsFormButton('', 'reset', _RESET, 'reset')); + $cancel_button = new XoopsFormButton('', 'cancel', _CANCEL, 'button'); + $cancel_button->setExtra("onclick='javascript:history.back();'"); + $button_tray->addElement($cancel_button); + $form->addElement($button_tray); + return $form; + } +} + +class XhttperrorErrorHandler extends XoopsPersistableObjectHandler +{ + function __construct(&$db) + { + parent::__construct($db, "xhttperror_errors", 'xhttperrorerror', 'error_id', 'error_title'); + } + +} Added: XoopsModules/xhttperror/trunk/xhttperror/class/index.html =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/class/index.html (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/class/index.html 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xhttperror/trunk/xhttperror/class/report.php =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/class/report.php (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/class/report.php 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,59 @@ +<?php +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GNU General Public License v3.0 + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * $Rev$: Revision of last commit + * $Author$: Author of last commit + * $Date$: Date of last commit + * **************************************************************************** + */ + +if (!defined('XOOPS_ROOT_PATH')) { + die('XOOPS root path not defined'); +} + +class XhttperrorReport extends XoopsObject +{ + + // constructor + function __construct() + { + $this->XoopsObject(); + $this->initVar('report_id', XOBJ_DTYPE_INT, null, false, 5); + $this->initVar('report_uid', XOBJ_DTYPE_INT, null, true); // user id + $this->initVar('report_statuscode', XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar('report_date', XOBJ_DTYPE_INT, time(), false); + $this->initVar('report_referer', XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar('report_useragent', XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar('report_remoteaddr', XOBJ_DTYPE_TXTBOX, null, false); + $this->initVar('report_requesteduri', XOBJ_DTYPE_TXTBOX, null, false); + } +} + +class XhttperrorReportHandler extends XoopsPersistableObjectHandler +{ + function __construct(&$db) + { + parent::__construct($db, 'xhttperror_reports', 'xhttperrorreport', 'report_id', 'report_date'); + } +} Added: XoopsModules/xhttperror/trunk/xhttperror/css/index.html =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/css/index.html (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/css/index.html 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/xhttperror/trunk/xhttperror/css/style.css =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/css/style.css (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/css/style.css 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,36 @@ +@charset "UTF-8"; +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * XHTTPERROR - MODULE FOR XOOPS + * Copyright (c) 2007 - 2012 + * Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting + * source code which is considered copyrighted (c) material of the + * original comment or credit authors. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * --------------------------------------------------------------------------- + * @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) + * @license GPL see LICENSE + * @package xhttperror + * @author Rota Lucio ( luc...@gm... ) + * + * Version : 1.0 Mon 2012/07/23 14:17:52 : XOOPS Exp $ + * **************************************************************************** + */ + + +.box-header { + margin: 2px; + padding: 5px; + background-color: #ccc; + width: 100%; + height: 50px; +} Added: XoopsModules/xhttperror/trunk/xhttperror/docs/CHANGELOG.txt =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/docs/CHANGELOG.txt (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/docs/CHANGELOG.txt 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,13 @@ +xHttpError History + +Key: ++ Added feature. +- Removed. +! Bug fix. +o General comment. + + +version 1.00 (Released: 2012/08/06) +=================================== + +o First public release. Added: XoopsModules/xhttperror/trunk/xhttperror/docs/INSTALL.txt =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/docs/INSTALL.txt (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/docs/INSTALL.txt 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,41 @@ +Installing this module + +1) Installing on web site: + ======================= + + Via FTP: + ======== + Most people will want to use this method... + + 1.1) Unarchive the module archive on your computer using your favourite + archive utility (such as WinRAR - http://www.rarlabs.com/rar_archiver.htm). + 1.2) Upload the folder module's folder (do not rename it, or change the case!) + and its contents to the "modules" folder on your web site using your FTP + client. + 1.3) Go to section 2.1. + + + Via SSH/Shell: + ============== + If your ISP provides you with SSH access, you can use this method. More + experienced Linux/FreeBSD users may find it quicker. + + 1.1) Download the module archive (or upload from your computer) to + somewhere on your web site. You can do this easily using "wget" + e.g., wget http://www.urltoarchive.com/filename.tar.gz + 1.2) Go to the XOOPS module directory, e.g., "cd /path/to/xoops/modules" + 1.3) Extract the archive, if you downloaded the *.tar.gz version, + this can be done by "tar zxvf articles_archivename.tar.gz". If you + have the *.zip archive, use "unzip articles_archivename.zip". + 1.4) Delete the archive if you no longer need it, to save web space. + 1.5) Go to section 2.1. + +2) Installing into the XOOPS system: + ================================= + + 2.1) Report in to your XOOPS web site as an administrator, and navigate to the + modules admin area ("system admin -> modules"). Scroll to the lower + section of the page where the modules that are not installed are listed. + 2.2) Click on the "Install" icon for the module's listing and follow the + instructions. + 2.3) Click on the module's icon in the left to go to its admin area. Added: XoopsModules/xhttperror/trunk/xhttperror/docs/LANGUAGES.txt =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/docs/LANGUAGES.txt (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/docs/LANGUAGES.txt 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,24 @@ +LANGUAGES.txt + +I have allowed for this module to be localised - or to be translated to +your local language. This basically means that all captions, text and titles +can easily be translated and displayed in your language. + +The default language for the this module is English as that is my primary +language and the default for XOOPS itself. And unfortunately, while I know a +little French, I am generally useless at learning foreign languages... + +If you wish to translate this module to your language, please first of all: + + 1) Check to see if it's already been done (and maybe just needs updating?). + 2) Make sure you have the latest version. + 3) Consider obtaining the latest development version... + 4) Bear in mind that the files may change constantly during its development. + +To translate this module to your language, go to the "languages" folder, copy +the folder called "english" (along with any files it contains) and rename it to +the name of your language. Make sure that you use the English version of its +name and, don't use capital letters and don't use any spaces. + +Edit the files contained within your new language files - it should (in theory) +be fairly obvious as to what you need to change. Added: XoopsModules/xhttperror/trunk/xhttperror/docs/LANG_DIFF.txt =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/docs/LANG_DIFF.txt (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/docs/LANG_DIFF.txt 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,5 @@ +Module Name : xHttpError +Module developer : Rota Lucio luc...@gm... + +version 1.00 +============ Added: XoopsModules/xhttperror/trunk/xhttperror/docs/LICENSE.txt =================================================================== --- XoopsModules/xhttperror/trunk/xhttperror/docs/LICENSE.txt (rev 0) +++ XoopsModules/xhttperror/trunk/xhttperror/docs/LICENSE.txt 2012-08-06 19:45:30 UTC (rev 9996) @@ -0,0 +1,674 @@ + 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 +yo... [truncated message content] |
From: <be...@us...> - 2012-08-06 08:34:47
|
Revision: 9995 http://xoops.svn.sourceforge.net/xoops/?rev=9995&view=rev Author: beckmi Date: 2012-08-06 08:34:41 +0000 (Mon, 06 Aug 2012) Log Message: ----------- small fix Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2012-08-06 08:30:25 UTC (rev 9994) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2012-08-06 08:34:41 UTC (rev 9995) @@ -28,9 +28,11 @@ */ function __construct() { - global $xoopsModule, $xoTheme; + //global $xoopsModule, $xoTheme; + global $xoopsModule; $this->_obj =& $xoopsModule; - $xoTheme->addStylesheet("Frameworks/moduleclasses/moduleadmin/css/admin.css"); + echo "<style type=\"text/css\" media=\"screen\">@import \"" . XOOPS_URL . "/Frameworks/moduleclasses/moduleadmin/css/admin.css\";</style>"; + //$xoTheme->addStylesheet("Frameworks/moduleclasses/moduleadmin/css/admin.css"); $this -> loadLanguage(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-06 08:30:34
|
Revision: 9994 http://xoops.svn.sourceforge.net/xoops/?rev=9994&view=rev Author: beckmi Date: 2012-08-06 08:30:25 +0000 (Mon, 06 Aug 2012) Log Message: ----------- Adding xContent module Added Paths: ----------- XoopsModules/xcontent/ XoopsModules/xcontent/branches/ XoopsModules/xcontent/releases/ XoopsModules/xcontent/trunk/ XoopsModules/xcontent/trunk/xcontent/ XoopsModules/xcontent/trunk/xcontent/.htaccess.dist XoopsModules/xcontent/trunk/xcontent/admin/ XoopsModules/xcontent/trunk/xcontent/admin/header.php XoopsModules/xcontent/trunk/xcontent/admin/index.php XoopsModules/xcontent/trunk/xcontent/admin/menu.php XoopsModules/xcontent/trunk/xcontent/blocks/ XoopsModules/xcontent/trunk/xcontent/blocks/index.html XoopsModules/xcontent/trunk/xcontent/blocks/kernel.plugin.php XoopsModules/xcontent/trunk/xcontent/blocks/xcontent_block_inheritable.php XoopsModules/xcontent/trunk/xcontent/blocks/xcontent_block_menu.php XoopsModules/xcontent/trunk/xcontent/blocks/xcontent_block_sections.php XoopsModules/xcontent/trunk/xcontent/blocks/xcontent_block_subitems.php XoopsModules/xcontent/trunk/xcontent/blocks/xcontent_blocks_tag.php XoopsModules/xcontent/trunk/xcontent/class/ XoopsModules/xcontent/trunk/xcontent/class/block.php XoopsModules/xcontent/trunk/xcontent/class/category.php XoopsModules/xcontent/trunk/xcontent/class/index.html XoopsModules/xcontent/trunk/xcontent/class/text.php XoopsModules/xcontent/trunk/xcontent/class/xcontent.php XoopsModules/xcontent/trunk/xcontent/class/xlanguage_ext.php XoopsModules/xcontent/trunk/xcontent/comment_delete.php XoopsModules/xcontent/trunk/xcontent/comment_edit.php XoopsModules/xcontent/trunk/xcontent/comment_new.php XoopsModules/xcontent/trunk/xcontent/comment_post.php XoopsModules/xcontent/trunk/xcontent/comment_reply.php XoopsModules/xcontent/trunk/xcontent/docs/ XoopsModules/xcontent/trunk/xcontent/docs/changelog.txt XoopsModules/xcontent/trunk/xcontent/docs/credits.txt XoopsModules/xcontent/trunk/xcontent/docs/index.html XoopsModules/xcontent/trunk/xcontent/docs/install.txt XoopsModules/xcontent/trunk/xcontent/docs/lang_diff.txt XoopsModules/xcontent/trunk/xcontent/docs/licence.txt XoopsModules/xcontent/trunk/xcontent/docs/readme.txt XoopsModules/xcontent/trunk/xcontent/dojson_loadform.php XoopsModules/xcontent/trunk/xcontent/dojson_loadtemplate.php XoopsModules/xcontent/trunk/xcontent/header.php XoopsModules/xcontent/trunk/xcontent/images/ XoopsModules/xcontent/trunk/xcontent/images/add.category.png XoopsModules/xcontent/trunk/xcontent/images/add.inheritable.block.png XoopsModules/xcontent/trunk/xcontent/images/add.png XoopsModules/xcontent/trunk/xcontent/images/add.xcontent.png XoopsModules/xcontent/trunk/xcontent/images/child_mark.png XoopsModules/xcontent/trunk/xcontent/images/close12.gif XoopsModules/xcontent/trunk/xcontent/images/copy.png XoopsModules/xcontent/trunk/xcontent/images/delete.png XoopsModules/xcontent/trunk/xcontent/images/edit.png XoopsModules/xcontent/trunk/xcontent/images/email.png XoopsModules/xcontent/trunk/xcontent/images/folder.png XoopsModules/xcontent/trunk/xcontent/images/folder_o.png XoopsModules/xcontent/trunk/xcontent/images/go.png XoopsModules/xcontent/trunk/xcontent/images/index.html XoopsModules/xcontent/trunk/xcontent/images/left_both.gif XoopsModules/xcontent/trunk/xcontent/images/manage.categories.png XoopsModules/xcontent/trunk/xcontent/images/manage.inheritable.blocks.png XoopsModules/xcontent/trunk/xcontent/images/manage.xcontent.png XoopsModules/xcontent/trunk/xcontent/images/open12.gif XoopsModules/xcontent/trunk/xcontent/images/page.png XoopsModules/xcontent/trunk/xcontent/images/pdf.png XoopsModules/xcontent/trunk/xcontent/images/permissions.png XoopsModules/xcontent/trunk/xcontent/images/print.png XoopsModules/xcontent/trunk/xcontent/images/right_both.gif XoopsModules/xcontent/trunk/xcontent/images/rss.png XoopsModules/xcontent/trunk/xcontent/images/xcontent_slogo.png XoopsModules/xcontent/trunk/xcontent/include/ XoopsModules/xcontent/trunk/xcontent/include/JSON.php XoopsModules/xcontent/trunk/xcontent/include/formobjects.xcontent.php XoopsModules/xcontent/trunk/xcontent/include/forms.xcontent.php XoopsModules/xcontent/trunk/xcontent/include/formselectblocks.php XoopsModules/xcontent/trunk/xcontent/include/formselectcategories.php XoopsModules/xcontent/trunk/xcontent/include/formselectlanguages.php XoopsModules/xcontent/trunk/xcontent/include/formselectpages.php XoopsModules/xcontent/trunk/xcontent/include/formselecttemplates.php XoopsModules/xcontent/trunk/xcontent/include/functions.php XoopsModules/xcontent/trunk/xcontent/include/index.html XoopsModules/xcontent/trunk/xcontent/include/install.php XoopsModules/xcontent/trunk/xcontent/include/search.inc.php XoopsModules/xcontent/trunk/xcontent/include/update.php XoopsModules/xcontent/trunk/xcontent/index.php XoopsModules/xcontent/trunk/xcontent/language/ XoopsModules/xcontent/trunk/xcontent/language/english/ XoopsModules/xcontent/trunk/xcontent/language/english/admin.php XoopsModules/xcontent/trunk/xcontent/language/english/blocks.php XoopsModules/xcontent/trunk/xcontent/language/english/index.html XoopsModules/xcontent/trunk/xcontent/language/english/main.php XoopsModules/xcontent/trunk/xcontent/language/english/modinfo.php XoopsModules/xcontent/trunk/xcontent/language/index.html XoopsModules/xcontent/trunk/xcontent/list.tag.php XoopsModules/xcontent/trunk/xcontent/manage.php XoopsModules/xcontent/trunk/xcontent/pdf.php XoopsModules/xcontent/trunk/xcontent/print.php XoopsModules/xcontent/trunk/xcontent/rss.php XoopsModules/xcontent/trunk/xcontent/sql/ XoopsModules/xcontent/trunk/xcontent/sql/index.html XoopsModules/xcontent/trunk/xcontent/sql/mysql.sql XoopsModules/xcontent/trunk/xcontent/templates/ XoopsModules/xcontent/trunk/xcontent/templates/blocks/ XoopsModules/xcontent/trunk/xcontent/templates/blocks/index.html XoopsModules/xcontent/trunk/xcontent/templates/blocks/xcontent_block_inheritable.html XoopsModules/xcontent/trunk/xcontent/templates/blocks/xcontent_block_menu.html XoopsModules/xcontent/trunk/xcontent/templates/blocks/xcontent_block_sections.html XoopsModules/xcontent/trunk/xcontent/templates/blocks/xcontent_block_subitems.html XoopsModules/xcontent/trunk/xcontent/templates/blocks/xcontent_tag_block_cloud.html XoopsModules/xcontent/trunk/xcontent/templates/blocks/xcontent_tag_block_top.html XoopsModules/xcontent/trunk/xcontent/templates/css/ XoopsModules/xcontent/trunk/xcontent/templates/css/content.css XoopsModules/xcontent/trunk/xcontent/templates/css/index.html XoopsModules/xcontent/trunk/xcontent/templates/css/print.css XoopsModules/xcontent/trunk/xcontent/templates/index.html XoopsModules/xcontent/trunk/xcontent/templates/js/ XoopsModules/xcontent/trunk/xcontent/templates/js/core.js XoopsModules/xcontent/trunk/xcontent/templates/js/index.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/ XoopsModules/xcontent/trunk/xcontent/templates/predefined/content/ XoopsModules/xcontent/trunk/xcontent/templates/predefined/content/index.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/content/template_one.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/content/template_three.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/content/template_two.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/index.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/rss/ XoopsModules/xcontent/trunk/xcontent/templates/predefined/rss/index.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/rss/template_one.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/rss/template_three.html XoopsModules/xcontent/trunk/xcontent/templates/predefined/rss/template_two.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_breadcrumb.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_cpanel_addeditblock.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_cpanel_addeditcategory.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_cpanel_addeditpage.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_cpanel_json_addeditblock.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_cpanel_json_addeditcategory.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_cpanel_json_addeditpage.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_addeditblock.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_addeditcategory.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_addeditpage.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_json_addeditblock.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_json_addeditcategory.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_json_addeditpage.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_manage.html XoopsModules/xcontent/trunk/xcontent/templates/xcontent_index_password.html XoopsModules/xcontent/trunk/xcontent/view.tag.php XoopsModules/xcontent/trunk/xcontent/xoops_version.php Added: XoopsModules/xcontent/trunk/xcontent/.htaccess.dist =================================================================== --- XoopsModules/xcontent/trunk/xcontent/.htaccess.dist (rev 0) +++ XoopsModules/xcontent/trunk/xcontent/.htaccess.dist 2012-08-06 08:30:25 UTC (rev 9994) @@ -0,0 +1,20 @@ + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^content/(.*?)/(.*?)/([0-9]+),([0-9]+).html$ modules/content/index.php?cat_title=$1&cont_title=$2&storyid=$3&catid=$4 +RewriteRule ^content/(.*?)/(.*?)/view.tag.php$ modules/content/view.tag.php +RewriteRule ^content/(.*?)/(.*?)/list.tag.php$ modules/content/list.tag.php +RewriteRule ^content/(.*?)/([0-9]+),([0-9]+).html$ modules/content/index.php?cont_title=$1&storyid=$2&catid=$3 +RewriteRule ^content/(.*?)/feed,([0-9]+).rss$ modules/content/rss.php?cat_title=$1&catid=$3 +RewriteRule ^content/(.*?)/pdf,([0-9]+).pdf$ modules/content/pdf.php?cat_title=$1&storyid=$2 +RewriteRule ^content/(.*?)/view.tag.php$ modules/content/view.tag.php +RewriteRule ^content/(.*?)/list.tag.php$ modules/content/list.tag.php +RewriteRule ^content/feed,([0-9]+).rss$ modules/content/rss.php?catid=$1 +RewriteRule ^content/pdf,([0-9]+).pdf$ modules/content/pdf.php?storyid=$1 +RewriteRule ^content/view.tag.php$ modules/content/view.tag.php +RewriteRule ^content/list.tag.php$ modules/content/list.tag.php +RewriteRule ^content/$ modules/content/index.php$1 +RewriteRule ^content$ modules/content/index.php$1 + Added: XoopsModules/xcontent/trunk/xcontent/admin/header.php =================================================================== --- XoopsModules/xcontent/trunk/xcontent/admin/header.php (rev 0) +++ XoopsModules/xcontent/trunk/xcontent/admin/header.php 2012-08-06 08:30:25 UTC (rev 9994) @@ -0,0 +1,98 @@ +<?php + +/* +Module: xContent + +Version: 2.01 + +Description: Multilingual Content Module with tags and lists with search functions + +Author: Written by Simon Roberts aka. Wishcraft (si...@ch...) + +Owner: Chronolabs + +License: See /docs - GPL 2.0 +*/ + + + require "../../../include/cp_header.php"; + + require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); + + if (!defined('_CHARSET')) + define ("_CHARSET","UTF-8"); + if (!defined('_CHARSET_ISO')) + define ("_CHARSET_ISO","ISO-8859-1"); + + $GLOBALS['myts'] = MyTextSanitizer::getInstance(); + + require_once($GLOBALS['xoops']->path(_XCONTENT_PATH_PHP_FUNCTIONS)); + require_once($GLOBALS['xoops']->path(_XCONTENT_PATH_PHP_FORMOBJECTS)); + require_once($GLOBALS['xoops']->path(_XCONTENT_PATH_PHP_FORMS)); + require_once($GLOBALS['xoops']->path(_XCONTENT_PATH_PHP_TEMPLATE)); + + $myts =& MyTextSanitizer::getInstance(); + + $op = (isset($_REQUEST['op']))?strtolower($_REQUEST['op']):'dashboard'; + $fct = (isset($_REQUEST['fct']))?strtolower($_REQUEST['fct']):''; + $storyid = (isset($_REQUEST['storyid']))?intval($_REQUEST['storyid']):0; + $xcontentid = (isset($_REQUEST['xcontentid']))?intval($_REQUEST['xcontentid']):0; + $catid = (isset($_REQUEST['catid']))?intval($_REQUEST['catid']):0; + $blockid = (isset($_REQUEST['blockid']))?intval($_REQUEST['blockid']):0; + $passkey = (isset($_REQUEST['passkey']))?strtolower($_REQUEST['passkey']):''; + $mode = (isset($_REQUEST['mode']))?strtolower($_REQUEST['mode']):_XCONTENT_PERM_MODE_VIEW; + $language = (isset($_REQUEST['language']))?($_REQUEST['language']):$GLOBALS['xoopsConfig']['language']; + + $module_handler =& xoops_gethandler('module'); + $criteria = new CriteriaCompo(new Criteria('dirname', 'xlanguage')); + $criteria->add(new Criteria('isactive', true)); + if ($module_handler->getCount($criteria)>0) + $GLOBALS['multilingual']=true; + else + $GLOBALS['multilingual']=false; + + $GLOBALS['contentTpl'] = new XoopsTpl(); + + $module_handler = xoops_gethandler('module'); + $config_handler = xoops_gethandler('config'); + $GLOBALS['xcontentModule'] = $module_handler->getByDirname('xcontent'); + $GLOBALS['xcontentModuleConfig'] = $config_handler->getConfigList($GLOBALS['xcontentModule']->getVar('mid')); + + xoops_load('pagenav'); + xoops_load('xoopslists'); + xoops_load('xoopsformloader'); + + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopstree.php'); + + if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; + }else{ + echo xcontent_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; + } + $GLOBALS['xcontentImageIcon'] = XOOPS_URL .'/'. $GLOBALS['xcontentModule']->getInfo('icons16'); + $GLOBALS['xcontentImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['xcontentModule']->getInfo('icons32'); + + if ($GLOBALS['xoopsUser']) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['xcontentModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); + } + + $GLOBALS['xoopsTpl']->assign('pathImageIcon', $GLOBALS['xcontentImageIcon']); + $GLOBALS['xoopsTpl']->assign('pathImageAdmin', $GLOBALS['xcontentImageAdmin']); + + +?> \ No newline at end of file Added: XoopsModules/xcontent/trunk/xcontent/admin/index.php =================================================================== --- XoopsModules/xcontent/trunk/xcontent/admin/index.php (rev 0) +++ XoopsModules/xcontent/trunk/xcontent/admin/index.php 2012-08-06 08:30:25 UTC (rev 9994) @@ -0,0 +1,919 @@ +<?php + +/* +Module: xContent + +Version: 2.01 + +Description: Multilingual Content Module with tags and lists with search functions + +Author: Written by Simon Roberts aka. Wishcraft (si...@ch...) + +Owner: Chronolabs + +License: See /docs - GPL 2.0 +*/ + + + include ('header.php'); + + xoops_loadlanguage('main', 'xcontent'); + + switch ($op){ + default: + case _XCONTENT_URL_OP_DASHBOARD: + + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op); + + $category_handler = xoops_getmodulehandler('category', 'xcontent'); + $xcontent_handler = xoops_getmodulehandler('xcontent', 'xcontent'); + $indexAdmin = new ModuleAdmin(); + $indexAdmin->addInfoBox(_XCONTENT_ADMIN_COUNTS); + $indexAdmin->addInfoBoxLine(_XCONTENT_ADMIN_COUNTS, "<label>"._XCONTENT_ADMIN_THEREARE_CATEGORIES."</label>", $category_handler->getCount(NULL), 'Green'); + $indexAdmin->addInfoBoxLine(_XCONTENT_ADMIN_COUNTS, "<label>"._XCONTENT_ADMIN_THEREARE_ARTICLES."</label>", $xcontent_handler->getCount(NULL), 'Green'); + echo $indexAdmin->renderIndex(); + xoops_cp_footer(); + break; + + case _XCONTENT_URL_OP_ABOUT: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op); + + $paypalitemno='VOD106'; + $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('_XCONTENT_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="poster">', + 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['xcontentModule']->getVar('dirname')), strtoupper($GLOBALS['xcontentModule']->getVar('dirname')). ' '.$GLOBALS['xcontentModule']->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(); + break; + + case _XCONTENT_URL_OP_SAVE: + switch($fct) { + case _XCONTENT_URL_FCT_PAGES: + + foreach($_POST as $id => $val) + ${$id} = $val; + + $xcontent_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_XCONTENT, _XCONTENT_DIRNAME); + + foreach($catid as $storyid => $val) { + $xcontent = $xcontent_handler->get($storyid); + + $xcontent->setVar('catid', $catid[$storyid]); + $xcontent->setVar('parent_id', $parent_id[$storyid]); + $xcontent->setVar('submenu', $submenu[$storyid]); + $xcontent->setVar('weight', $weight[$storyid]); + + if ($homepage[$storyid]==true) { + $sql = "UPDATE ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_XCONTENT).' SET homepage=0'; + @$GLOBALS['xoopsDB']->queryF($sql); + } + + $xcontent->setVar('homepage', $homepage[$storyid]); + + @$xcontent_handler->insert($xcontent); + } + + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_XCONTENT, 7, _XCONTENT_MSG_XCONTENTSAVED); + + exit(0); + break; + + case _XCONTENT_URL_FCT_CATEGORIES: + + foreach($_POST as $id => $val) + ${$id} = $val; + + $category_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_CATEGORY, _XCONTENT_DIRNAME); + + foreach($parent_id as $catid => $val) { + $category = $category_handler->get($catid); + + $category->setVar('parent_id', $parent_id[$catid]); + $category->setVar('rssenabled', (isset($rssenabled[$catid])?true:false)); + + @$category_handler->insert($category); + } + + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_CATEGORIES, 7, _XCONTENT_MSG_XCONTENTSAVED); + exit(0); + break; + + case _XCONTENT_URL_FCT_BLOCKS: + + foreach($_POST as $id => $val) + ${$id} = $val; + + $block_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_BLOCK, _XCONTENT_DIRNAME); + + if ($blockid==0) + $block = $block_handler->createnew(); + else + $block = $block_handler->getBlock($blockid, $language); + + if ($block['block']->isNew()) + $block['block']->setVar('created', time()); + $block['block']->setVar('uid', $GLOBALS['xoopsUser']->getVar('uid'), true); + + if ($block_handler->insert($block['block'])) { + $text_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_TEXT, _XCONTENT_DIRNAME); + $block['text']->setVar('type', _XCONTENT_ENUM_TYPE_BLOCK); + $block['text']->setVar('blockid', $block['block']->getVar('blockid')); + if (!empty($language)) + $block['text']->setVar('language', $language); + if (!empty($title)) + $block['text']->setVar('title', $title); + if (!empty($ptitle)) + $block['text']->setVar('ptitle', $ptitle); + if (!empty($text)) + $block['text']->setVar('text', $text); + if (!empty($keywords)) + $block['text']->setVar('keywords', $keywords); + if (!empty($rss)) + $block['text']->setVar('rss', $rss); + if (!empty($page_description)) + $block['text']->setVar('page_description', $page_description); + if ($text_handler->insert($block['text'])) { + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_BLOCKS, 6, _XCONTENT_MSG_BLOCKSAVED); + } else { + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_BLOCKS, 6, _XCONTENT_MSG_BLOCKNOTSAVED); + } + }else + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_BLOCKS, 6, _XCONTENT_MSG_BLOCKNOTSAVED); + exit(0); + break; + + case _XCONTENT_URL_FCT_CATEGORY: + + foreach($_POST as $id => $val) + ${$id} = $val; + + $category_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_CATEGORY, _XCONTENT_DIRNAME); + + if ($catid==0) + $category = $category_handler->createnew(); + else + $category = $category_handler->getCategory($catid, $language); + + if (!empty($rssenabled)) + $category['cat']->setVar('rssenabled', $rssenabled); + if (!empty($parent_id)) + $category['cat']->setVar('parent_id', $parent_id, true); + else + $category['cat']->setVar('parent_id', false, true); + + if ($category_handler->insert($category['cat'])) { + $text_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_TEXT, _XCONTENT_DIRNAME); + $category['text']->setVar('type', _XCONTENT_ENUM_TYPE_CATEGORY); + $category['text']->setVar('catid', $category['cat']->getVar('catid')); + if (!empty($language)) + $category['text']->setVar('language', $language); + if (!empty($title)) + $category['text']->setVar('title', $title); + if (!empty($ptitle)) + $category['text']->setVar('ptitle', $ptitle); + if (!empty($text)) + $category['text']->setVar('text', $text); + if (!empty($keywords)) + $category['text']->setVar('keywords', $keywords); + if (!empty($rss)) + $category['text']->setVar('rss', $rss); + if (!empty($page_description)) + $category['text']->setVar('page_description', $page_description); + if ($text_handler->insert($category['text'])) { + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_CATEGORIES, 6, _XCONTENT_MSG_CATEGORYSAVED); + } else { + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_CATEGORIES, 6, _XCONTENT_MSG_CATEGORYNOTSAVED); + } + }else + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_CATEGORIES, 6, _XCONTENT_MSG_CATEGORYNOTSAVED); + exit(0); + break; + + case _XCONTENT_URL_FCT_XCONTENT: + + foreach($_POST as $id => $val) + ${$id} = $val; + + if ($homepage==true) { + $sql = "UPDATE ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_XCONTENT).' SET homepage=0'; + @$GLOBALS['xoopsDB']->queryF($sql); + } + + $xcontent_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_XCONTENT, _XCONTENT_DIRNAME); + $text_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_TEXT, _XCONTENT_DIRNAME); + + if ($storyid==0) { + $xcontent = $xcontent_handler->createnew(); + } else { + $xcontent = $xcontent_handler->getContent($storyid, $language); + } + + $xcontent['xcontent']->setVar('uid', $GLOBALS['xoopsUser']->getVar('uid')); + $xcontent['xcontent']->setVar('parent_id', $parent_id); + $xcontent['xcontent']->setVar('blockid', $blockid); + $xcontent['xcontent']->setVar('catid', $catid); + $xcontent['xcontent']->setVar('weight', $weight); + $xcontent['xcontent']->setVar('visible', $visible); + $xcontent['xcontent']->setVar('homepage', $homepage); + $xcontent['xcontent']->setVar('nohtml', $nohtml); + $xcontent['xcontent']->setVar('nosmiley', $nosmiley); + $xcontent['xcontent']->setVar('nobreaks', $nobreaks); + $xcontent['xcontent']->setVar('nocomments', $nocomments); + $xcontent['xcontent']->setVar('link', $link); + if (!empty($address)) + $xcontent['xcontent']->setVar('address', $address); + $xcontent['xcontent']->setVar('submenu', $submenu); + $xcontent['xcontent']->setVar('date', time()); + $xcontent['xcontent']->setVar('assoc_module', $assoc_module); + if (!empty($password)&&$passset&&$password==$password_confirm) + $xcontent['xcontent']->setVar('password', md5($password)); + elseif (empty($password)&&$passset) + $xcontent['xcontent']->setVar('password', ''); + + if ($publishset) { + $xcontent['xcontent']->setVar('publish', strtotime($publish['date'])+$publish['time']); + $xcontent['xcontent']->setVar('publish_storyid', $publish_storyid); + } else { + $xcontent['xcontent']->setVar('publish', 0); + $xcontent['xcontent']->setVar('publish_storyid', 0); + } + if ($expireset) { + $xcontent['xcontent']->setVar('expire', strtotime($expire['date'])+$expire['time']); + $xcontent['xcontent']->setVar('expire_storyid', $expires_storyid); + } else { + $xcontent['xcontent']->setVar('expire', 0); + $xcontent['xcontent']->setVar('expire_storyid', 0); + } + + + if (!empty($tags)) + $xcontent['xcontent']->setVar('tags', $tags); + + if ($xcontent['xcontent']->isNew()) + $newObject = true; + else + $newObject = false; + + if ($xcontent_handler->insert($xcontent['xcontent'])) + { + + $xcontent['text']->setVar('type', _XCONTENT_ENUM_TYPE_XCONTENT); + $xcontent['text']->setVar('storyid', $xcontent['xcontent']->getVar('storyid')); + if (!empty($language)) + $xcontent['text']->setVar('language', $language); + if (!empty($title)) + $xcontent['text']->setVar('title', $title); + if (!empty($ptitle)) + $xcontent['text']->setVar('ptitle', $ptitle); + if (!empty($text)) + $xcontent['text']->setVar('text', $text); + if (!empty($keywords)) + $xcontent['text']->setVar('keywords', $keywords); + if (!empty($rss)) + $xcontent['text']->setVar('rss', $rss); + if (!empty($page_description)) + $xcontent['text']->setVar('page_description', $page_description); + if ($text_handler->insert($xcontent['text'])) { + $values['innerhtml']['forms'] = xcontent_addxcontent($xcontent['xcontent']->getVar('storyid'), $language); + } + + } + + if (file_exists($GLOBALS['xoops']->path('/modules/tag/class/tag.php'))&&$GLOBALS['xoopsModuleConfig']['tags']) { + $tag_handler = xoops_getmodulehandler('tag', 'tag'); + $tag_handler->updateByItem($_POST['tags'], $xcontent['xcontent']->getVar('storyid'), $GLOBALS['xoopsModule']->getVar("dirname"), $xcontent['xcontent']->getVar('catid')); + } + + if ($newObject==true) { + $groupperm =& xoops_gethandler('groupperm'); + $criteria = new Criteria('gperm_name', _XCONTENT_PERM_TEMPLATE_VIEW_XCONTENT); + $groupperms = $groupperm->getObjects($criteria); + foreach ($groupperms as $id => $perm) { + $newperm = $groupperm->create(); + $newperm->setVar('gperm_groupid', $perm->getVar('gperm_groupid')); + $newperm->setVar('gperm_itemid', $xcontent['xcontent']->getVar('storyid')); + $newperm->setVar('gperm_modid', $GLOBALS['xoopsModule']->getVar('mid')); + $newperm->setVar('gperm_name', _XCONTENT_PERM_MODE_VIEW._XCONTENT_PERM_TYPE_XCONTENT); + @$groupperm->insert($newperm); + } + } + + redirect_header('index.php?op='._XCONTENT_URL_OP_EDIT.'&fct='._XCONTENT_URL_FCT_XCONTENT.'&storyid='.$xcontent['xcontent']->getVar('storyid').'&language='.$xcontent['text']->getVar('language'), 7, _XCONTENT_MSG_XCONTENTSAVED); + exit(0); + + break; + + } + break; + case _XCONTENT_URL_OP_EDIT: + switch ($fct){ + case _XCONTENT_URL_FCT_XCONTENT: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + if ($GLOBALS['xoopsModuleConfig']['json']) $GLOBALS['xoTheme']->addScript( XOOPS_URL._XCONTENT_PATH_JS_CORE ); + if ($GLOBALS['xoopsModuleConfig']['force_cpanel_jquery']) $GLOBALS['xoTheme']->addScript(XOOPS_URL._XCONTENT_PATH_JS_JQUERY); + + $GLOBALS['contentTpl'] = new XoopsTpl(); + $GLOBALS['contentTpl']->assign('passkey', xcontent_passkey()); + $GLOBALS['contentTpl']->assign('xoConfig', $GLOBALS['xoopsModuleConfig']); + $GLOBALS['contentTpl']->assign('xoModule', $GLOBALS['xoopsModule']->toArray()); + $xcontent_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_XCONTENT, _XCONTENT_DIRNAME); + + if (isset($_GET['language'])){ + $xcontent = $xcontent_handler->getContent($storyid, $_GET['language']); + $GLOBALS['contentTpl']->assign('form', xcontent_addxcontent($storyid, $_GET['language'])); + } else { + $xcontent = $xcontent_handler->getContent($storyid, $GLOBALS['xoopsConfig']['language']); + $GLOBALS['contentTpl']->assign('form', xcontent_addxcontent($storyid, $GLOBALS['xoopsConfig']['language'])); + } + $GLOBALS['contentTpl']->assign('xcontent', array_merge($xcontent['xcontent']->toArray(), $xcontent['text']->toArray())); + if (!$GLOBALS['xoopsModuleConfig']['json']) + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_ADDEDITPAGE); + else + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_JSON_ADDEDITPAGE); + xoops_cp_footer(); + break; + case _XCONTENT_URL_FCT_CATEGORY: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + + if ($GLOBALS['xoopsModuleConfig']['json']) $GLOBALS['xoTheme']->addScript( XOOPS_URL._XCONTENT_PATH_JS_CORE ); + if ($GLOBALS['xoopsModuleConfig']['force_cpanel_jquery']) $GLOBALS['xoTheme']->addScript(XOOPS_URL._XCONTENT_PATH_JS_JQUERY); + + $GLOBALS['contentTpl'] = new XoopsTpl(); + $GLOBALS['contentTpl']->assign('passkey', xcontent_passkey()); + $GLOBALS['contentTpl']->assign('xoConfig', $GLOBALS['xoopsModuleConfig']); + $GLOBALS['contentTpl']->assign('xoModule', $GLOBALS['xoopsModule']->toArray()); + $category_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_CATEGORY, _XCONTENT_DIRNAME); + if (isset($_GET['language'])) { + $category = $category_handler->getCategory($catid, $_GET['language']); + } else { + $category = $category_handler->getCategory($catid, $GLOBALS['xoopsConfig']['language']); + } + $GLOBALS['contentTpl']->assign('category', array_merge($category['cat']->toArray(), $category['text']->toArray())); + $GLOBALS['contentTpl']->assign('form', xcontent_addcategory($catid, $language)); + if (!$GLOBALS['xoopsModuleConfig']['json']) + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_ADDEDITCATEGORY); + else + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_JSON_ADDEDITCATEGORY); + + xoops_cp_footer(); + break; + + case _XCONTENT_URL_FCT_BLOCKS: + xoops_cp_header(); + + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + + if ($GLOBALS['xoopsModuleConfig']['json']) $GLOBALS['xoTheme']->addScript( XOOPS_URL._XCONTENT_PATH_JS_CORE ); + if ($GLOBALS['xoopsModuleConfig']['force_cpanel_jquery']) $GLOBALS['xoTheme']->addScript(XOOPS_URL._XCONTENT_PATH_JS_JQUERY); + + $GLOBALS['contentTpl'] = new XoopsTpl(); + $GLOBALS['contentTpl']->assign('passkey', xcontent_passkey()); + $GLOBALS['contentTpl']->assign('xoConfig', $GLOBALS['xoopsModuleConfig']); + $GLOBALS['contentTpl']->assign('xoModule', $GLOBALS['xoopsModule']->toArray()); + $block_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_BLOCK, _XCONTENT_DIRNAME); + if (isset($_GET['language'])) { + $block = $block_handler->getBlock($blockid, $_GET['language']); + } else { + $block = $block_handler->getBlock($blockid, $GLOBALS['xoopsConfig']['language']); + } + $GLOBALS['contentTpl']->assign('block', array_merge($block['block']->toArray(), $block['text']->toArray())); + $GLOBALS['contentTpl']->assign('form', xcontent_addblock($blockid, $language)); + if (!$GLOBALS['xoopsModuleConfig']['json']) + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_ADDEDITBLOCK); + else + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_JSON_ADDEDITBLOCK); + xoops_cp_footer(); + break; + + } + break; + + case _XCONTENT_URL_OP_ADD: + switch ($fct){ + case _XCONTENT_URL_FCT_XCONTENT: + $category_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_CATEGORY, _XCONTENT_DIRNAME); + if ($category_handler->getCount(NULL)==0) { + redirect_header('index.php?op='._XCONTENT_URL_OP_ADD.'&fct='._XCONTENT_URL_FCT_CATEGORIES, 6, _XCONTENT_NEEDCATEGORIES); + exit(0); + } + + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + + if ($GLOBALS['xoopsModuleConfig']['json']) $GLOBALS['xoTheme']->addScript( XOOPS_URL._XCONTENT_PATH_JS_CORE ); + if ($GLOBALS['xoopsModuleConfig']['force_cpanel_jquery']) $GLOBALS['xoTheme']->addScript(XOOPS_URL._XCONTENT_PATH_JS_JQUERY); + + $GLOBALS['contentTpl'] = new XoopsTpl(); + $GLOBALS['contentTpl']->assign('passkey', xcontent_passkey()); + $GLOBALS['contentTpl']->assign('xoConfig', $GLOBALS['xoopsModuleConfig']); + $GLOBALS['contentTpl']->assign('xoModule', $GLOBALS['xoopsModule']->toArray()); + $GLOBALS['contentTpl']->assign('form', xcontent_addxcontent($storyid, $language)); + if (!$GLOBALS['xoopsModuleConfig']['json']) + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_ADDEDITPAGE); + else + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_JSON_ADDEDITPAGE); + xoops_cp_footer(); + break; + case _XCONTENT_URL_FCT_CATEGORIES: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + + if ($GLOBALS['xoopsModuleConfig']['json']) $GLOBALS['xoTheme']->addScript( XOOPS_URL._XCONTENT_PATH_JS_CORE ); + if ($GLOBALS['xoopsModuleConfig']['force_cpanel_jquery']) $GLOBALS['xoTheme']->addScript(XOOPS_URL._XCONTENT_PATH_JS_JQUERY); + + $GLOBALS['contentTpl'] = new XoopsTpl(); + $GLOBALS['contentTpl']->assign('passkey', xcontent_passkey()); + $GLOBALS['contentTpl']->assign('xoConfig', $GLOBALS['xoopsModuleConfig']); + $GLOBALS['contentTpl']->assign('xoModule', $GLOBALS['xoopsModule']->toArray()); + $GLOBALS['contentTpl']->assign('form', xcontent_addcategory($catid, $language)); + if (!$GLOBALS['xoopsModuleConfig']['json']) { + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_ADDEDITCATEGORY); + } else + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_JSON_ADDEDITCATEGORY); + xoops_cp_footer(); + break; + + case _XCONTENT_URL_FCT_BLOCKS: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + + if ($GLOBALS['xoopsModuleConfig']['json']) $GLOBALS['xoTheme']->addScript( XOOPS_URL._XCONTENT_PATH_JS_CORE ); + if ($GLOBALS['xoopsModuleConfig']['force_cpanel_jquery']) $GLOBALS['xoTheme']->addScript(XOOPS_URL._XCONTENT_PATH_JS_JQUERY); + + $GLOBALS['contentTpl'] = new XoopsTpl(); + $GLOBALS['contentTpl']->assign('passkey', xcontent_passkey()); + $GLOBALS['contentTpl']->assign('xoConfig', $GLOBALS['xoopsModuleConfig']); + $GLOBALS['contentTpl']->assign('xoModule', $GLOBALS['xoopsModule']->toArray()); + $GLOBALS['contentTpl']->assign('form', xcontent_addblock($blockid, $language)); + + if (!$GLOBALS['xoopsModuleConfig']['json']) + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_ADDEDITBLOCK); + else + $GLOBALS['contentTpl']->display('db:'._XCONTENT_TEMPLATE_CPANEL_JSON_ADDEDITBLOCK); + + xoops_cp_footer(); + break; + } + break; + case _XCONTENT_URL_OP_DELETE: + switch ($fct){ + case _XCONTENT_URL_FCT_XCONTENT: + if (empty($_POST['confirmed'])) { + xoops_cp_header(); + + xoops_confirm(array('confirmed' => true, 'op' => _XCONTENT_URL_OP_DELETE, 'fct' => _XCONTENT_URL_FCT_XCONTENT, 'storyid' => $storyid), $_SERVER['REQUEST_URI'], sprintf(_XCONTENT_AD_CONFIRM_DELETE, xcontent_getTitle($storyid))); + xoops_cp_footer(); + exit(0); + } + $sql[0] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_XCONTENT)." WHERE storyid = '".$storyid."'"; + $sql[1] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_TEXT)." WHERE type = '"._XCONTENT_ENUM_TYPE_XCONTENT."' and storyid = '".$storyid."'"; + @$GLOBALS['xoopsDB']->queryF($sql[0]); + @$GLOBALS['xoopsDB']->queryF($sql[1]); + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_XCONTENT, 7, _XCONTENT_AD_MSG_DELETE); + break; + + case _XCONTENT_URL_FCT_CATEGORY: + if (empty($_POST['confirmed'])) { + xoops_cp_header(); + xoops_confirm(array('confirmed' => true, 'op' => _XCONTENT_URL_OP_DELETE, 'fct' => _XCONTENT_URL_FCT_CATEGORY, 'catid' => $catid), $_SERVER['REQUEST_URI'], sprintf(_XCONTENT_AD_CONFIRM_DELETE, xcontent_getCatTitle($catid))); + xoops_cp_footer(); + exit(0); + } + $sql[0] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_CATEGORY)." WHERE catid = '".$catid."'"; + $sql[1] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_TEXT)." WHERE type = '"._XCONTENT_ENUM_TYPE_CATEGORY."' and catid = '".$catid."'"; + @$GLOBALS['xoopsDB']->queryF($sql[0]); + @$GLOBALS['xoopsDB']->queryF($sql[1]); + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_CATEGORIES, 7, _XCONTENT_AD_MSG_DELETE); + break; + + case _XCONTENT_URL_FCT_BLOCKS: + if (empty($_POST['confirmed'])) { + xoops_cp_header(); + xoops_confirm(array('confirmed' => true, 'op' => _XCONTENT_URL_OP_DELETE, 'fct' => _XCONTENT_URL_FCT_BLOCKS, 'blockid' => $blockid), $_SERVER['REQUEST_URI'], sprintf(_XCONTENT_AD_CONFIRM_DELETE, xcontent_getBlockTitle($blockid))); + xoops_cp_footer(); + exit(0); + } + $sql[0] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_BLOCK)." WHERE blockid = '".$blockid."'"; + $sql[1] = "DELETE FROM ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_TEXT)." WHERE type = '"._XCONTENT_ENUM_TYPE_BLOCK."' and blockid = '".$blockid."'"; + @$GLOBALS['xoopsDB']->queryF($sql[0]); + @$GLOBALS['xoopsDB']->queryF($sql[1]); + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_BLOCKS, 7, _XCONTENT_AD_MSG_DELETE); + break; + + } + + case _XCONTENT_URL_OP_COPY: + switch ($fct){ + default: + case _XCONTENT_URL_FCT_XCONTENT: + if (empty($_POST['confirmed'])) { + xoops_cp_header(); + xoops_confirm(array('confirmed' => true, 'op' => _XCONTENT_URL_OP_COPY, 'fct' => _XCONTENT_URL_FCT_XCONTENT, 'storyid' => $storyid), $_SERVER['REQUEST_URI'], sprintf(_XCONTENT_AD_CONFIRM_COPY, xcontent_getTitle($storyid))); + xoops_cp_footer(); + exit(0); + } + + $xcontent_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_XCONTENT, _XCONTENT_DIRNAME); + $text_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_TEXT, _XCONTENT_DIRNAME); + $criteria = new CriteriaCompo(new Criteria('storyid', $storyid)); + $criteria->add(new Criteria('type', _XCONTENT_ENUM_TYPE_XCONTENT)); + $xcontent = $xcontent_handler->get($storyid); + $texts = $text_handler->getObjects($criteria); + $xcontentb = $xcontent_handler->create(); + $xcontentb->setVar('storyid', 0); + $xcontentb->setVar('parent_id', $xcontent->getVar('parent_id'), true); + $xcontentb->setVar('blockid', $xcontent->getVar('blockid'), true); + $xcontentb->setVar('catid', $xcontent->getVar('catid'), true); + $xcontentb->setVar('visible', $xcontent->getVar('visible'), true); + $xcontentb->setVar('homepage', $xcontent->getVar('homepage'), true); + $xcontentb->setVar('nohtml', $xcontent->getVar('nohtml'), true); + $xcontentb->setVar('nosmiley', $xcontent->getVar('nosmiley'), true); + $xcontentb->setVar('nobreaks', $xcontent->getVar('nobreaks'), true); + $xcontentb->setVar('nocomments', $xcontent->getVar('nocomments'), true); + $xcontentb->setVar('link', $xcontent->getVar('link'), true); + $xcontentb->setVar('address', $xcontent->getVar('address'), true); + $xcontentb->setVar('submenu', $xcontent->getVar('submenu'), true); + $xcontentb->setVar('date', time(), true); + $xcontentb->setVar('assoc_module', $xcontent->getVar('assoc_module'), true); + $xcontentb->setVar('tags', $xcontent->getVar('tags'), true); + if ($xcontent_handler->insert($xcontentb)){ + $page++; + foreach($texts as $id => $text) { + $textb = $text_handler->create(); + $textb->setVar('storyid', $xcontentb->getVar('storyid'), true); + $textb->setVar('type', $text->getVar('type'), true); + $textb->setVar('language', $text->getVar('language'), true); + $textb->setVar('title', $text->getVar('title'), true); + $textb->setVar('ptitle', $text->getVar('ptitle'), true); + $textb->setVar('text', $text->getVar('text'), true); + $textb->setVar('rss', $text->getVar('rss'), true); + $textb->setVar('keywords', $text->getVar('keywords'), true); + $textb->setVar('page_description', $text->getVar('page_description'), true); + if ($text_handler->insert($textb)) + $page++; + } + } else { + xoops_cp_header(); + echo loadModuleAdminMenu(1, ""); + echo xoops_error(implode("<br/>",$xcontentb->getErrors()).'<pre>'.print_r($xcontentb, true).'</pre>'); + xoops_cp_footer(); + exit(0); + } + + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_XCONTENT, 7, sprintf(_XCONTENT_AD_MSG_COPY, $page)); + break; + + case _XCONTENT_URL_FCT_BLOCKS: + if (empty($_POST['confirmed'])) { + xoops_cp_header(); + xoops_confirm(array('confirmed' => true, 'op' => _XCONTENT_URL_OP_COPY, 'fct' => _XCONTENT_URL_FCT_BLOCKS, 'blockid' => $blockid), $_SERVER['REQUEST_URI'], sprintf(_XCONTENT_AD_CONFIRM_COPY, xcontent_getBlockTitle($blockid))); + xoops_cp_footer(); + exit(0); + } + + $block_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_BLOCK, _XCONTENT_DIRNAME); + $text_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_TEXT, _XCONTENT_DIRNAME); + $criteria = new CriteriaCompo(new Criteria('blockid', $blockid)); + $criteria->add(new Criteria('type', _XCONTENT_ENUM_TYPE_BLOCK)); + $block = $block_handler->get($blockid); + $texts = $text_handler->getObjects($criteria); + $blockb = $block_handler->create(); + $blockb->setVar('blockid', 0); + $blockb->setVar('created', time(), true); + $blockb->setVar('uid', $block->getVar('uid'), true); + if ($block_handler->insert($blockb)){ + $page++; + foreach($texts as $id => $text) { + $textb = $text_handler->create(); + $textb->setVar('blockid', $blockb->getVar('blockid'), true); + $textb->setVar('type', $text->getVar('type'), true); + $textb->setVar('language', $text->getVar('language'), true); + $textb->setVar('title', $text->getVar('title'), true); + $textb->setVar('ptitle', $text->getVar('ptitle'), true); + $textb->setVar('text', $text->getVar('text'), true); + $textb->setVar('rss', $text->getVar('rss'), true); + $textb->setVar('keywords', $text->getVar('keywords'), true); + $textb->setVar('page_description', $text->getVar('page_description'), true); + if ($text_handler->insert($textb)) + $page++; + } + } else { + xoops_cp_header(); + echo xoops_error(implode("<br/>",$categoryb->getErrors()).'<pre>'.print_r($categoryb, true).'</pre>'); + xoops_cp_footer(); + exit(0); + } + + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_BLOCKS, 7, sprintf(_XCONTENT_AD_MSG_COPY, $page)); + break; + + case _XCONTENT_URL_FCT_CATEGORY: + if (empty($_POST['confirmed'])) { + xoops_cp_header(); + xoops_confirm(array('confirmed' => true, 'op' => _XCONTENT_URL_OP_COPY, 'fct' => _XCONTENT_URL_FCT_CATEGORY, 'catid' => $catid), $_SERVER['REQUEST_URI'], sprintf(_XCONTENT_AD_CONFIRM_COPY, xcontent_getCatTitle($catid))); + xoops_cp_footer(); + exit(0); + } + + $category_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_CATEGORY, _XCONTENT_DIRNAME); + $text_handler =& xoops_getmodulehandler(_XCONTENT_CLASS_TEXT, _XCONTENT_DIRNAME); + $criteria = new CriteriaCompo(new Criteria('catid', $catid)); + $criteria->add(new Criteria('type', _XCONTENT_ENUM_TYPE_CATEGORY)); + $category = $category_handler->get($catid); + $texts = $text_handler->getObjects($criteria); + $categoryb = $category_handler->create(); + $categoryb->setVar('catid', 0); + $categoryb->setVar('parent_id', $category->getVar('parent_id'), true); + $categoryb->setVar('rssenabled', $category->getVar('rssenabled'), true); + if ($category_handler->insert($categoryb)){ + $page++; + foreach($texts as $id => $text) { + $textb = $text_handler->create(); + $textb->setVar('catid', $categoryb->getVar('catid'), true); + $textb->setVar('type', $text->getVar('type'), true); + $textb->setVar('language', $text->getVar('language'), true); + $textb->setVar('title', $text->getVar('title'), true); + $textb->setVar('ptitle', $text->getVar('ptitle'), true); + $textb->setVar('text', $text->getVar('text'), true); + $textb->setVar('rss', $text->getVar('rss'), true); + $textb->setVar('keywords', $text->getVar('keywords'), true); + $textb->setVar('page_description', $text->getVar('page_description'), true); + if ($text_handler->insert($textb)) + $page++; + } + } else { + xoops_cp_header(); + echo xoops_error(implode("<br/>",$categoryb->getErrors()).'<pre>'.print_r($categoryb, true).'</pre>'); + xoops_cp_footer(); + exit(0); + } + + redirect_header('index.php?op='._XCONTENT_URL_OP_MANAGE.'&fct='._XCONTENT_URL_FCT_CATEGORIES, 7, sprintf(_XCONTENT_AD_MSG_COPY, $page)); + break; + + } + case _XCONTENT_URL_OP_MANAGE: + switch ($fct){ + case _XCONTENT_URL_FCT_XCONTENT: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + $indexAdmin->addItemButton(_XCONTENT_XCONTENT_ADMENU2, "index.php?op="._XCONTENT_URL_OP_ADD."&fct="._XCONTENT_URL_FCT_XCONTENT, 'add' , ''); + echo $indexAdmin->renderButton('right', ''); + echo xcontent_listxcontent(); + xoops_cp_footer(); + break; + case _XCONTENT_URL_FCT_BLOCKS: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + $indexAdmin->addItemButton(_XCONTENT_XCONTENT_ADMENU6, "index.php?op="._XCONTENT_URL_OP_ADD."&fct="._XCONTENT_URL_FCT_BLOCKS, 'add' , ''); + echo $indexAdmin->renderButton('right', ''); + echo xcontent_listblock(); + xoops_cp_footer(); + break; + case _XCONTENT_URL_FCT_CATEGORIES: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='.$fct); + $indexAdmin->addItemButton(_XCONTENT_XCONTENT_ADMENU4, "index.php?op="._XCONTENT_URL_OP_ADD."&fct="._XCONTENT_URL_FCT_CATEGORIES, 'add' , ''); + echo $indexAdmin->renderButton('right', ''); + echo xcontent_listcategory(); + xoops_cp_footer(); + break; + } + break; + case _XCONTENT_URL_OP_PERMISSIONS: + xoops_cp_header(); + $indexAdmin = new ModuleAdmin(); + echo $indexAdmin->addNavigation(basename($_SERVER['PHP_SELF']).'?op='.$op.'&fct='._XCONTENT_URL_FCT_TEMPLATE.'&mode='._XCONTENT_PERM_MODE_ALL); + + include_once $GLOBALS['xoops']->path(_XCONTENT_PATH_PHP_GROUPPERMS); + + foreach ($_POST as $k => $v) { + ${$k} = $v; + } + + foreach ($_GET as $k => $v) { + ${$k} = $v; + } + + echo '<div style="float:right; clear:both;"><form name="perms"><select name="permlinks" onChange="window.location=document.perms.permlinks.options[document.perms.permlinks.selectedIndex].value">'; + if ($GLOBALS['xoopsModuleConfig']['security'] == _XCONTENT_SECURITY_BASIC) { + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_TEMPLATE.'&mode='._XCONTENT_PERM_MODE_ALL.'"'; + if ($fct==_XCONTENT_URL_FCT_TEMPLATE) echo ' selected="selected">'._XCONTENT_PERM_DEFAULT_TEMPLATE.'</option>'; else echo '>'._XCONTENT_PERM_DEFAULT_TEMPLATE.'</option>'; + if ($fct==_XCONTENT_URL_FCT_CATEGORIES && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_CATEGORY.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_CATEGORY.'</option>'; + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_XCONTENT.'&mode='._XCONTENT_PERM_MODE_VIEW.'"'; + if ($fct==_XCONTENT_URL_FCT_XCONTENT && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_XCONTENT.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_XCONTENT.'</option>'; + } elseif ($GLOBALS['xoopsModuleConfig']['security'] == _XCONTENT_SECURITY_INTERMEDIATE) { + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_TEMPLATE.'&mode='._XCONTENT_PERM_MODE_ALL.'"'; + if ($fct==_XCONTENT_URL_FCT_TEMPLATE && $_GET['mode']==_XCONTENT_PERM_MODE_ALL) echo ' selected="selected">'._XCONTENT_PERM_DEFAULT_TEMPLATE.'</option>'; else echo '>'._XCONTENT_PERM_DEFAULT_TEMPLATE.'</option>'; + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_CATEGORIES.'&mode='._XCONTENT_PERM_MODE_VIEW.'"'; + if ($fct==_XCONTENT_URL_FCT_CATEGORIES && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_CATEGORY.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_CATEGORY.'</option>'; + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_XCONTENT.'&mode='._XCONTENT_PERM_MODE_VIEW.'"'; + if ($fct==_XCONTENT_URL_FCT_XCONTENT && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_XCONTENT.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_XCONTENT.'</option>'; + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_BLOCKS.'&mode='._XCONTENT_PERM_MODE_VIEW.'"'; + if ($fct==_XCONTENT_URL_FCT_BLOCKS && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_BLOCK.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_BLOCK.'</option>'; + if ($fct==_XCONTENT_URL_FCT_CATEGORIES && $_GET['mode']==_XCONTENT_PERM_MODE_ADD) echo ' selected="selected">'._XCONTENT_PERM_ADD_XCONTENT.'</option>'; else echo '>'._XCONTENT_PERM_EDIT_BLOCK.'</option>'; + } else { + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_TEMPLATE.'&mode='._XCONTENT_PERM_MODE_ALL.'"'; + if ($fct==_XCONTENT_URL_FCT_TEMPLATE && $_GET['mode']==_XCONTENT_PERM_MODE_ALL) echo ' selected="selected">'._XCONTENT_PERM_DEFAULT_TEMPLATE.'</option>'; else echo '>'._XCONTENT_PERM_DEFAULT_TEMPLATE.'</option>'; + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_CATEGORIES.'&mode='._XCONTENT_PERM_MODE_VIEW.'"'; + if ($fct==_XCONTENT_URL_FCT_CATEGORIES && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_CATEGORY.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_CATEGORY.'</option>'; + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_XCONTENT.'&mode='._XCONTENT_PERM_MODE_VIEW.'"'; + if ($fct==_XCONTENT_URL_FCT_XCONTENT && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_XCONTENT.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_XCONTENT.'</option>'; + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_BLOCKS.'&mode='._XCONTENT_PERM_MODE_VIEW.'"'; + if ($fct==_XCONTENT_URL_FCT_BLOCKS && $_GET['mode']==_XCONTENT_PERM_MODE_VIEW) echo ' selected="selected">'._XCONTENT_PERM_VIEW_BLOCK.'</option>'; else echo '>'._XCONTENT_PERM_VIEW_BLOCK.'</option>'; + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_CATEGORIES.'&mode='._XCONTENT_PERM_MODE_EDIT.'"'; + if ($fct==_XCONTENT_URL_FCT_CATEGORIES && $_GET['mode']==_XCONTENT_PERM_MODE_EDIT) echo ' selected="selected">'._XCONTENT_PERM_EDIT_CATEGORY.'</option>'; else echo '>'._XCONTENT_PERM_EDIT_CATEGORY.'</option>'; + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_XCONTENT.'&mode='._XCONTENT_PERM_MODE_EDIT.'"'; + if ($fct==_XCONTENT_URL_FCT_XCONTENT && $_GET['mode']==_XCONTENT_PERM_MODE_EDIT) echo ' selected="selected">'._XCONTENT_PERM_EDIT_XCONTENT.'</option>'; else echo '>'._XCONTENT_PERM_EDIT_XCONTENT.'</option>'; + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_BLOCKS.'&mode='._XCONTENT_PERM_MODE_EDIT.'"'; + if ($fct==_XCONTENT_URL_FCT_BLOCKS && $_GET['mode']==_XCONTENT_PERM_MODE_EDIT) echo ' selected="selected">'._XCONTENT_PERM_EDIT_BLOCK.'</option>'; else echo '>'._XCONTENT_PERM_EDIT_BLOCK.'</option>'; + + echo '<option value="'.XOOPS_URL.'/modules/xcontent/admin/index.php?op='._XCONTENT_URL_OP_PERMISSIONS.'&fct='._XCONTENT_URL_FCT_XCONTENT.'&mode='._XCONTENT_PERM_MODE_ADD.'"'; + if ($fct==_XCONTENT_URL_FCT_XCONTENT && $_GET['mode']==_XCONTENT_PERM_MODE_ADD) echo ' selected="selected">'._XCONTENT_PERM_ADD_XCONTENT.'</option>'; else echo '>'._XCONTENT_PERM_ADD_XCONTENT.'</option>'; + + } + + echo '</select> <input type="button" name="go" value="'._SUBMIT.'" onClick="window.location=document.perms.permlinks.options[document.perms.permlinks.selectedIndex].value"> </form></div>'; + + switch ($fct) { + case _XCONTENT_URL_FCT_CATEGORIES: + default: + // View Categories permissions + $item_list_view = array(); + $block_view = array(); + + $result_view = $GLOBALS['xoopsDB']->query("SELECT catid FROM ".$GLOBALS['xoopsDB']->prefix(_XCONTENT_TABLE_CATEGORY)." "); + if ($GLOBALS['xoopsDB']->getRowsNum($result_view)) { + while ($myrow_view = $GLOBALS['xoopsDB']->fetcharray($result_view)) { + $item_list_view['cid'] = $myrow_view['catid']; + $item_list_view['title'] = xcontent_getCatTitle($myrow_view['catid']); + $form_view = new XoopsGroupPermForm("", $GLOBALS['xoopsModule']->getVar('mid'), $mode._XCONTENT_PERM_TYPE_CATEGORY, "<img id='toptableicon' src=".XOOPS_URL."/modules/".$GLOBALS['xoopsModule']->dirname()."/images/close12.gif alt='' /></a>"._XCONTENT_PERMISSIONS_CATEGORY."</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size... [truncated message content] |
From: <be...@us...> - 2012-08-06 07:33:06
|
Revision: 9993 http://xoops.svn.sourceforge.net/xoops/?rev=9993&view=rev Author: beckmi Date: 2012-08-06 07:32:31 +0000 (Mon, 06 Aug 2012) Log Message: ----------- Adding unofficial 2.5.6 Alpha version that runs on PHP 5.4.5 Added Paths: ----------- XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/README.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/changelog.250.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/changelog.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/images/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/install.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/lang_diff.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/docs/license.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/altsys_functions.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/altsys_functions.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/login.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/admin/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/admin/filemanager/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/admin/filemanager/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/admin/filemanager/jquery.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/admin/filemanager/main.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/admin/filemanager/xoops_version.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/admin/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/js/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/js/filemanager.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/js/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/language/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/language/english/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/language/english/admin/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/language/english/admin/filemanager.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/language/english/admin/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/language/english/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/language/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/templates/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/templates/admin/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/templates/admin/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/templates/admin/system_filemanager.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/extras/modules/system/templates/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/changelog.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/functions.admin.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/functions.cache.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/functions.config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/functions.ini.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/functions.locale.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/functions.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/functions.user.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/object.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/xoops_version.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/art/xoopsart.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/compat/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/compat/include/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/compat/include/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/compat/include/left_both.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/compat/include/modadminbg.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/compat/include/right_both.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/compat/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/0.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/1.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/1day.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/ASC.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/DESC.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/add.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/add_off.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/attach.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/back.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/close12.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/delete.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/down.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/down.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/down_off.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/download.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/edit.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/editcopy.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/editcut.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/editpaste.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/film.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/folder.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/folder_add.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/folder_delete.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/forum.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/forward.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/green.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/green_off.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/inserttable.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/mail_delete.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/mail_forward.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/mail_generic.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/mail_new.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/mail_notread.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/mail_read.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/mail_replay.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/off.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/on.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/open12.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/pdf.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/pixel.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/printer.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/red.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/red_off.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/rss.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/search.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/topic.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/up.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/up.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/16/up_off.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/about.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/add.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/addlink.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/administration.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/album.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/alert.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/attach.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/bg_button.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/block.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/brokenlink.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/button_ok.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/calculator.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/cart_add.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/cash_stack.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/category.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/categoryadd.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/compfile.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/content.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/delete.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/delivery.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/digest.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/discount.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/download.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/event.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/exec.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/export.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/extention.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/face-smile.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/faq.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/fileshare.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/firewall.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/folder1_html.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/folder_txt.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/forums.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/globe.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/groupmod.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/help.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/highlight.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/home.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/identity.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/index.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/insert_table_row.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/languages.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/list.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/mail_country.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/mail_foward.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/manage.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/marquee.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/metagen.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/modifiedlink.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/newsletter.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/penguin.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/permissions.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/photo.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/poll.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/prune.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/search.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/security.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/slideshow.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/stats.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/submittedlink.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/synchronized.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/translations.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/type.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/update.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/user-icon.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/users.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/view_detailed.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/view_text.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/watermark.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/wizard.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/32/xoopsmicrobutton.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/balatarin.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/blinklist.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/delicious.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/designfloat.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/diggman.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/facebook_share_icon.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/fark.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/furl.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/google-icon.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/google-reader-icon.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/google_buzz_icon.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/google_plus.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/mixx.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/myspace.jpg XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/newsvine.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/reddit.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/scriptandstyle.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/sel.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/simpy.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/spurl.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/stumbleupon.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/technorati.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/twitter_share_icon.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/xnewsvine.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/bookmarks/yahoomyweb.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/icons/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/css/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/css/admin.css XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/css/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/doc/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/doc/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/doc/readme.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/images/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/images/bg_button.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/images/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/language/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/language/english/main.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/language/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/moduleclasses/moduleadmin/xoops_version.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/readme.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/textsanitizer/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/textsanitizer/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/Frameworks/textsanitizer/module.textsanitizer.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/admin.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/backend.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/banners.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/browse.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/cache/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/cache/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/cache/readme.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/auth.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/auth_ads.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/auth_ldap.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/auth_provisionning.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/auth_xoops.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/authfactory.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/auth/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/apc.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/file.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/memcache.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/model.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/xcache.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/cache/xoopscache.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/config.image.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/config.recaptcha.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/config.text.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background00.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background01.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background02.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background03.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background04.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background05.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background06.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background07.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background08.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background09.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/background10.png XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/backgrounds/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/Vera.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraBI.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraBd.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraIt.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraMoBI.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraMoBd.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraMoIt.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraMono.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/VeraSe.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/fonts/verasebd.ttf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/scripts/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/scripts/image.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image/scripts/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/image.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/recaptcha/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/recaptcha/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/recaptcha/recaptchalib.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/recaptcha.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/text.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/captcha/xoopscaptcha.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/class.tar.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/class.zipfile.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/commentrenderer.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/criteria.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/database/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/database/database.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/database/databasefactory.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/database/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/database/mysqldatabase.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/database/sqlutility.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/downloader.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/errorhandler.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/file/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/file/file.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/file/folder.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/file/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/file/xoopsfile.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/logger/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/logger/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/logger/render.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/logger/xoopslogger.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/logger.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/logger_render.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/ChangeLog.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/LICENSE XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/README XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/class.phpmailer.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/class.pop3.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/class.smtp.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/docs.ini XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/language/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/language/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mail/xoopsmultimailer.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/mimetypes.inc.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/joint.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/read.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/stats.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/sync.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/write.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/model/xoopsmodel.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/module.errorhandler.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/module.textsanitizer.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/pagenav.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/preload.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/Config_File.class.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/Smarty.class.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/Smarty_Compiler.class.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/configs/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/configs/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/configs/test.conf XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/debug.tpl XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.assemble_plugin_filepath.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.assign_smarty_interface.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.create_dir_structure.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.display_debug_console.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.get_include_path.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.get_microtime.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.get_php_resource.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.is_secure.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.is_trusted.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.load_plugins.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.load_resource_plugin.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.process_cached_inserts.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.process_compiled_include.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.read_cache_file.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.rm_auto.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.rmdir.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.run_insert_handler.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.smarty_include_php.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.write_cache_file.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.write_compiled_include.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.write_compiled_resource.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/core.write_file.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/internals/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/block.textformat.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/compiler.assign.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.assign_debug_info.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.config_load.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.counter.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.cycle.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.debug.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.eval.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.fetch.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.html_checkboxes.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.html_image.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.html_options.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.html_radios.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.html_select_date.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.html_select_time.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.html_table.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.mailto.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.math.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.popup.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/function.popup_init.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.capitalize.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.cat.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.count_characters.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.count_paragraphs.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.count_sentences.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.count_words.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.date_format.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.debug_print_var.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.default.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.escape.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.indent.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.lower.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.nl2br.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.regex_replace.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.replace.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.spacify.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.string_format.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.strip.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.strip_tags.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.truncate.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.upper.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/modifier.wordwrap.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/outputfilter.trimwhitespace.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/shared.escape_special_chars.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/plugins/shared.make_timestamp.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.foreachq.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.includeq.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.xoAdminIcons.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.xoAdminNav.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.xoAppUrl.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.xoImgUrl.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.xoModuleIcons16.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.xoModuleIcons32.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/compiler.xoModuleIconsBookmarks.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/function.block.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/function.xoMemberInfo.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/function.xoPageNav.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/function.xoops_link.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/modifier.debug_print_var.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/smarty/xoops_plugins/resource.db.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/snoopy.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/tardownloader.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/template.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/censor/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/censor/censor.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/censor/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/censor/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/config.custom.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/flash/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/flash/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/flash/flash.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/flash/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/iframe/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/iframe/iframe.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/iframe/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/image/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/image/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/image/image.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/image/image.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/image/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/li/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/li/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/li/li.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/mms/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/mms/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/mms/mms.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/mp3/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/mp3/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/mp3/mp3.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/readme.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/rtsp/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/rtsp/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/rtsp/rtsp.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/syntaxhighlight/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/syntaxhighlight/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/syntaxhighlight/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/textfilter/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/textfilter/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/textfilter/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/textfilter/textfilter.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/ul/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/ul/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/ul/ul.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/wiki/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/wiki/config.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/wiki/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/wiki/wiki.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/wmp/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/wmp/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/wmp/wmp.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/youtube/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/youtube/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/textsanitizer/youtube/youtube.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/theme.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/theme_blocks.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/tree.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/uploader.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/userutility.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/utility/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/utility/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/utility/xoopsutility.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/bloggerapi.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/metaweblogapi.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/movabletypeapi.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/xmlrpcapi.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/xmlrpcparser.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/xmlrpctag.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rpc/xoopsapi.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rss/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rss/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/rss/xmlrss2parser.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/saxparser.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/themesetparser.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xml/xmltaghandler.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopsblock.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopscomments.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/dhtmltextarea/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/dhtmltextarea/dhtmltextarea.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/dhtmltextarea/editor_registry.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/dhtmltextarea/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/dhtmltextarea/language/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/dhtmltextarea/language/english.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/dhtmltextarea/language/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/readme.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/sampleform.inc.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/textarea/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/textarea/editor_registry.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/textarea/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/textarea/language/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/textarea/language/english.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/textarea/language/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/textarea/textarea.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/editor_registry.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/formtinymce.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/include/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/include/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/include/xoopscode.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/include/xoopsemotions.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/include/xoopsimagemanager.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/include/xoopsmlcontent.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/include/xoopsquote.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/language/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/language/english.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/language/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/settings.php XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/style.css XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/en.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/langs/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/license.txt XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/index.html XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm XoopsCore/branches/tasks/2.5.6_PHP5.4_mamba/htdocs/class/xoopseditor/tinymce/tinymce/jscript... [truncated message content] |
From: <ir...@us...> - 2012-08-06 06:31:04
|
Revision: 9992 http://xoops.svn.sourceforge.net/xoops/?rev=9992&view=rev Author: irmtfan Date: 2012-08-06 06:30:55 +0000 (Mon, 06 Aug 2012) Log Message: ----------- hardcodes fix in search, icon path, templates and english style readme added Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php XoopsModules/newbb/branches/irmtfan/newbb/search.php XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_index.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_thread.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html XoopsModules/newbb/branches/irmtfan/newbb/viewpost.php XoopsModules/newbb/branches/irmtfan/newbb/viewtopic.php Added Paths: ----------- XoopsModules/newbb/branches/irmtfan/newbb/docs/readme.txt Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt 2012-08-05 23:03:22 UTC (rev 9991) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt 2012-08-06 06:30:55 UTC (rev 9992) @@ -1,4 +1,19 @@ Changelog from rev.9883 +date: 2012-08-06 +================================================ +1- hardcode fix: using header php command instead of redirect_header XOOPS function (deka87/irmtfan) +in newbb/search.php +(Also hardcoded in latest core in xoops2.5.5/htdocs/search.php) + +2- hardcode fix: icon_path smarty variable was hardcoded in viewtopic and viewpost and is not defined in class/forum.php (irmtfan) +in newbb/viewtopic.php, newbb/viewpost.php, newbb/class/forum.php + +3- hardcode icons and some hardcodes has been solved in templates: +in newbb/templates/newbb_thread.html, newbb/templates/newbb_index.html, newbb/templates/newbb_viewforum_subforum.html + +4- add readme.txt +in docs/readme.txt + date: 2012-08-04 ================================================ 1- bug fixed: error in newbb/polls.php when the strtotime is not defined in XoopsLocal class (irmtfan) Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php 2012-08-05 23:03:22 UTC (rev 9991) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/forum.php 2012-08-06 06:30:55 UTC (rev 9992) @@ -1,905 +1,909 @@ -<?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; - - return true; - } - - /** - * forum data synchronization - * - * @param mixed $object null for all forums; integer for forum_id; object for forum object - * @param integer $mode 1 for stats only; 2 for forum index data only; 0 for both - * - */ - function synchronization($object = null) - { - if (empty($object)) { - $forums = $this->getIds(); - foreach ($forums as $id) { - $this->synchronization($id); - } - return true; - } - - if (!is_object($object)) { - $object =& $this->get(intval($object)); - } - - if (!$object->getVar("forum_id")) return false; - $sql = "SELECT MAX(post_id) AS last_post, COUNT(*) AS total FROM " . $this->db->prefix("bb_posts") . " AS p LEFT JOIN " . $this->db->prefix("bb_topics") . " AS t ON p.topic_id=t.topic_id WHERE p.approved=1 AND t.approved=1 AND p.forum_id = ".$object->getVar("forum_id"); - - if ( $result = $this->db->query($sql)) { - $last_post = 0; - $posts = 0; - if ( $row = $this->db->fetchArray($result) ) { - $last_post = intval($row['last_post']); - $posts = intval($row['total']); - } - if ($object->getVar("forum_last_post_id") != $last_post) { - $object->setVar("forum_last_post_id", $last_post); - } - if ($object->getVar("forum_posts") != $posts) { - $object->setVar("forum_posts", $posts); - } - } - - $sql = "SELECT COUNT(*) AS total FROM " . $this->db->prefix("bb_topics") . " WHERE approved=1 AND forum_id = " . $object->getVar("forum_id"); - if ( $result = $this->db->query($sql) ) { - if ( $row = $this->db->fetchArray($result) ) { - if ($object->getVar("forum_topics") != $row['total']) { - $object->setVar("forum_topics", $row['total']); - } - } - } - $object->setDirty(); - return $this->insert($object, true); - } - - function getSubforumStats($subforums = null) - { - $stats = array(); - - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.forum.php"; - - $_subforums = newbb_getSubForum(); - if (empty($subforums)) { - $sub_forums = $_subforums; - } else { - foreach ($subforums as $id) { - $sub_forums[$id] =& $_subforums[$id]; - } - } - - $forums_id = array(); - foreach (array_keys($sub_forums) as $id) { - if (empty($sub_forums[$id])) continue; - $forums_id = array_merge($forums_id, $sub_forums[$id]); - } - if (!$forums_id) { - return $stats; - } - $sql = " SELECT forum_posts AS posts, forum_topics AS topics, forum_id AS id". - " FROM " . $this->table . - " WHERE forum_id IN (". implode(", ", $forums_id).")"; - if ( !$result = $this->db->query($sql) ) { - return $stats; - } - - $forum_stats = array(); - while( $row = $this->db->fetchArray($result) ) { - $forum_stats[$row["id"]] = array("topics" => $row["topics"], "posts" => $row["posts"]); - } - - foreach (array_keys($sub_forums) as $id) { - if (empty($sub_forums[$id])) continue; - $stats[$id] = array( "topics" => 0, "posts" => 0 ); - foreach ($sub_forums[$id] as $fid) { - $stats[$id]["topics"] += $forum_stats[$fid]["topics"]; - $stats[$id]["posts"] += $forum_stats[$fid]["posts"]; - } - } - - return $stats; - } - - function &display($forums, $length_title_index = 30, $count_subforum = 1) - { - global $xoopsModule, $xoopsConfig, $xoopsModuleConfig, $myts; - - $posts = array(); - $posts_obj = array(); - foreach (array_keys($forums) as $id) { - $posts[] = $forums[$id]["forum_last_post_id"]; - } - if (!empty($posts)) { - $post_handler =& xoops_getmodulehandler('post', 'newbb'); - $tags_post = array("uid", "topic_id", "post_time", "poster_name", "icon"); - if (!empty($length_title_index)) { - $tags_post[] = "subject"; - } - $posts = $post_handler->getAll(new Criteria("post_id", "(" . implode(", ", $posts) . ")", "IN"), $tags_post, false); - } - - - // Get topic/post stats per forum - $stats_forum = array(); - - if (!empty($count_subforum)) { - //$stats_forum = $this->getSubforumStats(array_keys($forums)); - } - - $users = array(); - $reads = array(); - $topics = array(); - - foreach (array_keys($forums) as $id) { - $forum =& $forums[$id]; - - if (!$forum["forum_last_post_id"]) continue; - if (!$post = @$posts[$forum["forum_last_post_id"]]) { - $forum["forum_last_post_id"] = 0; - continue; - } - - $users[] = $post["uid"]; - if ($moderators[$id] = $forum["forum_moderator"]) { - $users = array_merge($users, $moderators[$id]); - } - - // reads - if (!empty($xoopsModuleConfig["read_mode"])) { - $reads[$id] = ($xoopsModuleConfig["read_mode"] == 1) ? $post['post_time'] : $post['post_id']; - } - } - - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.user.php"; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.time.php"; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.render.php"; - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.read.php"; - $forum_isread = newbb_isRead("forum", $reads); - $users_linked = newbb_getUnameFromIds(array_unique($users), !empty($xoopsModuleConfig['show_realname']), true); - - $forums_array = array(); - $name_anonymous = $myts->htmlSpecialChars($GLOBALS["xoopsConfig"]["anonymous"]); - - foreach (array_keys($forums) as $id) { - - $forum =& $forums[$id]; - - $_forum_data = array(); - $_forum_data["forum_order"] = $forum['forum_order']; - $_forum_data["forum_id"] = $id; - $_forum_data["forum_cid"] = $forum['cat_id']; - $_forum_data["forum_name"] = $forum['forum_name']; - $_forum_data["forum_desc"] = $myts->displayTarea($forum['forum_desc']); - $_forum_data["forum_topics"]= $forum["forum_topics"] + @$stats_forum[$id]["topics"]; - $_forum_data["forum_posts"] = $forum["forum_posts"] + @$stats_forum[$id]["posts"]; - //$_forum_data["forum_type"]= $forum['forum_type']; - - $forum_moderators = array(); - if (!empty($moderators[$id])) { - foreach ( @$moderators[$id] as $moderator ) { - $forum_moderators[] = @$users_linked[$moderator]; - } - } - $_forum_data["forum_moderators"] = implode(", ", $forum_moderators); - - - if ($post_id = $forum["forum_last_post_id"]): - $post =& $posts[$post_id]; - $_forum_data['forum_lastpost_id'] = $post_id; - $_forum_data['forum_lastpost_time'] = newbb_formatTimestamp($post['post_time']); - if (!empty($users_linked[$post["uid"]])) { - $_forum_data["forum_lastpost_user"] = $users_linked[$post["uid"]]; - } elseif ($poster_name = $post["poster_name"]) { - $_forum_data["forum_lastpost_user"] = $poster_name; - } else { - $_forum_data["forum_lastpost_user"] = $name_anonymous; - } - if (!empty($length_title_index)) { - $subject = $post["subject"]; - if ($length_title_index < 255) { - $subject = xoops_substr($subject, 0, $length_title_index); - } - $_forum_data['forum_lastpost_subject'] = $subject; - } - $_forum_data['forum_lastpost_icon'] = 'lastposticon.png'; - endif; - - - $forum_folder = (empty($forum_isread[$id]) && $post_id > 0) ? 'forum_new' : 'forum'; - $_forum_data['forum_folder'] = newbb_displayImage($forum_folder); - - $forums_array[$forum['parent_forum']][] = $_forum_data; - } - - return $forums_array; - } - - - /** - * get a hierarchical tree of forums - * - * {@link newbbTree} - * - * @param int $cat_id category ID - * @param int $pid Top forum ID - * @param string $permission permission type - * @param string $prefix prefix for display - * @param string $tags variables to fetch - * @return array associative array of category IDs and sanitized titles - */ - function &getTree($cat_id = 0, $pid = 0, $permission = "access", $prefix = "--", $tags = null) - { - $pid = intval($pid); - $perm_string = $permission; - if (!is_array($tags) || count($tags)==0) { - $tags = array("forum_id", "parent_forum", "forum_name", "forum_order", "cat_id"); - } - $forums_obj = $this->getByPermission($cat_id, $perm_string, $tags); - - require_once dirname(__FILE__) . "/tree.php"; - $forums_structured = array(); - foreach (array_keys($forums_obj) as $key) { - $forums_structured[$forums_obj[$key]->getVar("cat_id")][$key] =& $forums_obj[$key]; - } - - foreach (array_keys($forums_structured) as $cid) { - $tree = new newbbObjectTree($forums_structured[$cid]); - $forum_array[$cid] = $tree->makeTree($prefix, $pid, $tags); - unset($tree); - } - - return $forum_array; - } - - /** - * get a hierarchical array tree of forums - * - * {@link newbbTree} - * - * @param int $cat_id category ID - * @param int $pid Top forum ID - * @param string $permission permission type - * @param string $tags variables to fetch - * @param integer $depth level of subcategories - * @return array associative array of category IDs and sanitized titles - */ - function &getArrayTree($cat_id =0, $pid = 0, $permission = "access", $tags = null, $depth = 0) - { - $pid = intval($pid); - $perm_string = $permission; - if (!is_array($tags) || count($tags)==0) $tags = array("forum_id", "parent_forum", "forum_name", "forum_order", "cat_id"); - $forums_obj =& $this->getByPermission($cat_id, $perm_string, $tags); - - require_once(dirname(__FILE__) . "/tree.php"); - $forums_structured = array(); - foreach (array_keys($forums_obj) as $key) { - $forum_obj =& $forums_obj[$key]; - $forums_structured[$forum_obj->getVar("cat_id")][$key] =& $forums_obj[$key]; - } - foreach (array_keys($forums_structured) as $cid) { - $tree = new newbbObjectTree($forums_structured[$cid]); - $forum_array[$cid] = $tree->makeArrayTree($pid, $tags, $depth); - unset($tree); - } - return $forum_array; - } - - function &getParents(&$object) - { - $ret = null; - if ( !$object->getVar("forum_id") ) return $ret; - - require_once XOOPS_ROOT_PATH . "/modules/newbb/include/functions.forum.php"; - if ( !$parents = newbb_getParentForum($object->getVar("forum_id")) ) return $ret; - $parents_list = $this->getList(new Criteria("forum_id", "(" . implode(", ", $parents) . ")", "IN")); - foreach ($parents as $key => $id) { - $ret[] = array("forum_id" => $id, "forum_name" => $parents_list[$id]); - } - unset($parents, $parents_list); - return $ret; - } -} +<?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' ... [truncated message content] |
From: <be...@us...> - 2012-08-05 23:03:32
|
Revision: 9991 http://xoops.svn.sourceforge.net/xoops/?rev=9991&view=rev Author: beckmi Date: 2012-08-05 23:03:22 +0000 (Sun, 05 Aug 2012) Log Message: ----------- Adding branches for Jagibu and Mamba Added Paths: ----------- XoopsModules/smartpartner/branches/jagibu/ XoopsModules/smartpartner/branches/jagibu/smartpartner/ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/about.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_footer.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_header.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/category.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/cookies.js XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/funcs.js XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/import.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/index.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/menu.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/partner.php XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/xoopspartners.php XoopsModules/smartpartner/branches/jagibu/smartpartner/blocks/ XoopsModules/smartpartner/branches/jagibu/smartpartner/blocks/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/blocks/index.html.tortoise.removed XoopsModules/smartpartner/branches/jagibu/smartpartner/blocks/partners_list.php XoopsModules/smartpartner/branches/jagibu/smartpartner/blocks/partners_list.php.tortoise.removed XoopsModules/smartpartner/branches/jagibu/smartpartner/blocks/random_partner.php XoopsModules/smartpartner/branches/jagibu/smartpartner/changelog.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/class/ XoopsModules/smartpartner/branches/jagibu/smartpartner/class/about.php XoopsModules/smartpartner/branches/jagibu/smartpartner/class/category.php XoopsModules/smartpartner/branches/jagibu/smartpartner/class/dbupdater.php XoopsModules/smartpartner/branches/jagibu/smartpartner/class/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/class/keyhighlighter.class.php XoopsModules/smartpartner/branches/jagibu/smartpartner/class/object.php XoopsModules/smartpartner/branches/jagibu/smartpartner/class/partner.php XoopsModules/smartpartner/branches/jagibu/smartpartner/class/smartdbupdater.php XoopsModules/smartpartner/branches/jagibu/smartpartner/clone.php XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/ XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/changelog.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/credits.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/ XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__about.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__changelog.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__credits.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__disclaimer.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__history.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__import.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__important_notes_v3.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__install.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__langchanges.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__license.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__menu.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__support.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__update_wfd.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__update_wfd2x_or_wfd30x_to_310.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__update_wfd310rc1_to_rc2.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/__version.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/language_changes.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/english/readme.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/install.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/lang_diff.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/license.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/docs/readme.txt XoopsModules/smartpartner/branches/jagibu/smartpartner/footer.php XoopsModules/smartpartner/branches/jagibu/smartpartner/header.php XoopsModules/smartpartner/branches/jagibu/smartpartner/images/ XoopsModules/smartpartner/branches/jagibu/smartpartner/images/bg.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/blank.png XoopsModules/smartpartner/branches/jagibu/smartpartner/images/css3.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/cssbutton.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/ XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/active.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/approve.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/cat.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/close12.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/delete.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/edit.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/file.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/friend.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/inactive.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/open12.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/print.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/rejected.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/icon/subcat.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/images/left_both.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/links/ XoopsModules/smartpartner/branches/jagibu/smartpartner/images/links/delete.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/links/edit.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/links/friend.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/links/partner.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/links/print.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/module_logo.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/right_both.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/images/spcssbutton.gif XoopsModules/smartpartner/branches/jagibu/smartpartner/include/ XoopsModules/smartpartner/branches/jagibu/smartpartner/include/blocksadmin.inc.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/common.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/displayitems.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/displaysubcats.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/functions.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/gtickets.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/metagen.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/notification.inc.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/onupdate.inc.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/search.inc.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/seo_functions.php XoopsModules/smartpartner/branches/jagibu/smartpartner/include/updateblock.inc.php XoopsModules/smartpartner/branches/jagibu/smartpartner/index.php XoopsModules/smartpartner/branches/jagibu/smartpartner/join.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/ XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/ XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/admin.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/blocks.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/common.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/mail_template/ XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/mail_template/global_partner_submitted.tpl XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/mail_template/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/mail_template/partner_approved.tpl XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/main.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/english/modinfo.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/ XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/admin.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/blocks.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/common.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/mail_template/ XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/mail_template/global_offer_new.tpl XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/mail_template/global_partner_new.tpl XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/mail_template/global_partner_submitted.tpl XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/mail_template/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/mail_template/partner_approved.tpl XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/main.php XoopsModules/smartpartner/branches/jagibu/smartpartner/language/polish/modinfo.php XoopsModules/smartpartner/branches/jagibu/smartpartner/makepdf.php XoopsModules/smartpartner/branches/jagibu/smartpartner/module.css XoopsModules/smartpartner/branches/jagibu/smartpartner/notification_update.php XoopsModules/smartpartner/branches/jagibu/smartpartner/partner.php XoopsModules/smartpartner/branches/jagibu/smartpartner/seo.php XoopsModules/smartpartner/branches/jagibu/smartpartner/sql/ XoopsModules/smartpartner/branches/jagibu/smartpartner/sql/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/sql/mysql.sql XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/ XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/blocks/ XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/blocks/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/blocks/partners_block_list.html XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/blocks/random_partner.html XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/smartpartner_index.html XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/smartpartner_join.html XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/smartpartner_partner.html XoopsModules/smartpartner/branches/jagibu/smartpartner/templates/smartpartner_pdf.html XoopsModules/smartpartner/branches/jagibu/smartpartner/vpartner.php XoopsModules/smartpartner/branches/jagibu/smartpartner/xoops_version.php XoopsModules/smartpartner/branches/mamba/ XoopsModules/smartpartner/branches/mamba/smartpartner/ XoopsModules/smartpartner/branches/mamba/smartpartner/admin/ XoopsModules/smartpartner/branches/mamba/smartpartner/admin/about.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/about2.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/admin.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/admin_footer.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/admin_header.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/admin_header2.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/category.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/cookies.js XoopsModules/smartpartner/branches/mamba/smartpartner/admin/file.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/funcs.js XoopsModules/smartpartner/branches/mamba/smartpartner/admin/import.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/index.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/main.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/menu.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/offer.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/partner.php XoopsModules/smartpartner/branches/mamba/smartpartner/admin/xoopspartners.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/ XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/categories_list.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/moving_partner.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/partners_list.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/random_offer.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/random_partner.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/recent_offers.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/recent_partners.php XoopsModules/smartpartner/branches/mamba/smartpartner/blocks/scrolling_partner.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/ XoopsModules/smartpartner/branches/mamba/smartpartner/class/baseObjectHandler.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/category.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/dbupdater.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/file.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/class/keyhighlighter.class.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/mimetype.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/object.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/offer.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/partner.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/partner_cat_link.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/session.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/smartdbupdater.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/smarttree.php XoopsModules/smartpartner/branches/mamba/smartpartner/class/uploader.php XoopsModules/smartpartner/branches/mamba/smartpartner/clone.php XoopsModules/smartpartner/branches/mamba/smartpartner/docs/ XoopsModules/smartpartner/branches/mamba/smartpartner/docs/changelog.txt XoopsModules/smartpartner/branches/mamba/smartpartner/docs/clone_info.txt XoopsModules/smartpartner/branches/mamba/smartpartner/docs/credits.txt XoopsModules/smartpartner/branches/mamba/smartpartner/docs/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/docs/install.txt XoopsModules/smartpartner/branches/mamba/smartpartner/docs/lang_diff.txt XoopsModules/smartpartner/branches/mamba/smartpartner/docs/license.txt XoopsModules/smartpartner/branches/mamba/smartpartner/docs/readme.txt XoopsModules/smartpartner/branches/mamba/smartpartner/docs/upgrade.txt XoopsModules/smartpartner/branches/mamba/smartpartner/footer.php XoopsModules/smartpartner/branches/mamba/smartpartner/header.php XoopsModules/smartpartner/branches/mamba/smartpartner/images/ XoopsModules/smartpartner/branches/mamba/smartpartner/images/bg.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/blank.png XoopsModules/smartpartner/branches/mamba/smartpartner/images/css3.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/cssbutton.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/dynamicbook1.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/dynamicbook2.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/dynamicbook3.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/dynamicbook4.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/dynamicbook5.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/ XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/active.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/approve.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/cat.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/close12.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/delete.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/edit.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/file.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/friend.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/inactive.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/new_icon.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/new_icon.jpg XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/open12.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/print.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/rejected.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/subcat.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/icon/updated_icon.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/images/left_both.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/links/ XoopsModules/smartpartner/branches/mamba/smartpartner/images/links/delete.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/links/edit.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/links/friend.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/links/partner.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/links/print.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/module_logo.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/right_both.gif XoopsModules/smartpartner/branches/mamba/smartpartner/images/smartpartner_inbox_logo.gif XoopsModules/smartpartner/branches/mamba/smartpartner/include/ XoopsModules/smartpartner/branches/mamba/smartpartner/include/blocksadmin.inc.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/common.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/displayitems.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/displaysubcats.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/functions.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/gtickets.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/metagen.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/mimetypes.inc.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/notification.inc.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/onupdate.inc.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/search.inc.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/seo_functions.php XoopsModules/smartpartner/branches/mamba/smartpartner/include/updateblock.inc.php XoopsModules/smartpartner/branches/mamba/smartpartner/index.php XoopsModules/smartpartner/branches/mamba/smartpartner/join.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/ XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/ XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/admin.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/blocks.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/common.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/help/ XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/help/help.html XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/help/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/mail_template/ XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/mail_template/global_offer_new.tpl XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/mail_template/global_partner_new.tpl XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/mail_template/global_partner_submitted.tpl XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/mail_template/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/mail_template/partner_approved.tpl XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/main.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/english/modinfo.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/ XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/admin.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/blocks.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/common.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/mail_template/ XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/mail_template/global_partner_submitted.tpl XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/mail_template/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/mail_template/partner_approved.tpl XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/main.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/french/modinfo.php XoopsModules/smartpartner/branches/mamba/smartpartner/language/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/makepdf.php XoopsModules/smartpartner/branches/mamba/smartpartner/module.css XoopsModules/smartpartner/branches/mamba/smartpartner/notification_update.php XoopsModules/smartpartner/branches/mamba/smartpartner/offer.php XoopsModules/smartpartner/branches/mamba/smartpartner/partner.php XoopsModules/smartpartner/branches/mamba/smartpartner/seo.php XoopsModules/smartpartner/branches/mamba/smartpartner/sql/ XoopsModules/smartpartner/branches/mamba/smartpartner/sql/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/sql/mysql.sql XoopsModules/smartpartner/branches/mamba/smartpartner/templates/ XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/ XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/categories_list.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/moving_patner.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/partners_block_list.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/random_offer.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/random_partner.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/recent_offers.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/recent_partners.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/blocks/scrolling_partner.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/index.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/smartpartner_footer.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/smartpartner_header.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/smartpartner_index.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/smartpartner_join.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/smartpartner_offer.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/smartpartner_partner.html XoopsModules/smartpartner/branches/mamba/smartpartner/templates/smartpartner_pdf.html XoopsModules/smartpartner/branches/mamba/smartpartner/visit.php XoopsModules/smartpartner/branches/mamba/smartpartner/vpartner.php XoopsModules/smartpartner/branches/mamba/smartpartner/xoops_version.php Added: XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/about.php =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/about.php (rev 0) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/about.php 2012-08-05 23:03:22 UTC (rev 9991) @@ -0,0 +1,17 @@ +<?php + +/** +* $Id: about.php,v 1.8 2006/01/27 16:20:53 malanciault Exp $ +* Module: SmartPartner +* Author: The SmartFactory <www.smartfactory.ca> +* Licence: GNU +*/ + + +include_once("admin_header.php"); + +include_once(SMARTPARTNER_ROOT_PATH . "class/about.php"); +$aboutObj = new SmartpartnerAbout(_AM_SPARTNER_ABOUT); +$aboutObj->render(); + +?> \ No newline at end of file Added: XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin.php =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin.php (rev 0) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin.php 2012-08-05 23:03:22 UTC (rev 9991) @@ -0,0 +1,160 @@ +<?php +// $Id: admin.php,v 1.8 2006/01/27 16:20:53 malanciault Exp $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Kazumi Ono (AKA onokazu) // +// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +$admin_mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; + +$fct = empty( $_POST['fct'] ) ? '' : trim( $_POST['fct'] ) ; +$fct = empty( $_GET['fct'] ) ? $fct : trim( $_GET['fct'] ) ; +if( empty( $fct ) ) $fct = 'preferences' ; +//if (isset($fct) && $fct == "users") { +// $xoopsOption['pagetype'] = "user"; +//} +include "../../../mainfile.php"; +// include "../../mainfile.php"; GIJ +include XOOPS_ROOT_PATH."/include/cp_functions.php"; + +include_once XOOPS_ROOT_PATH."/class/xoopsmodule.php"; +include_once "../include/gtickets.php" ;// GIJ + +$admintest = 0; + +if (is_object($xoopsUser)) { + $xoopsModule =& XoopsModule::getByDirname("system"); + if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) { + redirect_header(XOOPS_URL.'/user.php',3,_NOPERM); + exit(); + } + $admintest=1; +} else { + redirect_header(XOOPS_URL.'/user.php',3,_NOPERM); + exit(); +} + +// include system category definitions +include_once XOOPS_ROOT_PATH."/modules/system/constants.php"; +$error = false; +if ($admintest != 0) { + if (isset($fct) && $fct != '') { + if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php")) { + + if ( file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php") ) { + include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin.php"; + } else { + include XOOPS_ROOT_PATH."/modules/system/language/english/admin.php"; + } + + if (file_exists(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php")) { + include XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/".$fct.".php"; + } elseif (file_exists(XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php")) { + include XOOPS_ROOT_PATH."/modules/system/language/english/admin/".$fct.".php"; + } + include XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/xoops_version.php"; + $sysperm_handler =& xoops_gethandler('groupperm'); + $category = !empty($modversion['category']) ? intval($modversion['category']) : 0; + unset($modversion); + if ($category > 0) { + $groups =& $xoopsUser->getGroups(); + if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $xoopsModule->getVar('mid'))){ +// if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php")) { +// include_once XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php"; GIJ + if (file_exists("../include/{$fct}.inc.php")) { + include_once "../include/{$fct}.inc.php" ; + } else { + $error = true; + } + } else { + $error = true; + } + } elseif ($fct == 'version') { + if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/version/main.php")) { + include_once XOOPS_ROOT_PATH."/modules/system/admin/version/main.php"; + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } + } else { + $error = true; + } +} + +if (false != $error) { + xoops_cp_header(); + echo "<h4>System Configuration</h4>"; + echo '<table class="outer" cellpadding="4" cellspacing="1">'; + echo '<tr>'; + $groups = $xoopsUser->getGroups(); + $all_ok = false; + if (!in_array(XOOPS_GROUP_ADMIN, $groups)) { + $sysperm_handler =& xoops_gethandler('groupperm'); + $ok_syscats =& $sysperm_handler->getItemIds('system_admin', $groups); + } else { + $all_ok = true; + } + $admin_dir = XOOPS_ROOT_PATH."/modules/system/admin"; + $handle = opendir($admin_dir); + $counter = 0; + $class = 'even'; + while ($file = readdir($handle)) { + if (strtolower($file) != 'cvs' && !preg_match("/[.]/", $file) && is_dir($admin_dir.'/'.$file)) { + include $admin_dir.'/'.$file.'/xoops_version.php'; + if ($modversion['hasAdmin']) { + $category = isset($modversion['category']) ? intval($modversion['category']) : 0; + if (false != $all_ok || in_array($modversion['category'], $ok_syscats)) { + echo "<td class='$class' align='center' valign='bottom' width='19%'>"; + echo "<a href='".XOOPS_URL."/modules/system/admin.php?fct=".$file."'><b>" .trim($modversion['name'])."</b></a>\n"; + echo "</td>"; + $counter++; + $class = ($class == 'even') ? 'odd' : 'even'; + } + if ( $counter > 4 ) { + $counter = 0; + echo "</tr>"; + echo "<tr>"; + } + } + unset($modversion); + } + } + while ($counter < 5) { + echo '<td class="'.$class.'"> </td>'; + $class = ($class == 'even') ? 'odd' : 'even'; + $counter++; + } + echo '</tr></table>'; + xoops_cp_footer(); +} + +?> \ No newline at end of file Added: XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_footer.php =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_footer.php (rev 0) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_footer.php 2012-08-05 23:03:22 UTC (rev 9991) @@ -0,0 +1,28 @@ +<?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. + */ + +/** + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) + * @package + * @since + * @author XOOPS Development Team + * @version $Id $ + */ + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_header.php =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_header.php (rev 0) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/admin_header.php 2012-08-05 23:03:22 UTC (rev 9991) @@ -0,0 +1,80 @@ +<?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. + */ + +/** +* $Id: admin_header.php,v 1.6 2006/01/28 16:20:31 malanciault Exp $ +* Module: SmartPartner +* Author: The SmartFactory <www.smartfactory.ca> +* Licence: GNU +*/ + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + + +/*include_once XOOPS_ROOT_PATH . "/class/xoopsmodule.php"; +include_once XOOPS_ROOT_PATH . "/class/xoopstree.php"; +include_once XOOPS_ROOT_PATH . "/class/xoopslists.php"; +include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; +include_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php";*/ + +include "../include/common.php"; + +$myts = &MyTextSanitizer::getInstance(); + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(dirname(__FILE__)) . '/include/functions.php'; + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +$imagearray = array( + /* + 'editimg' => "<img src='". $pathIcon16 .'/edit.png'."' alt='" . _AM_WFD_ICO_EDIT . "' title='" . _AM_WFD_ICO_EDIT . "' align='middle'>", + 'deleteimg' => "<img src='". $pathIcon16 .'/delete.png'."' alt='" . _AM_WFD_ICO_DELETE . "' title='" . _AM_WFD_ICO_DELETE . "' align='middle'>", + 'online' => "<img src='". $pathIcon16 .'/1.png'."' alt='" . _AM_WFD_ICO_ONLINE . "' title='" . _AM_WFD_ICO_ONLINE . "' align='middle'>", + 'offline' => "<img src='". $pathIcon16 .'/0.png'."' alt='" . _AM_WFD_ICO_OFFLINE . "' title='" . _AM_WFD_ICO_OFFLINE . "' align='middle'>", + 'approved' => "<img src='". $pathIcon16 .'/on.png'."' alt=''" . _AM_WFD_ICO_APPROVED . "' title=''" . _AM_WFD_ICO_APPROVED . "' align='middle'>", + 'notapproved' => "<img src='". $pathIcon16 .'/off.png'."' alt='" . _AM_WFD_ICO_NOTAPPROVED . "' title='" . _AM_WFD_ICO_NOTAPPROVED . "' align='middle'>", + 'relatedfaq' => "<img src='../images/icon/link.png' alt='" . _AM_WFD_ICO_LINK . "' title='" . _AM_WFD_ICO_LINK . "' align='middle'>", + 'relatedurl' => "<img src='../images/icon/world_link.png' alt='" . _AM_WFD_ICO_URL . "' title='" . _AM_WFD_ICO_URL . "' align='middle'>", + 'addfaq' => "<img src='". $pathIcon16 .'/add.png'."' alt='" . _AM_WFD_ICO_ADD . "' title='" . _AM_WFD_ICO_ADD . "' align='middle'>", + 'approve' => "<img src='". $pathIcon16 .'/on.png'."' alt='" . _AM_WFD_ICO_APPROVE . "' title='" . _AM_WFD_ICO_APPROVE . "' align='middle'>", + 'statsimg' => "<img src='../images/icon/statistics.png' alt='" . _AM_WFD_ICO_STATS . "' title='" . _AM_WFD_ICO_STATS . "' align='middle'>", + 'ignore' => "<img src='../images/icon/ignore.png' alt='" . _AM_WFD_ICO_IGNORE . "' title='" . _AM_WFD_ICO_IGNORE . "' align='middle'>", + 'ack_yes' => "<img src='". $pathIcon16 .'/on.png'."' alt='" . _AM_WFD_ICO_ACK . "' title='" . _AM_WFD_ICO_ACK . "' align='middle'>", + 'ack_no' => "<img src='". $pathIcon16 .'/off.png'."' alt='" . _AM_WFD_ICO_REPORT . "' title='" . _AM_WFD_ICO_REPORT . "' align='middle'>", + 'con_yes' => "<img src='". $pathIcon16 .'/on.png'."' alt='" . _AM_WFD_ICO_CONFIRM . "' title='" . _AM_WFD_ICO_CONFIRM . "' align='middle'>", + 'con_no' => "<img src='". $pathIcon16 .'/off.png'."' alt='" . _AM_WFD_ICO_CONBROKEN . "' title='" . _AM_WFD_ICO_CONBROKEN . "' align='middle'>" + */ + ); + + + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_BIRTHDAY_MODULEADMIN_MISSING, false); + } + +?> \ No newline at end of file Added: XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/category.php =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/category.php (rev 0) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/category.php 2012-08-05 23:03:22 UTC (rev 9991) @@ -0,0 +1,491 @@ +<?php + +/** +* $Id: category.php,v 1.10 2007/03/01 11:53:24 malanciault Exp $ +* Module: SmarttPartner +* Author: The SmartFactory <www.smartfactory.ca> +* Licence: GNU +*/ + +// -> admin menu X2.5 +include 'admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); + +echo $indexAdmin->addNavigation('category.php'); +// <- menu + +function displayCategory($categoryObj, $level = 0) +{ + Global $xoopsModule, $smartpartner_category_handler; + $description = $categoryObj->description(); + if (!XOOPS_USE_MULTIBYTES) { + if (strlen($description) >= 100) { + $description = substr($description, 0, (100 -1)) . "..."; + } + } + $modify = "<a href='category.php?op=mod&categoryid=" . $categoryObj->categoryid() ."&parentid=".$categoryObj->parentid(). "'><img src='" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/edit.gif' title='" . _AM_SPARTNER_CATEGORY_EDIT . "' alt='" . _AM_SPARTNER_CATEGORY_EDIT . "' /></a>"; + $delete = "<a href='category.php?op=del&categoryid=" . $categoryObj->categoryid() . "'><img src='" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/icon/delete.gif' title='" . _AM_SPARTNER_CATEGORY_DELETE . "' alt='" . _AM_SPARTNER_CATEGORY_DELETE . "' /></a>"; + + $spaces = ''; + for ( $j = 0; $j < $level; $j++ ) { + $spaces .= ' '; + } + + echo "<tr>"; + echo "<td class='even' align='lefet'>" . $spaces . "<a href='" . $categoryObj->getCategoryUrl() . "'><img src='" . XOOPS_URL . "/modules/smartpartner/images/icon/subcat.gif' alt='' /> " . $categoryObj->name() . "</a></td>"; + echo "<td class='even' align='center'>" . $categoryObj->weight() . "</td>"; + echo "<td class='even' align='center'> $modify $delete </td>"; + echo "</tr>"; + $subCategoriesObj = $smartpartner_category_handler->getCategories(0, 0, $categoryObj->categoryid()); + if (count($subCategoriesObj) > 0) { + $level++; + foreach ( $subCategoriesObj as $key => $thiscat ) { + displayCategory($thiscat, $level); + } + } + unset($categoryObj); +} + +function editcat($showmenu = false, $categoryid = 0, $nb_subcats=4, $categoryObj=null) +{ + Global $xoopsDB, $smartpartner_category_handler, $xoopsUser, $myts, $xoopsConfig, $xoopsModuleConfig, $xoopsModule; + include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + + // If there is a parameter, and the id exists, retrieve data: we're editing a category + if ($categoryid != 0) { + + // Creating the category object for the selected category + //$categoryObj = new SmartpartnerCategory($categoryid); + $categoryObj = $smartpartner_category_handler->get($categoryid); + + /* + if ($showmenu) { + smartpartner_adminMenu(1, _AM_SPARTNER_CATEGORIES . " > " . _AM_SPARTNER_EDITING); + } + */ + + echo "<br />\n"; + if ($categoryObj->notLoaded()) { + redirect_header("category.php", 1, _AM_SPARTNER_NOCOLTOEDIT); + exit(); + } + smartpartner_collapsableBar('edittable', 'edittableicon', _AM_SPARTNER_CATEGORY_EDIT, _AM_SPARTNER_CATEGORY_EDIT_INFO); + } else { + + if (!$categoryObj) { + $categoryObj = $smartpartner_category_handler->create(); + } + + /* + if ($showmenu) { + smartpartner_adminMenu(1, _AM_SPARTNER_CATEGORIES . " > " . _AM_SPARTNER_CATEGORY_CREATING); + } +*/ + + //echo "<br />\n"; + smartpartner_collapsableBar('createtable', 'createtableicon', _AM_SPARTNER_CATEGORY_CREATE, _AM_SPARTNER_CATEGORY_CREATE_INFO); + } + // Start category form + $mytree = new XoopsTree( $xoopsDB -> prefix( "smartpartner_categories" ), "categoryid", "parentid" ); + $sform = new XoopsThemeForm(_AM_SPARTNER_CATEGORY, "op", xoops_getenv('PHP_SELF')); + $sform->setExtra('enctype="multipart/form-data"'); + + // Name + $sform->addElement(new XoopsFormText(_AM_SPARTNER_CATEGORY, 'name', 50, 255, $categoryObj->name('e')), true); + + // Description + $sform->addElement(new XoopsFormTextArea(_AM_SPARTNER_CATEGORY_DSC, 'description', $categoryObj->description('e'), 7, 60)); + + // IMAGE + $image_array = & XoopsLists :: getImgListAsArray( smartpartner_getImageDir('category') ); + $image_select = new XoopsFormSelect( '', 'image', $categoryObj->image() ); + $image_select -> addOption ('-1', '---------------'); + $image_select -> addOptionArray( $image_array ); + $image_select -> setExtra( "onchange='showImgSelected(\"image3\", \"image\", \"" . 'uploads/smartpartner/images/category/' . "\", \"\", \"" . XOOPS_URL . "\")'" ); + $image_tray = new XoopsFormElementTray( _AM_SPARTNER_CATEGORY_IMAGE, ' ' ); + $image_tray -> addElement( $image_select ); + $image_tray -> addElement( new XoopsFormLabel( '', "<br /><br /><img src='" . smartpartner_getImageDir('category', false) .$categoryObj->image() . "' name='image3' id='image3' alt='' />" ) ); + $image_tray->setDescription(_AM_SPARTNER_CATEGORY_IMAGE_DSC); + $sform -> addElement( $image_tray ); + + // IMAGE UPLOAD + $max_size = 5000000; + $file_box = new XoopsFormFile(_AM_SPARTNER_CATEGORY_IMAGE_UPLOAD, "image_file", $max_size); + $file_box->setExtra( "size ='45'") ; + $file_box->setDescription(_AM_SPARTNER_CATEGORY_IMAGE_UPLOAD_DSC); + $sform->addElement($file_box); + + // Weight + $sform->addElement(new XoopsFormText(_AM_SPARTNER_CATEGORY_WEIGHT, 'weight', 4, 4, $categoryObj->weight())); + + $member_handler = &xoops_gethandler('member'); + $group_list = &$member_handler->getGroupList(); + + $module_id = $xoopsModule->getVar('mid'); + + + // Parent Category + ob_start(); + $mytree -> makeMySelBox( "name", "weight", $categoryObj->parentid(), 1, 'parentid' ); + //makeMySelBox($title,$order="",$preset_id=0, $none=0, $sel_name="", $onchange="") + $parent_cat_select = new XoopsFormLabel( _AM_SPARTNER_CATEGORY_PARENT, ob_get_contents()) ; + $parent_cat_select->setDescription(_AM_SPARTNER_CATEGORY_PARENT_DSC); + $sform -> addElement($parent_cat_select); + ob_end_clean(); + + // Added by fx2024 + // sub Categories + + $cat_tray = new XoopsFormElementTray(_AM_SPARTNER_CATEGORY_SUBCATS_CREATE, '<br /><br />'); + $cat_tray->setDescription(_AM_SPARTNER_CATEGORY_SUBCATS_CREATE_DSC); + for( $i=0; $i<$nb_subcats; $i++){ + if ($i<(isset($_POST['scname']) ? sizeof($_POST['scname']) : 0 )){ + $subname = isset($_POST['scname']) ? $_POST['scname'][$i] : '' ; + } + else{ + $subname = ''; + } + $cat_tray->addElement(new XoopsFormText('' , 'scname['.$i.']', 50, 255,$subname), true); + + } + + $t = new XoopsFormText('', 'nb_subcats', 3, 2); + $l = new XoopsFormLabel('', sprintf(_AM_SPARTNER_ADD_OPT, $t->render())); + $b = new XoopsFormButton('', 'submit', _AM_SPARTNER_ADD_OPT_SUBMIT, 'submit'); + if ($categoryid==0){ + $b->setExtra('onclick="this.form.elements.op.value=\'addsubcats\'"'); + } + else{ + $b->setExtra('onclick="this.form.elements.op.value=\'mod\'"'); + } + $r = new XoopsFormElementTray(''); + $r->addElement($l); + $r->addElement($b); + $cat_tray->addElement($r); + + $sform->addElement($cat_tray); + //End of fx2024 code + + + /*$gperm_handler = &xoops_gethandler('groupperm'); + $mod_perms = $gperm_handler->getGroupIds('category_moderation', $categoryid, $module_id); + + $moderators_select = new XoopsFormSelect('', 'moderators', $moderators, 5, true); + $moderators_tray->addElement($moderators_select); + + $butt_mngmods = new XoopsFormButton('', '', 'Manage mods', 'button'); + $butt_mngmods->setExtra('onclick="javascript:small_window(\'pop.php\', 370, 350);"'); + $moderators_tray->addElement($butt_mngmods); + + $butt_delmod = new XoopsFormButton('', '', 'Delete mod', 'button'); + $butt_delmod->setExtra('onclick="javascript:deleteSelectedItemsFromList(this.form.elements[\'moderators[]\']);"'); + $moderators_tray->addElement($butt_delmod); + + $sform->addElement($moderators_tray); + */ + $sform -> addElement( new XoopsFormHidden( 'categoryid', $categoryid ) ); + + + //$parentid = $categoryObj->parentid('s'); + + //$sform -> addElement( new XoopsFormHidden( 'parentid', $parentid ) ); + + $sform -> addElement( new XoopsFormHidden( 'nb_sub_yet', $nb_subcats ) ); + + + + // Action buttons tray + $button_tray = new XoopsFormElementTray('', ''); + + /*for ($i = 0; $i < sizeof($moderators); $i++) { + $allmods[] = $moderators[$i]; + } + + $hiddenmods = new XoopsFormHidden('allmods', $allmods); + $button_tray->addElement($hiddenmods); + */ + $hidden = new XoopsFormHidden('op', 'addcategory'); + $button_tray->addElement($hidden); + + // No ID for category -- then it's new category, button says 'Create' + if (!$categoryid) { + $butt_create = new XoopsFormButton('', '', _AM_SPARTNER_CREATE, 'submit'); + $butt_create->setExtra('onclick="this.form.elements.op.value=\'addcategory\'"'); + $button_tray->addElement($butt_create); + + $butt_clear = new XoopsFormButton('', '', _AM_SPARTNER_CLEAR, 'reset'); + $button_tray->addElement($butt_clear); + + $butt_cancel = new XoopsFormButton('', '', _AM_SPARTNER_CANCEL, 'button'); + $butt_cancel->setExtra('onclick="history.go(-1)"'); + $button_tray->addElement($butt_cancel); + + $sform->addElement($button_tray); + $sform->display(); + smartpartner_close_collapsable('createtable', 'createtableicon'); + } else { + // button says 'Update' + $butt_create = new XoopsFormButton('', '', _AM_SPARTNER_MODIFY, 'submit'); + $butt_create->setExtra('onclick="this.form.elements.op.value=\'addcategory\'"'); + $button_tray->addElement($butt_create); + + $butt_cancel = new XoopsFormButton('', '', _AM_SPARTNER_CANCEL, 'button'); + $butt_cancel->setExtra('onclick="history.go(-1)"'); + $button_tray->addElement($butt_cancel); + + $sform->addElement($button_tray); + $sform->display(); + smartpartner_close_collapsable('edittable', 'edittableicon'); + } + /* + //Added by fx2024 + if ($categoryid) { + // TODO : displaysubcats comes from smartpartner and need to be adapted for smartpartner + include_once XOOPS_ROOT_PATH . "/modules/smartpartner/include/displaysubcats.php"; + + // TODO : displayitems comes from smartpartner and need to be adapted for smartpartner + //include_once XOOPS_ROOT_PATH . "/modules/smartpartner/include/displayitems.php"; + } + //end of fx2024 code + */ + unset($hidden); +} + + +include(XOOPS_ROOT_PATH . "/class/xoopstree.php"); + +global $smartpartner_category_handler; + +$op = ''; + +if (isset($_GET['op'])) $op = $_GET['op']; +if (isset($_POST['op'])) $op = $_POST['op']; + +// Where do we start ? +$startcategory = isset($_GET['startcategory']) ? intval($_GET['startcategory']) : 0; + +switch ($op) { + case "mod": + + $categoryid = isset($_GET['categoryid']) ? intval($_GET['categoryid']) : 0 ; + + //Added by fx2024 + + $nb_subcats = isset($_POST['nb_subcats']) ? intval($_POST['nb_subcats']) : 0; + $nb_subcats = $nb_subcats + (isset($_POST['nb_sub_yet']) ? intval($_POST['nb_sub_yet']) : 4); + if($categoryid ==0){ + $categoryid = isset($_POST['categoryid']) ? intval($_POST['categoryid']) : 0 ; + } + //end of fx2024 code + +// smartpartner_xoops_cp_header(); + + editcat(true, $categoryid,$nb_subcats); + break; + + case "addcategory": + global $_POST, $xoopsUser, $xoopsUser, $xoopsConfig, $xoopsDB, $xoopsModule, $xoopsModuleConfig, $modify, $myts, $categoryid; + + $categoryid = (isset($_POST['categoryid'])) ? intval($_POST['categoryid']) : 0; + $parentid =(isset($_POST['parentid'])) ? intval($_POST['parentid']) : 0; + + If ($categoryid != 0) { + $categoryObj = $smartpartner_category_handler->get($categoryid); + } else { + $categoryObj = $smartpartner_category_handler->create(); + } + + // Uploading the image, if any + // Retreive the filename to be uploaded + if (isset ($_FILES['image_file']['name']) && $_FILES['image_file']['name'] != "" ) { + $filename = $_POST["xoops_upload_file"][0] ; + if( !empty( $filename ) || $filename != "" ) { + global $xoopsModuleConfig; + + // TODO : implement smartpartner mimetype management + + $max_size = $xoopsModuleConfig['maximum_imagesize']; + $max_imgwidth = $xoopsModuleConfig['img_max_width']; + $max_imgheight = $xoopsModuleConfig['img_max_height']; + $allowed_mimetypes = smartpartner_getAllowedImagesTypes(); + + include_once(XOOPS_ROOT_PATH."/class/uploader.php"); + + if( $_FILES[$filename]['tmp_name'] == "" || ! is_readable( $_FILES[$filename]['tmp_name'] ) ) { + redirect_header( 'javascript:history.go(-1)' , 2, _AM_SPARTNER_FILEUPLOAD_ERROR ) ; + exit ; + } + + $uploader = new XoopsMediaUploader(smartpartner_getImageDir('category'), $allowed_mimetypes, $max_size, $max_imgwidth, $max_imgheight); + + if( $uploader->fetchMedia( $filename ) && $uploader->upload() ) { + + $categoryObj->setVar('image', $uploader->getSavedFileName()); + + } else { + redirect_header( 'javascript:history.go(-1)' , 2, _AM_SPARTNER_FILEUPLOAD_ERROR . $uploader->getErrors() ) ; + exit ; + } + } + } else { + if (isset($_POST['image'])){ + $categoryObj->setVar('image', $_POST['image']); + } + } + $categoryObj->setVar('parentid', (isset($_POST['parentid'])) ? intval($_POST['parentid']) : 0); + + $applyall = (isset($_POST['applyall'])) ? intval($_POST['applyall']) : 0; + $categoryObj->setVar('weight', (isset($_POST['weight'])) ? intval($_POST['weight']) : 1); + + $categoryObj->setVar('name', $_POST['name']); + + $categoryObj->setVar('description', $_POST['description']); + + if ($categoryObj->isNew()) { + $redirect_msg = _AM_SPARTNER_CATEGORY_CREATED; + $redirect_to = 'category.php?op=mod'; + } else { + $redirect_msg = _AM_SPARTNER_CATEGORY_MODIFIED; + $redirect_to = 'category.php'; + } + + If ( !$categoryObj->store() ) { + redirect_header("javascript:history.go(-1)", 3, _AM_SPARTNER_CATEGORY_SAVE_ERROR . smartpartner_formatErrors($categoryObj->getErrors())); + exit; + } +//Added by fx2024 + $parentCat = $categoryObj->categoryid(); + + for($i=0;$i<sizeof($_POST['scname']);$i++) { + + if($_POST['scname'][$i]!=''){ + $categoryObj = $smartpartner_category_handler->create(); + $categoryObj->setVar('name', $_POST['scname'][$i]); + $categoryObj->setVar('parentid', $parentCat); + + If ( !$categoryObj->store() ) { + redirect_header("javascript:history.go(-1)", 3, _AM_SPARTNER_CATEGORY_SUBCAT_SAVE_ERROR . smartpartner_formatErrors($categoryObj->getErrors())); + exit; + } + + } + } + +//end of fx2024 code + redirect_header($redirect_to, 2, $redirect_msg); + + exit(); + break; + +//Added by fx2024 + + case "addsubcats": + + $categoryid = 0; + $nb_subcats = intval($_POST['nb_subcats'])+ $_POST['nb_sub_yet']; + +// smartpartner_xoops_cp_header(); + + $categoryObj =& $smartpartner_category_handler->create(); + $categoryObj->setVar('name', $_POST['name']); + $categoryObj->setVar('description', $_POST['description']); + $categoryObj->setVar('weight', $_POST['weight']); + if (isset($parentCat)){ + $categoryObj->setVar('parentid', $parentCat); + } + + editcat(true, $categoryid, $nb_subcats, $categoryObj); + exit(); + + break; +//end of fx2024 code + + + case "del": + global $xoopsUser, $xoopsUser, $xoopsConfig, $xoopsDB, $_GET; + + $module_id = $xoopsModule->getVar('mid'); + $gperm_handler = &xoops_gethandler('groupperm'); + + $categoryid = (isset($_POST['categoryid'])) ? intval($_POST['categoryid']) : 0; + $categoryid = (isset($_GET['categoryid'])) ? intval($_GET['categoryid']) : $categoryid; + + //$categoryObj = new SmartpartnerCategory($categoryid); + $categoryObj = $smartpartner_category_handler->get($categoryid); + + $confirm = (isset($_POST['confirm'])) ? $_POST['confirm'] : 0; + $name = (isset($_POST['name'])) ? $_POST['name'] : ''; + + if ($confirm) { + If ( !$smartpartner_category_handler->delete($categoryObj)) { + redirect_header("category.php", 1, _AM_SPARTNER_CATEGORY_DELETE_ERROR); + exit; + } + + redirect_header("category.php", 1, sprintf(_AM_SPARTNER_CATEGORY_DELETED, $name)); + exit(); + } else { + // no confirm: show deletion condition + $categoryid = (isset($_GET['categoryid'])) ? intval($_GET['categoryid']) : 0; + xoops_cp_header(); + xoops_confirm(array('op' => 'del', 'categoryid' => $categoryObj->categoryid(), 'confirm' => 1, 'name' => $categoryObj->name()), 'category.php', _AM_SPARTNER_CATEGORY_DELETE . " '" . $categoryObj->name() . "'. <br /> <br />" . _AM_SPARTNER_CATEGORY_DELETE_CONFIRM, _AM_SPARTNER_DELETE); + xoops_cp_footer(); + } + exit(); + break; + + case "cancel": + redirect_header("category.php", 1, sprintf(_AM_SPARTNER_BACK2IDX, '')); + exit(); + + case "default": + default: + +// smartpartner_xoops_cp_header(); + +// smartpartner_adminMenu(1, _AM_SPARTNER_CATEGORIES); + + echo "<br />\n"; + echo "<form><div style=\"margin-bottom: 12px;\">"; + echo "<input type='button' name='button' onclick=\"location='category.php?op=mod'\" value='" . _AM_SPARTNER_CATEGORY_CREATE . "'> "; + //echo "<input type='button' name='button' onclick=\"location='item.php?op=mod'\" value='" . _AM_SPARTNER_CREATEITEM . "'> "; + echo "</div></form>"; + + // Creating the objects for top categories + $categoriesObj = $smartpartner_category_handler->getCategories($xoopsModuleConfig['perpage_admin'], $startcategory, 0); + + smartpartner_collapsableBar('createdcategories', 'createdcategoriesicon', _AM_SPARTNER_CATEGORIES_TITLE, _AM_SPARTNER_CATEGORIES_DSC); + + echo "<table width='100%' cellspacing=1 cellpadding=3 border=0 class = outer>"; + echo "<tr>"; + echo "<td class='bg3' align='left'><b>" . _AM_SPARTNER_CATEGORY . "</b></td>"; + echo "<td class='bg3' width='65' align='center'><b>" . _AM_SPARTNER_WEIGHT . "</b></td>"; + echo "<td width='60' class='bg3' align='center'><b>" . _AM_SPARTNER_ACTION . "</b></td>"; + echo "</tr>"; + $totalCategories = $smartpartner_category_handler->getCategoriesCount(0); + if (count($categoriesObj) > 0) { + foreach ( $categoriesObj as $key => $thiscat) { + displayCategory($thiscat); + } + } else { + echo "<tr>"; + echo "<td class='head' align='center' colspan= '7'>" . _AM_SPARTNER_CATEGORY_NONE . "</td>"; + echo "</tr>"; + $categoryid = '0'; + } + echo "</table>\n"; + include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; + $pagenav = new XoopsPageNav($totalCategories, $xoopsModuleConfig['perpage_admin'], $startcategory, 'startcategory'); + echo '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'; + echo "<br />"; + smartpartner_close_collapsable('createdcategories', 'createdcategoriesicon'); + echo "<br>"; + //editcat(false); + break; +} + +smartpartner_modFooter(); +xoops_cp_footer(); + +?> \ No newline at end of file Added: XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/cookies.js =================================================================== --- XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/cookies.js (rev 0) +++ XoopsModules/smartpartner/branches/jagibu/smartpartner/admin/cookies.js 2012-08-05 23:03:22 UTC (rev 9991) @@ -0,0 +1,73 @@ +/** + * Read the JavaScript cookies tutorial at: + * http://www.netspade.com/articles/javascript/cookies.xml + */ + +/** + * Sets a Cookie with the given name and value. + * + * name Name of the cookie + * value Value of the cookie + * [expires] Expiration date of the cookie (default: end of current session) + * [path] Path where the cookie is valid (default: path of calling document) + * [domain] Domain where the cookie is valid + * ... [truncated message content] |
From: <be...@us...> - 2012-08-05 07:16:05
|
Revision: 9990 http://xoops.svn.sourceforge.net/xoops/?rev=9990&view=rev Author: beckmi Date: 2012-08-05 07:15:59 +0000 (Sun, 05 Aug 2012) Log Message: ----------- Updating Doc files Modified Paths: -------------- XoopsModules/xlanguage/trunk/xlanguage/docs/install.txt XoopsModules/xlanguage/trunk/xlanguage/docs/lang_diff.txt XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt Modified: XoopsModules/xlanguage/trunk/xlanguage/docs/install.txt =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/docs/install.txt 2012-08-05 07:11:22 UTC (rev 9989) +++ XoopsModules/xlanguage/trunk/xlanguage/docs/install.txt 2012-08-05 07:15:59 UTC (rev 9990) @@ -1,6 +1,6 @@ INSTALL/UNISTALL ================= -No special measures necessary, follow the standard installation process \x96 extract the xoopspartners folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. +No special measures necessary, follow the standard installation process \x96 extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. Detailed instructions on installing modules are available in the XOOPS Operations Manual (http://goo.gl/adT2i) \ No newline at end of file Modified: XoopsModules/xlanguage/trunk/xlanguage/docs/lang_diff.txt =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/docs/lang_diff.txt 2012-08-05 07:11:22 UTC (rev 9989) +++ XoopsModules/xlanguage/trunk/xlanguage/docs/lang_diff.txt 2012-08-05 07:15:59 UTC (rev 9990) @@ -1,56 +1,14 @@ -LANGUAGE DIFFERENCES -===================== - -Below are language differences from a version to next version. - -Version 1.11 ----------------- -admin.php ----------- -Changed prefixes for defines from '_AM_' to _AM_XPARTNERS_' - -// About.php -define("_AM_XPARTNERS_ABOUT_RELEASEDATE", "Released: "); -define("_AM_XPARTNERS_ABOUT_UPDATEDATE", "Updated: "); -define("_AM_XPARTNERS_ABOUT_AUTHOR", "Author: "); -define("_AM_XPARTNERS_ABOUT_CREDITS", "Credits: "); -define("_AM_XPARTNERS_ABOUT_LICENSE", "License: "); -define("_AM_XPARTNERS_ABOUT_MODULE_STATUS", "Status: "); -define("_AM_XPARTNERS_ABOUT_WEBSITE", "Website: "); -define("_AM_XPARTNERS_ABOUT_AUTHOR_NAME", "Author name: "); -define("_AM_XPARTNERS_ABOUT_CHANGELOG", "Change Log"); -define("_AM_XPARTNERS_ABOUT_MODULE_INFO", "Module Infos"); -define("_AM_XPARTNERS_ABOUT_AUTHOR_INFO", "Author Infos"); -define("_AM_XPARTNERS_ABOUT_DESCRIPTION", "Description: "); -define("_AM_XPARTNERS_EMPTYDATABASE", "There is nothing to sort. Please add some Partners first!"); - -define("_AM_XPARTNERS_ACTIONS", "Actions"); -define("_AM_XPARTNERS_INVALIDID", "No partner exists with this ID"); - -Removed: -_AM_EDIT -_AM_DELETE - -blocks.php ------------ -Changed prefix of all defines from '_MB_' to '_MB_XPARTNERS_' - -help.php ------------ -New file with defines - -main.php ------------ -//file /admin/index.php -define("_MD_XPARTNERS_DASHBOARD","Xoops Partner Dashboard"); -define("_MD_XPARTNERS_TOTALPARTNERS","Total Partners: <strong>%s</strong> "); -define("_MD_XPARTNERS_TOTALACTIVE","Active Partners: <strong>%s</strong> "); -define("_MD_XPARTNERS_TOTALNONACTIVE","Non-Active Partners: <strong>%s</strong> "); -//define("_MD_XPARTNERS_TOTALPARTNERS","There are <strong>%s</strong> Active Partners in our Database"); - -modinfo.php -------------- -// index.php -define("_MI_XPARTNERS_MENU_01", "Home"); -define("_PARTNERS_ADMIN_ABOUT", "About"); -define("_PARTNERS_ADMIN_HELP", "Help"); \ No newline at end of file +LANGUAGE DIFFERENCES +===================== + +Below are language differences from a version to next version. + +Legend : ++ Added +- Removed +* Modified +x renamed + +--------------------------------------- +3.04 RC2 2012-07-30 +--------------------------------------- Modified: XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt 2012-08-05 07:11:22 UTC (rev 9989) +++ XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt 2012-08-05 07:15:59 UTC (rev 9990) @@ -30,36 +30,16 @@ ---------- 1 install "xlanguage" as a regular module -2 insert one line (ONLY for XOOPS version lower than 2.4.0) - - include_once XOOPS_ROOT_PATH.'/modules/xlanguage/api.php'; - into XOOPS/include/common.php - RIGHT BEFORE - // #################### Include site-wide lang file ################## - if ( file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php") ) { - include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php"; - } else { - include_once XOOPS_ROOT_PATH."/language/english/global.php"; - } - -3 modify language/LocalLanguage/global.php, take "schinese" as example - //%%%%% LANGUAGE SPECIFIC SETTINGS %%%%% - //define('_CHARSET', 'GB2312'); - //define('_LANGCODE', 'zh-CN'); - define('_CHARSET', empty($xlanguage["charset"])?'GB2312':$xlanguage["charset"]); - define('_LANGCODE', empty($xlanguage["code"])?'zh-CN':$xlanguage["code"]); - $xlanguage['charset_base'] = "gb2312"; - -4 select basic langauges (from an available language list) and add extended languages (upon a selected basic language) from module admin page +2 select basic langauges (from an available language list) and add extended languages (upon a selected basic language) from module admin page for instance, to make language switch between: English, Simplified Chinese (gb2312), Traditional Chinese (big5) and UTF-8 Chinese: base 1: name: english; description(optional): English; charset: iso-8859-1; code: en (or anyother like "xen", not a true language code, just the tag for indicating English content) base 2: name: schinese; description(optional): Simplified Chinese; charset: gb2312; code: zh (or anyother like "sc", not a true language code, just the tag for indicating Chinese content) extended lang of schinese 1: name: tchinese; description(optional): Traditional Chinese; charset: big5 code: zh-TW (the true language code of Traditional Chinese) base: schinese extended lang of schinese 2: name: utf8; description(optional): Simplified Chinese UTF-8; charset: utf-8 code: zh-CN (the true language code of Simplified Chinese) base: schinese -5 make the block "langauge selection" visible +3 make the block "langauge selection" visible -6 add multilingual content with according tags sepcified for each base language (in step 4) to your modules, templates or themes[Skip this step if you do not use multi-language content display but only use charset encoding]: +4 add multilingual content with according tags sepcified for each base language (in step 4) to your modules, templates or themes[Skip this step if you do not use multi-language content display but only use charset encoding]: wrap content of each language with respective tag specified in step 4: [langcode1]Content of the language1[/langcode1] [langcode2]Content of the language2[/langcode2] [langcode3]Content of the language3[/langcode3] ... if two or more languages have same content, you do not need add them one by one but use delimiter "|": @@ -69,13 +49,12 @@ OR: [english|french]This is my content in English and French[/english|french][schinese]\xD6\xD0\xCE\xC4\xC4\xDA\xC8\xDD[/schinese] -7 automatic conversion of content from one charset(extended language) to another [Actually on action needed in this step] +5 automatic conversion of content from one charset(extended language) to another [Actually on action needed in this step] -8 __if__ you would like to insert hardcoded scripts for language switch in your theme or any template besides the language selection box: +6 __if__ you would like to insert hardcoded scripts for language switch in your theme or any template besides the language selection box: 1) modify /modules/xlanguage/api.php "$xlanguage_theme_enable = true;" 2) config options "$options = array("images", " ", 5); // display mode, delimitor, number per line"; 3) insert "<{$smarty.const.XLANGUAGE_SWITCH_CODE}>" into your theme or template files anywhere you prefer it present - xlangauge description @@ -91,7 +70,7 @@ 2 converting content from one character encoding set to another -What xlanguage canNOT do +What xlanguage can NOT do ------------------------ 1 xlanguage does NOT have the ability of translating content from one language to another one. You have to input contents of various languages by yourself 2 xlanguage does NOT work without adding one line to XOOPS/include/common.php (see guide below) @@ -107,40 +86,4 @@ Note: M-S-M: Multiple encoding input, Single encoding storage, Multiple encoding output. -M-S-M allows one site to fit various users with different language character encoding usages. For example, a site having xlanguage implemented porperly allows users to input content either with GB2312, with BIG5 or UTF-8 encoding and to store the content into DB with specified encoding, for say GB2312, and to display the content either with GB2312, with BIG5 or with UTF-8 encoding. - - -Changelog ---------- -xlanguage 3.02 changelog: -1 adjusted for Xoops 2.4.0 using Preloads, no hacks of Core files required anymore in 2.4.0 and above (trabis) - -xlanguage 3.0 changelog: -1 compatable for all Xoops active versions -2 added smarty template for block -3 added inline scripts for displaying language switch manner anywhere prefered - -xlanguage 2.04 changelog: -capable for different language cache, reported by suico @ xoops.org - -xlanguage 2.03 changelog: -"input" parse improvement, reported by irmtfan @ xoops.org - -xlanguage 2.02 bugfix for XSS vulnerability -Thanks domifara @ dev.xoops.org - -xlanguage 2.01 bugfix for nonexisting language - - - -Credits -------- -1 Adi Chiributa - web...@ar..., language handler -2 wjue - http://www.wjue.org, ziling BIG5-GB2312 conversion -3 GIJOE - http://www.peak.ne.jp, easiest multilanguage hack - -Author ------- -D.J. (phppp) -http://xoops.org.cn -http://xoopsforge.com \ No newline at end of file +M-S-M allows one site to fit various users with different language character encoding usages. For example, a site having xlanguage implemented porperly allows users to input content either with GB2312, with BIG5 or UTF-8 encoding and to store the content into DB with specified encoding, for say GB2312, and to display the content either with GB2312, with BIG5 or with UTF-8 encoding. \ 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-05 07:11:29
|
Revision: 9989 http://xoops.svn.sourceforge.net/xoops/?rev=9989&view=rev Author: beckmi Date: 2012-08-05 07:11:22 +0000 (Sun, 05 Aug 2012) Log Message: ----------- changing file structure Modified Paths: -------------- XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt Added Paths: ----------- XoopsModules/xlanguage/trunk/xlanguage/language/tchinese_utf8/readme.tchinese.txt Removed Paths: ------------- XoopsModules/xlanguage/trunk/xlanguage/readme.tchinese.txt XoopsModules/xlanguage/trunk/xlanguage/readme.txt Modified: XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt 2012-08-05 05:08:41 UTC (rev 9988) +++ XoopsModules/xlanguage/trunk/xlanguage/docs/readme.txt 2012-08-05 07:11:22 UTC (rev 9989) @@ -1,34 +1,146 @@ -Read Me First -============= - -Description ------------- -The Partners module provides a page and a block for displaying links to the websites of cooperating organizations, together with short descriptions and optionally logos. Typical usage includes recognition of websites that refer a lot of traffic to your own and \x91thank you\x92 pages for sponsors. - - Requirements - _____________________________________________________________________ - -- PHP version >= 5.2.0 -- ModuleClasses in /Frameworks (download it from here: http://goo.gl/Bmknt) - -Install/uninstall ------------------- -No special measures necessary, follow the standard installation process \x96 extract the xoopspartners folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. - -Detailed instructions on installing modules are available in the XOOPS Operations Manual (http://goo.gl/adT2i) - -Operating instructions ------------------------- -To set up this module you need to: - -i) Enter your partner\x92s details \x96 including a URL for their website and (optionally) logo plus a short description (see \x91Adding a partner\x92) - -ii) Configure your preferences for the module (see \x91Preferences\x92) and optionally the Partners block if you intend to use it (see \x91Blocks\x92) - -iii) Check that you have given your user groups the necessary module and block access rights to use this module. Group permissions are set through the Administration Menu -> System -> Groups. - -Detailed instructions on configuring the access rights for user groups are available in the XOOPS Operations Manual (http://goo.gl/adT2i) - -Tutorial ------------ -You can find a more detailed tutorial here: (http://goo.gl/ZqCFb) \ No newline at end of file + +D.J.(phppp) http://xoops.org.cn +=========================================================================================================== + +xlanguage, eXtensible Xoops Multilingual Content and Encoding Management + + +Applicable +--------- +Any version of XOOPS and any version of any MODULE with any THEME. +NEW in 3.02 for XOOPS 2.4.0: no hacks of api.php needed anymore + + +Easy to use +----------- +1 All you need do is to insert ONLY ONE LINE into common.php and install "xlanguage" +2 Do NOT need to modify/hack any other XOOPS core files or any module + + +Powerful enough to meet your requirements +----------------------------------------- +1 Could handle as many languages of content as you want +2 Could handle different charset of a selected language +3 Could handle multilingual content anywhere on your site, in a module, a php file, an html page or a theme's hardcoded content +4 Compatible with content cache +5 Automatic detection of user browser's language preference + + +User guide +---------- +1 install "xlanguage" as a regular module + +2 insert one line (ONLY for XOOPS version lower than 2.4.0) + + include_once XOOPS_ROOT_PATH.'/modules/xlanguage/api.php'; + into XOOPS/include/common.php + RIGHT BEFORE + // #################### Include site-wide lang file ################## + if ( file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php") ) { + include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php"; + } else { + include_once XOOPS_ROOT_PATH."/language/english/global.php"; + } + +3 modify language/LocalLanguage/global.php, take "schinese" as example + //%%%%% LANGUAGE SPECIFIC SETTINGS %%%%% + //define('_CHARSET', 'GB2312'); + //define('_LANGCODE', 'zh-CN'); + define('_CHARSET', empty($xlanguage["charset"])?'GB2312':$xlanguage["charset"]); + define('_LANGCODE', empty($xlanguage["code"])?'zh-CN':$xlanguage["code"]); + $xlanguage['charset_base'] = "gb2312"; + +4 select basic langauges (from an available language list) and add extended languages (upon a selected basic language) from module admin page + for instance, to make language switch between: English, Simplified Chinese (gb2312), Traditional Chinese (big5) and UTF-8 Chinese: + base 1: name: english; description(optional): English; charset: iso-8859-1; code: en (or anyother like "xen", not a true language code, just the tag for indicating English content) + base 2: name: schinese; description(optional): Simplified Chinese; charset: gb2312; code: zh (or anyother like "sc", not a true language code, just the tag for indicating Chinese content) + extended lang of schinese 1: name: tchinese; description(optional): Traditional Chinese; charset: big5 code: zh-TW (the true language code of Traditional Chinese) base: schinese + extended lang of schinese 2: name: utf8; description(optional): Simplified Chinese UTF-8; charset: utf-8 code: zh-CN (the true language code of Simplified Chinese) base: schinese + +5 make the block "langauge selection" visible + +6 add multilingual content with according tags sepcified for each base language (in step 4) to your modules, templates or themes[Skip this step if you do not use multi-language content display but only use charset encoding]: + wrap content of each language with respective tag specified in step 4: + [langcode1]Content of the language1[/langcode1] [langcode2]Content of the language2[/langcode2] [langcode3]Content of the language3[/langcode3] ... + if two or more languages have same content, you do not need add them one by one but use delimiter "|": + [langcode1|langcode2]Content shared by language1&2[/langcode1|langcode2] [langcode3]Content of the language3[/langcode3] ... + a true example (suppose the lang_codes specified in step 4 are: English-en; French-fr; SimplifiedChiense-sc): + [en]My XOOPS[/en][fr]Moi XOOPS[/fr][sc]\xCEҵ\xC4XOOPS[/sc] + OR: + [english|french]This is my content in English and French[/english|french][schinese]\xD6\xD0\xCE\xC4\xC4\xDA\xC8\xDD[/schinese] + +7 automatic conversion of content from one charset(extended language) to another [Actually on action needed in this step] + +8 __if__ you would like to insert hardcoded scripts for language switch in your theme or any template besides the language selection box: + 1) modify /modules/xlanguage/api.php "$xlanguage_theme_enable = true;" + 2) config options "$options = array("images", " ", 5); // display mode, delimitor, number per line"; + 3) insert "<{$smarty.const.XLANGUAGE_SWITCH_CODE}>" into your theme or template files anywhere you prefer it present + + + +xlangauge description +------------------------- +An eXtensible Multi-language content and character encoding Management plugin +Multilanguage management handles displaying contents of different languages, like English, French and Chinese +Character encoding management handles contents of different encoding sets for one language, like GB2312 (Chinese Simplified) and BIG5 (Chinese Traditional) for Chinese. + + +What xlanguage CAN do +--------------------- +1 displaying content of specified language based on user's dynamic choice +2 converting content from one character encoding set to another + + +What xlanguage canNOT do +------------------------ +1 xlanguage does NOT have the ability of translating content from one language to another one. You have to input contents of various languages by yourself +2 xlanguage does NOT work without adding one line to XOOPS/include/common.php (see guide below) +3 xlanguage does NOT have the ability of converting content from one character encoding to another if none of "iconv", "mb_string" or "xconv" is available. + + +Features +-------- +1 auto-detection of visitor's language on his first visitor +2 memorizing users' langauge preferences +3 switching contents of different languges/encoding sets on-fly +4 supporting M-S-M mode for character encoding handler + +Note: +M-S-M: Multiple encoding input, Single encoding storage, Multiple encoding output. +M-S-M allows one site to fit various users with different language character encoding usages. For example, a site having xlanguage implemented porperly allows users to input content either with GB2312, with BIG5 or UTF-8 encoding and to store the content into DB with specified encoding, for say GB2312, and to display the content either with GB2312, with BIG5 or with UTF-8 encoding. + + +Changelog +--------- +xlanguage 3.02 changelog: +1 adjusted for Xoops 2.4.0 using Preloads, no hacks of Core files required anymore in 2.4.0 and above (trabis) + +xlanguage 3.0 changelog: +1 compatable for all Xoops active versions +2 added smarty template for block +3 added inline scripts for displaying language switch manner anywhere prefered + +xlanguage 2.04 changelog: +capable for different language cache, reported by suico @ xoops.org + +xlanguage 2.03 changelog: +"input" parse improvement, reported by irmtfan @ xoops.org + +xlanguage 2.02 bugfix for XSS vulnerability +Thanks domifara @ dev.xoops.org + +xlanguage 2.01 bugfix for nonexisting language + + + +Credits +------- +1 Adi Chiributa - web...@ar..., language handler +2 wjue - http://www.wjue.org, ziling BIG5-GB2312 conversion +3 GIJOE - http://www.peak.ne.jp, easiest multilanguage hack + +Author +------ +D.J. (phppp) +http://xoops.org.cn +http://xoopsforge.com \ No newline at end of file Added: XoopsModules/xlanguage/trunk/xlanguage/language/tchinese_utf8/readme.tchinese.txt =================================================================== (Binary files differ) Property changes on: XoopsModules/xlanguage/trunk/xlanguage/language/tchinese_utf8/readme.tchinese.txt ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Deleted: XoopsModules/xlanguage/trunk/xlanguage/readme.tchinese.txt =================================================================== (Binary files differ) Deleted: XoopsModules/xlanguage/trunk/xlanguage/readme.txt =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/readme.txt 2012-08-05 05:08:41 UTC (rev 9988) +++ XoopsModules/xlanguage/trunk/xlanguage/readme.txt 2012-08-05 07:11:22 UTC (rev 9989) @@ -1,146 +0,0 @@ - -D.J.(phppp) http://xoops.org.cn -=========================================================================================================== - -xlanguage, eXtensible Xoops Multilingual Content and Encoding Management - - -Applicable ---------- -Any version of XOOPS and any version of any MODULE with any THEME. -NEW in 3.02 for XOOPS 2.4.0: no hacks of api.php needed anymore - - -Easy to use ------------ -1 All you need do is to insert ONLY ONE LINE into common.php and install "xlanguage" -2 Do NOT need to modify/hack any other XOOPS core files or any module - - -Powerful enough to meet your requirements ------------------------------------------ -1 Could handle as many languages of content as you want -2 Could handle different charset of a selected language -3 Could handle multilingual content anywhere on your site, in a module, a php file, an html page or a theme's hardcoded content -4 Compatible with content cache -5 Automatic detection of user browser's language preference - - -User guide ----------- -1 install "xlanguage" as a regular module - -2 insert one line (ONLY for XOOPS version lower than 2.4.0) - - include_once XOOPS_ROOT_PATH.'/modules/xlanguage/api.php'; - into XOOPS/include/common.php - RIGHT BEFORE - // #################### Include site-wide lang file ################## - if ( file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php") ) { - include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php"; - } else { - include_once XOOPS_ROOT_PATH."/language/english/global.php"; - } - -3 modify language/LocalLanguage/global.php, take "schinese" as example - //%%%%% LANGUAGE SPECIFIC SETTINGS %%%%% - //define('_CHARSET', 'GB2312'); - //define('_LANGCODE', 'zh-CN'); - define('_CHARSET', empty($xlanguage["charset"])?'GB2312':$xlanguage["charset"]); - define('_LANGCODE', empty($xlanguage["code"])?'zh-CN':$xlanguage["code"]); - $xlanguage['charset_base'] = "gb2312"; - -4 select basic langauges (from an available language list) and add extended languages (upon a selected basic language) from module admin page - for instance, to make language switch between: English, Simplified Chinese (gb2312), Traditional Chinese (big5) and UTF-8 Chinese: - base 1: name: english; description(optional): English; charset: iso-8859-1; code: en (or anyother like "xen", not a true language code, just the tag for indicating English content) - base 2: name: schinese; description(optional): Simplified Chinese; charset: gb2312; code: zh (or anyother like "sc", not a true language code, just the tag for indicating Chinese content) - extended lang of schinese 1: name: tchinese; description(optional): Traditional Chinese; charset: big5 code: zh-TW (the true language code of Traditional Chinese) base: schinese - extended lang of schinese 2: name: utf8; description(optional): Simplified Chinese UTF-8; charset: utf-8 code: zh-CN (the true language code of Simplified Chinese) base: schinese - -5 make the block "langauge selection" visible - -6 add multilingual content with according tags sepcified for each base language (in step 4) to your modules, templates or themes[Skip this step if you do not use multi-language content display but only use charset encoding]: - wrap content of each language with respective tag specified in step 4: - [langcode1]Content of the language1[/langcode1] [langcode2]Content of the language2[/langcode2] [langcode3]Content of the language3[/langcode3] ... - if two or more languages have same content, you do not need add them one by one but use delimiter "|": - [langcode1|langcode2]Content shared by language1&2[/langcode1|langcode2] [langcode3]Content of the language3[/langcode3] ... - a true example (suppose the lang_codes specified in step 4 are: English-en; French-fr; SimplifiedChiense-sc): - [en]My XOOPS[/en][fr]Moi XOOPS[/fr][sc]\xCEҵ\xC4XOOPS[/sc] - OR: - [english|french]This is my content in English and French[/english|french][schinese]\xD6\xD0\xCE\xC4\xC4\xDA\xC8\xDD[/schinese] - -7 automatic conversion of content from one charset(extended language) to another [Actually on action needed in this step] - -8 __if__ you would like to insert hardcoded scripts for language switch in your theme or any template besides the language selection box: - 1) modify /modules/xlanguage/api.php "$xlanguage_theme_enable = true;" - 2) config options "$options = array("images", " ", 5); // display mode, delimitor, number per line"; - 3) insert "<{$smarty.const.XLANGUAGE_SWITCH_CODE}>" into your theme or template files anywhere you prefer it present - - - -xlangauge description -------------------------- -An eXtensible Multi-language content and character encoding Management plugin -Multilanguage management handles displaying contents of different languages, like English, French and Chinese -Character encoding management handles contents of different encoding sets for one language, like GB2312 (Chinese Simplified) and BIG5 (Chinese Traditional) for Chinese. - - -What xlanguage CAN do ---------------------- -1 displaying content of specified language based on user's dynamic choice -2 converting content from one character encoding set to another - - -What xlanguage canNOT do ------------------------- -1 xlanguage does NOT have the ability of translating content from one language to another one. You have to input contents of various languages by yourself -2 xlanguage does NOT work without adding one line to XOOPS/include/common.php (see guide below) -3 xlanguage does NOT have the ability of converting content from one character encoding to another if none of "iconv", "mb_string" or "xconv" is available. - - -Features --------- -1 auto-detection of visitor's language on his first visitor -2 memorizing users' langauge preferences -3 switching contents of different languges/encoding sets on-fly -4 supporting M-S-M mode for character encoding handler - -Note: -M-S-M: Multiple encoding input, Single encoding storage, Multiple encoding output. -M-S-M allows one site to fit various users with different language character encoding usages. For example, a site having xlanguage implemented porperly allows users to input content either with GB2312, with BIG5 or UTF-8 encoding and to store the content into DB with specified encoding, for say GB2312, and to display the content either with GB2312, with BIG5 or with UTF-8 encoding. - - -Changelog ---------- -xlanguage 3.02 changelog: -1 adjusted for Xoops 2.4.0 using Preloads, no hacks of Core files required anymore in 2.4.0 and above (trabis) - -xlanguage 3.0 changelog: -1 compatable for all Xoops active versions -2 added smarty template for block -3 added inline scripts for displaying language switch manner anywhere prefered - -xlanguage 2.04 changelog: -capable for different language cache, reported by suico @ xoops.org - -xlanguage 2.03 changelog: -"input" parse improvement, reported by irmtfan @ xoops.org - -xlanguage 2.02 bugfix for XSS vulnerability -Thanks domifara @ dev.xoops.org - -xlanguage 2.01 bugfix for nonexisting language - - - -Credits -------- -1 Adi Chiributa - web...@ar..., language handler -2 wjue - http://www.wjue.org, ziling BIG5-GB2312 conversion -3 GIJOE - http://www.peak.ne.jp, easiest multilanguage hack - -Author ------- -D.J. (phppp) -http://xoops.org.cn -http://xoopsforge.com \ 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-05 05:08:47
|
Revision: 9988 http://xoops.svn.sourceforge.net/xoops/?rev=9988&view=rev Author: beckmi Date: 2012-08-05 05:08:41 +0000 (Sun, 05 Aug 2012) Log Message: ----------- Fix: image for ext language not updated Modified Paths: -------------- XoopsModules/xlanguage/trunk/xlanguage/class/language.php Modified: XoopsModules/xlanguage/trunk/xlanguage/class/language.php =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/class/language.php 2012-08-05 04:15:04 UTC (rev 9987) +++ XoopsModules/xlanguage/trunk/xlanguage/class/language.php 2012-08-05 05:08:41 UTC (rev 9988) @@ -242,7 +242,7 @@ if($lang->isBase){ $var_array = array("lang_id", "weight", "lang_name", "lang_desc", "lang_code", "lang_charset", "lang_image"); }else{ - $var_array = array("lang_id", "weight", "lang_name", "lang_desc", "lang_image", "lang_charset", "lang_code", "lang_base"); + $var_array = array("lang_id", "weight", "lang_name", "lang_desc", "lang_code", "lang_charset", "lang_image", "lang_base"); } $lang_id = $this->db->genId($lang->table."_lang_id_seq"); foreach($var_array as $var){ @@ -259,7 +259,7 @@ if($lang->isBase){ $var_array = array("weight", "lang_name", "lang_desc", "lang_code", "lang_charset", "lang_image"); }else{ - $var_array = array("weight", "lang_name", "lang_desc", "lang_code", "lang_charset", "lang_base"); + $var_array = array("weight", "lang_name", "lang_desc", "lang_code", "lang_charset", "lang_image", "lang_base"); } $set_array = array(); foreach($var_array as $var){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-05 04:15:11
|
Revision: 9987 http://xoops.svn.sourceforge.net/xoops/?rev=9987&view=rev Author: beckmi Date: 2012-08-05 04:15:04 +0000 (Sun, 05 Aug 2012) Log Message: ----------- Fixing generation of configuration file for extended languages Modified Paths: -------------- XoopsModules/xlanguage/trunk/xlanguage/class/language.php XoopsModules/xlanguage/trunk/xlanguage/docs/changelog.txt XoopsModules/xlanguage/trunk/xlanguage/xoops_version.php Modified: XoopsModules/xlanguage/trunk/xlanguage/class/language.php =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/class/language.php 2012-08-04 23:49:44 UTC (rev 9986) +++ XoopsModules/xlanguage/trunk/xlanguage/class/language.php 2012-08-05 04:15:04 UTC (rev 9987) @@ -334,8 +334,8 @@ $file_content .= "\n \"lang_code\"=>\"".$lang->getVar('lang_code')."\","; $file_content .= "\n \"lang_charset\"=>\"".$lang->getVar('lang_charset')."\","; $file_content .= "\n \"lang_image\"=>\"".$lang->getVar('lang_image')."\","; - $file_content .= "\n \"lang_base\"=>\"".$lang->getVar('lang_base').""; - $file_content .= "\n )."; + $file_content .= "\n \"lang_base\"=>\"".$lang->getVar('lang_base')."\""; + $file_content .= "\n ),"; } $file_content .= "\n );"; } Modified: XoopsModules/xlanguage/trunk/xlanguage/docs/changelog.txt =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/docs/changelog.txt 2012-08-04 23:49:44 UTC (rev 9986) +++ XoopsModules/xlanguage/trunk/xlanguage/docs/changelog.txt 2012-08-05 04:15:04 UTC (rev 9987) @@ -2,6 +2,7 @@ ------------------- - updated POSIX Regex to PCRE (Mamba) - minor fixes (Mamba) +- fixing generation of configuration file for extended languages xlanguage 3.03: ------------------- Modified: XoopsModules/xlanguage/trunk/xlanguage/xoops_version.php =================================================================== --- XoopsModules/xlanguage/trunk/xlanguage/xoops_version.php 2012-08-04 23:49:44 UTC (rev 9986) +++ XoopsModules/xlanguage/trunk/xlanguage/xoops_version.php 2012-08-05 04:15:04 UTC (rev 9987) @@ -46,7 +46,7 @@ $modversion['release_date'] = '2012/06/19'; $modversion["module_website_url"] = "www.xoops.org/"; $modversion["module_website_name"] = "XOOPS"; -$modversion["module_status"] = "RC"; +$modversion["module_status"] = "RC2"; $modversion['min_php']='5.2'; $modversion['min_xoops']="2.5"; $modversion['min_admin']='1.1'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-04 23:49:50
|
Revision: 9986 http://xoops.svn.sourceforge.net/xoops/?rev=9986&view=rev Author: beckmi Date: 2012-08-04 23:49:44 +0000 (Sat, 04 Aug 2012) Log Message: ----------- Removing unneeded folders Removed Paths: ------------- XoopsModules/branches/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-04 15:22:40
|
Revision: 9985 http://xoops.svn.sourceforge.net/xoops/?rev=9985&view=rev Author: beckmi Date: 2012-08-04 15:22:31 +0000 (Sat, 04 Aug 2012) Log Message: ----------- Updating for consistency with XOOPS 2.5.5 GUI Modified Paths: -------------- XoopsModules/xcgal/trunk/xcgal/addpic.php XoopsModules/xcgal/trunk/xcgal/admin/admin_footer.php XoopsModules/xcgal/trunk/xcgal/admin/admin_header.php XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php XoopsModules/xcgal/trunk/xcgal/admin/menu.php XoopsModules/xcgal/trunk/xcgal/docs/changelog.txt XoopsModules/xcgal/trunk/xcgal/sql/mysql.sql XoopsModules/xcgal/trunk/xcgal/templates/xcgal_display.html XoopsModules/xcgal/trunk/xcgal/xoops_version.php Added Paths: ----------- XoopsModules/xcgal/trunk/xcgal/docs/README.html XoopsModules/xcgal/trunk/xcgal/docs/credits.txt XoopsModules/xcgal/trunk/xcgal/docs/install.txt XoopsModules/xcgal/trunk/xcgal/docs/lang_diff.txt XoopsModules/xcgal/trunk/xcgal/docs/license.txt XoopsModules/xcgal/trunk/xcgal/docs/readme.txt XoopsModules/xcgal/trunk/xcgal/images/folder.png XoopsModules/xcgal/trunk/xcgal/images/info.png XoopsModules/xcgal/trunk/xcgal/images/up_ok.png XoopsModules/xcgal/trunk/xcgal/images/up_pb.png XoopsModules/xcgal/trunk/xcgal/language/arabic/help/ XoopsModules/xcgal/trunk/xcgal/language/arabic/help/help.html XoopsModules/xcgal/trunk/xcgal/language/arabic/help/index.html XoopsModules/xcgal/trunk/xcgal/language/english/help/ XoopsModules/xcgal/trunk/xcgal/language/english/help/help.html XoopsModules/xcgal/trunk/xcgal/language/english/help/index.html XoopsModules/xcgal/trunk/xcgal/language/french/help/ XoopsModules/xcgal/trunk/xcgal/language/french/help/help.html XoopsModules/xcgal/trunk/xcgal/language/french/help/index.html XoopsModules/xcgal/trunk/xcgal/language/german/help/ XoopsModules/xcgal/trunk/xcgal/language/german/help/help.html XoopsModules/xcgal/trunk/xcgal/language/german/help/index.html XoopsModules/xcgal/trunk/xcgal/language/germandu/help/ XoopsModules/xcgal/trunk/xcgal/language/germandu/help/help.html XoopsModules/xcgal/trunk/xcgal/language/germandu/help/index.html XoopsModules/xcgal/trunk/xcgal/language/italian/help/ XoopsModules/xcgal/trunk/xcgal/language/italian/help/help.html XoopsModules/xcgal/trunk/xcgal/language/italian/help/index.html XoopsModules/xcgal/trunk/xcgal/language/polish/help/ XoopsModules/xcgal/trunk/xcgal/language/polish/help/help.html XoopsModules/xcgal/trunk/xcgal/language/polish/help/index.html XoopsModules/xcgal/trunk/xcgal/language/russian/help/ XoopsModules/xcgal/trunk/xcgal/language/russian/help/help.html XoopsModules/xcgal/trunk/xcgal/language/russian/help/index.html Removed Paths: ------------- XoopsModules/xcgal/trunk/xcgal/COPYING XoopsModules/xcgal/trunk/xcgal/README.html XoopsModules/xcgal/trunk/xcgal/readme.txt Deleted: XoopsModules/xcgal/trunk/xcgal/COPYING =================================================================== --- XoopsModules/xcgal/trunk/xcgal/COPYING 2012-08-04 10:33:49 UTC (rev 9984) +++ XoopsModules/xcgal/trunk/xcgal/COPYING 2012-08-04 15:22:31 UTC (rev 9985) @@ -1,280 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS Deleted: XoopsModules/xcgal/trunk/xcgal/README.html =================================================================== --- XoopsModules/xcgal/trunk/xcgal/README.html 2012-08-04 10:33:49 UTC (rev 9984) +++ XoopsModules/xcgal/trunk/xcgal/README.html 2012-08-04 15:22:31 UTC (rev 9985) @@ -1,334 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Coppermine Photo Gallery - README</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -<style type="text/css"> -<!-- -body { - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; - background : #F7F7F7 ; - color : Black; - margin: 20px; -} - -td { - font-size: 12px; -} - -h1{ - font-weight: bold; - font-size: 22px; - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; - text-decoration: none; - line-height : 120%; - color : #000000; -} - -h2 { - font-family: Arial, Helvetica, sans-serif; - font-size: 18px; - color: #0E72A4; - text-decoration: underline; -} - -h3 { - font-weight: bold; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; - text-decoration: underline; -} - -p { - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; - margin: 10px 10px 0px 0px; -} - -ul { - margin-left: 5px; - margin-right: 0px; - margin-top: 10px; - margin-bottom: 10px; - padding: 0px; -} - -li { - margin-left: 10px; - margin-top: 4px; - margin-bottom: 4px; - padding: 0px; - list-style-position: outside; - list-style-type: disc; -} ---> -</style> -</head> - -<body> -<h1><img src="images/coppermine_logo.png" width="300" height="75" /></h1> -<h1>Coppermine Photo Gallery v1.1.0</h1> -<p>Coppermine Photo Gallery is a picture gallery script. Users can upload pictures - with a web browser (thumbnails are created on the fly), rate pictures, add comments - and send e-cards. The admins can manage the galleries and batch add pictures - that have been uploaded on the server by FTP.</p> -<p>Images are stored in albums and albums can be grouped by categories. The script - supports multiple users and each user can possibly have its own set of albums.</p> -<p>The script also supports multiple languages and has a theme system. It uses - PHP, a MySQL database and the GD library (version 1.x or 2.x) or ImageMagick - to make the thumbnails. An install script makes the installation fast and simple.</p> -<h2>What is required</h2> -<ul> - <li>A web server that supports PHP (the script should work with any version - >= 4.1.0)</li> - <li>A MySQL database</li> - <li>PHP compiled with the support for the GD library or the ImageMagick "convert" - utility in order to make thumbnails and reduced size images</li> -</ul> -<h2>How to install the script</h2> -<ul> - <li>Unpack the archive preserving the directory structure</li> - <li>Uploads all files onto your webserver</li> - <li>Run the install script on your server (http://your_server/coppermine_dir/install.php) - and follow the instructions</li> -</ul> -<h2>Getting started</h2> -<p>Login with the admin username and password, click on the "admin mode" - link if it is visible, go to the <b>Config</b> page and start to configure your - gallery. Note that even if you are a member of the administrator group, you - need to be in "admin mode" to configure your gallery.</p> -<p>Use the <b>anonymous</b> group to define what non-regsitered users can and - can't do.</p> -<p>Use the "<b>Album Manager</b>" ("Albums" link in the admin - menu) in to create and order your albums.</p> -<p>Use the <b>properties</b> of an album to modify its description and permissions. -</p> -<p>In order for a user to be allowed to upload a picture in album two conditions - must be met:</p> -<ul> - <li> The user must be part of a group that can upload picture.</li> - <li>There must be at least one album where "<b>Visitors can upload pictures</b>" - has been set to "<b>Yes</b>".</li> -</ul> -<p>The same apply to <b>picture rating</b> and <b>comment posting</b>.</p> -<p>If you have installed the script succesfully but are having trouble getting - it working properly you can enable the "<b>debug mode</b>" on the - <b>config page</b>. In this mode, the script outputs most of the warning/error - messages produced by PHP in addition to some debug information. This can provide - valuable information to understand what is wrong.</p> -<h2>Changing the content of the main page</h2> -<p>On the config page, you have an option called "<b>The content of the main - page</b>". Here you can define what is displayed on the main page of the - script.</p> -<p>The default value is "<b>catlist/alblist/random,2/lastup,2</b>"</p> -<p>You can use the following "codes"</p> -<ul> - <li>'<b>catlist</b>': category list</li> - <li>'<b>alblist</b>': album list</li> - <li>'<b>random</b>': random pictures</li> - <li>'<b>lastup</b>': last uploads</li> - <li>'<b>topn</b>': most viewed</li> - <li>'<b>toprated</b>': top rated</li> - <li>'<b>lastcom</b>': last comments </li> -</ul> -<p></p> -<p>The <b>,2</b> means 2 rows of thumbnails</p> -<h2>Formatting album and image descriptions</h2> -<p>Coppermine understands the following bbCodes (the same bbCodes that are used - by phpBB) in image and album description</p> -<ul> - <li>[b]<b>bold</b>[/b]</li> - <li>[i]<i>italic</i>[/i]</li> - <li>[url=http://url]<a href="javascript:;">URL text</a>[/url]</li> - <li>[email]<a href="javascript:;">us...@do...d</a>[/email]</li> -</ul> -<h2>Using Windows XP Web Publishing Wizard with Coppermine</h2> -<p>If you are using Windows XP, you can use its builtin web publishing wizard - to upload your photos to your gallery.</p> -<p>Once you have properly installed the script on your server, call the xp_publish.php - file from your web browser (<a href="javascript: ;">http://your_site.com/coppermine_dir/xp_publish.php</a>).</p> -<p>The script displays some information on how to do the installation on the client - side and how to use the Wizard. Basically you will need to download a small - file created by the script that needs to be loaded into your Windows registry.</p> -<h2>Creating your own themes</h2> -<p>Coppermine themes are stored in the "<b>themes</b>" directory, they - consist of 3 files : </p> -<ul> - <li>"<b>template.html</b>" the main template in plain HTML.</li> - <li>"<b>style.css</b>" the stylesheet associated with the template</li> - <li>"<b>theme.php</b>" the PHP theme file</li> -</ul> -<p>To create a new template the best solution is to use an existing one as a basis. - Do do that make copy of the folder of the theme you want to use as a basis then - edit the "<b>template.html</b>" and "<b>template.php</b>" - files and replace all occurences of "<b>themes/old_theme_dir</b>" - with "<b>themes/new_theme_dir</b>" in order for the links to point - to the correct place.</p> -<p>When editing the "<b>template.html</b>" file do not remove the elements - between <b>{}</b> these are the placeholders used by the script. Also keep in - mind that despite this file being located in the "<b>themes/your_theme_dir</b>" - directory, it must be build like if it was in the main directory of the script. - Practically to load an image, you must use <i><img src="themes/theme_dir/images/image.gif" - alt=""/></i> and not <i><img src="images/image.gif" - alt=""/>.</i> The same apply for the "<b>theme.php</b>" - file.</p> -<p>If you are using an HTML editor to make your template, the best solution is - that you copy the "<b>template.html</b>" file into the main directory - of the script and edit it there. If the script find a file named "<b>template.html</b>" - in the main directory it will load it instead of the one of the theme directory. - Once you have finished your editings, move the file back to the directory of - your theme.</p> -<p>To modify the colors, fonts, font sizes, etc... used by the script, edit the - "<b>style.css</b>" stylesheet. If you want to increase or decrease - the size of the fonts you can simply modify the line with : <i>table { font-size: - 12px; }</i>. Most of the font sizes used by the script are defined as a percentage - of this size.</p> -<p>The "<b>theme.php</b>" file contains all the HTML templates used - by the script. You can also edit them. When making modifications to these templates, - don't touch the lines with <i><!-- BEGIN xxx --></i> and <i><!-- END - xxx --></i>.</p> -<h2>Safe mode issues</h2> -<p>A significant number of webhost on the Internet run PHP in safe mode. Coppermine - runs without any problem in safe mode and with the "open basedir restriction" - active, provided safe mode is properly configured. Unfortunately on many hosts, - safe mode is not configured properly.</p> -<p>If your webhost is running PHP in safe mode but is misconfigured, you may need - to do the following :</p> -<ul> - <li>With an FTP program, change the mode of Coppermine's "<b>include</b>" - directory on your server to <b>0777</b>.</li> - <li>Do the same for the "<b>userpics</b>" directory.</li> - <li>Check that at the beginning the the "<b>include/config.inc.php</b>" - file, you have a line with : "<b>define('SILLY_SAFE_MODE', 1);</b>"</li> -</ul> -<h2>Using SMTP to send emails</h2> -<p>By default the script uses the PHP built-in <b>mail</b> function to send emails. - In some cases, the PHP built-in function can't be used.</p> -<p> If in order to send emails with PHP you need to supply a <b>hostname</b>, - a <b>username</b> and a <b>password</b>, you need to edit the file "<b>include/mailer.inc.php</b>" - and put the correct values there (<i>$CONFIG['smtp_host'] = 'smtp.somewhere.com'; - $CONFIG['smtp_username'] = 'username'; $CONFIG['smtp_password'] = 'password';</i>). - If you don't need a username and password to connect to your SMTP server, just - leave them blank.</p> -<p></p> -<h2>Upgrading from version 1.0</h2> -<p>If you already have installed version 1.0 and you want to transfer your albums - to version 1.1 proceed in the following way:</p> -<ul> - <li> Install version 1.1 normally in a directory different from the one where - you installed v 1.0. Note that in order to use the upgrade script, <b>tables - for version 1.0 and 1.1 must be stored in the same database</b>.</li> - <li>Copy the "<b>albums</b>" directory of version 1.0 into the directory - where you installed version 1.1</li> - <li>Get the upgrade script that you can download <a href="http://chez.greg.free.fr/downloads/upgrade-1.0-to-1.1.zip">here</a>.</li> - <li>Unpack and upload the file to your server in the directory where you installed - version 1.1</li> - <li>The upgrade script assumes that you used the "<b>CPG_</b>" prefix - for tables (default value) when you installed version 1.0, if this is not - the case, edit the PHP file and put the correct value inside.</li> - <li>Login, enter the admin mode</li> - <li>Call the upgrade script http://yousitename/coppermine_dir/upgrade-1.0-to-1.1.php</li> - <li>If you don't get any error you're done. <b>Delete the file from your server</b>. - If you get an error, go to Coppermine 1.1 config page, enable debug mode, - try to call the upgrade script again and check what errors you get.</li> -</ul> -<p> <b>This upgrade process leave your v1.0 gallery untouched </b></p> -<h2>Upgrading from a previous Beta of version 1.1</h2> -<p>Unpack the archive, delete the file <b>config.inc.php</b> that may possibly - exist in the <b>"include"</b> directory and the file <b>install.php</b> - (you don't need to run the install script when doing an upgrade). Upload the - new files to your server overwriting the existing ones</p> -<h2>Translating Coppermine into other languages</h2> -<p>Coppermine has now a separate language file that make the translation of the - script much more easy. The language files are stored in the <b>lang </b>directory. - The files with the <b>utf-8</b> suffix are unicode encoded files. They are automatically - generated with the <b>iconv</b> program so there is no need for you to make - an unicode version of your translation.</p> -<p>If you select an utf-8 language file as the default one, then the script will - be able to automatically select a language file based on the visitor browser - configuration. For instance if the default language file is danish-utf-8 and - an english visitor access your gallery, the english-utf-8 language file will - be used by the script.</p> -<p> If you have translated Coppermine into your own language, you can mail your - language file to <a href="mailto:cop...@ch...">cop...@ch...</a>.</p> -<p></p> -<h2>Credits</h2> -<h3>Language file translation :</h3> -<p><b>Note</b> : if you have corrections to suggest on language files, mail them - directly to the author of the translation.</p> -<p> </p> -<table border="0" cellspacing="3" cellpadding="3"> - <tr> - <td>Chinese (Big5)</td> - <td><a href="mailto:a05...@ms...">MyScripts & Math</a></td> - <td><a href="http://www.winpon.tw300.com/">http://www.winpon.tw300.com/</a></td> - </tr> - <tr> - <td>Danish</td> - <td><a href="mailto:lau...@to...">Jan Ole Laugesen</a></td> - <td><a href="http://www.tommerup.net/">http://www.tommerup.net/</a></td> - </tr> - <tr> - <td>Dutch</td> - <td><a href="mailto:ro...@ro...">Ron Bos</a></td> - <td><a href="http://www.ronbos.nl/">http://www.ronbos.nl/</a></td> - </tr> - <tr> - <td>Finnish</td> - <td><a href="mailto:vil...@mi...">Ville Taavila</a></td> - <td> </td> - </tr> - <tr> - <td>French</td> - <td><a href="mailto:nat...@ho...">Niko</a></td> - <td><a href="http://www.chien.com/mustang/">http://www.chien.com/mustang/</a></td> - </tr> - <tr> - <td>German</td> - <td><a href="mailto:ma...@ga...">GauGau</a></td> - <td><a href="http://www.gaugau.de/">http://www.gaugau.de/</a></td> - </tr> - <tr> - <td>Greek</td> - <td><a href="mailto:ly...@ly...">Lykourgos</a><br /></td> - <td><a href="http://www.lykman.com/">http://www.lykman.com/</a></td> - </tr> - <tr> - <td>Spanish</td> - <td><a href="mailto:dvi...@po...">Daniel Villoldo</a></td> - <td><a href="http://www.proel334.net/album/">http://www.proel334.net/album/</a></td> - </tr> -</table> -<h3>Coppermine uses code from the following free softwares :</h3> -<p><b>phpBB</b><br /> - Author: phpBBGroup <br /> - URL: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a><br /> -</p> -<p><b>phpMyAdmin</b><br /> - Author: phpMyAdmin devel team<br /> - URL: <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a><br /> -</p> -<p><b>phpPhotoAlbum</b><br /> - Author: Henning Støverud<br /> - E-mail: <a href="mailto:%20h...@st...">he...@st...</a><br /> - URL: <a href="http://www.stoverud.com/PHPhotoalbum/">http://www.stoverud.com/PHPhotoalbum/</a><br /> -</p> -<h2>Copyright and disclaimer</h2> -<p>This application is opensource software released under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. -</p> -<p>BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY<br /> - FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN<br /> - OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES<br /> - PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED<br /> - OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF<br /> - MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS<br /> - TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE<br /> - PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,<br /> - REPAIR OR CORRECTION. </p> -<p>Coppermine Photo Gallery is Copyright © 2002, 2003 <a href="http://www.chezgreg.net/coppermine/">Grégory - DEMAR</a>, All Rights Reserved.<br /> -</p> -</body> -</html> Modified: XoopsModules/xcgal/trunk/xcgal/addpic.php =================================================================== --- XoopsModules/xcgal/trunk/xcgal/addpic.php 2012-08-04 10:33:49 UTC (rev 9984) +++ XoopsModules/xcgal/trunk/xcgal/addpic.php 2012-08-04 15:22:31 UTC (rev 9985) @@ -52,9 +52,9 @@ if ($xoopsDB->getRowsNum($result)) { $file_name = "images/up_dup.gif"; } elseif (add_picture($aid, $dir_name, $file_name, $file_title)){ - $file_name = "images/up_ok.gif"; + $file_name = "images/up_ok.png"; } else { - $file_name = "images/up_pb.gif"; + $file_name = "images/up_pb.png"; echo $ERROR; } Modified: XoopsModules/xcgal/trunk/xcgal/admin/admin_footer.php =================================================================== --- XoopsModules/xcgal/trunk/xcgal/admin/admin_footer.php 2012-08-04 10:33:49 UTC (rev 9984) +++ XoopsModules/xcgal/trunk/xcgal/admin/admin_footer.php 2012-08-04 15:22:31 UTC (rev 9985) @@ -16,9 +16,11 @@ * @author XOOPS Module Team * @version $Id $ **/ -echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src=" . XOOPS_URL ."/". $moduleInfo->getInfo("icons32")."/xoopsmicrobutton.gif"." alt=\"XOOPS\" title=\"XOOPS\"></a></div>"; -echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> is maintained by the <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; -xoops_cp_footer(); - -?> \ No newline at end of file +xoops_cp_footer(); \ No newline at end of file Modified: XoopsModules/xcgal/trunk/xcgal/admin/admin_header.php =================================================================== --- XoopsModules/xcgal/trunk/xcgal/admin/admin_header.php 2012-08-04 10:33:49 UTC (rev 9984) +++ XoopsModules/xcgal/trunk/xcgal/admin/admin_header.php 2012-08-04 15:22:31 UTC (rev 9985) @@ -14,9 +14,13 @@ } $moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); -$pathIcon16 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); -$pathIcon32 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); +//$pathIcon16 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +//$pathIcon32 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +//$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + $myts =& MyTextSanitizer::getInstance(); if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { Modified: XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php =================================================================== --- XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php 2012-08-04 10:33:49 UTC (rev 9984) +++ XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php 2012-08-04 15:22:31 UTC (rev 9985) @@ -136,7 +136,7 @@ function display_cat_list() { - global $CAT_LIST, $PHP_SELF, $myts; + global $CAT_LIST, $PHP_SELF, $myts, $pathIcon16; $CAT_LIST3 = $CAT_LIST; @@ -145,25 +145,25 @@ echo ' <td class="even" width="80%"><b>' . $category['name'] . '</b></td>' . "\n"; if ($category['pos'] > 0) { - echo ' <td class="odd" width="4%"><a href="'.$PHP_SELF.'?op=move&cid1='.$category['cid'].'&pos1='.($category['pos']-1).'&cid2='.$category['prev'].'&pos2='.($category['pos']).'">'.'<img src="../images/up.gif" border="0">'.'</a></td>'."\n"; + echo ' <td class="odd" width="4%" align="center"><a href="'.$PHP_SELF.'?op=move&cid1='.$category['cid'].'&pos1='.($category['pos']-1).'&cid2='.$category['prev'].'&pos2='.($category['pos']).'">'.'<img src=' . $pathIcon16.'/up.png border="0">'.'</a></td>'."\n"; } else { echo ' <td class="odd" width="4%">' . ' ' . '</td>' . "\n"; } if ($category['pos'] < $category['cat_count'] - 1) { - echo ' <td class="odd" width="4%"><a href="'.$PHP_SELF.'?op=move&cid1='.$category['cid'].'&pos1='.($category['pos']+1).'&cid2='.$category['next'].'&pos2='.($category['pos']).'">'.'<img src="../images/down.gif" border="0">'.'</a></td>'."\n"; + echo ' <td class="odd" width="4%" align="center"><a href="'.$PHP_SELF.'?op=move&cid1='.$category['cid'].'&pos1='.($category['pos']+1).'&cid2='.$category['next'].'&pos2='.($category['pos']).'">'.'<img src=' . $pathIcon16.'/down.png border="0">'.'</a></td>'."\n"; } else { echo ' <td class="odd" width="4%">' . ' ' . '</td>' . "\n"; } if ($category['cid'] != 1) { - echo ' <td class="odd" width="4%"><a href="'.$PHP_SELF.'?op=deletecat&cid='.$category['cid'].'" onClick="return confirmDel(\''.str_replace(' ','', $myts->htmlSpecialChars($category['name'])).'\')">'.'<img src="../images/delete.gif" border="0">'.'</a></td>'."\n"; + echo ' <td class="odd" width="4%" align="center"><a href="'.$PHP_SELF.'?op=deletecat&cid='.$category['cid'].'" onClick="return confirmDel(\''.str_replace(' ','', $myts->htmlSpecialChars($category['name'])).'\')">'.'<img src=' . $pathIcon16.'/delete.png border="0">'.'</a></td>'."\n"; } else { echo ' <td class="odd" width="4%">' . ' ' . '</td>' . "\n"; } - echo ' <td class="odd" width="4%">'.'<a href="'.$PHP_SELF.'?op=editcat&cid='.$category['cid'].'">'.'<img src="../images/edit.gif" border="0">'.'</a></td>'."\n"; - echo ' <td class="odd" width="4%">' . "\n" . cat_list_box($category['parent'], $category['cid']) . "\n" . '</td>' . "\n"; + echo ' <td class="odd" width="4%" align="center">'.'<a href="'.$PHP_SELF.'?op=editcat&cid='.$category['cid'].'">'.'<img src=' . $pathIcon16.'/edit.png border="0">'.'</a></td>'."\n"; + echo ' <td class="odd" width="4%" >' . "\n" . cat_list_box($category['parent'], $category['cid']) . "\n" . '</td>' . "\n"; echo " </tr>\n"; } } Modified: XoopsModules/xcgal/trunk/xcgal/admin/menu.php =================================================================== --- XoopsModules/xcgal/trunk/xcgal/admin/menu.php 2012-08-04 10:33:49 UTC (rev 9984) +++ XoopsModules/xcgal/trunk/xcgal/admin/menu.php 2012-08-04 15:22:31 UTC (rev 9985) @@ -30,46 +30,57 @@ // ------------------------------------------------------------------------ // -$module_handler =& xoops_gethandler('module'); -$xoopsModule =& XoopsModule::getByDirname('xcgal'); -$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); -$pathIcon32 = $moduleInfo->getInfo('icons32'); +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} +include_once $fileinc; + $adminmenu = array(); $i = 1; -$adminmenu[$i]['title'] = _MI_XCGAL_ADMENU1; +$adminmenu[$i]['title'] = _AM_MODULEADMIN_HOME; $adminmenu[$i]['link'] = "admin/index.php"; -$adminmenu[$i]['icon'] = '../../'.$pathIcon32.'/home.png' ; +$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; $i++; $adminmenu[$i]['title'] = _MI_XCGAL_ADMENU2; $adminmenu[$i]['link'] = "admin/catmgr.php"; -$adminmenu[$i]['icon'] = '../../'.$pathIcon32.'/category.png' ; +$adminmenu[$i]['icon'] = $pathIcon32.'/category.png' ; $i++; $adminmenu[$i]['title'] = _MI_XCGAL_ADMENU3; $adminmenu[$i]['link'] = "admin/usermgr.php"; -$adminmenu[$i]['icon'] = '../../'.$pathIcon32.'/album.png' ; +$adminmenu[$i]['icon'] = $pathIcon32.'/album.png' ; $i++; $adminmenu[$i]['title'] = _MI_XCGAL_ADMENU4; $adminmenu[$i]['link'] = "admin/groupmgr.php"; -$adminmenu[$i]['icon'] = '../../'.$pathIcon32.'/groupmod.png' ; +$adminmenu[$i]['icon'] = $pathIcon32.'/groupmod.png' ; $i++; $adminmenu[$i]['title'] = _MI_XCGAL_ADMENU5; $adminmenu[$i]['link'] = "admin/ecardmgr.php"; -$adminmenu[$i]['icon'] = '../../'.$pathIcon32.'/photo.png' ; +$adminmenu[$i]['icon'] = $pathIcon32.'/photo.png' ; $i++; $adminmenu[$i]['title'] = _MI_XCGAL_ADMENU6; $adminmenu[$i]['link'] = 'admin/searchnew.php'; -$adminmenu[$i]['icon'] = '../../'.$pathIcon32.'/add.png'; +$adminmenu[$i]['icon'] = $pathIcon32.'/add.png'; $i++; -$adminmenu[$i]['title'] = _PROFILE_MI_ABOUT; +$adminmenu[$i]['title'] = _AM_MODULEADMIN_ABOUT; $adminmenu[$i]['link'] = 'admin/about.php'; -$adminmenu[$i]['icon'] = '../../'.$pathIcon32.'/about.png'; - -?> +$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; \ No newline at end of file Added: XoopsModules/xcgal/trunk/xcgal/docs/README.html =================================================================== --- XoopsModules/xcgal/trunk/xcgal/docs/README.html (rev 0) +++ XoopsModules/xcgal/trunk/xcgal/docs/README.html 2012-08-04 15:22:31 UTC (rev 9985) @@ -0,0 +1,334 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Coppermine Photo Gallery - README</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +<style type="text/css"> +<!-- +body { + font-family : Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + background : #F7F7F7 ; + color : Black; + margin: 20px; +} + +td { + font-size: 12px; +} + +h1{ + font-weight: bold; + font-size: 22px; + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + text-decoration: none; + line-height : 120%; + color : #000000; +} + +h2 { + font-family: Arial, Helvetica, sans-serif; + font-size: 18px; + color: #0E72A4; + text-decoration: underline; +} + +h3 { + font-weight: bold; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + text-decoration: underline; +} + +p { + font-family : Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + margin: 10px 10px 0px 0px; +} + +ul { + margin-left: 5px; + margin-right: 0px; + margin-top: 10px; + margin-bottom: 10px; + padding: 0px; +} + +li { + margin-left: 10px; + margin-top: 4px; + margin-bottom: 4px; + padding: 0px; + list-style-position: outside; + list-style-type: disc; +} +--> +</style> +</head> + +<body> +<h1><img src="images/coppermine_logo.png" width="300" height="75" /></h1> +<h1>Coppermine Photo Gallery v1.1.0</h1> +<p>Coppermine Photo Gallery is a picture gallery script. Users can upload pictures + with a web browser (thumbnails are created on the fly), rate pictures, add comments + and send e-cards. The admins can manage the galleries and batch add pictures + that have been uploaded on the server by FTP.</p> +<p>Images are stored in albums and albums can be grouped by categories. The script + supports multiple users and each user can possibly have its own set of albums.</p> +<p>The script also supports multiple languages and has a theme system. It uses + PHP, a MySQL database and the GD library (version 1.x or 2.x) or ImageMagick + to make the thumbnails. An install script makes the installation fast and simple.</p> +<h2>What is required</h2> +<ul> + <li>A web server that supports PHP (the script should work with any version + >= 4.1.0)</li> + <li>A MySQL database</li> + <li>PHP compiled with the support for the GD library or the ImageMagick "convert" + utility in order to make thumbnails and reduced size images</li> +</ul> +<h2>How to install the script</h2> +<ul> + <li>Unpack the archive preserving the directory structure</li> + <li>Uploads all files onto your webserver</li> + <li>Run the install script on your server (http://your_server/coppermine_dir/install.php) + and follow the instructions</li> +</ul> +<h2>Getting started</h2> +<p>Login with the admin username and password, click on the "admin mode" + link if it is visible, go to the <b>Config</b> page and start to configure your + gallery. Note that even if you are a member of the administrator group, you + need to be in "admin mode" to configure your gallery.</p> +<p>Use the <b>anonymous</b> group to define what non-regsitered users can and + can't do.</p> +<p>Use the "<b>Album Manager</b>" ("Albums" link in the admin + menu) in to create and order your albums.</p> +<p>Use the <b>properties</b> of an album to modify its description and permissions. +</p> +<p>In order for a user to be allowed to upload a picture in album two conditions + must be met:</p> +<ul> + <li> The user must be part of a group that can upload picture.</li> + <li>There must be at least one album where "<b>Visitors can upload pictures</b>" + has been set to "<b>Yes</b>".</li> +</ul> +<p>The same apply to <b>picture rating</b> and <b>comment posting</b>.</p> +<p>If you have installed the script succesfully but are having trouble getting + it working properly you can enable the "<b>debug mode</b>" on the + <b>config page</b>. In this mode, the script outputs most of the warning/error + messages produced by PHP in addition to some debug information. This can provide + valuable information to understand what is wrong.</p> +<h2>Changing the content of the main page</h2> +<p>On the config page, you have an option called "<b>The content of the main + page</b>". Here you can define what is displayed on the main page of the + script.</p> +<p>The default value is "<b>catlist/alblist/random,2/lastup,2</b>"</p> +<p>You can use the following "codes"</p> +<ul> + <li>'<b>catlist</b>': category list</li> + <li>'<b>alblist</b>': album list</li> + <li>'<b>random</b>': random pictures</li> + <li>'<b>lastup</b>': last uploads</li> + <li>'<b>topn</b>': most viewed</li> + <li>'<b>toprated</b>': top rated</li> + <li>'<b>lastcom</b>': last comments </li> +</ul> +<p></p> +<p>The <b>,2</b> means 2 rows of thumbnails</p> +<h2>Formatting album and image descriptions</h2> +<p>Coppermine understands the following bbCodes (the same bbCodes that are used + by phpBB) in image and album description</p> +<ul> + <li>[b]<b>bold</b>[/b]</li> + <li>[i]<i>italic</i>[/i]</li> + <li>[url=http://url]<a href="javascript:;">URL text</a>[/url]</li> + <li>[email]<a href="javascript:;">us...@do...d</a>[/email]</li> +</ul> +<h2>Using Windows XP Web Publishing Wizard with Coppermine</h2> +<p>If you are using Windows XP, you can use its builtin web publishing wizard + to upload your photos to your gallery.</p> +<p>Once you have properly installed the script on your server, call the xp_publish.php + file from your web browser (<a href="javascript: ;">http://your_site.com/coppermine_dir/xp_publish.php</a>).</p> +<p>The script displays some information on how to do the installation on the client + side and how to use the Wizard. Basically you will need to download a small + file created by the script that needs to be loaded into your Windows registry.</p> +<h2>Creating your own themes</h2> +<p>Coppermine themes are stored in the "<b>themes</b>" directory, they + consist of 3 files : </p> +<ul> + <li>"<b>template.html</b>" the main template in plain HTML.</li> + <li>"<b>style.css</b>" the stylesheet associated with the template</li> + <li>"<b>theme.php</b>" the PHP theme file</li> +</ul> +<p>To create a new template the best solution is to use an existing one as a basis. + Do do that make copy of the folder of the theme you want to use as a basis then + edit the "<b>template.html</b>" and "<b>template.php</b>" + files and replace all occurences of "<b>themes/old_theme_dir</b>" + with "<b>themes/new_theme_dir</b>" in order for the links to point + to the correct place.</p> +<p>When editing the "<b>template.html</b>" file do not remove the elements + between <b>{}</b> these are the placeholders used by the script. Also keep in + mind that despite this file being located in the "<b>themes/your_theme_dir</b>" + directory, it must be build like if it was in the main directory of the script. + Practically to load an image, you must use <i><img src="themes/theme_dir/images/image.gif" + alt=""/></i> and not <i><img src="images/image.gif" + alt=""/>.</i> The same apply for the "<b>theme.php</b>" + file.</p> +<p>If you are using an HTML editor to make your template, the best solution is + that you copy the "<b>template.html</b>" file into the main directory + of the script and edit it there. If the script find a file named "<b>template.html</b>" + in the main directory it will load it instead of the one of the theme directory. + Once you have finished your editings, move the file back to the directory of + your theme.</p> +<p>To modify the colors, fonts, font sizes, etc... used by the script, edit the + "<b>style.css</b>" stylesheet. If you want to increase or decrease + the size of the fonts you can simply modify the line with : <i>table { font-size: + 12px; }</i>. Most of the font sizes used by the script are defined as a percentage + of this size.</p> +<p>The "<b>theme.php</b>" file contains all the HTML templates used + by the script. You can also edit them. When making modifications to these templates, + don't touch the lines with <i><!-- BEGIN xxx --></i> and <i><!-- END + xxx --></i>.</p> +<h2>Safe mode issues</h2> +<p>A significant number of webhost on the Internet run PHP in safe mode. Coppermine + runs without any problem in safe mode and with the "open basedir restriction" + active, provided safe mode is properly configured. Unfortunately on many hosts, + safe mode is not configured properly.</p> +<p>If your webhost is running PHP in safe mode but is misconfigured, you may need + to do the following :</p> +<ul> + <li>With an FTP program, change the mode of Coppermine's "<b>include</b>" + directory on your server to <b>0777</b>.</li> + <li>Do the same for the "<b>userpics</b>" directory.</li> + <li>Check that at the beginning the the "<b>include/config.inc.php</b>" + file, you have a line with : "<b>define('SILLY_SAFE_MODE', 1);</b>"</li> +</ul> +<h2>Using SMTP to send emails</h2> +<p>By default the script uses the PHP built-in <b>mail</b> function to send emails. + In some cases, the PHP built-in function can't be used.</p> +<p> If in order to send emails with PHP you need to supply a <b>hostname</b>, + a <b>username</b> and a <b>password</b>, you need to edit the file "<b>include/mailer.inc.php</b>" + and put the correct values there (<i>$CONFIG['smtp_host'] = 'smtp.somewhere.com'; + $CONFIG['smtp_username'] = 'username'; $CONFIG['smtp_password'] = 'password';</i>). + If you don't need a username and password to connect to your SMTP server, just + leave them blank.</p> +<p></p> +<h2>Upgrading from version 1.0</h2> +<p>If you already have installed version 1.0 and you want to transfer your albums + to version 1.1 proceed in the following way:</p> +<ul> + <li> Install version 1.1 normally in a directory different from the one where + you installed v 1.0. Note that in order to use the upgrade script, <b>tables + for version 1.0 and 1.1 must be stored in the same database</b>.</li> + <li>Copy the "<b>albums</b>" directory of version 1.0 into the directory + where you installed version 1.1</li> + <li>Get the upgrade script that you can download <a href="http://chez.greg.free.fr/downloads/upgrade-1.0-to-1.1.zip">here</a>.</li> + <li>Unpack and upload the file to your server in the directory where you installed + version 1.1</li> + <li>The upgrade script assumes that you used the "<b>CPG_</b>" prefix + for tables (default value) when you installed version 1.0, if this is not + the case, edit the PHP file and put the correct value inside.</li> + <li>Login, enter the admin mode</li> + <li>Call the upgrade script http://yousitename/coppermine_dir/upgrade-1.0-to-1.1.php</li> + <li>If you don't get any error you're done. <b>Delete the file from your server</b>. + If you get an error, go to Coppermine 1.1 config page, enable debug mode, + try to call the upgrade script again and check what errors you get.</li> +</ul> +<p> <b>This upgrade process leave your v1.0 gallery untouched </b></p> +<h2>Upgrading from a previous Beta of version 1.1</h2> +<p>Unpack the archive, delete the file <b>config.inc.php</b> that may possibly + exist in the <b>"include"</b> directory and the file <b>install.php</b> + (you don't need to run the install script when doing an upgrade). Upload the + new files to your server overwriting the existing ones</p> +<h2>Translating Coppermine into other languages</h2> +<p>Coppermine has now a separate language file that make the translation of the + script much more easy. The language files are stored in the <b>lang </b>directory. + The files with the <b>utf-8</b> suffix are unicode encoded files. They are automatically + generated with the <b>iconv</b> program so there is no need for you to make + an unicode version of your translation.</p> +<p>If you select an utf-8 language file as the default one, then the script will + be able to automatically select a language file based on the visitor browser + configuration. For instance if the default language file is danish-utf-8 and + an english visitor access your gallery, the english-utf-8 language file will + be used by the script.</p> +<p> If you have translated Coppermine into your own language, you can mail your + language file to <a href="mailto:cop...@ch...">cop...@ch...</a>.</p> +<p></p> +<h2>Credits</h2> +<h3>Language file translation :</h3> +<p><b>Note</b> : if you have corrections to suggest on language files, mail them + directly to the author of the translation.</p> +<p> </p> +<table border="0" cellspacing="3" cellpadding="3"> + <tr> + <td>Chinese (Big5)</td> + <td><a href="mailto:a05...@ms...">MyScripts & Math</a></td> + <td><a href="http://www.winpon.tw300.com/">http://www.winpon.tw300.com/</a></td> + </tr> + <tr> + <td>Danish</td> + <td><a href="mailto:lau...@to...">Jan Ole Laugesen</a></td> + <td><a href="http://www.tommerup.net/">http://www.tommerup.net/</a></td> + </tr> + <tr> + <td>Dutch</td> + <td><a href="mailto:ro...@ro...">Ron Bos</a></td> + <td><a href="http://www.ronbos.nl/">http://www.ronbos.nl/</a></td> + </tr> + <tr> + <td>Finnish</td> + <td><a href="mailto:vil...@mi...">Ville Taavila</a></td> + <td> </td> + </tr> + <tr> + <td>French</td> + <td><a href="mailto:nat...@ho...">Niko</a></td> + <td><a href="http://www.chien.com/mustang/">http://www.chien.com/mustang/</a></td> + </tr> + <tr> + <td>German</td> + <td><a href="mailto:ma...@ga...">GauGau</a></td> + <td><a href="http://www.gaugau.de/">http://www.gaugau.de/</a></td> + </tr> + <tr> + <td>Greek</td> + <td><a href="mailto:ly...@ly...">Lykourgos</a><br /></td> + <td><a href="http://www.lykman.com/">http://www.lykman.com/</a></td> + </tr> + <tr> + <td>Spanish</td> + <td><a href="mailto:dvi...@po...">Daniel Villoldo</a></td> + <td><a href="http://www.proel334.net/album/">http://www.proel334.net/album/</a></td> + </tr> +</table> +<h3>Coppermine uses code from the following free softwares :</h3> +<p><b>phpBB</b><br /> + Author: phpBBGroup <br /> + URL: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a><br /> +</p> +<p><b>phpMyAdmin</b><br /> + Author: phpMyAdmin devel team<br /> + URL: <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a><br /> +</p> +<p><b>phpPhotoAlbum</b><br /> + Author: Henning Støverud<br /> + E-mail: <a href="mailto:%20h...@st...">he...@st...</a><br /> + URL: <a href="http://www.stoverud.com/PHPhotoalbum/">http://www.stoverud.com/PHPhotoalbum/</a><br /> +</p> +<h2>Copyright and disclaimer</h2> +<p>This application is opensource software released under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. +</p> +<p>BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY<... [truncated message content] |
From: <ir...@us...> - 2012-08-04 10:33:57
|
Revision: 9984 http://xoops.svn.sourceforge.net/xoops/?rev=9984&view=rev Author: irmtfan Date: 2012-08-04 10:33:49 +0000 (Sat, 04 Aug 2012) Log Message: ----------- bug fix in polls.php templates hardcore removed Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt XoopsModules/newbb/branches/irmtfan/newbb/polls.php XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block.html XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_author.html XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_post.html XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_text.html XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_topic.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_edit_post.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_results.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_view.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_search.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_searchresults.html XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html Added Paths: ----------- XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css Removed Paths: ------------- XoopsModules/newbb/branches/irmtfan/newbb/templates/style.css Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev9883.txt 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,4 +1,11 @@ Changelog from rev.9883 +date: 2012-08-04 +================================================ +1- bug fixed: error in newbb/polls.php when the strtotime is not defined in XoopsLocal class (irmtfan) +solution: replace XoopsLocal::strtotime($end_time) by method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time) +in newbb/polls.php +2- more hardcodes in newbb/templates has been removed + date: 2012-08-01 ================================================ 1- localization: input date localized (for other date systems like hegira) by replacing strtotime by XoopsLocal::strtotime Modified: XoopsModules/newbb/branches/irmtfan/newbb/polls.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/polls.php 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/polls.php 2012-08-04 10:33:49 UTC (rev 9984) @@ -181,7 +181,8 @@ $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; // Start user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) // $_POST['end_time']=inputTimeToGregorian($_POST['end_time']); - $poll->setVar("end_time", userTimeToServerTime(XoopsLocal::strtotime($_POST['end_time']), $timezone)); +// if method is not exist use the original strtotime function + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($_POST['end_time']) : strtotime($_POST['end_time']), $timezone)); // End user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) } else { // if expiration date is not set, set it to 10 days from now @@ -327,7 +328,8 @@ $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; // Start user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) // $end_time=inputTimeToGregorian($end_time); - $poll->setVar("end_time", userTimeToServerTime(XoopsLocal::strtotime($end_time), $timezone)); +// if method is not exist use the original strtotime function + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time), $timezone)); // End user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) } @@ -535,7 +537,8 @@ $timezone = is_object($xoopsUser) ? $xoopsUser->getVar("timezone") : null; // Start user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) // $end_time=inputTimeToGregorian($end_time); - $poll->setVar("end_time", userTimeToServerTime(XoopsLocal::strtotime($end_time), $timezone)); +// if method is not exist use the original strtotime function + $poll->setVar("end_time", userTimeToServerTime(method_exists('XoopsLocal', 'strtotime') ? XoopsLocal::strtotime($end_time) : strtotime($end_time), $timezone)); // End user input time in hegira date - hacked by irmtfan (www.jadoogaran.org) } else { $poll->setVar("end_time", time() + (86400 * 10)); Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,55 +1,58 @@ -<table class="outer" cellspacing="1"> - <{if $block.disp_mode == 0}> - <tr> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_VIEWS}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th> - </tr> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_forum_url}></td> - <td><{$topic.seo_url}></td> - <td align="center"><{$topic.replies}></td> - <td align="center"><{$topic.views}></td> - <td align="right"><{$topic.time}><br /><{$topic.topic_poster}></td> - </tr> - <{/foreach}> - - <{elseif $block.disp_mode == 1}> - - <tr> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th> - </tr> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_url}></td> - <td align="center"><{$topic.replies}></td> - <td align="right"><{$topic.time}><br /><{$topic.topic_poster}></td> - </tr> - <{/foreach}> - - <{elseif $block.disp_mode == 2}> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_url}></td> - </tr> - <{/foreach}> - - <{/if}> - -</table> - -<{if $block.indexNav}> - <div style="text-align:right; padding: 5px;"> - <{$block.seo_top_allposts}> | - <{$block.seo_top_alltopics}> | - <{$block.seo_top_allforums}> - </div> +<table class="outer" cellspacing="1"> + <{if $block.disp_mode == 0}> + <tr> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_VIEWS}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th> + </tr> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_forum_url}></td> + <td><{$topic.seo_url}></td> + <td align="center"><{$topic.replies}></td> + <td align="center"><{$topic.views}></td> +<!-- irmtfan hardcode removed align="right" --> + <td class="align_right"><{$topic.time}><br /><{$topic.topic_poster}></td> + </tr> + <{/foreach}> + + <{elseif $block.disp_mode == 1}> + + <tr> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th> + </tr> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_url}></td> + <td align="center"><{$topic.replies}></td> +<!-- irmtfan hardcode removed align="right" --> + <td class="align_right"><{$topic.time}><br /><{$topic.topic_poster}></td> + </tr> + <{/foreach}> + + <{elseif $block.disp_mode == 2}> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_url}></td> + </tr> + <{/foreach}> + + <{/if}> + +</table> + +<{if $block.indexNav}> +<!-- irmtfan hardcode removed style="text-align:right; padding: 5px;" --> + <div class="pagenav"> + <{$block.seo_top_allposts}> | + <{$block.seo_top_alltopics}> | + <{$block.seo_top_allforums}> + </div> <{/if}> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_author.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_author.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_author.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,31 +1,32 @@ -<table class="outer" cellspacing="1"> - - <{if $block.disp_mode == 0}> - <tr> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_COUNT}></th> - </tr> - - <{foreachq item=author key=uid from=$block.authors}> - <tr class="<{cycle values="even,odd"}>"> - <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$uid}>"><{$author.name}></a></td> - <td align="center"><{$author.count}></td> - </tr> - <{/foreach}> - - <{elseif $block.disp_mode == 1}> - - <{foreachq item=author key=uid from=$block.authors}> - <tr class="<{cycle values="even,odd"}>"> - <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$uid}>"><{$author.name}></a> <{$author.count}></td> - </tr> - <{/foreach}> - - <{/if}> - -</table> -<{if $block.indexNav}> -<div style="text-align:right; padding: 5px;"> -<a href="<{$xoops_url}>/modules/newbb/"><{$smarty.const._MB_NEWBB_VSTFRMS}></a> -</div> +<table class="outer" cellspacing="1"> + + <{if $block.disp_mode == 0}> + <tr> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_COUNT}></th> + </tr> + + <{foreachq item=author key=uid from=$block.authors}> + <tr class="<{cycle values="even,odd"}>"> + <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$uid}>"><{$author.name}></a></td> + <td align="center"><{$author.count}></td> + </tr> + <{/foreach}> + + <{elseif $block.disp_mode == 1}> + + <{foreachq item=author key=uid from=$block.authors}> + <tr class="<{cycle values="even,odd"}>"> + <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$uid}>"><{$author.name}></a> <{$author.count}></td> + </tr> + <{/foreach}> + + <{/if}> + +</table> +<{if $block.indexNav}> +<!-- irmtfan hardcode removed style="text-align:right; padding: 5px;" --> +<div class="pagenav"> +<a href="<{$xoops_url}>/modules/newbb/"><{$smarty.const._MB_NEWBB_VSTFRMS}></a> +</div> <{/if}> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_post.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_post.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_post.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,61 +1,64 @@ -<table class="outer" cellspacing="1"> -<{if $block.disp_mode == 0}> - <tr> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TITLE}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> - </tr> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_forum_url}></td> - <td><{$topic.seo_url}></td> - <td align="right"><{$topic.time}><br /><{$topic.topic_poster}></td> - </tr> - <{/foreach}> - - <{elseif $block.disp_mode == 1}> - - <tr> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> - </tr> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_url}></td> - <td align="right"><{$topic.time}><br /><{$topic.topic_poster}></td> - </tr> - <{/foreach}> - - <{elseif $block.disp_mode == 2}> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_url}></td> - </tr> - <{/foreach}> - -<{else}> - <tr> - <td> - <{foreachq item=topic from=$block.topics}> - <div><strong><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></strong></div> - <div> - <a href="<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a> | - <{$topic.topic_poster}> | <{$topic.time}> - </div> - <div style="padding: 5px 0px 10px 0px;"><{$topic.post_text}></div> - <{/foreach}> - </td> - </tr> - <{/if}> - -</table> - -<{if $block.indexNav}> - <div style="text-align:right; padding: 5px;"> - <{$block.seo_top_allposts}> | - <{$block.seo_top_allforums}> - </div> +<table class="outer" cellspacing="1"> +<{if $block.disp_mode == 0}> + <tr> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TITLE}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> + </tr> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_forum_url}></td> + <td><{$topic.seo_url}></td> +<!-- irmtfan hardcode removed align="right" --> + <td class="align_right"><{$topic.time}><br /><{$topic.topic_poster}></td> + </tr> + <{/foreach}> + + <{elseif $block.disp_mode == 1}> + + <tr> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> + </tr> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_url}></td> +<!-- irmtfan hardcode removed align="right" --> + <td class="align_right"><{$topic.time}><br /><{$topic.topic_poster}></td> + </tr> + <{/foreach}> + + <{elseif $block.disp_mode == 2}> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_url}></td> + </tr> + <{/foreach}> + +<{else}> + <tr> + <td> + <{foreachq item=topic from=$block.topics}> + <div><strong><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></strong></div> + <div> + <a href="<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a> | + <{$topic.topic_poster}> | <{$topic.time}> + </div> + <div style="padding: 5px 0px 10px 0px;"><{$topic.post_text}></div> + <{/foreach}> + </td> + </tr> + <{/if}> + +</table> + +<{if $block.indexNav}> +<!-- irmtfan hardcode removed style="text-align:right; padding: 5px;" --> + <div class="pagenav"> + <{$block.seo_top_allposts}> | + <{$block.seo_top_allforums}> + </div> <{/if}> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_text.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_text.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_text.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,15 +1,16 @@ -<{foreachq item=topic from=$block.topics}> -<div><strong><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></strong></div> -<div> -<a href="<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a> -<{$topic.topic_poster}> <{$topic.time}> -</div> -<div style="padding: 5px 0px 10px 0px;"><{$topic.post_text}></div> -<{/foreach}> - -<{if $block.indexNav}> -<div style="text-align:right; padding: 5px;"> -<a href="<{$xoops_url}>/modules/newbb/viewpost.php"><{$smarty.const._MB_NEWBB_ALLPOSTS}></a> | -<a href="<{$xoops_url}>/modules/newbb/"><{$smarty.const._MB_NEWBB_VSTFRMS}></a> -</div> +<{foreachq item=topic from=$block.topics}> +<div><strong><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></strong></div> +<div> +<a href="<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a> +<{$topic.topic_poster}> <{$topic.time}> +</div> +<div style="padding: 5px 0px 10px 0px;"><{$topic.post_text}></div> +<{/foreach}> + +<{if $block.indexNav}> +<!-- irmtfan hardcode removed style="text-align:right; padding: 5px;" --> +<div class="pagenav"> +<a href="<{$xoops_url}>/modules/newbb/viewpost.php"><{$smarty.const._MB_NEWBB_ALLPOSTS}></a> | +<a href="<{$xoops_url}>/modules/newbb/"><{$smarty.const._MB_NEWBB_VSTFRMS}></a> +</div> <{/if}> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_topic.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_topic.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/blocks/newbb_block_topic.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,53 +1,56 @@ -<table class="outer" cellspacing="1"> - - <{if $block.disp_mode == 0}> - <tr> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TITLE}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_VIEWS}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> - </tr> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_forum_url}></td> - <td><{$topic.seo_url}></td> - <td align="center"><{$topic.replies}></td> - <td align="center"><{$topic.views}></td> - <td align="right"><{$topic.time}><br /><{$topic.topic_poster}></td> - </tr> - <{/foreach}> - - <{elseif $block.disp_mode == 1}> - - <tr> - <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> - <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> - </tr> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_url}></td> - <td align="right"><{$topic.time}><br /><{$topic.topic_poster}></td> - </tr> - <{/foreach}> - - <{elseif $block.disp_mode == 2}> - - <{foreachq item=topic from=$block.topics}> - <tr class="<{cycle values="even,odd"}>"> - <td><{$topic.seo_url}></td> - </tr> - <{/foreach}> - - <{/if}> - -</table> - -<{if $block.indexNav}> - <div style="text-align:right; padding: 5px;"> - <{$block.seo_top_allposts}> | - <{$block.seo_top_allforums}> - </div> +<table class="outer" cellspacing="1"> + + <{if $block.disp_mode == 0}> + <tr> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TITLE}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_VIEWS}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> + </tr> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_forum_url}></td> + <td><{$topic.seo_url}></td> + <td align="center"><{$topic.replies}></td> + <td align="center"><{$topic.views}></td> +<!-- irmtfan hardcode removed align="right" --> + <td class="align_right"><{$topic.time}><br /><{$topic.topic_poster}></td> + </tr> + <{/foreach}> + + <{elseif $block.disp_mode == 1}> + + <tr> + <th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th> + <th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_AUTHOR}></th> + </tr> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_url}></td> +<!-- irmtfan hardcode removed align="right" --> + <td class="align_right"><{$topic.time}><br /><{$topic.topic_poster}></td> + </tr> + <{/foreach}> + + <{elseif $block.disp_mode == 2}> + + <{foreachq item=topic from=$block.topics}> + <tr class="<{cycle values="even,odd"}>"> + <td><{$topic.seo_url}></td> + </tr> + <{/foreach}> + + <{/if}> + +</table> + +<{if $block.indexNav}> +<!-- irmtfan hardcode removed style="text-align:right; padding: 5px;" --> + <div class="pagenav"> + <{$block.seo_top_allposts}> | + <{$block.seo_top_allforums}> + </div> <{/if}> \ No newline at end of file Added: XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css (rev 0) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/english/style.css 2012-08-04 10:33:49 UTC (rev 9984) @@ -0,0 +1,316 @@ +/* -- style.css -- */ +.forum_header { + float : center; + overflow : hidden; + border : 1px solid #aaaaaa; + width : 100%; +} + +.forum_title { + float : left; + text-align : left; + padding : 5px; + width : 100%; + +} + +.forum_title a { + font-weight: bold; +} + + +.forum_stats { + float:center; + overflow:hidden; + text-align:left; + /* border:1px solid #aaaaaa; */ + padding:5px; +} + +.forum_stats_left { + float: left; + text-align: left; + width:45%; +} + +.forum_stats_right { + float: right; + text-align: right; + width:45%; +} + +.forum_body { + margin-top: -10px; + padding-top: 20px; + float:center; + width:99%; + overflow:hidden; +} + +.forum_footer { + float:center; + width:99%; + overflow:hidden; +} + +.index_category{ + border: 0px; + /*margin-top: -10px; + margin-bottom: 5px;*/ +} + +.ThreadUserName a { + font-weight: bold; + margin-bottom: 2px; + /*color: #000; irmtfan */ +} + +.ThreadTitle, .ThreadTitle a{ + font-weight: bold; + margin-bottom: 2px; + /*color: #fff; irmtfan */ +} + +.icon_left { + float: left; text-align: left; +} + +.icon_right { + float: right; text-align: right; +} + +div.karma +{ + background-color: transparent; + text-align: left; + border-top: 1px solid #DDDDFF; + border-left: 1px solid #DDDDFF; + border-right: 1px solid #AAAAAA; + border-bottom: 1px solid #AAAAAA; + padding: 10px; +} + +span.digest +{ +} + +span.index_title{ + float: left; + border: 0px; +} + +span.index_extra{ + float: right; + padding: 2px; + border: 0px; +} + +div.signature { + bottom: 10px; +} + +div#index_welcome{ + margin: 10px; + margin-bottom: 10px; +} +html>body div#index_welcome { + margin-bottom: 15px; +} + +#index_welcome div.title{ + font-size: 18px; + font-weight: bold; + border-bottom: dashed 1px; + padding: 5px; +} + +#index_welcome div.desc{ + padding: 5px; + font-size: 12px; + color: #000; +} + +#index_welcome div.visit{ + padding: 10px 5px; +} + +.left { text-align: left; } +.right { text-align: right; } +.floatleft { float: left;} +.floatright { float: right;} + +#index_forum a{ + font-weight: bold; +} + +table.index_category{ + border: 0px; + margin-top: -10px; + margin-bottom: 5px; +} + +table.index_category td{ + padding: 2px; +} + +table.index_category td a:first-letter{} + +table.index_category .desc, table.index_category .desc a{ + font-weight: normal !important; + padding-left: 0; + margin-top: 5px; + margin-bottom: 0px; +} + +table.index_category .desc:first-letter, table.index_category .desc a:first-letter{} + +#index_forum span.item{ + padding: 0px 0px 0px 0px; + margin: 0px; + border: 0px; +} + +#index_forum span.extra{ + float: right; + text-align: left; + margin: 0px; +} + +div#forum_header{ + margin: 5px; +} +#forum_header div{ + padding-top: 5px; +} + + + +/* -- dropdown menu -- */ + +div.dropdown{ + float: left; +} + +div.dropdown .menu, div.dropdown .userbar{ + font-weight: bold; + float: left; + margin: 0px 1px; + border: 0px !important; + padding: 0px; +} + +div.dropdown .item{ + font-weight: bold; + padding: 2px 5px; + white-space: nowrap; + border: 0px !important; +} + +div.dropdown ul, div.dropdown table { + width: 135px; +} +/* -- dropdown menu -- */ + +/* -- user level -- */ +table.userlevel{ + width: 90%; + border: 0px; + padding: 0px; + border-collapse: collapse; + border-spacing: 0; + text-align: left; +} + +table.userlevel td{ + height: 13px; + padding: 0px; +} + +table.userlevel td.end{ + width: 3px; +} + +table.userlevel td.end img{ + width: 3px; + height: 13px; +} + +table.userlevel td.center{ + width: 100%; +} + +table.userlevel td.center img{ + height: 12px; +} +/* -- user level -- */ + +span.online_admin{ + color:#FFA34F; +} + +span.online_moderator{ + color:#006600; +} + + +/* + * From http://www.positioniseverything.net/easyclearing.html + */ +.clear:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +.clear {display: inline-table;} +/* Hides from IE-mac \*/ +* html .clear {height: 1%;} +.clear {display: block;} +/* End hide from IE-mac */ + +/* color -- dropdown menu for Forum */ +div.dropdown a, div.dropdown .menubar a{ + /* irmtfan remove hardcode color color:#FFF; */ +} + +div.dropdown .menu, div.dropdown .menubar, div.dropdown .item, div.dropdown .separator{ + /* irmtfan remove hardcode color background-color: #436792;*/ + /* same color set as in your theme/style.ss .th{} is recommended */ + /* irmtfan remove hardcode color color:#FFF; */ +} + +div.dropdown .separator{ + border: 1px inset #e0e0e0; +} + +div.dropdown .menu a:hover, div.dropdown .userbar a:hover{ + color: #333; +} +/* irmtfan class added for solve some hard codes */ +.post_edit { + float: right; + padding: 5px; + margin-top: 10px; + border:1px solid #000; +} +.post_ip { + float: right; + padding: 5px; + margin-top: 10px; +} +.pagenav { + float: right; + text-align: right; + padding: 5px; +} +.align_left, #align_left { + margin-left: 0; + text-align: left; +} +.align_right, #align_right { + margin-right: 0; + text-align: right; +} + +/* color - end */ \ No newline at end of file Added: XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css (rev 0) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/images/language/persian/style.css 2012-08-04 10:33:49 UTC (rev 9984) @@ -0,0 +1,322 @@ +/* -- style.css -- */ +.forum_header { + float : center; + overflow : hidden; + border : 1px solid #aaaaaa; + width : 100%; +} + +.forum_title { + float : /*irmtfan left*/ right; + text-align : /*irmtfan left*/ right; + padding : 5px; + width : 100%; + +} + +.forum_title a { + font-weight: bold; +} + + +.forum_stats { + float:center; + overflow:hidden; + text-align:/*irmtfan left*/right; + /* border:1px solid #aaaaaa; */ + padding:5px; +} + +.forum_stats_left { + float: /*irmtfan left*/ right; + text-align: /*irmtfan left*/ right; + width:45%; +} + +.forum_stats_right { + float: /*irmtfan right*/left; + text-align: /*irmtfan right*/ left; + width:45%; +} + +.forum_body { + margin-top: -10px; + padding-top: 20px; + float:center; + width:99%; + overflow:hidden; +} + +.forum_footer { + float:center; + width:99%; + overflow:hidden; +} + +.index_category{ + border: 0px; + /*margin-top: -10px; + margin-bottom: 5px;*/ +} + +.ThreadUserName a { + font-weight: bold; + margin-bottom: 2px; + /*color: #000; irmtfan */ +} + +.ThreadTitle, .ThreadTitle a{ + font-weight: bold; + margin-bottom: 2px; + /*color: #fff; irmtfan */ +} + +.icon_left { + float: /*irmtfan left*/ right; text-align: /*irmtfan left*/ right; +} + +.icon_right { + float: /*irmtfan right*/ left; text-align: /*irmtfan right*/ left; +} + +div.karma +{ + background-color: transparent; + text-align: left; + border-top: 1px solid #DDDDFF; + border-left: 1px solid #DDDDFF; + border-right: 1px solid #AAAAAA; + border-bottom: 1px solid #AAAAAA; + padding: 10px; +} + +span.digest +{ +} + +span.index_title{ + float: /*irmtfan left*/ right; + border: 0px; +} + +span.index_extra{ + float: /*irmtfan right*/ left; + padding: 2px; + border: 0px; +} + +div.signature { + bottom: 10px; +} + +div#index_welcome{ + margin: 10px; + margin-bottom: 10px; +} +html>body div#index_welcome { + margin-bottom: 15px; +} + +#index_welcome div.title{ + font-size: 18px; + font-weight: bold; + border-bottom: dashed 1px; + padding: 5px; +} + +#index_welcome div.desc{ + padding: 5px; + font-size: 12px; + color: #000; +} + +#index_welcome div.visit{ + padding: 10px 5px; +} + +.left { text-align: /*irmtfan left*/ right; } +.right { text-align: /*irmtfan right*/ left; } +.floatleft { float: /*irmtfan left*/ right;} +.floatright { float: /*irmtfan right*/ left;} + +#index_forum a{ + font-weight: bold; +} + +table.index_category{ + border: 0px; + margin-top: -10px; + margin-bottom: 5px; +} + +table.index_category td{ + padding: 2px; +} + +table.index_category td a:first-letter{} + +table.index_category .desc, table.index_category .desc a{ + font-weight: normal !important; + /* irmtfan padding-left: 0; */ padding-right: 0; + margin-top: 5px; + margin-bottom: 0px; +} + +table.index_category .desc:first-letter, table.index_category .desc a:first-letter{} + +#index_forum span.item{ + padding: 0px 0px 0px 0px; + margin: 0px; + border: 0px; +} + +#index_forum span.extra{ + float: /*irmtfan right*/ left; + text-align: /*irmtfan left*/ right; + margin: 0px; +} + +div#forum_header{ + margin: 5px; +} +#forum_header div{ + padding-top: 5px; +} + + + +/* -- dropdown menu -- */ + +div.dropdown{ + float: /*irmtfan left*/ right; +} + +div.dropdown .menu, div.dropdown .userbar{ + font-weight: bold; + float: /*irmtfan left*/ right; + margin: 0px 1px; + border: 0px !important; + padding: 0px; +} + +div.dropdown .item{ + font-weight: bold; + padding: 2px 5px; + white-space: nowrap; + border: 0px !important; +} + +div.dropdown ul, div.dropdown table { + width: 135px; +} +/* -- dropdown menu -- */ + +/* -- user level -- */ +table.userlevel{ + width: 90%; + border: 0px; + padding: 0px; + border-collapse: collapse; + border-spacing: 0; + text-align: /*irmtfan left*/ right; +} + +table.userlevel td{ + height: 13px; + padding: 0px; +} + +table.userlevel td.end{ + width: 3px; +} + +table.userlevel td.end img{ + width: 3px; + height: 13px; +} + +table.userlevel td.center{ + width: 100%; +} + +table.userlevel td.center img{ + height: 12px; +} +/* -- user level -- */ + +span.online_admin{ + color:#FFA34F; +} + +span.online_moderator{ + color:#006600; +} + + +/* + * From http://www.positioniseverything.net/easyclearing.html + */ +.clear:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +.clear {display: inline-table;} +/* Hides from IE-mac \*/ +* html .clear {height: 1%;} +.clear {display: block;} +/* End hide from IE-mac */ + +/* color -- dropdown menu for Forum */ +div.dropdown a, div.dropdown .menubar a{ + /* irmtfan remove hardcode color color:#FFF; */ +} + +div.dropdown .menu, div.dropdown .menubar, div.dropdown .item, div.dropdown .separator{ + /* irmtfan remove hardcode color background-color: #436792;*/ + /* same color set as in your theme/style.ss .th{} is recommended */ + /* irmtfan remove hardcode color color:#FFF; */ +} + +div.dropdown .separator{ + border: 1px inset #e0e0e0; +} + +div.dropdown .menu a:hover, div.dropdown .userbar a:hover{ + color: #333; +} +/* irmtfan class added for solve some hard codes */ +.post_edit { + float: /*irmtfan right*/ left; + padding: 5px; + margin-top: 10px; + border:1px solid #000; +} +.post_ip { + float: /*irmtfan right*/ left; + padding: 5px; + margin-top: 10px; +} +.pagenav { + float: /*irmtfan right*/ left; + text-align: /*irmtfan right*/ left; + padding: 5px; +} +.align_left, #align_left { + direction: rtl; + /* irmtfan margin-left: 0; */ margin-right: 0; + text-align: /*irmtfan left*/ right; +} +.align_right, #align_right { + direction: rtl; + /* irmtfan margin-right: 0; */ margin-left: 0; + text-align: /*irmtfan right*/ left; +} +.poll { + direction: rtl; + text-align: center; + margin: 3px; +} +/* color - end */ \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_edit_post.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_edit_post.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_edit_post.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,89 +1,90 @@ -<div class="forum_header"> - <div class="forum_title"> - <h2><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$lang_forum_index}></a></h2> - <hr align="left" width="50%" size="1" /> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$smarty.const._MD_FORUMINDEX}></a> - <span class="delimiter">»</span> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?cat=<{$category.id}>"><{$category.title}></a> - <{if $parentforum}> - <{foreachq item=forum from=$parentforum}> - <span class="delimiter">»</span> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> - <{/foreach}> - <{/if}> - <span class="delimiter">»</span> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum_id}>"><{$forum_name}></a> - <span class="delimiter">»</span> - <strong><{$form_title}></strong> - </div> -</div> -<div class="clear"></div> -<br /> - -<{if $disclaimer}> - <div class="confirmMsg"><{$disclaimer}></div> - <div class="clear"></div> - <br /> -<{/if}> - -<{if $error_message}> - <div class="errorMsg"><{$error_message}></div> - <div class="clear"></div> - <br /> -<{/if}> - -<{if $post_preview}> -<table width='100%' class='outer' cellspacing='1'> - <tr valign="top"> - <td class="head"><{$post_preview.subject}></td> - </tr> - <tr valign="top"> - <td><{$post_preview.meta}><br /><br /> - <{$post_preview.content}> - </td> - </tr> -</table> -<div class="clear"></div> -<br /> -<{/if}> - -<form name="<{$form_post.name}>" id="<{$form_post.name}>" action="<{$form_post.action}>" method="<{$form_post.method}>" <{$form_post.extra}> > -<table width='100%' class='outer' cellspacing='1'> -<{foreachq item=element from=$form_post.elements}> - <{if $element.hidden != true}> - <tr valign="top"> - <td class="head"> - <div class="xoops-form-element-caption<{if $element.required}>-required<{/if}>"><span class="caption-text"><{$element.caption}></span><span class="caption-marker">*</span></div> - <{if $element.description != ''}> - <div class="xoops-form-element-help"><{$element.description}></div> - <{/if}> - </td> - <td class="odd" style="white-space: nowrap;"><{$element.body}></td> - </tr> - <{/if}> -<{/foreach}> -</table> -<{foreachq item=element from=$form_post.elements}> - <{if $element.hidden == true}> - <{$element.body}> - <{/if}> -<{/foreach}> -</form> -<{$form_post.javascript}> -<div class="clear"></div> -<br /> - -<{if $posts_context}> -<table width='100%' class='outer' cellspacing='1'> -<{foreachq item=post from=$posts_context}> - <tr valign="top"> - <td class="head"><{$post.subject}></td> - </tr> - <tr valign="top"> - <td><{$post.meta}><br /><br /> - <{$post.content}> - </td> - </tr> -<{/foreach}> -</table> +<div class="forum_header"> + <div class="forum_title"> + <h2><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$lang_forum_index}></a></h2> +<!-- irmtfan hardcode removed align="left" --> + <hr class="align_left" width="50%" size="1" /> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$smarty.const._MD_FORUMINDEX}></a> + <span class="delimiter">»</span> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?cat=<{$category.id}>"><{$category.title}></a> + <{if $parentforum}> + <{foreachq item=forum from=$parentforum}> + <span class="delimiter">»</span> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum.forum_id}>"><{$forum.forum_name}></a> + <{/foreach}> + <{/if}> + <span class="delimiter">»</span> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$forum_id}>"><{$forum_name}></a> + <span class="delimiter">»</span> + <strong><{$form_title}></strong> + </div> +</div> +<div class="clear"></div> +<br /> + +<{if $disclaimer}> + <div class="confirmMsg"><{$disclaimer}></div> + <div class="clear"></div> + <br /> +<{/if}> + +<{if $error_message}> + <div class="errorMsg"><{$error_message}></div> + <div class="clear"></div> + <br /> +<{/if}> + +<{if $post_preview}> +<table width='100%' class='outer' cellspacing='1'> + <tr valign="top"> + <td class="head"><{$post_preview.subject}></td> + </tr> + <tr valign="top"> + <td><{$post_preview.meta}><br /><br /> + <{$post_preview.content}> + </td> + </tr> +</table> +<div class="clear"></div> +<br /> +<{/if}> + +<form name="<{$form_post.name}>" id="<{$form_post.name}>" action="<{$form_post.action}>" method="<{$form_post.method}>" <{$form_post.extra}> > +<table width='100%' class='outer' cellspacing='1'> +<{foreachq item=element from=$form_post.elements}> + <{if $element.hidden != true}> + <tr valign="top"> + <td class="head"> + <div class="xoops-form-element-caption<{if $element.required}>-required<{/if}>"><span class="caption-text"><{$element.caption}></span><span class="caption-marker">*</span></div> + <{if $element.description != ''}> + <div class="xoops-form-element-help"><{$element.description}></div> + <{/if}> + </td> + <td class="odd" style="white-space: nowrap;"><{$element.body}></td> + </tr> + <{/if}> +<{/foreach}> +</table> +<{foreachq item=element from=$form_post.elements}> + <{if $element.hidden == true}> + <{$element.body}> + <{/if}> +<{/foreach}> +</form> +<{$form_post.javascript}> +<div class="clear"></div> +<br /> + +<{if $posts_context}> +<table width='100%' class='outer' cellspacing='1'> +<{foreachq item=post from=$posts_context}> + <tr valign="top"> + <td class="head"><{$post.subject}></td> + </tr> + <tr valign="top"> + <td><{$post.meta}><br /><br /> + <{$post.content}> + </td> + </tr> +<{/foreach}> +</table> <{/if}> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_results.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_results.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_results.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,21 +1,24 @@ -<div style="text-align: center; margin: 3px;"> - <table width="100%" class="outer" cellspacing="1"> - <tr> - <th colspan="2"><{$poll.question}></th> - </tr> - <tr> - <td class="head" align="right" colspan="2"><{$poll.end_text}> </td> - </tr> -<{foreachq item=option from=$poll.options}> - <tr> - <td class="even" width="30%" align="left"><{$option.text}> </td> - <td class="odd" width="70%" align="left"><{$option.image}> <{$option.percent}> </td> - </tr> -<{/foreach}> - <tr> - <td class="foot" colspan="2" align="center"><{$poll.totalVotes}><br /> -<{$poll.totalVoters}></td> - </tr> - </table> -</div> +<!-- irmtfan hardcode removed style="text-align: center;margin: 3px;" --> +<div class="poll"> + <table width="100%" class="outer" cellspacing="1"> + <tr> + <th colspan="2"><{$poll.question}></th> + </tr> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right" colspan="2"><{$poll.end_text}> </td> + </tr> +<{foreachq item=option from=$poll.options}> + <tr> +<!-- irmtfan hardcode removed align="left" --> + <td class="even" id="align_left" width="30%"><{$option.text}></td> + <td class="odd" id="align_left" width="70%"><{$option.image}> <{$option.percent}></td> + </tr> +<{/foreach}> + <tr> + <td class="foot" colspan="2" align="center"><{$poll.totalVotes}><br /> +<{$poll.totalVoters}></td> + </tr> + </table> +</div> <br /> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_view.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_view.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_poll_view.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,19 +1,20 @@ -<form action="<{$xoops_url}>/modules/<{$xoops_dirname}>/votepolls.php" method="post"> - <input type="hidden" name="topic_id" value="<{$topic_id}>" /> - <input type="hidden" name="forum" value="<{$forum_id}>" /> - <table width="100%" class="outer" cellspacing="1"> - <tr> - <th align="center" colspan="2"><input type="hidden" name="poll_id" value="<{$poll.pollId}>" /> -<{$poll.question}></th> - </tr> -<{foreachq item=option from=$poll.options}> - <tr> - <td class="even" align="left" width="2%"><{$option.input}></td> - <td class="odd" align="left" width="98%"><{$option.text}></td> - </tr> -<{/foreach}> - <tr> - <td align="center" colspan="2" class="foot"><input type="submit" value="<{$lang_vote}>" /></td> - </tr> - </table> +<form action="<{$xoops_url}>/modules/<{$xoops_dirname}>/votepolls.php" method="post"> + <input type="hidden" name="topic_id" value="<{$topic_id}>" /> + <input type="hidden" name="forum" value="<{$forum_id}>" /> + <table width="100%" class="outer" cellspacing="1"> + <tr> + <th align="center" colspan="2"><input type="hidden" name="poll_id" value="<{$poll.pollId}>" /> +<{$poll.question}></th> + </tr> +<{foreachq item=option from=$poll.options}> + <tr> +<!-- irmtfan hardcode removed align="left" --> + <td class="even" id="align_left" width="2%"><{$option.input}></td> + <td class="odd" id="align_left" width="98%"><{$option.text}></td> + </tr> +<{/foreach}> + <tr> + <td align="center" colspan="2" class="foot"><input type="submit" value="<{$lang_vote}>" /></td> + </tr> + </table> </form> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_search.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_search.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_search.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,69 +1,78 @@ -<div id="forum_header"> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$forumindex}></a> - > - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php"><{$smarty.const._SR_SEARCH}></a> -</div> - -<{if $search_info}> -<{includeq file="db:newbb_searchresults.html" results=$results}> -<{/if}> -<form name="Search" action="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php" method="get"> - <table class="outer" border="0" cellpadding="1" cellspacing="0" align="center" width="95%"> - <tr> - <td><table border="0" cellpadding="1" cellspacing="1" width="100%" class="head"> - <tr> - <td class="head" width="10%" align="right"><strong><{$smarty.const._SR_KEYWORDS}></strong> </td> - <td class="even"><input type="text" name="term" /></td> - </tr> - <tr> - <td class="head" align="right"><strong><{$smarty.const._SR_TYPE}></strong> </td> - <td class="even"> - <select name="andor"> - <option value="or" selected="selected"><{$smarty.const._SR_ANY}></option> - <option value="all"><{$smarty.const._SR_ALL}></option> - <option value="exact"><{$smarty.const._SR_EXACT}></option> - </select> - </td> - </tr> - <tr> - <td class="head" align="right"><strong><{$smarty.const._MD_FORUMC}></strong> </td> - <td class="even"><{$forum_selection_box}></td> - </tr> - <tr> - <td class="head" align="right"><strong><{$smarty.const._SR_SEARCHIN}></strong> </td> - <td class="even"><input type="radio" name="searchin" value="title" /><{$smarty.const._MD_SUBJECT}> - <input type="radio" name="searchin" value="text" /><{$smarty.const._MD_BODY}> - <input type="radio" name="searchin" value="both" checked="checked" /><{$smarty.const._MD_SUBJECT}> & <{$smarty.const._MD_BODY}> </td> - </tr> - <tr> - <td class="head" align="right"><strong><{$smarty.const._MD_AUTHOR}></strong> </td> - <td class="even"><input type="text" name="uname" value="" /></td> - </tr> - <tr> - <td class="head" align="right"><strong><{$smarty.const._MD_SORTBY}></strong> </td> - <td class="even"> - <select name=="sortby"> - <option value="p.post_time desc" selected="selected"><{$smarty.const._MD_DATE}></option> - <option value="t.topic_title"><{$smarty.const._MD_TOPIC}></option> - <option value="f.forum_name"><{$smarty.const._MD_FORUM}></option> - <option value="u.uname"><{$smarty.const._MD_USERNAME}></option> - </select> - </td> - </tr> - <tr> - <td class="head" align="right"><strong><{$smarty.const._MD_SINCE}></strong> </td> - <td class="even"><{$since_selection_box}></td> - </tr> - <{if $search_rule}> - <tr> - <td class="head" align="right"><strong><{$smarty.const._SR_SEARCHRULE}></strong> </td> - <td class="even"><{$search_rule}></td> - </tr> - <{/if}> - <tr> - <td class="head" align="right"> </td> - <td class="even"><input type="submit" name="submit" value="<{$smarty.const._MD_SEARCH}>" /></td> - </table></td> - </tr> - </table> +<div id="forum_header"> + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php"><{$forumindex}></a> + > + <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php"><{$smarty.const._SR_SEARCH}></a> +</div> + +<{if $search_info}> +<{includeq file="db:newbb_searchresults.html" results=$results}> +<{/if}> +<form name="Search" action="<{$xoops_url}>/modules/<{$xoops_dirname}>/search.php" method="get"> + <table class="outer" border="0" cellpadding="1" cellspacing="0" align="center" width="95%"> + <tr> + <td><table border="0" cellpadding="1" cellspacing="1" width="100%" class="head"> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" width="10%" id="align_right"><strong><{$smarty.const._SR_KEYWORDS}></strong> </td> + <td class="even"><input type="text" name="term" /></td> + </tr> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"><strong><{$smarty.const._SR_TYPE}></strong> </td> + <td class="even"> + <select name="andor"> + <option value="or" selected="selected"><{$smarty.const._SR_ANY}></option> + <option value="all"><{$smarty.const._SR_ALL}></option> + <option value="exact"><{$smarty.const._SR_EXACT}></option> + </select> + </td> + </tr> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"><strong><{$smarty.const._MD_FORUMC}></strong> </td> + <td class="even"><{$forum_selection_box}></td> + </tr> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"><strong><{$smarty.const._SR_SEARCHIN}></strong> </td> + <td class="even"><input type="radio" name="searchin" value="title" /><{$smarty.const._MD_SUBJECT}> + <input type="radio" name="searchin" value="text" /><{$smarty.const._MD_BODY}> + <input type="radio" name="searchin" value="both" checked="checked" /><{$smarty.const._MD_SUBJECT}> & <{$smarty.const._MD_BODY}> </td> + </tr> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"><strong><{$smarty.const._MD_AUTHOR}></strong> </td> + <td class="even"><input type="text" name="uname" value="" /></td> + </tr> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"><strong><{$smarty.const._MD_SORTBY}></strong> </td> + <td class="even"> + <select name=="sortby"> + <option value="p.post_time desc" selected="selected"><{$smarty.const._MD_DATE}></option> + <option value="t.topic_title"><{$smarty.const._MD_TOPIC}></option> + <option value="f.forum_name"><{$smarty.const._MD_FORUM}></option> + <option value="u.uname"><{$smarty.const._MD_USERNAME}></option> + </select> + </td> + </tr> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"><strong><{$smarty.const._MD_SINCE}></strong> </td> + <td class="even"><{$since_selection_box}></td> + </tr> + <{if $search_rule}> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"><strong><{$smarty.const._SR_SEARCHRULE}></strong> </td> + <td class="even"><{$search_rule}></td> + </tr> + <{/if}> + <tr> +<!-- irmtfan hardcode removed align="right" --> + <td class="head" id="align_right"> </td> + <td class="even"><input type="submit" name="submit" value="<{$smarty.const._MD_SEARCH}>" /></td> + </table></td> + </tr> + </table> </form> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_searchresults.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_searchresults.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_searchresults.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,41 +1,43 @@ -<div class="resultMsg"> <{$search_info}> </div> -<br /> -<{if $results}> -<table class="outer" border="0" cellpadding="0" cellspacing="0" align="center" width="95%"> - <tr> - <td><table border="0" cellpadding="4" cellspacing="1" width="100%"> - <tr class="head" align="center"> - <td><{$smarty.const._MD_FORUMC}></td> - <td><{$smarty.const._MD_SUBJECT}></td> - <td><{$smarty.const._MD_AUTHOR}></td> - <td nowrap="nowrap"><{$smarty.const._MD_POSTTIME}></td> - </tr> - <!-- start search results --> -<{section name=i loop=$results}> - <!-- start each result --> - <tr align="center"> - <td class="even"><a href="<{$results[i].forum_link}>"><{$results[i].forum_name}></a></td> - <td class="odd" align="left"><a href="<{$results[i].link}>"><{$results[i].title}></a></td> - <td class="even"><{$results[i].poster}></a></td> - <td class="odd"><{$results[i].post_time}></td> - </tr> - <!-- end each result --> -<{/section}> - <!-- end search results --> - </table></td> - </tr> -<{if $search_next or $search_prev}> - <tr> - <td><table border="0" cellpadding="4" cellspacing="1" width="100%"> - <tr class="head"> - <td align="left" width="50%"><{$search_prev}> </td><td align="right" width="50%"> <{$search_next}></td> - </tr> - </table></td> - </tr> -<{/if}> -</table> -<br /> -<{elseif $lang_nomatch}> -<div class="resultMsg"> <{$lang_nomatch}> </div> -<br /> +<div class="resultMsg"> <{$search_info}> </div> +<br /> +<{if $results}> +<table class="outer" border="0" cellpadding="0" cellspacing="0" align="center" width="95%"> + <tr> + <td><table border="0" cellpadding="4" cellspacing="1" width="100%"> + <tr class="head" align="center"> + <td><{$smarty.const._MD_FORUMC}></td> + <td><{$smarty.const._MD_SUBJECT}></td> + <td><{$smarty.const._MD_AUTHOR}></td> + <td nowrap="nowrap"><{$smarty.const._MD_POSTTIME}></td> + </tr> + <!-- start search results --> +<{section name=i loop=$results}> + <!-- start each result --> + <tr align="center"> + <td class="even"><a href="<{$results[i].forum_link}>"><{$results[i].forum_name}></a></td> +<!-- irmtfan hardcode removed align="left" --> + <td class="odd" id="align_left"><a href="<{$results[i].link}>"><{$results[i].title}></a></td> + <td class="even"><{$results[i].poster}></a></td> + <td class="odd"><{$results[i].post_time}></td> + </tr> + <!-- end each result --> +<{/section}> + <!-- end search results --> + </table></td> + </tr> +<{if $search_next or $search_prev}> + <tr> + <td><table border="0" cellpadding="4" cellspacing="1" width="100%"> + <tr class="head"> +<!-- irmtfan hardcode removed align="left" --> + <td class="align_left" width="50%"><{$search_prev}> </td><td class="align_right" width="50%"> <{$search_next}></td> + </tr> + </table></td> + </tr> +<{/if}> +</table> +<br /> +<{elseif $lang_nomatch}> +<div class="resultMsg"> <{$lang_nomatch}> </div> +<br /> <{/if}> \ No newline at end of file Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html 2012-08-03 23:18:02 UTC (rev 9983) +++ XoopsModules/newbb/branches/irmtfan/newbb/templates/newbb_viewforum_subforum.html 2012-08-04 10:33:49 UTC (rev 9984) @@ -1,38 +1,40 @@ -<table cellspacing="1" class="outer" width="100%"> - <tr class="head" align="center"> - <td width="5%"> </td> - <td nowrap="nowrap" align="left"><{$smarty.const._MD_SUBFORUMS}></td> - <td nowrap="nowrap"> </td> - <td nowrap="nowrap"><{$smarty.const._MD_LASTPOST}></td> - </tr> - <!-- start subforums --> - <{foreachq item=sforum from=$subforum}> - <tr> - <td class="even" align="center" valign="middle"><{$sforum.forum_folder}></td> - <td class="odd" onclick="window.location='<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$sforum.forum_id}>'"><a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$sforum.forum_id}>"><strong><{$sforum.forum_name}></strong></a><br /> - <div id="index_forum"> - <{$sforum.forum_desc}> - <{if $sforum.forum_moderators}><br/> - <span class="extra"><{$smarty.const._MD_MODERATOR}>: </strong><{$sforum.forum_moderators}> - <{/if}> - </div> - </td> - <td class="even" align="center" valign="middle"> - <{$sforum.forum_topics}> <{$smarty.const._MD_TOPICS}> - <br /> - <{$sforum.forum_posts}> <{$smarty.const._MD_POSTS}> - </td> - <td class="odd" align="right" valign="middle"> - <{if $sforum.forum_lastpost_subject}> - <{$sforum.forum_lastpost_time}> <{$smarty.const._MD_BY}> <{$sforum.forum_lastpost_user}><br /> - <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?post_id=<{$sforum.forum_lastpost_id}>"> - <{$sforum.forum_lastpost_subject}> <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/templates/images/icon/<{$sforum.forum_lastpost_icon}>" alt="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" title="<{$smarty.const._MD_NEWBB_GOTOLASTPOST}>" /> - </a> - <{else}> - <{$smarty.const._MD_NONEWPOSTS}> - <{/if}> - </td> - </tr> - <{/foreach}> - <!-- end subforums --> +<table cellspacing="1" class="outer" width="100%"> + <tr class="head" align="center"> + <td width="5%"> </td> +<!-- irmtfan hardcode removed align="left" --> + <td nowrap="nowrap" class="align_left"><{$smarty.const._MD_SUBFORUMS}></td> + <td nowrap="nowrap"> </td> + <td nowrap="nowrap"><{$smarty.const._MD_LASTPOST}></td> + </tr> + <!-- start subforums --> + <{foreachq item=sforum from=$subforum}> + <tr> + <td class="even" align="center" valign="middle"><{$sforum.forum_folder}></td> + <td class="odd" onclick="window.location='<{$xoops_url}>/modules/<{$xoops_dirname}>/viewforum.php?forum=<{$sforum.forum_id}>'"><a href="<{$xoops_url}>/modules/<{$xo... [truncated message content] |
From: <be...@us...> - 2012-08-03 23:18:11
|
Revision: 9983 http://xoops.svn.sourceforge.net/xoops/?rev=9983&view=rev Author: beckmi Date: 2012-08-03 23:18:02 +0000 (Fri, 03 Aug 2012) Log Message: ----------- Version 2.07 RC by ArtCode (jagibu) Modified Paths: -------------- XoopsModules/xcgal/trunk/xcgal/COPYING XoopsModules/xcgal/trunk/xcgal/README.html XoopsModules/xcgal/trunk/xcgal/addpic.php XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php XoopsModules/xcgal/trunk/xcgal/admin/ecardmgr.php XoopsModules/xcgal/trunk/xcgal/admin/groupmgr.php XoopsModules/xcgal/trunk/xcgal/admin/header.php XoopsModules/xcgal/trunk/xcgal/admin/index.php XoopsModules/xcgal/trunk/xcgal/admin/menu.php XoopsModules/xcgal/trunk/xcgal/admin/searchnew.php XoopsModules/xcgal/trunk/xcgal/admin/usermgr.php XoopsModules/xcgal/trunk/xcgal/admin.php XoopsModules/xcgal/trunk/xcgal/albmgr.php XoopsModules/xcgal/trunk/xcgal/batchupload.php XoopsModules/xcgal/trunk/xcgal/blocks/xcgal_blocks.php XoopsModules/xcgal/trunk/xcgal/comment_delete.php XoopsModules/xcgal/trunk/xcgal/comment_edit.php XoopsModules/xcgal/trunk/xcgal/comment_new.php XoopsModules/xcgal/trunk/xcgal/comment_post.php XoopsModules/xcgal/trunk/xcgal/comment_reply.php XoopsModules/xcgal/trunk/xcgal/db_input.php XoopsModules/xcgal/trunk/xcgal/delete.php XoopsModules/xcgal/trunk/xcgal/displayecard.php XoopsModules/xcgal/trunk/xcgal/displayimage.php XoopsModules/xcgal/trunk/xcgal/ecard.php XoopsModules/xcgal/trunk/xcgal/editpics.php XoopsModules/xcgal/trunk/xcgal/images/slogo.png XoopsModules/xcgal/trunk/xcgal/include/exif_php.inc.php XoopsModules/xcgal/trunk/xcgal/include/functions.inc.php XoopsModules/xcgal/trunk/xcgal/include/htmlMimeMail.php XoopsModules/xcgal/trunk/xcgal/include/init.inc.php XoopsModules/xcgal/trunk/xcgal/include/mimePart.php XoopsModules/xcgal/trunk/xcgal/include/picmgmt.inc.php XoopsModules/xcgal/trunk/xcgal/include/search.inc.php XoopsModules/xcgal/trunk/xcgal/include/search.php XoopsModules/xcgal/trunk/xcgal/include/smtp.php XoopsModules/xcgal/trunk/xcgal/include/theme_func.php XoopsModules/xcgal/trunk/xcgal/index.php XoopsModules/xcgal/trunk/xcgal/js/dw_clip.js XoopsModules/xcgal/trunk/xcgal/js/dw_core.js XoopsModules/xcgal/trunk/xcgal/js/dw_scroller.js XoopsModules/xcgal/trunk/xcgal/js/dw_util.js XoopsModules/xcgal/trunk/xcgal/js/dw_wipes.js XoopsModules/xcgal/trunk/xcgal/modifyalb.php XoopsModules/xcgal/trunk/xcgal/ratepic.php XoopsModules/xcgal/trunk/xcgal/readme.txt XoopsModules/xcgal/trunk/xcgal/rss.php XoopsModules/xcgal/trunk/xcgal/scripts.js XoopsModules/xcgal/trunk/xcgal/search.php XoopsModules/xcgal/trunk/xcgal/showthumb.php XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_catmenu.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_meta.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_scroll.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_slide.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_static.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_albmgr.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_delete.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_discard.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_display.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_ecard.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_editpics.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_footer.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_fullsize.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_header.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_index.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_modifyalb.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_search.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_slideshow.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_thumb.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_upload.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_uploadmore.html XoopsModules/xcgal/trunk/xcgal/thumbnails.php XoopsModules/xcgal/trunk/xcgal/upload.php XoopsModules/xcgal/trunk/xcgal/uploadmore.php XoopsModules/xcgal/trunk/xcgal/watermark.php XoopsModules/xcgal/trunk/xcgal/xcgalstyle.css XoopsModules/xcgal/trunk/xcgal/xoops_version.php Added Paths: ----------- XoopsModules/xcgal/trunk/xcgal/ac_atom.php XoopsModules/xcgal/trunk/xcgal/admin/about.php XoopsModules/xcgal/trunk/xcgal/admin/admin_footer.php XoopsModules/xcgal/trunk/xcgal/admin/admin_header.php XoopsModules/xcgal/trunk/xcgal/albums/userpics/ XoopsModules/xcgal/trunk/xcgal/albums/userpics/index.html XoopsModules/xcgal/trunk/xcgal/docs/ XoopsModules/xcgal/trunk/xcgal/docs/changelog.txt XoopsModules/xcgal/trunk/xcgal/docs/index.html XoopsModules/xcgal/trunk/xcgal/images/add.png XoopsModules/xcgal/trunk/xcgal/images/atom.png XoopsModules/xcgal/trunk/xcgal/images/rss.gif XoopsModules/xcgal/trunk/xcgal/images/rss.png XoopsModules/xcgal/trunk/xcgal/include/init.inc_ajax.php XoopsModules/xcgal/trunk/xcgal/include/picmgmt.inc_ajax.php XoopsModules/xcgal/trunk/xcgal/js/jquery/ XoopsModules/xcgal/trunk/xcgal/js/jquery/jquery-1.7.2.min.js XoopsModules/xcgal/trunk/xcgal/js/jquery/jquery.js XoopsModules/xcgal/trunk/xcgal/js/thickbox/ XoopsModules/xcgal/trunk/xcgal/js/thickbox/loadingAnimation.gif XoopsModules/xcgal/trunk/xcgal/js/thickbox/thickbox.css XoopsModules/xcgal/trunk/xcgal/js/thickbox/thickbox.js XoopsModules/xcgal/trunk/xcgal/js/uploadify/ XoopsModules/xcgal/trunk/xcgal/js/uploadify/.htaccess XoopsModules/xcgal/trunk/xcgal/js/uploadify/Change Log.txt XoopsModules/xcgal/trunk/xcgal/js/uploadify/check-exists.php XoopsModules/xcgal/trunk/xcgal/js/uploadify/jquery.uploadify-3.1.js XoopsModules/xcgal/trunk/xcgal/js/uploadify/jquery.uploadify-3.1.min.js XoopsModules/xcgal/trunk/xcgal/js/uploadify/license.txt XoopsModules/xcgal/trunk/xcgal/js/uploadify/uploadify.css XoopsModules/xcgal/trunk/xcgal/js/uploadify/uploadify.js XoopsModules/xcgal/trunk/xcgal/js/uploadify/uploadify.php XoopsModules/xcgal/trunk/xcgal/js/uploadify/uploadify.swf XoopsModules/xcgal/trunk/xcgal/language/french/ XoopsModules/xcgal/trunk/xcgal/language/french/admin.php XoopsModules/xcgal/trunk/xcgal/language/french/blocks.php XoopsModules/xcgal/trunk/xcgal/language/french/index.html XoopsModules/xcgal/trunk/xcgal/language/french/main.php XoopsModules/xcgal/trunk/xcgal/language/french/modinfo.php XoopsModules/xcgal/trunk/xcgal/language/german/ XoopsModules/xcgal/trunk/xcgal/language/german/admin.php XoopsModules/xcgal/trunk/xcgal/language/german/blocks.php XoopsModules/xcgal/trunk/xcgal/language/german/index.html XoopsModules/xcgal/trunk/xcgal/language/german/main.php XoopsModules/xcgal/trunk/xcgal/language/german/modinfo.php XoopsModules/xcgal/trunk/xcgal/language/germandu/ XoopsModules/xcgal/trunk/xcgal/language/germandu/admin.php XoopsModules/xcgal/trunk/xcgal/language/germandu/blocks.php XoopsModules/xcgal/trunk/xcgal/language/germandu/index.html XoopsModules/xcgal/trunk/xcgal/language/germandu/main.php XoopsModules/xcgal/trunk/xcgal/language/germandu/modinfo.php XoopsModules/xcgal/trunk/xcgal/language/italian/ XoopsModules/xcgal/trunk/xcgal/language/italian/admin.php XoopsModules/xcgal/trunk/xcgal/language/italian/blocks.php XoopsModules/xcgal/trunk/xcgal/language/italian/index.html XoopsModules/xcgal/trunk/xcgal/language/italian/main.php XoopsModules/xcgal/trunk/xcgal/language/italian/modinfo.php XoopsModules/xcgal/trunk/xcgal/language/polish/ XoopsModules/xcgal/trunk/xcgal/language/polish/admin.php XoopsModules/xcgal/trunk/xcgal/language/polish/blocks.php XoopsModules/xcgal/trunk/xcgal/language/polish/index.html XoopsModules/xcgal/trunk/xcgal/language/polish/main.php XoopsModules/xcgal/trunk/xcgal/language/polish/modinfo.php XoopsModules/xcgal/trunk/xcgal/language/russian/ XoopsModules/xcgal/trunk/xcgal/language/russian/admin.php XoopsModules/xcgal/trunk/xcgal/language/russian/blocks.php XoopsModules/xcgal/trunk/xcgal/language/russian/main.php XoopsModules/xcgal/trunk/xcgal/language/russian/modinfo.php XoopsModules/xcgal/trunk/xcgal/upload_ajax.php XoopsModules/xcgal/trunk/xcgal/uploadify.php Removed Paths: ------------- XoopsModules/xcgal/trunk/xcgal/UPGRADE.txt XoopsModules/xcgal/trunk/xcgal/changelog.txt XoopsModules/xcgal/trunk/xcgal/style.css Modified: XoopsModules/xcgal/trunk/xcgal/COPYING =================================================================== --- XoopsModules/xcgal/trunk/xcgal/COPYING 2012-08-03 23:09:58 UTC (rev 9982) +++ XoopsModules/xcgal/trunk/xcgal/COPYING 2012-08-03 23:18:02 UTC (rev 9983) @@ -1,280 +1,280 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS Modified: XoopsModules/xcgal/trunk/xcgal/README.html =================================================================== --- XoopsModules/xcgal/trunk/xcgal/README.html 2012-08-03 23:09:58 UTC (rev 9982) +++ XoopsModules/xcgal/trunk/xcgal/README.html 2012-08-03 23:18:02 UTC (rev 9983) @@ -1,334 +1,334 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Coppermine Photo Gallery - README</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -<style type="text/css"> -<!-- -body { - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; - background : #F7F7F7 ; - color : Black; - margin: 20px; -} - -td { - font-size: 12px; -} - -h1{ - font-weight: bold; - font-size: 22px; - font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; - text-decoration: none; - line-height : 120%; - color : #000000; -} - -h2 { - font-family: Arial, Helvetica, sans-serif; - font-size: 18px; - color: #0E72A4; - text-decoration: underline; -} - -h3 { - font-weight: bold; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; - text-decoration: underline; -} - -p { - font-family : Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; - margin: 10px 10px 0px 0px; -} - -ul { - margin-left: 5px; - margin-right: 0px; - margin-top: 10px; - margin-bottom: 10px; - padding: 0px; -} - -li { - margin-left: 10px; - margin-top: 4px; - margin-bottom: 4px; - padding: 0px; - list-style-position: outside; - list-style-type: disc; -} ---> -</style> -</head> - -<body> -<h1><img src="images/coppermine_logo.png" width="300" height="75" /></h1> -<h1>Coppermine Photo Gallery v1.1.0</h1> -<p>Coppermine Photo Gallery is a picture gallery script. Users can upload pictures - with a web browser (thumbnails are created on the fly), rate pictures, add comments - and send e-cards. The admins can manage the galleries and batch add pictures - that have been uploaded on the server by FTP.</p> -<p>Images are stored in albums and albums can be grouped by categories. The script - supports multiple users and each user can possibly have its own set of albums.</p> -<p>The script also supports multiple languages and has a theme system. It uses - PHP, a MySQL database and the GD library (version 1.x or 2.x) or ImageMagick - to make the thumbnails. An install script makes the installation fast and simple.</p> -<h2>What is required</h2> -<ul> - <li>A web server that supports PHP (the script should work with any version - >= 4.1.0)</li> - <li>A MySQL database</li> - <li>PHP compiled with the support for the GD library or the ImageMagick "convert" - utility in order to make thumbnails and reduced size images</li> -</ul> -<h2>How to install the script</h2> -<ul> - <li>Unpack the archive preserving the directory structure</li> - <li>Uploads all files onto your webserver</li> - <li>Run the install script on your server (http://your_server/coppermine_dir/install.php) - and follow the instructions</li> -</ul> -<h2>Getting started</h2> -<p>Login with the admin username and password, click on the "admin mode" - link if it is visible, go to the <b>Config</b> page and start to configure your - gallery. Note that even if you are a member of the administrator group, you - need to be in "admin mode" to configure your gallery.</p> -<p>Use the <b>anonymous</b> group to define what non-regsitered users can and - can't do.</p> -<p>Use the "<b>Album Manager</b>" ("Albums" link in the admin - menu) in to create and order your albums.</p> -<p>Use the <b>properties</b> of an album to modify its description and permissions. -</p> -<p>In order for a user to be allowed to upload a picture in album two conditions - must be met:</p> -<ul> - <li> The user must be part of a group that can upload picture.</li> - <li>There must be at least one album where "<b>Visitors can upload pictures</b>" - has been set to "<b>Yes</b>".</li> -</ul> -<p>The same apply to <b>picture rating</b> and <b>comment posting</b>.</p> -<p>If you have installed the script succesfully but are having trouble getting - it working properly you can enable the "<b>debug mode</b>" on the - <b>config page</b>. In this mode, the script outputs most of the warning/error - messages produced by PHP in addition to some debug information. This can provide - valuable information to understand what is wrong.</p> -<h2>Changing the content of the main page</h2> -<p>On the config page, you have an option called "<b>The content of the main - page</b>". Here you can define what is displayed on the main page of the - script.</p> -<p>The default value is "<b>catlist/alblist/random,2/lastup,2</b>"</p> -<p>You can use the following "codes"</p> -<ul> - <li>'<b>catlist</b>': category list</li> - <li>'<b>alblist</b>': album list</li> - <li>'<b>random</b>': random pictures</li> - <li>'<b>lastup</b>': last uploads</li> - <li>'<b>topn</b>': most viewed</li> - <li>'<b>toprated</b>': top rated</li> - <li>'<b>lastcom</b>': last comments </li> -</ul> -<p></p> -<p>The <b>,2</b> means 2 rows of thumbnails</p> -<h2>Formatting album and image descriptions</h2> -<p>Coppermine understands the following bbCodes (the same bbCodes that are used - by phpBB) in image and album description</p> -<ul> - <li>[b]<b>bold</b>[/b]</li> - <li>[i]<i>italic</i>[/i]</li> - <li>[url=http://url]<a href="javascript:;">URL text</a>[/url]</li> - <li>[email]<a href="javascript:;">us...@do...d</a>[/email]</li> -</ul> -<h2>Using Windows XP Web Publishing Wizard with Coppermine</h2> -<p>If you are using Windows XP, you can use its builtin web publishing wizard - to upload your photos to your gallery.</p> -<p>Once you have properly installed the script on your server, call the xp_publish.php - file from your web browser (<a href="javascript: ;">http://your_site.com/coppermine_dir/xp_publish.php</a>).</p> -<p>The script displays some information on how to do the installation on the client - side and how to use the Wizard. Basically you will need to download a small - file created by the script that needs to be loaded into your Windows registry.</p> -<h2>Creating your own themes</h2> -<p>Coppermine themes are stored in the "<b>themes</b>" directory, they - consist of 3 files : </p> -<ul> - <li>"<b>template.html</b>" the main template in plain HTML.</li> - <li>"<b>style.css</b>" the stylesheet associated with the template</li> - <li>"<b>theme.php</b>" the PHP theme file</li> -</ul> -<p>To create a new template the best solution is to use an existing one as a basis. - Do do that make copy of the folder of the theme you want to use as a basis then - edit the "<b>template.html</b>" and "<b>template.php</b>" - files and replace all occurences of "<b>themes/old_theme_dir</b>" - with "<b>themes/new_theme_dir</b>" in order for the links to point - to the correct place.</p> -<p>When editing the "<b>template.html</b>" file do not remove the elements - between <b>{}</b> these are the placeholders used by the script. Also keep in - mind that despite this file being located in the "<b>themes/your_theme_dir</b>" - directory, it must be build like if it was in the main directory of the script. - Practically to load an image, you must use <i><img src="themes/theme_dir/images/image.gif" - alt=""/></i> and not <i><img src="images/image.gif" - alt=""/>.</i> The same apply for the "<b>theme.php</b>" - file.</p> -<p>If you are using an HTML editor to make your template, the best solution is - that you copy the "<b>template.html</b>" file into the main directory - of the script and edit it there. If the script find a file named "<b>template.html</b>" - in the main directory it will load it instead of the one of the theme directory. - Once you have finished your editings, move the file back to the directory of - your theme.</p> -<p>To modify the colors, fonts, font sizes, etc... used by the script, edit the - "<b>style.css</b>" stylesheet. If you want to increase or decrease - the size of the fonts you can simply modify the line with : <i>table { font-size: - 12px; }</i>. Most of the font sizes used by the script are defined as a percentage - of this size.</p> -<p>The "<b>theme.php</b>" file contains all the HTML templates used - by the script. You can also edit them. When making modifications to these templates, - don't touch the lines with <i><!-- BEGIN xxx --></i> and <i><!-- END - xxx --></i>.</p> -<h2>Safe mode issues</h2> -<p>A significant number of webhost on the Internet run PHP in safe mode. Coppermine - runs without any problem in safe mode and with the "open basedir restriction" - active, provided safe mode is properly configured. Unfortunately on many hosts, - safe mode is not configured properly.</p> -<p>If your webhost is running PHP in safe mode but is misconfigured, you may need - to do the following :</p> -<ul> - <li>With an FTP program, change the mode of Coppermine's "<b>include</b>" - directory on your server to <b>0777</b>.</li> - <li>Do the same for the "<b>userpics</b>" directory.</li> - <li>Check that at the beginning the the "<b>include/config.inc.php</b>" - file, you have a line with : "<b>define('SILLY_SAFE_MODE', 1);</b>"</li> -</ul> -<h2>Using SMTP to send emails</h2> -<p>By default the script uses the PHP built-in <b>mail</b> function to send emails. - In some cases, the PHP built-in function can't be used.</p> -<p> If in order to send emails with PHP you need to supply a <b>hostname</b>, - a <b>username</b> and a <b>password</b>, you need to edit the file "<b>include/mailer.inc.php</b>" - and put the correct values there (<i>$CONFIG['smtp_host'] = 'smtp.somewhere.com'; - $CONFIG['smtp_username'] = 'username'; $CONFIG['smtp_password'] = 'password';</i>). - If you don't need a username and password to connect to your SMTP server, just - leave them blank.</p> -<p></p> -<h2>Upgrading from version 1.0</h2> -<p>If you already have installed version 1.0 and you want to transfer your albums - to version 1.1 proceed in the following way:</p> -<ul> - <li> Install version 1.1 normally in a directory different from the one where - you installed v 1.0. Note that in order to use the upgrade script, <b>tables - for version 1.0 and 1.1 must be stored in the same database</b>.</li> - <li>Copy the "<b>albums</b>" directory of version 1.0 into the directory - where you installed version 1.1</li> - <li>Get the upgrade script that you can download <a href="http://chez.greg.free.fr/downloads/upgrade-1.0-to-1.1.zip">here</a>.</li> - <li>Unpack and upload the file to your server in the directory where you installed - version 1.1</li> - <li>The upgrade script assumes that you used the "<b>CPG_</b>" prefix - for tables (default value) when you installed version 1.0, if this is not - the case, edit the PHP file and put the correct value inside.</li> - <li>Login, enter the admin mode</li> - <li>Call the upgrade script http://yousitename/coppermine_dir/upgrade-1.0-to-1.1.php</li> - <li>If you don't get any error you're done. <b>Delete the file from your server</b>. - If you get an error, go to Coppermine 1.1 config page, enable debug mode, - try to call the upgrade script again and check what errors you get.</li> -</ul> -<p> <b>This upgrade process leave your v1.0 gallery untouched </b></p> -<h2>Upgrading from a previous Beta of version 1.1</h2> -<p>Unpack the archive, delete the file <b>config.inc.php</b> that may possibly - exist in the <b>"include"</b> directory and the file <b>install.php</b> - (you don't need to run the install script when doing an upgrade). Upload the - new files to your server overwriting the existing ones</p> -<h2>Translating Coppermine into other languages</h2> -<p>Coppermine has now a separate language file that make the translation of the - script much more easy. The language files are stored in the <b>lang </b>directory. - The files with the <b>utf-8</b> suffix are unicode encoded files. They are automatically - generated with the <b>iconv</b> program so there is no need for you to make - an unicode version of your translation.</p> -<p>If you select an utf-8 language file as the default one, then the script will - be able to automatically select a language file based on the visitor browser - configuration. For instance if the default language file is danish-utf-8 and - an english visitor access your gallery, the english-utf-8 language file will - be used by the script.</p> -<p> If you have translated Coppermine into your own language, you can mail your - language file to <a href="mailto:cop...@ch...">cop...@ch...</a>.</p> -<p></p> -<h2>Credits</h2> -<h3>Language file translation :</h3> -<p><b>Note</b> : if you have corrections to suggest on language files, mail them - directly to the author of the translation.</p> -<p> </p> -<table border="0" cellspacing="3" cellpadding="3"> - <tr> - <td>Chinese (Big5)</td> - <td><a href="mailto:a05...@ms...">MyScripts & Math</a></td> - <td><a href="http://www.winpon.tw300.com/">http://www.winpon.tw300.com/</a></td> - </tr> - <tr> - <td>Danish</td> - <td><a href="mailto:lau...@to...">Jan Ole Laugesen</a></td> - <td><a href="http://www.tommerup.net/">http://www.tommerup.net/</a></td> - </tr> - <tr> - <td>Dutch</td> - <td><a href="mailto:ro...@ro...">Ron Bos</a></td> - <td><a href="http://www.ronbos.nl/">http://www.ronbos.nl/</a></td> - </tr> - <tr> - <td>Finnish</td> - <td><a href="mailto:vil...@mi...">Ville Taavila</a></td> - <td> </td> - </tr> - <tr> - <td>French</td> - <td><a href="mailto:nat...@ho...">Niko</a></td> - <td><a href="http://www.chien.com/mustang/">http://www.chien.com/mustang/</a></td> - </tr> - <tr> - <td>German</td> - <td><a href="mailto:ma...@ga...">GauGau</a></td> - <td><a href="http://www.gaugau.de/">http://www.gaugau.de/</a></td> - </tr> - <tr> - <td>Greek</td> - <td><a href="mailto:ly...@ly...">Lykourgos</a><br /></td> - <td><a href="http://www.lykman.com/">http://www.lykman.com/</a></td> - </tr> - <tr> - <td>Spanish</td> - <td><a href="mailto:dvi...@po...">Daniel Villoldo</a></td> - <td><a href="http://www.proel334.net/album/">http://www.proel334.net/album/</a></td> - </tr> -</table> -<h3>Coppermine uses code from the following free softwares :</h3> -<p><b>phpBB</b><br /> - Author: phpBBGroup <br /> - URL: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a><br /> -</p> -<p><b>phpMyAdmin</b><br /> - Author: phpMyAdmin devel team<br /> - URL: <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a><br /> -</p> -<p><b>phpPhotoAlbum</b><br /> - Author: Henning Støverud<br /> - E-mail: <a href="mailto:%20h...@st...">he...@st...</a><br /> - URL: <a href="http://www.stoverud.com/PHPhotoalbum/">http://www.stoverud.com/PHPhotoalbum/</a><br /> -</p> -<h2>Copyright and disclaimer</h2> -<p>This application is opensource software released under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. -</p> -<p>BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY<br /> - FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN<br /> - OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES<br /> - PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED<br /> - OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF<br /> - MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS<br /> - TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE<br /> - PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,<br /> - REPAIR OR CORRECTION. </p> -<p>Coppermine Photo Gallery is Copyright © 2002, 2003 <a href="http://www.chezgreg.net/coppermine/">Grégory - DEMAR</a>, All Rights Reserved.<br /> -</p> -</body> -</html> +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Coppermine Photo Gallery - README</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +<style type="text/css"> +<!-- +body { + font-family : Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + background : #F7F7F7 ; + color : Black; + margin: 20px; +} + +td { + font-size: 12px; +} + +h1{ + font-weight: bold; + font-size: 22px; + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + text-decoration: none; + line-height : 120%; + color : #000000; +} + +h2 { + font-family: Arial, Helvetica, sans-serif; + font-size: 18px; + color: #0E72A4; + text-decoration: underline; +} + +h3 { + font-weight: bold; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + text-decoration: underline; +} + +p { + font-family : Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + margin: 10px 10px 0px 0px; +} + +ul { + margin-left: 5px; + margin-right: 0px; + margin-top: 10px; + margin-bottom: 10px; + padding: 0px; +} + +li { + margin-left: 10px; + margin-top: 4px; + margin-bottom: 4px; + padding: 0px; + list-style-position: outside; + list-style-type: disc; +} +--> +</style> +</head> + +<body> +<h1><img src="images/coppermine_logo.png" width="300" height="75" /></h1> +<h1>Coppermine Photo Gallery v1.1.0</h1> +<p>Coppermine Photo Gallery is a picture gallery script. Users can upload pictures + with a web browser (thumbnails are created on the fly), rate pictures, add comments + and send e-cards. The admins can manage the galleries and batch add pictures + that have been uploaded on the server by FTP.</p> +<p>Images are stored in albums and albums can be grouped by categories. The script + supports multiple users and each user can possibly have its own set of albums.</p> +<p>The script also supports multiple languages and has a theme system. It uses + PHP, a MySQL database and the GD library (version 1.x or 2.x) or ImageMagick + to make the thumbnails. An install script makes the installation fast and simple.</p> +<h2>What is required</h2> +<ul> + <li>A web server that supports PHP (the script should work with any version + >= 4.1.0)</li> + <li>A MySQL database</li> + <li>PHP compiled with the support for the GD library or the ImageMagick "convert" + utility in order to make thumbnails and reduced size images</li> +</ul> +<h2>How to install the script</h2> +<ul> + <li>Unpack the archive preserving the directory structure</li> + <li>Uploads all files onto your webserver</li> + <li>Run the install script on your server (http://your_server/coppermine_dir/install.php) + and follow the instructions</li> +</ul> +<h2>Getting started</h2> +<p>Login with the admin username and password, click on the "admin mode" + link if it is visible, go to the <b>Config</b> page and start to configure your + gallery. Note that even if you are a member of the administrator group, you + need to be in "admin mode" to configure your gallery.</p> +<p>Use the <b>anonymous</b> group to define what non-regsitered users can and + can't do.</p> +<p>Use the "<b>Album Manager</b>" ("Albums" link in the admin + menu) in to create and order your albums.</p> +<p>Use the <b>properties</b> of an album to modify its description and permissions. +</p> +<p>In order for a user to be allowed to upload a picture in album two conditions + must be met:</p> +<ul> + <li> The user must be part of a group that can upload picture.</li> + <li>There must be at least one album where "<b>Visitors can upload pictures</b>" + has been set to "<b>Yes</b>".</li> +</ul> +<p>The same apply to <b>picture rating</b> and <b>comment posting</b>.</p> +<p>If you have installed the script succesfully but are having trouble getting + it working properly you can enable the "<b>debug mode</b>" on the + <b>config page</b>. In this mode, the... [truncated message content] |
From: <be...@us...> - 2012-08-03 23:10:04
|
Revision: 9982 http://xoops.svn.sourceforge.net/xoops/?rev=9982&view=rev Author: beckmi Date: 2012-08-03 23:09:58 +0000 (Fri, 03 Aug 2012) Log Message: ----------- Adding to Releases version 2.04 Added Paths: ----------- XoopsModules/xcgal/releases/2.04/xcgal/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-08-03 23:06:56
|
Revision: 9981 http://xoops.svn.sourceforge.net/xoops/?rev=9981&view=rev Author: beckmi Date: 2012-08-03 23:06:45 +0000 (Fri, 03 Aug 2012) Log Message: ----------- Adding xcgal module Added Paths: ----------- XoopsModules/xcgal/ XoopsModules/xcgal/branches/ XoopsModules/xcgal/releases/ XoopsModules/xcgal/releases/2.04/ XoopsModules/xcgal/trunk/ XoopsModules/xcgal/trunk/xcgal/ XoopsModules/xcgal/trunk/xcgal/COPYING XoopsModules/xcgal/trunk/xcgal/README.html XoopsModules/xcgal/trunk/xcgal/UPGRADE.txt XoopsModules/xcgal/trunk/xcgal/addpic.php XoopsModules/xcgal/trunk/xcgal/admin/ XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php XoopsModules/xcgal/trunk/xcgal/admin/ecardmgr.php XoopsModules/xcgal/trunk/xcgal/admin/groupmgr.php XoopsModules/xcgal/trunk/xcgal/admin/header.php XoopsModules/xcgal/trunk/xcgal/admin/index.html XoopsModules/xcgal/trunk/xcgal/admin/index.php XoopsModules/xcgal/trunk/xcgal/admin/menu.php XoopsModules/xcgal/trunk/xcgal/admin/searchnew.php XoopsModules/xcgal/trunk/xcgal/admin/usermgr.php XoopsModules/xcgal/trunk/xcgal/admin.php XoopsModules/xcgal/trunk/xcgal/albmgr.php XoopsModules/xcgal/trunk/xcgal/albums/ XoopsModules/xcgal/trunk/xcgal/albums/index.html XoopsModules/xcgal/trunk/xcgal/batchupload.php XoopsModules/xcgal/trunk/xcgal/blocks/ XoopsModules/xcgal/trunk/xcgal/blocks/index.html XoopsModules/xcgal/trunk/xcgal/blocks/xcgal_blocks.php XoopsModules/xcgal/trunk/xcgal/changelog.txt XoopsModules/xcgal/trunk/xcgal/comment_delete.php XoopsModules/xcgal/trunk/xcgal/comment_edit.php XoopsModules/xcgal/trunk/xcgal/comment_new.php XoopsModules/xcgal/trunk/xcgal/comment_post.php XoopsModules/xcgal/trunk/xcgal/comment_reply.php XoopsModules/xcgal/trunk/xcgal/db_input.php XoopsModules/xcgal/trunk/xcgal/delete.php XoopsModules/xcgal/trunk/xcgal/displayecard.php XoopsModules/xcgal/trunk/xcgal/displayimage.php XoopsModules/xcgal/trunk/xcgal/ecard.php XoopsModules/xcgal/trunk/xcgal/editpics.php XoopsModules/xcgal/trunk/xcgal/images/ XoopsModules/xcgal/trunk/xcgal/images/button_bg.gif XoopsModules/xcgal/trunk/xcgal/images/delete.gif XoopsModules/xcgal/trunk/xcgal/images/down.gif XoopsModules/xcgal/trunk/xcgal/images/ecard.gif XoopsModules/xcgal/trunk/xcgal/images/edit.gif XoopsModules/xcgal/trunk/xcgal/images/folder.gif XoopsModules/xcgal/trunk/xcgal/images/gif48x48.gif XoopsModules/xcgal/trunk/xcgal/images/green.gif XoopsModules/xcgal/trunk/xcgal/images/hirachy.gif XoopsModules/xcgal/trunk/xcgal/images/index.html XoopsModules/xcgal/trunk/xcgal/images/info.gif XoopsModules/xcgal/trunk/xcgal/images/more.gif XoopsModules/xcgal/trunk/xcgal/images/move_down.gif XoopsModules/xcgal/trunk/xcgal/images/move_up.gif XoopsModules/xcgal/trunk/xcgal/images/next.gif XoopsModules/xcgal/trunk/xcgal/images/nopic.jpg XoopsModules/xcgal/trunk/xcgal/images/prev.gif XoopsModules/xcgal/trunk/xcgal/images/private.jpg XoopsModules/xcgal/trunk/xcgal/images/rating0.gif XoopsModules/xcgal/trunk/xcgal/images/rating1.gif XoopsModules/xcgal/trunk/xcgal/images/rating2.gif XoopsModules/xcgal/trunk/xcgal/images/rating3.gif XoopsModules/xcgal/trunk/xcgal/images/rating4.gif XoopsModules/xcgal/trunk/xcgal/images/rating5.gif XoopsModules/xcgal/trunk/xcgal/images/read_error48x48.gif XoopsModules/xcgal/trunk/xcgal/images/red.gif XoopsModules/xcgal/trunk/xcgal/images/slideshow.gif XoopsModules/xcgal/trunk/xcgal/images/slogo.png XoopsModules/xcgal/trunk/xcgal/images/spacer.gif XoopsModules/xcgal/trunk/xcgal/images/stamp.gif XoopsModules/xcgal/trunk/xcgal/images/thumb_audio.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_avi.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_doc.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_document.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_gz.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_htm.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_html.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_mid.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_midi.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_mov.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_movie.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_mp3.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_mpeg.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_mpg.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_ogg.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_qtv.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_rar.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_rmj.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_swf.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_txt.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_wav.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_wma.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_wmv.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_xls.jpg XoopsModules/xcgal/trunk/xcgal/images/thumb_zip.jpg XoopsModules/xcgal/trunk/xcgal/images/unk48x48.gif XoopsModules/xcgal/trunk/xcgal/images/up.gif XoopsModules/xcgal/trunk/xcgal/images/up_dup.gif XoopsModules/xcgal/trunk/xcgal/images/up_ok.gif XoopsModules/xcgal/trunk/xcgal/images/up_pb.gif XoopsModules/xcgal/trunk/xcgal/images/watermark.png XoopsModules/xcgal/trunk/xcgal/images/watermark_default.png XoopsModules/xcgal/trunk/xcgal/images/xcgal.gif XoopsModules/xcgal/trunk/xcgal/include/ XoopsModules/xcgal/trunk/xcgal/include/RFC822.php XoopsModules/xcgal/trunk/xcgal/include/exif_php.inc.php XoopsModules/xcgal/trunk/xcgal/include/functions.inc.php XoopsModules/xcgal/trunk/xcgal/include/htmlMimeMail.php XoopsModules/xcgal/trunk/xcgal/include/index.html XoopsModules/xcgal/trunk/xcgal/include/init.inc.php XoopsModules/xcgal/trunk/xcgal/include/mimePart.php XoopsModules/xcgal/trunk/xcgal/include/picmgmt.inc.php XoopsModules/xcgal/trunk/xcgal/include/search.inc.php XoopsModules/xcgal/trunk/xcgal/include/search.php XoopsModules/xcgal/trunk/xcgal/include/smtp.php XoopsModules/xcgal/trunk/xcgal/include/theme_func.php XoopsModules/xcgal/trunk/xcgal/index.php XoopsModules/xcgal/trunk/xcgal/js/ XoopsModules/xcgal/trunk/xcgal/js/dw_clip.js XoopsModules/xcgal/trunk/xcgal/js/dw_core.js XoopsModules/xcgal/trunk/xcgal/js/dw_scroller.js XoopsModules/xcgal/trunk/xcgal/js/dw_util.js XoopsModules/xcgal/trunk/xcgal/js/dw_wipes.js XoopsModules/xcgal/trunk/xcgal/js/index.html XoopsModules/xcgal/trunk/xcgal/language/ XoopsModules/xcgal/trunk/xcgal/language/arabic/ XoopsModules/xcgal/trunk/xcgal/language/arabic/admin.php XoopsModules/xcgal/trunk/xcgal/language/arabic/blocks.php XoopsModules/xcgal/trunk/xcgal/language/arabic/index.html XoopsModules/xcgal/trunk/xcgal/language/arabic/main.php XoopsModules/xcgal/trunk/xcgal/language/arabic/modinfo.php XoopsModules/xcgal/trunk/xcgal/language/english/ XoopsModules/xcgal/trunk/xcgal/language/english/admin.php XoopsModules/xcgal/trunk/xcgal/language/english/blocks.php XoopsModules/xcgal/trunk/xcgal/language/english/index.html XoopsModules/xcgal/trunk/xcgal/language/english/main.php XoopsModules/xcgal/trunk/xcgal/language/english/modinfo.php XoopsModules/xcgal/trunk/xcgal/language/index.html XoopsModules/xcgal/trunk/xcgal/modifyalb.php XoopsModules/xcgal/trunk/xcgal/ratepic.php XoopsModules/xcgal/trunk/xcgal/readme.txt XoopsModules/xcgal/trunk/xcgal/rss.php XoopsModules/xcgal/trunk/xcgal/scripts.js XoopsModules/xcgal/trunk/xcgal/search.php XoopsModules/xcgal/trunk/xcgal/showthumb.php XoopsModules/xcgal/trunk/xcgal/sql/ XoopsModules/xcgal/trunk/xcgal/sql/index.html XoopsModules/xcgal/trunk/xcgal/sql/mysql.sql XoopsModules/xcgal/trunk/xcgal/style.css XoopsModules/xcgal/trunk/xcgal/templates/ XoopsModules/xcgal/trunk/xcgal/templates/blocks/ XoopsModules/xcgal/trunk/xcgal/templates/blocks/index.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_catmenu.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_meta.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_scroll.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_slide.html XoopsModules/xcgal/trunk/xcgal/templates/blocks/xcgal_block_static.html XoopsModules/xcgal/trunk/xcgal/templates/index.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_albmgr.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_delete.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_discard.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_display.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_ecard.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_editpics.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_footer.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_fullsize.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_header.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_index.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_modifyalb.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_search.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_slideshow.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_thumb.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_upload.html XoopsModules/xcgal/trunk/xcgal/templates/xcgal_uploadmore.html XoopsModules/xcgal/trunk/xcgal/thumbnails.php XoopsModules/xcgal/trunk/xcgal/upload.php XoopsModules/xcgal/trunk/xcgal/uploadmore.php XoopsModules/xcgal/trunk/xcgal/watermark.php XoopsModules/xcgal/trunk/xcgal/xcgalstyle.css XoopsModules/xcgal/trunk/xcgal/xoops_version.php Added: XoopsModules/xcgal/trunk/xcgal/COPYING =================================================================== --- XoopsModules/xcgal/trunk/xcgal/COPYING (rev 0) +++ XoopsModules/xcgal/trunk/xcgal/COPYING 2012-08-03 23:06:45 UTC (rev 9981) @@ -0,0 +1,280 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS Added: XoopsModules/xcgal/trunk/xcgal/README.html =================================================================== --- XoopsModules/xcgal/trunk/xcgal/README.html (rev 0) +++ XoopsModules/xcgal/trunk/xcgal/README.html 2012-08-03 23:06:45 UTC (rev 9981) @@ -0,0 +1,334 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Coppermine Photo Gallery - README</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +<style type="text/css"> +<!-- +body { + font-family : Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + background : #F7F7F7 ; + color : Black; + margin: 20px; +} + +td { + font-size: 12px; +} + +h1{ + font-weight: bold; + font-size: 22px; + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + text-decoration: none; + line-height : 120%; + color : #000000; +} + +h2 { + font-family: Arial, Helvetica, sans-serif; + font-size: 18px; + color: #0E72A4; + text-decoration: underline; +} + +h3 { + font-weight: bold; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + text-decoration: underline; +} + +p { + font-family : Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; + margin: 10px 10px 0px 0px; +} + +ul { + margin-left: 5px; + margin-right: 0px; + margin-top: 10px; + margin-bottom: 10px; + padding: 0px; +} + +li { + margin-left: 10px; + margin-top: 4px; + margin-bottom: 4px; + padding: 0px; + list-style-position: outside; + list-style-type: disc; +} +--> +</style> +</head> + +<body> +<h1><img src="images/coppermine_logo.png" width="300" height="75" /></h1> +<h1>Coppermine Photo Gallery v1.1.0</h1> +<p>Coppermine Photo Gallery is a picture gallery script. Users can upload pictures + with a web browser (thumbnails are created on the fly), rate pictures, add comments + and send e-cards. The admins can manage the galleries and batch add pictures + that have been uploaded on the server by FTP.</p> +<p>Images are stored in albums and albums can be grouped by categories. The script + supports multiple users and each user can possibly have its own set of albums.</p> +<p>The script also supports multiple languages and has a theme system. It uses + PHP, a MySQL database and the GD library (version 1.x or 2.x) or ImageMagick + to make the thumbnails. An install script makes the installation fast and simple.</p> +<h2>What is required</h2> +<ul> + <li>A web server that supports PHP (the script should work with any version + >= 4.1.0)</li> + <li>A MySQL database</li> + <li>PHP compiled with the support for the GD library or the ImageMagick "convert" + utility in order to make thumbnails and reduced size images</li> +</ul> +<h2>How to install the script</h2> +<ul> + <li>Unpack the archive preserving the directory structure</li> + <li>Uploads all files onto your webserver</li> + <li>Run the install script on your server (http://your_server/coppermine_dir/install.php) + and follow the instructions</li> +</ul> +<h2>Getting started</h2> +<p>Login with the admin username and password, click on the "admin mode" + link if it is visible, go to the <b>Config</b> page and start to configure your + gallery. Note that even if you are a member of the administrator group, you + need to be in "admin mode" to configure your gallery.</p> +<p>Use the <b>anonymous</b> group to define what non-regsitered users can and + can't do.</p> +<p>Use the "<b>Album Manager</b>" ("Albums" link in the admin + menu) in to create and order your albums.</p> +<p>Use the <b>properties</b> of an album to modify its description and permissions. +</p> +<p>In order for a user to be allowed to upload a picture in album two conditions + must be met:</p> +<ul> + <li> The user must be part of a group that can upload picture.</li> + <li>There must be at least one album where "<b>Visitors can upload pictures</b>" + has been set to "<b>Yes</b>".</li> +</ul> +<p>The same apply to <b>picture rating</b> and <b>comment posting</b>.</p> +<p>If you have installed the script succesfully but are having trouble getting + it working properly you can enable the "<b>debug mode</b>" on the + <b>config page</b>. In this mode, the script outputs most of the warning/error + messages produced by PHP in addition to some debug information. This can provide + valuable information to understand what is wrong.</p> +<h2>Changing the content of the main page</h2> +<p>On the config page, you have an option called "<b>The content of the main + page</b>". Here you can define what is displayed on the main page of the + script.</p> +<p>The default value is "<b>catlist/alblist/random,2/lastup,2</b>"</p> +<p>You can use the following "codes"</p> +<ul> + <li>'<b>catlist</b>': category list</li> + <li>'<b>alblist</b>': album list</li> + <li>'<b>random</b>': random pictures</li> + <li>'<b>lastup</b>': last uploads</li> + <li>'<b>topn</b>': most viewed</li> + <li>'<b>toprated</b>': top rated</li> + <li>'<b>lastcom</b>': last comments </li> +</ul> +<p></p> +<p>The <b>,2</b> means 2 rows of thumbnails</p> +<h2>Formatting album and image descriptions</h2> +<p>Coppermine understands the following bbCodes (the same bbCodes that are used + by phpBB) in image and album description</p> +<ul> + <li>[b]<b>bold</b>[/b]</li> + <li>[i]<i>italic</i>[/i]</li> + <li>[url=http://url]<a href="javascript:;">URL text</a>[/url]</li> + <li>[email]<a href="javascript:;">us...@do...d</a>[/email]</li> +</ul> +<h2>Using Windows XP Web Publishing Wizard with Coppermine</h2> +<p>If you are using Windows XP, you can use its builtin web publishing wizard + to upload your photos to your gallery.</p> +<p>Once you have properly installed the script on your server, call the xp_publish.php + file from your web browser (<a href="javascript: ;">http://your_site.com/coppermine_dir/xp_publish.php</a>).</p> +<p>The script displays some information on how to do the installation on the client + side and how to use the Wizard. Basically you will need to download a small + file created by the script that needs to be loaded into your Windows registry.</p> +<h2>Creating your own themes</h2> +<p>Coppermine themes are stored in the "<b>themes</b>" directory, they + consist of 3 files : </p> +<ul> + <li>"<b>template.html</b>" the main template in plain HTML.</li> + <li>"<b>style.css</b>" the stylesheet associated with the template</li> + <li>"<b>theme.php</b>" the PHP theme file</li> +</ul> +<p>To create a new template the best solution is to use an existing one as a basis. + Do do that make copy of the folder of the theme you want to use as a basis then + edit the "<b>template.html</b>" and "<b>template.php</b>" + files and replace all occurences of "<b>themes/old_theme_dir</b>" + with "<b>themes/new_theme_dir</b>" in order for the links to point + to the correct place.</p> +<p>When editing the "<b>template.html</b>" file do not remove the elements + between <b>{}</b> these are the placeholders used by the script. Also keep in + mind that despite this file being located in the "<b>themes/your_theme_dir</b>" + directory, it must be build like if it was in the main directory of the script. + Practically to load an image, you must use <i><img src="themes/theme_dir/images/image.gif" + alt=""/></i> and not <i><img src="images/image.gif" + alt=""/>.</i> The same apply for the "<b>theme.php</b>" + file.</p> +<p>If you are using an HTML editor to make your template, the best solution is + that you copy the "<b>template.html</b>" file into the main directory + of the script and edit it there. If the script find a file named "<b>template.html</b>" + in the main directory it will load it instead of the one of the theme directory. + Once you have finished your editings, move the file back to the directory of + your theme.</p> +<p>To modify the colors, fonts, font sizes, etc... used by the script, edit the + "<b>style.css</b>" stylesheet. If you want to increase or decrease + the size of the fonts you can simply modify the line with : <i>table { font-size: + 12px; }</i>. Most of the font sizes used by the script are defined as a percentage + of this size.</p> +<p>The "<b>theme.php</b>" file contains all the HTML templates used + by the script. You can also edit them. When making modifications to these templates, + don't touch the lines with <i><!-- BEGIN xxx --></i> and <i><!-- END + xxx --></i>.</p> +<h2>Safe mode issues</h2> +<p>A significant number of webhost on the Internet run PHP in safe mode. Coppermine + runs without any problem in safe mode and with the "open basedir restriction" + active, provided safe mode is properly configured. Unfortunately on many hosts, + safe mode is not configured properly.</p> +<p>If your webhost is running PHP in safe mode but is misconfigured, you may need + to do the following :</p> +<ul> + <li>With an FTP program, change the mode of Coppermine's "<b>include</b>" + directory on your server to <b>0777</b>.</li> + <li>Do the same for the "<b>userpics</b>" directory.</li> + <li>Check that at the beginning the the "<b>include/config.inc.php</b>" + file, you have a line with : "<b>define('SILLY_SAFE_MODE', 1);</b>"</li> +</ul> +<h2>Using SMTP to send emails</h2> +<p>By default the script uses the PHP built-in <b>mail</b> function to send emails. + In some cases, the PHP built-in function can't be used.</p> +<p> If in order to send emails with PHP you need to supply a <b>hostname</b>, + a <b>username</b> and a <b>password</b>, you need to edit the file "<b>include/mailer.inc.php</b>" + and put the correct values there (<i>$CONFIG['smtp_host'] = 'smtp.somewhere.com'; + $CONFIG['smtp_username'] = 'username'; $CONFIG['smtp_password'] = 'password';</i>). + If you don't need a username and password to connect to your SMTP server, just + leave them blank.</p> +<p></p> +<h2>Upgrading from version 1.0</h2> +<p>If you already have installed version 1.0 and you want to transfer your albums + to version 1.1 proceed in the following way:</p> +<ul> + <li> Install version 1.1 normally in a directory different from the one where + you installed v 1.0. Note that in order to use the upgrade script, <b>tables + for version 1.0 and 1.1 must be stored in the same database</b>.</li> + <li>Copy the "<b>albums</b>" directory of version 1.0 into the directory + where you installed version 1.1</li> + <li>Get the upgrade script that you can download <a href="http://chez.greg.free.fr/downloads/upgrade-1.0-to-1.1.zip">here</a>.</li> + <li>Unpack and upload the file to your server in the directory where you installed + version 1.1</li> + <li>The upgrade script assumes that you used the "<b>CPG_</b>" prefix + for tables (default value) when you installed version 1.0, if this is not + the case, edit the PHP file and put the correct value inside.</li> + <li>Login, enter the admin mode</li> + <li>Call the upgrade script http://yousitename/coppermine_dir/upgrade-1.0-to-1.1.php</li> + <li>If you don't get any error you're done. <b>Delete the file from your server</b>. + If you get an error, go to Coppermine 1.1 config page, enable debug mode, + try to call the upgrade script again and check what errors you get.</li> +</ul> +<p> <b>This upgrade process leave your v1.0 gallery untouched </b></p> +<h2>Upgrading from a previous Beta of version 1.1</h2> +<p>Unpack the archive, delete the file <b>config.inc.php</b> that may possibly + exist in the <b>"include"</b> directory and the file <b>install.php</b> + (you don't need to run the install script when doing an upgrade). Upload the + new files to your server overwriting the existing ones</p> +<h2>Translating Coppermine into other languages</h2> +<p>Coppermine has now a separate language file that make the translation of the + script much more easy. The language files are stored in the <b>lang </b>directory. + The files with the <b>utf-8</b> suffix are unicode encoded files. They are automatically + generated with the <b>iconv</b> program so there is no need for you to make + an unicode version of your translation.</p> +<p>If you select an utf-8 language file as the default one, then the script will + be able to automatically select a language file based on the visitor browser + configuration. For instance if the default language file is danish-utf-8 and + an english visitor access your gallery, the english-utf-8 language file will + be used by the script.</p> +<p> If you have translated Coppermine into your own language, you can mail your + language file to <a href="mailto:cop...@ch...">cop...@ch...</a>.</p> +<p></p> +<h2>Credits</h2> +<h3>Language file translation :</h3> +<p><b>Note</b> : if you have corrections to suggest on language files, mail them + directly to the author of the translation.</p> +<p> </p> +<table border="0" cellspacing="3" cellpadding="3"> + <tr> + <td>Chinese (Big5)</td> + <td><a href="mailto:a05...@ms...">MyScripts & Math</a></td> + <td><a href="http://www.winpon.tw300.com/">http://www.winpon.tw300.com/</a></td> + </tr> + <tr> + <td>Danish</td> + <td><a href="mailto:lau...@to...">Jan Ole Laugesen</a></td> + <td><a href="http://www.tommerup.net/">http://www.tommerup.net/</a></td> + </tr> + <tr> + <td>Dutch</td> + <td><a href="mailto:ro...@ro...">Ron Bos</a></td> + <td><a href="http://www.ronbos.nl/">http://www.ronbos.nl/</a></td> + </tr> + <tr> + <td>Finnish</td> + <td><a href="mailto:vil...@mi...">Ville Taavila</a></td> + <td> </td> + </tr> + <tr> + <td>French</td> + <td><a href="mailto:nat...@ho...">Niko</a></td> + <td><a href="http://www.chien.com/mustang/">http://www.chien.com/mustang/</a></td> + </tr> + <tr> + <td>German</td> + <td><a href="mailto:ma...@ga...">GauGau</a></td> + <td><a href="http://www.gaugau.de/">http://www.gaugau.de/</a></td> + </tr> + <tr> + <td>Greek</td> + <td><a href="mailto:ly...@ly...">Lykourgos</a><br /></td> + <td><a href="http://www.lykman.com/">http://www.lykman.com/</a></td> + </tr> + <tr> + <td>Spanish</td> + <td><a href="mailto:dvi...@po...">Daniel Villoldo</a></td> + <td><a href="http://www.proel334.net/album/">http://www.proel334.net/album/</a></td> + </tr> +</table> +<h3>Coppermine uses code from the following free softwares :</h3> +<p><b>phpBB</b><br /> + Author: phpBBGroup <br /> + URL: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a><br /> +</p> +<p><b>phpMyAdmin</b><br /> + Author: phpMyAdmin devel team<br /> + URL: <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a><br /> +</p> +<p><b>phpPhotoAlbum</b><br /> + Author: Henning Støverud<br /> + E-mail: <a href="mailto:%20h...@st...">he...@st...</a><br /> + URL: <a href="http://www.stoverud.com/PHPhotoalbum/">http://www.stoverud.com/PHPhotoalbum/</a><br /> +</p> +<h2>Copyright and disclaimer</h2> +<p>This application is opensource software released under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. +</p> +<p>BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY<br /> + FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN<br /> + OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES<br /> + PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED<br /> + OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF<br /> + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS<br /> + TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE<br /> + PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,<br /> + REPAIR OR CORRECTION. </p> +<p>Coppermine Photo Gallery is Copyright © 2002, 2003 <a href="http://www.chezgreg.net/coppermine/">Grégory + DEMAR</a>, All Rights Reserved.<br /> +</p> +</body> +</html> Added: XoopsModules/xcgal/trunk/xcgal/UPGRADE.txt =================================================================== --- XoopsModules/xcgal/trunk/xcgal/UPGRADE.txt (rev 0) +++ XoopsModules/xcgal/trunk/xcgal/UPGRADE.txt 2012-08-03 23:06:45 UTC (rev 9981) @@ -0,0 +1,15 @@ +############################################################################### +# UPGRADE INSTRUCTIONS # +############################################################################### + +For upgrading from V1.1RC1 simply overwrite the existing files with these +files. Then go to modules administration and update the modul. +You will enjoy it! + + + +Please report bugs on: +http://dev.xoops.org/modules/xfmod/tracker/?group_id=1264 + + +############################################################################### \ No newline at end of file Added: XoopsModules/xcgal/trunk/xcgal/addpic.php =================================================================== --- XoopsModules/xcgal/trunk/xcgal/addpic.php (rev 0) +++ XoopsModules/xcgal/trunk/xcgal/addpic.php 2012-08-03 23:06:45 UTC (rev 9981) @@ -0,0 +1,64 @@ +<?php +// $Id: addpic.php,v 1.3 2006/04/05 13:53:31 mcleines Exp $ +// ------------------------------------------------------------------------ // +// xcGal 2.0 - XOOPS Gallery Modul // +// ------------------------------------------------------------------------ // +// Based on xcGallery 1.1 RC1 - XOOPS Gallery Modul // +// Copyright (c) 2003 Derya Kiran // +// ------------------------------------------------------------------------ // +// Based on Coppermine Photo Gallery 1.10 http://coppermine.sourceforge.net/// +// developed by Grgory DEMAR // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +include "../../mainfile.php"; +define('IN_XCGALLERY', true); + +require('include/init.inc.php'); +require('include/picmgmt.inc.php'); + +//if (!GALLERY_ADMIN_MODE) +if(!is_object($xoopsUser) || !($xoopsUser->isAdmin($xoopsModule->mid()))) redirect_header(XOOPS_URL."/", 3, _NOPERM); + +$aid = (int)$_GET['aid']; +$pic_file = base64_decode($_GET['pic_file']); +$dir_name = dirname($pic_file)."/"; +$file_name = basename($pic_file); +$file_title = substr($file_name, 0, (strlen($file_name) -4)); + +$sql = "SELECT pid ". + "FROM ".$xoopsDB->prefix("xcgal_pictures")." ". + "WHERE filepath='".addslashes($dir_name)."' AND filename='".addslashes($file_name)."' ". + "LIMIT 1"; +$result = $xoopsDB->query($sql); + +if ($xoopsDB->getRowsNum($result)) { + $file_name = "images/up_dup.gif"; +} elseif (add_picture($aid, $dir_name, $file_name, $file_title)){ + $file_name = "images/up_ok.gif"; +} else { + $file_name = "images/up_pb.gif"; + echo $ERROR; +} + +header('Content-type: image/gif'); +echo fread(fopen($file_name, 'rb'), filesize($file_name)); +ob_end_flush() +?> Added: XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php =================================================================== --- XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php (rev 0) +++ XoopsModules/xcgal/trunk/xcgal/admin/catmgr.php 2012-08-03 23:06:45 UTC (rev 9981) @@ -0,0 +1,329 @@ +<?php +// $Id: catmgr.php,v 1.5 2006/10/02 12:07:08 mcleines Exp $ +// ------------------------------------------------------------------------ // +// xcGal 2.0 - XOOPS Gallery Modul // +// ------------------------------------------------------------------------ // +// Based on xcGallery 1.1 RC1 - XOOPS Gallery Modul // +// Copyright (c) 2003 Derya Kiran // +// ------------------------------------------------------------------------ // +// Based on Coppermine Photo Gallery 1.10 http://coppermine.sourceforge.net/// +// developed by Grgory DEMAR // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +define('IN_XCGALLERY', true); +include "header.php"; +$myts =& MyTextSanitizer::getInstance(); // MyTextSanitizer object +// Fix categories that have an invalid parent +function fix_cat_table() +{ + global $xoopsDB; + + $result = $xoopsDB->query("SELECT cid FROM ".$xoopsDB->prefix("xcgal_categories")." WHERE 1"); + if ($xoopsDB->getRowsNum($result) > 0){ + $set = ''; + while($row = $xoopsDB->fetchArray($result)) $set .= $row['cid'] . ','; + $set = '('.substr($set, 0, -1).')'; + $sql = "UPDATE ".$xoopsDB->prefix("xcgal_categories")." ". + "SET parent = '0' ". + "WHERE parent=cid OR parent NOT IN $set"; + $result = $xoopsDB->queryf($sql); + } +} + +function get_subcat_data($parent, $ident='') +{ + global $CAT_LIST, $xoopsDB, $myts; + + $sql = "SELECT cid, name, description ". + "FROM ".$xoopsDB->prefix("xcgal_categories")." ". + "WHERE parent = '$parent' ". + "ORDER BY pos"; + $result = $xoopsDB->query($sql); + + if (($cat_count = $xoopsDB->getRowsNum($result)) > 0){ + $rowset = db_fetch_rowset($result); + $pos=0; + foreach ($rowset as $subcat){ + if($pos>0){ + $CAT_LIST[]=array( + 'cid' => $subcat['cid'], + 'parent' => $parent, + 'pos' => $pos++, + 'prev' => $prev_cid, + 'cat_count' => $cat_count, + 'name' => $ident.$myts->makeTboxData4Show($subcat['name'])); + $CAT_LIST[$last_index]['next'] = $subcat['cid']; + } else { + $CAT_LIST[]=array( + 'cid' => $subcat['cid'], + 'parent' => $parent, + 'pos' => $pos++, + 'cat_count' => $cat_count, + 'name' => $ident.$myts->makeTboxData4Show($subcat['name'])); + } + $prev_cid = $subcat['cid']; + $last_index = count($CAT_LIST) -1; + get_subcat_data($subcat['cid'], $ident.' '); + } + } +} + +function update_cat_order() +{ + global $CAT_LIST, $xoopsDB; + + foreach ($CAT_LIST as $category) + $xoopsDB->queryf("UPDATE ".$xoopsDB->prefix("xcgal_categories")." SET pos='{$category['pos']}' WHERE cid = '{$category['cid']}' LIMIT 1"); +} + +function cat_list_box($highlight=0, $curr_cat, $on_change_refresh = true) +{ + global $CAT_LIST, $PHP_SELF, $myts; + + if($on_change_refresh){ + $lb = <<< EOT + <select onChange="if(this.options[this.selectedIndex].value) window.location.href='$PHP_SELF?op=setparent&cid=$curr_cat&parent='+this.options[this.selectedIndex].value;" name="parent" class="listbox"> + +EOT; + } else { + $lb = <<< EOT + <select name="parent" class="listbox"> + +EOT; + } + $lb .= ' <option value="0"'.($highlight == 0 ? ' selected="selected"': '').">"._AM_CAT_NOCAT."</option>\n"; + foreach($CAT_LIST as $category) if ($category['cid'] != 1 && $category['cid'] != $curr_cat) { + $lb .= ' <option value="'.$category['cid'].'"'.($highlight == $category['cid'] ? ' selected="selected"': '').">".$category['name']."</option>\n"; + } elseif ($category['cid'] != 1 && $category['cid'] == $curr_cat){ + $lb .= ' <option value="'.$category['parent'].'"'.($highlight == $category['cid'] ? ' selected="selected"': '').">".$category['name']."</option>\n"; + } + + $lb .= <<<EOT + </select> + +EOT; + + return $lb; +} + +function display_cat_list() +{ + global $CAT_LIST, $PHP_SELF, $myts; + + $CAT_LIST3 = $CAT_LIST; + + foreach ($CAT_LIST3 as $key => $category){ + echo " <tr>\n"; + echo ' <td class="even" width="80%"><b>'.$category['name'].'</b></td>'."\n"; + + if ($category['pos']>0) { + echo ' <td class="odd" width="4%"><a href="'.$PHP_SELF.'?op=move&cid1='.$category['cid'].'&pos1='.($category['pos']-1).'&cid2='.$category['prev'].'&pos2='.($category['pos']).'">'.'<img src="../images/up.gif" border="0">'.'</a></td>'."\n"; + } else { + echo ' <td class="odd" width="4%">'.' '.'</td>'."\n"; + } + + if ($category['pos'] < $category['cat_count']-1) { + echo ' <td class="odd" width="4%"><a href="'.$PHP_SELF.'?op=move&cid1='.$category['cid'].'&pos1='.($category['pos']+1).'&cid2='.$category['next'].'&pos2='.($category['pos']).'">'.'<img src="../images/down.gif" border="0">'.'</a></td>'."\n"; + } else { + echo ' <td class="odd" width="4%">'.' '.'</td>'."\n"; + } + + if ($category['cid'] != 1) { + echo ' <td class="odd" width="4%"><a href="'.$PHP_SELF.'?op=deletecat&cid='.$category['cid'].'" onClick="return confirmDel(\''.str_replace(' ','', $myts->makeTboxData4Show($category['name'])).'\')">'.'<img src="../images/delete.gif" border="0">'.'</a></td>'."\n"; + } else { + echo ' <td class="odd" width="4%">'.' '.'</td>'."\n"; + } + + echo ' <td class="odd" width="4%">'.'<a href="'.$PHP_SELF.'?op=editcat&cid='.$category['cid'].'">'.'<img src="../images/edit.gif" border="0">'.'</a></td>'."\n"; + echo ' <td class="odd" width="4%">'."\n".cat_list_box($category['parent'], $category['cid'])."\n".'</td>'."\n"; + echo " </tr>\n"; + } +} + +$op = isset($_GET['op']) ? $_GET['op'] : ''; +$current_category = array('cid' => '0', 'name'=>'', 'parent' => '0', 'description'=>''); + +switch($op){ + case 'move': + if (!isset($_GET['cid1']) || !isset($_GET['cid2']) || !isset($_GET['pos1']) || !isset($_GET['pos2'])) redirect_header('index.php',2,sprintf(_AM_CAT_MISS_PARAM, 'move')); + + $cid1 = (int)$_GET['cid1']; + $cid2 = (int)$_GET['cid2']; + $pos1 = (int)$_GET['pos1']; + $pos2 = (int)$_GET['pos2']; + + $xoopsDB->queryf("UPDATE ".$xoopsDB->prefix("xcgal_categories")." SET pos='$pos1' WHERE cid = '$cid1' LIMIT 1"); + $xoopsDB->queryf("UPDATE ".$xoopsDB->prefix("xcgal_categories")." SET pos='$pos2' WHERE cid = '$cid2' LIMIT 1"); + break; + + case 'setparent': + if (!isset($_GET['cid']) || !isset($_GET['parent'])) redirect_header('index.php',2,sprintf(_AM_CAT_MISS_PARAM, 'setparent')); + + $cid = (int)$_GET['cid']; + $parent = (int)$_GET['parent']; + + $xoopsDB->queryf("UPDATE ".$xoopsDB->prefix("xcgal_categories")." SET parent='$parent', pos='-1' WHERE cid = '$cid' LIMIT 1"); + break; + + case 'editcat': + if (!isset($_GET['cid'])) redirect_header('index.php',2,sprintf(_AM_CAT_MISS_PARAM, 'editcat')); + + $cid = (int)$_GET['cid']; + $result = $xoopsDB->query("SELECT cid, name, parent, description FROM ".$xoopsDB->prefix("xcgal_categories")." WHERE cid = '$cid' LIMIT 1"); + + if(!$xoopsDB->getRowsNum($result)) redirect_header('index.php',2,_AM_CAT_UNKOWN); + $current_category = $xoopsDB->fetchArray($result); + break; + + case 'updatecat': + if (!isset($_POST['cid']) || !isset($_POST['parent']) || !isset($_POST['name']) || !isset($_POST['description'])) redirect_header('index.php',2,_AM_CAT_MISS_PARAM, 'updatecat'); + + $cid = (int)$_POST['cid']; + $parent = (int)$_POST['parent']; + $name = trim($_POST['name']) ? $myts->makeTboxData4Save($_POST['name']) : '<???>'; + $description = $myts->makeTareaData4Save($_POST['description']); + + $xoopsDB->queryf("UPDATE ".$xoopsDB->prefix("xcgal_categories")." SET parent='$parent', name='$name', description='$description' WHERE cid = '$cid' LIMIT 1"); + break; + + case 'createcat': + if (!isset($_POST['parent']) || !isset($_POST['name']) || !isset($_POST['description'])) redirect_header('index.php',2,_AM_CAT_MISS_PARAM, 'createcat'); + + $parent = (int)$_POST['parent']; + $name = trim($_POST['name']) ? $myts->makeTboxData4Save($_POST['name']) : '<???>'; + $description = $myts->makeTareaData4Save($_POST['description']); + + $xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("xcgal_categories")." (pos, parent, name, description) VALUES ('10000', '$parent', '$name', '$description')"); + break; + + case 'deletecat': + if (!isset($_GET['cid'])) redirect_header('index.php',2,sprintf(_AM_CAT_MISS_PARAM, 'deletecat')); + + $cid = (int)$_GET['cid']; + + $result = $xoopsDB->query("SELECT parent FROM ".$xoopsDB->prefix("xcgal_categories")." WHERE cid = '$cid' LIMIT 1"); + if($cid == 1) redirect_header('index.php',2,_AM_CAT_UGAL_CAT_RO); + if(!$xoopsDB->getRowsNum($result)) redirect_header('index.php',2, _AM_CAT_UNKOWN); + $del_category = $xoopsDB->fetchArray($result); + $parent = $del_category['parent']; + $result = $xoopsDB->queryf("UPDATE ".$xoopsDB->prefix("xcgal_categories")." SET parent='$parent' WHERE parent = '$cid'"); + $result = $xoopsDB->queryf("UPDATE ".$xoopsDB->prefix("xcgal_albums")." SET category='$parent' WHERE category = '$cid'"); + $result = $xoopsDB->queryf("DELETE FROM ".$xoopsDB->prefix("xcgal_categories")." WHERE cid='$cid' LIMIT 1"); + break; +} + +fix_cat_table(); +get_subcat_data(0); +update_cat_order(); +xoops_cp_header(); + +echo "<table><tr><td width='100px'><b><a href='index.php'>INDEX</a></b></td> +<td align='center'> +<b><a href='catmgr.php'>"._AM_CATMNGR."</a></b> :: +<b><a href='usermgr.php'>"._AM_USERMNGR."</a></b> :: +<b><a href='groupmgr.php'>"._AM_GROUPMNGR."</a></b><br /> +<b><a href='searchnew.php'>"._AM_BATCHADD."</a></b> :: +<b><a href='ecardmgr.php'>"._AM_ECARDMNGR."</a></b> :: +<b><a href='../editpics.php?mode=upload_approval'>"._AM_PICAPP."</a></b> +</td></tr> </table> +<br /><hr />"; + +echo " + +<script language=\"javascript\"> +function confirmDel(catName) +{ + return confirm(\""._AM_CAT_CONF_DEL." (\" + catName + \") ?\"); +} +</script>"; + + +//start... [truncated message content] |
From: <be...@us...> - 2012-08-02 22:44:11
|
Revision: 9980 http://xoops.svn.sourceforge.net/xoops/?rev=9980&view=rev Author: beckmi Date: 2012-08-02 22:44:05 +0000 (Thu, 02 Aug 2012) Log Message: ----------- Updating Help file Modified Paths: -------------- XoopsModules/wfdownloads/trunk/wfdownloads/language/english/help/help.html Modified: XoopsModules/wfdownloads/trunk/wfdownloads/language/english/help/help.html =================================================================== --- XoopsModules/wfdownloads/trunk/wfdownloads/language/english/help/help.html 2012-08-02 22:32:08 UTC (rev 9979) +++ XoopsModules/wfdownloads/trunk/wfdownloads/language/english/help/help.html 2012-08-02 22:44:05 UTC (rev 9980) @@ -1,20 +1,20 @@ <div id="help-template" class="outer"> <h1 class="head">Help: - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/oledrion/admin/index.php" - title="Back to the administration of Oledrion"> Oledrion + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/wfdownloads/admin/index.php" + title="Back to the administration of WF-Downloads"> WF-Downloads <img src="<{xoAdminIcons home.png}>" - alt="Back to the Administration of Oledrion"/> + alt="Back to the Administration of WF-Downloads"/> </a></h1> <h4 class="odd">Description</h4> - <p class="even">This module is an e-Commerce module for XOOPS.<br /> <br /> + <p class="even">WF-Downloads is a download module for XOOPS. You can create a download section with multiple categories and sub-categories. You decide which groups are allowed to upload which type of files separately. <br /> <br /> </p> <h4 class="odd">Install/uninstall</h4> <p class="even">No special measures necessary, follow the standard installation process – - extract the /birthday folder into the ../modules directory. Install the + extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.<br /> <br /> Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i">XOOPS Operations Manual</a> </p> @@ -28,6 +28,6 @@ <h4 class="odd">Tutorial</h4> - <p class="even">There is no tutorial available at the moment.</p> + <p class="even">You can see more info <a href="<{$xoops_url}>/modules/wfdownloads/docs/english/readme.html" title="WF-Downloads Detailed Help" alt="WF-Downloads Detailed Help"/> here</a>.</p> </div> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |