You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(361) |
Oct
(65) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(798) |
Feb
(694) |
Mar
(586) |
Apr
(145) |
May
(24) |
Jun
(24) |
Jul
(56) |
Aug
(11) |
Sep
(138) |
Oct
(107) |
Nov
(58) |
Dec
(39) |
| 2004 |
Jan
(157) |
Feb
(24) |
Mar
(13) |
Apr
(14) |
May
(73) |
Jun
(106) |
Jul
(217) |
Aug
(91) |
Sep
(116) |
Oct
(357) |
Nov
(27) |
Dec
(272) |
| 2005 |
Jan
(97) |
Feb
(40) |
Mar
(167) |
Apr
(365) |
May
(344) |
Jun
(357) |
Jul
(407) |
Aug
(529) |
Sep
(204) |
Oct
(52) |
Nov
(80) |
Dec
(1) |
| 2006 |
Jan
(2) |
Feb
(1) |
Mar
(11) |
Apr
(112) |
May
(121) |
Jun
(86) |
Jul
(51) |
Aug
(48) |
Sep
(107) |
Oct
(20) |
Nov
(50) |
Dec
(11) |
| 2007 |
Jan
(7) |
Feb
(11) |
Mar
(8) |
Apr
(11) |
May
(2) |
Jun
(25) |
Jul
(67) |
Aug
(134) |
Sep
(54) |
Oct
(69) |
Nov
(10) |
Dec
(74) |
| 2008 |
Jan
(73) |
Feb
(81) |
Mar
(64) |
Apr
(98) |
May
(157) |
Jun
(68) |
Jul
(80) |
Aug
(108) |
Sep
(176) |
Oct
(107) |
Nov
(265) |
Dec
(60) |
| 2009 |
Jan
(149) |
Feb
(140) |
Mar
(195) |
Apr
(141) |
May
(53) |
Jun
(45) |
Jul
(98) |
Aug
(153) |
Sep
(160) |
Oct
(138) |
Nov
(139) |
Dec
(104) |
| 2010 |
Jan
(188) |
Feb
(259) |
Mar
(133) |
Apr
(104) |
May
(42) |
Jun
(121) |
Jul
(38) |
Aug
(223) |
Sep
(259) |
Oct
(255) |
Nov
(106) |
Dec
(157) |
| 2011 |
Jan
(202) |
Feb
(110) |
Mar
(261) |
Apr
(272) |
May
(218) |
Jun
(108) |
Jul
(141) |
Aug
(205) |
Sep
(326) |
Oct
(279) |
Nov
(368) |
Dec
(238) |
| 2012 |
Jan
(239) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
(1) |
Feb
(3) |
Mar
(9) |
Apr
(10) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(9) |
2
|
3
(2) |
4
(5) |
5
(2) |
6
(8) |
|
7
(7) |
8
(3) |
9
|
10
|
11
|
12
(1) |
13
|
|
14
(4) |
15
(1) |
16
(5) |
17
|
18
(4) |
19
|
20
|
|
21
|
22
|
23
|
24
|
25
(8) |
26
|
27
|
|
28
|
29
|
30
(1) |
31
|
|
|
|
|
From: <and...@us...> - 2008-12-25 12:37:07
|
Revision: 2611
http://xoops.svn.sourceforge.net/xoops/?rev=2611&view=rev
Author: anderssk
Date: 2008-12-25 12:36:56 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
Change from language to full module
Removed Paths:
-------------
XoopsLanguages/danish/modules/contact/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2008-12-25 12:34:37
|
Revision: 2610
http://xoops.svn.sourceforge.net/xoops/?rev=2610&view=rev
Author: anderssk
Date: 2008-12-25 12:34:33 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
wrong upload
Removed Paths:
-------------
XoopsLanguages/danish/templates/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2008-12-25 12:33:34
|
Revision: 2609
http://xoops.svn.sourceforge.net/xoops/?rev=2609&view=rev
Author: anderssk
Date: 2008-12-25 12:33:29 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
wrong upload
Removed Paths:
-------------
XoopsLanguages/danish/language/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2008-12-25 12:32:41
|
Revision: 2608
http://xoops.svn.sourceforge.net/xoops/?rev=2608&view=rev
Author: anderssk
Date: 2008-12-25 12:32:30 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
wrong upload
Removed Paths:
-------------
XoopsLanguages/danish/images/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2008-12-25 12:31:39
|
Revision: 2607
http://xoops.svn.sourceforge.net/xoops/?rev=2607&view=rev
Author: anderssk
Date: 2008-12-25 12:31:33 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
wrong upload
Removed Paths:
-------------
XoopsLanguages/danish/class/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2008-12-25 12:28:11
|
Revision: 2606
http://xoops.svn.sourceforge.net/xoops/?rev=2606&view=rev
Author: anderssk
Date: 2008-12-25 12:28:06 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
Added Paths:
-----------
XoopsLanguages/danish/class/
XoopsLanguages/danish/class/contactclass.php
XoopsLanguages/danish/getgfx.php
XoopsLanguages/danish/header.php
XoopsLanguages/danish/images/
XoopsLanguages/danish/images/code_bg.jpg
XoopsLanguages/danish/images/contact_slogo.png
XoopsLanguages/danish/images/no-spam.jpg
XoopsLanguages/danish/index.php
XoopsLanguages/danish/language/
XoopsLanguages/danish/language/danish/
XoopsLanguages/danish/language/danish/index.html
XoopsLanguages/danish/language/danish/main.php
XoopsLanguages/danish/language/danish/modinfo.php
XoopsLanguages/danish/language/english/
XoopsLanguages/danish/language/english/index.html
XoopsLanguages/danish/language/english/main.php
XoopsLanguages/danish/language/english/modinfo.php
XoopsLanguages/danish/language/german/
XoopsLanguages/danish/language/german/index.html
XoopsLanguages/danish/language/german/main.php
XoopsLanguages/danish/language/german/modinfo.php
XoopsLanguages/danish/language/index.html
XoopsLanguages/danish/readme.html
XoopsLanguages/danish/templates/
XoopsLanguages/danish/templates/contact_contactusform.html
XoopsLanguages/danish/templates/index.html
XoopsLanguages/danish/xoops_version.php
Added: XoopsLanguages/danish/class/contactclass.php
===================================================================
--- XoopsLanguages/danish/class/contactclass.php (rev 0)
+++ XoopsLanguages/danish/class/contactclass.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,405 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------- //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+include_once "header.php";
+
+// defines are used to set the errorLevel
+define("_CT_ERROR_NONE", 0 ); // 00000000
+define("_CT_ERROR_BADSECVAL", 1 ); // 00000001
+define("_CT_ERROR_BADEMAIL", 2 ); // 00000010
+
+class ContactClass
+{
+ var $config_handler;
+ var $xoopsUser;
+ var $xoopsConfig;
+ var $xoopsContactConfig;
+ var $username;
+ var $useremail;
+ var $userURL;
+ var $userICQ;
+ var $userAddress;
+ var $userCompany;
+ var $userLocation;
+ var $userSendConfirm;
+ var $userComments;
+ var $departments; // this is an array!!!!
+ var $selectedDept; // a single department name
+ var $errorLevel; // this is set if there is a problem with the contact us page, used for redisplay info
+ var $deepchecktld;
+ var $userMoreInfo; // this is an array!!!
+ var $moreInfo; // this is an array!!!
+
+ function ContactClass( $config_handler, $xoopsUser, $xoopsConfig )
+ {
+ $this->xoopsUser = $xoopsUser;
+ $this->xoopsConfig = $xoopsConfig;
+
+ $this->config_handler = $config_handler;
+
+ $module_handler =& xoops_gethandler('module');
+ $xoopsContactModule =& $module_handler->getByDirname('contact');
+ $this->xoopsContactConfig =& $this->config_handler->getConfigsByCat(0, $xoopsContactModule->getVar('mid'));
+
+ $this->username = !empty($xoopsUser) ? $xoopsUser->getVar("uname", "E") : "";
+ $this->useremail = !empty($xoopsUser) ? $xoopsUser->getVar("email", "E") : "";
+ $this->userURL = !empty($xoopsUser) ? $xoopsUser->getVar("url", "E") : "";
+ $this->userICQ = !empty($xoopsUser) ? $xoopsUser->getVar("user_icq", "E") : "";
+ $this->userLocation = !empty($xoopsUser) ? $xoopsUser->getVar("user_from", "E") : "";
+
+ $this->departments = $this->xoopsContactConfig['contact_dept'];
+ if ( ( !is_array( $this->departments ) || count( $this->departments ) == 0 ) || // there is no data, or contact_showdept
+ $this->xoopsContactConfig['contact_showdept'] == '0') // is turned off...set departments to default
+ {
+ $this->departments = array(0 => $this->xoopsConfig['sitename'].",".$this->xoopsConfig['adminmail'] );
+ }
+
+ $this->selectedDept = $xoopsConfig['sitename'];
+ $this->userAddress = "";
+ $this->userCompany = "";
+ $this->userSendConfirm = '0'; // uncheck box to begin with
+ $this->userComments = "";
+ $this->errorLevel = _CT_ERROR_NONE; // no errors to begin with!!!
+ $this->deepchecktld = $this->xoopsContactConfig['contact_validatedomain'];
+ $this->userMoreInfo = array();
+ $this->moreInfo = $this->xoopsContactConfig['contact_moreinfo'];
+ }
+
+ function getContactHead()
+ {
+ return $this->xoopsContactConfig['contact_head'];
+ }
+
+ function getContactIntro()
+ {
+ return $this->xoopsContactConfig['contact_intro'];
+ }
+
+ function getContactIntroHead()
+ {
+ return $this->xoopsContactConfig['contact_intro_head'];
+ }
+
+ function getContactThankYou()
+ {
+ return $this->xoopsContactConfig['contact_thankyou'];
+ }
+
+ function getRedirectTimeout()
+ {
+ return intval( $this->xoopsContactConfig['contact_redirecttimeout'] );
+ }
+
+ function getUserName()
+ {
+ return $this->username;
+ }
+
+ function setUserName( $name )
+ {
+ $this->username = $name;
+ }
+
+ function getUserEmail()
+ {
+ return $this->useremail;
+ }
+
+ function setUserEmail( $email )
+ {
+ $this->useremail = $email;
+ }
+
+ function isValidEmail()
+ {
+ $retval = false;
+ // this validates the structure of the email
+ if ( eregi("^[a-zA-Z0-9_\.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$", $this->useremail ) )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getEmailtld()
+ {
+ $retval = "";
+ if ( eregi("^[a-zA-Z0-9_\.]+@([a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+)$", $this->useremail, $regs ) )
+ {
+ $retval = $regs[1];
+ }
+
+ return $retval;
+ }
+
+ function collectAddress()
+ {
+ $retval = false;
+ if ( $this->xoopsContactConfig['contact_address'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getAddress()
+ {
+ return $this->userAddress;
+ }
+
+ function setAddress( $addr )
+ {
+ $this->userAddress = $addr;
+ }
+
+ function collectURL()
+ {
+ $retval = false;
+ if( $this->xoopsContactConfig['contact_url'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getURL()
+ {
+ return $this->userURL;
+ }
+
+ function setURL( $url )
+ {
+ $this->userURL = $url;
+ }
+
+ function collectICQ()
+ {
+ $retval = false;
+ if( $this->xoopsContactConfig['contact_icq'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getICQ()
+ {
+ return $this->userICQ;
+ }
+
+ function setICQ( $icq )
+ {
+ $this->userICQ = $icq;
+ }
+
+ function collectCompany()
+ {
+ $retval = false;
+ if( $this->xoopsContactConfig['contact_company'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getCompany()
+ {
+ return $this->userCompany;
+ }
+
+ function setCompany( $comp )
+ {
+ $this->userCompany = $comp;
+ }
+
+ function collectLocation()
+ {
+ $retval = false;
+ if( $this->xoopsContactConfig['contact_loc'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getLocation()
+ {
+ return $this->userLocation;
+ }
+
+ function setLocation( $loc )
+ {
+ $this->userLocation = $loc;
+ }
+
+ function sendConfirm()
+ {
+ $retval = false;
+ if( $this->xoopsContactConfig['contact_allowsendconfirm'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function setSendConfirm( $set )
+ {
+ $this->userSendConfirm = $set;
+ }
+
+ function getSendConfirm()
+ {
+ return $this->userSendConfirm;
+ }
+
+ function getUserComments()
+ {
+ return $this->userComments;
+ }
+
+ function setUserComments( $comm )
+ {
+ $this->userComments = $comm;
+ }
+
+ function collectSecurity()
+ {
+ $retval = false;
+ if( $this->xoopsContactConfig['contact_security'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getSiteKey()
+ {
+ return $this->xoopsContactConfig['contact_sitekey'];
+ }
+
+ function showDepartment()
+ {
+ $retval = false;
+ if ( $this->xoopsContactConfig['contact_showdept'] == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getDepartmentTitle()
+ {
+ return $this->xoopsContactConfig['contact_depttitle'];
+ }
+
+ function getDepartments()
+ {
+ return $this->departments;
+ }
+
+ function setSelectedDepartment( $dept )
+ {
+ $this->selectedDept = $dept;
+ }
+
+ function getSelectedDepartment()
+ {
+ return $this->selectedDept;
+ }
+
+ // set errorLevel by defines at top of file
+ function setErrorLevel( $err )
+ {
+ $this->errorLevel = $err;
+ }
+
+ function getErrorLevel()
+ {
+ // force to intval
+ return intval( $this->errorLevel );
+ }
+
+ function isDeepCheck()
+ {
+ $retval = false;
+ if ( $this->deepchecktld == '1' )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function deepCheckEmail()
+ {
+ $retval = true;
+ if ( checkdnsrr( $this->getEmailtld() ) )
+ {
+ return $retval;
+ }
+
+ $fp = fsockopen($this->getEmailtld(), 80, $errno, $errstr, 30);
+ if (!$fp)
+ {
+ $retval = false;
+ }
+ else
+ {
+ fclose($fp);
+ }
+
+ return $retval;
+ }
+
+ function showMoreInfo()
+ {
+ $retval = false;
+ if ( $this->xoopsContactConfig['contact_showmoreinfo'] == "1" )
+ {
+ $retval = true;
+ }
+ return $retval;
+ }
+
+ function getMoreInfoTitle()
+ {
+ return $this->xoopsContactConfig['contact_moreinfotitle'];
+ }
+
+ function getMoreInfo()
+ {
+ return $this->moreInfo;
+ }
+
+ function getUserMoreInfo()
+ {
+ return $this->userMoreInfo;
+ }
+
+ function setUserMoreInfo( $info )
+ {
+ $this->userMoreInfo = $info;
+ }
+}
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/getgfx.php
===================================================================
--- XoopsLanguages/danish/getgfx.php (rev 0)
+++ XoopsLanguages/danish/getgfx.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,47 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------- //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+
+include "header.php";
+
+global $config_handler;
+
+$module_handler =& xoops_gethandler('module');
+$xoopsContactModule =& $module_handler->getByDirname('contact');
+$xoopsContactConfig =& $config_handler->getConfigsByCat(0, $xoopsContactModule->getVar('mid'));
+
+$site_key = $xoopsContactConfig['contact_sitekey'];
+$random_num = $_GET['random_num'];
+$datekey = date("F j");
+$rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'].$random_num.$site_key.$datekey));
+$code = substr($rcode, 2, 6);
+$image = ImageCreateFromJPEG("images/code_bg.jpg");
+$text_color = ImageColorAllocate($image, 80, 80, 80);
+Header("Content-type: image/jpeg");
+ImageString ($image, 5, 12, 2, $code, $text_color);
+ImageJPEG($image, '', 75);
+ImageDestroy($image);
+die();
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/header.php
===================================================================
--- XoopsLanguages/danish/header.php (rev 0)
+++ XoopsLanguages/danish/header.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,29 @@
+<?php
+// $Id: header.php,v 1.8 2004/12/26 19:11:54 onokazu 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 //
+// ------------------------------------------------------------------------ //
+
+include "../../mainfile.php";
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/images/code_bg.jpg
===================================================================
(Binary files differ)
Property changes on: XoopsLanguages/danish/images/code_bg.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsLanguages/danish/images/contact_slogo.png
===================================================================
(Binary files differ)
Property changes on: XoopsLanguages/danish/images/contact_slogo.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsLanguages/danish/images/no-spam.jpg
===================================================================
(Binary files differ)
Property changes on: XoopsLanguages/danish/images/no-spam.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: XoopsLanguages/danish/index.php
===================================================================
--- XoopsLanguages/danish/index.php (rev 0)
+++ XoopsLanguages/danish/index.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,379 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------- //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+
+include "header.php";
+include_once "class/contactclass.php";
+
+global $config_handler, $xoopsUser, $xoopsConfig;
+$contactclass = new ContactClass($config_handler, $xoopsUser, $xoopsConfig);
+
+function drawContactForm( $cc )
+{
+ global $xoopsOption, $xoopsTpl;
+
+ $contactclass = $cc;
+
+ $xoopsOption['template_main'] = 'contact_contactusform.html';
+
+ include XOOPS_ROOT_PATH."/header.php";
+ include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
+
+ // build contact form
+ $contact_form = new XoopsThemeForm($contactclass->getContactHead(), "contactform", "index.php", "post", true);
+
+ // check for pre-existing error condition
+ if ( $contactclass->getErrorLevel() != 0 )
+ {
+ $err = $contactclass->getErrorLevel();
+ $message = _CT_ERROR_CONDITION;
+
+ if ( $err & _CT_ERROR_BADSECVAL )
+ {
+ $message .= _CT_ERROR_BADSECVALUE_MSG;
+ }
+
+ if ( $err & _CT_ERROR_BADEMAIL )
+ {
+ $message .= _CT_ERROR_BADEMAIL_MSG;
+ }
+
+ $error_text = new XoopsFormLabel( _CT_ERROR_CONDITIONHEAD, $message );
+ $contact_form->addElement( $error_text );
+ }
+ // check to see if there is some intro text to display
+ if ( $contactclass->getContactIntro() != "" )
+ {
+ $intro_text = new XoopsFormLabel($contactclass->getContactIntroHead(), $contactclass->getContactIntro());
+ $contact_form->addElement( $intro_text );
+ }
+
+ $name_text = new XoopsFormText(_CT_NAME, "usersName", 50, 100, $contactclass->getUserName());
+ $contact_form->addElement($name_text, true);
+
+ $email_text = new XoopsFormText(_CT_EMAIL, "usersEmail", 50, 100, $contactclass->getUserEmail());
+ $contact_form->addElement($email_text, true);
+
+ if ( $contactclass->collectAddress() == true )
+ {
+ $address_text = new XoopsFormTextArea(_CT_ADDRESS, "usersAddress", $contactclass->getAddress());
+ $contact_form->addElement($address_text);
+ }
+
+ if ( $contactclass->collectURL() == true )
+ {
+ $url_text = new XoopsFormText(_CT_URL, "usersSite", 50, 100, $contactclass->getURL());
+ $contact_form->addElement($url_text);
+ }
+
+ if ( $contactclass->collectICQ() == true )
+ {
+ $icq_text = new XoopsFormText(_CT_ICQ, "usersICQ", 50, 100, $contactclass->getICQ());
+ $contact_form->addElement($icq_text);
+ }
+
+ if ( $contactclass->collectCompany() == true)
+ {
+ $company_text = new XoopsFormText(_CT_COMPANY, "usersCompanyName", 50, 100, $contactclass->getCompany());
+ $contact_form->addElement($company_text);
+ }
+
+ if ( $contactclass->collectLocation() == true)
+ {
+ $location_text = new XoopsFormText(_CT_LOCATION, "usersCompanyLocation", 50, 100, $contactclass->getLocation());
+ $contact_form->addElement($location_text);
+ }
+
+ if ( $contactclass->sendConfirm() == true)
+ {
+ // draw the checkbox for user to get a confirmation mail
+ $email_v = $contactclass->getUserEmail();
+ $caption = ( $email_v == "" ? _CT_SENDCONFIRM : sprintf( _CT_SENDCONFIRMEMAIL, $email_v ));
+ $sendconfirm = new XoopsFormCheckBox( _CT_CONFIRM, "userSendConfirm",
+// $contactclass->getSendConfirm(), "userSendConfirm" );
+$contactclass->getSendConfirm(), "" );
+ $sendconfirm->addOption( 1, $caption );
+ $contact_form->addElement( $sendconfirm );
+ }
+
+ if ( $contactclass->showDepartment() == true )
+ {
+ // show a drop down with the correct departments listed
+ $departmentlist = new XoopsFormSelect( $contactclass->getDepartmentTitle(), "userDepartment" );
+ $departments = $contactclass->getDepartments(); // get array of departments
+ $selDept = $contactclass->getSelectedDepartment();
+
+ $cnt = 0;
+ foreach( $departments as $val )
+ {
+ $valexplode = explode( ',', $val );
+
+ $selected = false;
+ if ( $selDept != "" && ( strcmp( $selDept, $valexplode[0] ) == 0 ) )
+ {
+ // this option is selected
+ $selected = true;
+ }
+ else if ( $selDept == "" && $cnt == 0 ) // if there is none selected and this is the first one
+ {
+ // make it selected
+ $selected = true;
+ }
+
+ $departmentlist->addOption($valexplode[0]);
+ if ( $selected == true )
+ {
+ $departmentlist->setValue($valexplode[0]);
+ }
+
+ $cnt++;
+ }
+ $contact_form->addElement( $departmentlist );
+ }
+
+ // add comment area
+ $comment_textarea = new XoopsFormTextArea(_CT_COMMENTS, "usersComments", $contactclass->getUserComments());
+ $contact_form->addElement($comment_textarea, true);
+
+ // add more info area if required
+ if ( $contactclass->showMoreInfo() == true )
+ {
+ // draw container with multi-select check boxes
+ $moreinfo = new XoopsFormCheckBox( $contactclass->getMoreInfoTitle(), "userMoreInfo" );
+ $moreinfolist = $contactclass->getMoreInfo();
+ $selmoreinfo = $contactclass->getUserMoreInfo();
+
+ foreach( $moreinfolist as $val )
+ {
+ $moreinfo->addOption( $val );
+ } // end foreach $moreinfolist
+
+ $moreinfo->setValue( $selmoreinfo );
+ $contact_form->addElement($moreinfo);
+ }
+
+ // add security check if required
+ if ( ( $contactclass->collectSecurity() == true ) && extension_loaded('gd') )
+ {
+ mt_srand((double)microtime()*10000);
+ $random_num = mt_rand(0, 100000);
+ $security = "<img src='getgfx.php?random_num=$random_num' border='1' alt='"._CT_SECURITY_CODE."' title='"._CT_SECURITY_CODE."'> "
+ ."<img src='images/no-spam.jpg' alt='"._CT_NO_SPAM."' title='"._CT_NO_SPAM."'>";
+ // show the security block and input field
+ $security_graphic = new XoopsFormLabel( _CT_SECURITY_CODE, $security );
+ $contact_form->addElement( $security_graphic );
+ $type_security = new XoopsFormText( _CT_SECURITY_TYPE, "securityType", 10, 6 );
+ $contact_form->addElement( $type_security, true );
+ $security_hidden = new XoopsFormHidden( "securityHidden", $random_num );
+ $contact_form->addElement( $security_hidden );
+ }
+
+ $submit_button = new XoopsFormButton("", "submit", _CT_SUBMIT, "submit");
+ $contact_form->addElement($submit_button);
+
+ $contact_form->assign($xoopsTpl);
+ include XOOPS_ROOT_PATH."/footer.php";
+}
+
+if (empty($_POST['submit']) | !$GLOBALS['xoopsSecurity']->check())
+{
+ drawContactForm( $contactclass );
+}
+else
+{
+ extract($_POST);
+
+ $myts =& MyTextSanitizer::getInstance();
+
+ // populate contactclass with passed in vars
+ $contactclass->setUserName(isset( $usersName ) ? $myts->stripSlashesGPC($usersName) : "");
+ $contactclass->setUserEmail(isset( $usersEmail ) ? $myts->stripSlashesGPC($usersEmail) : "");
+ $contactclass->setAddress(isset( $usersAddress ) ? $myts->stripSlashesGPC($usersAddress) : "");
+ $contactclass->setURL(isset($usersSite) ? $usersSite : "");
+ $contactclass->setICQ(isset($usersICQ) ? $usersICQ : "");
+ $contactclass->setCompany(isset( $usersCompanyName) ? $myts->stripSlashesGPC($usersCompanyName) : "");
+ $contactclass->setLocation(isset( $usersCompanyLocation) ? $myts->stripSlashesGPC($usersCompanyLocation) : "");
+ $contactclass->setSendConfirm(isset( $userSendConfirm ) ? $userSendConfirm : '0' );
+ $contactclass->setSelectedDepartment(isset( $userDepartment ) ? $userDepartment : $contactclass->getSelectedDepartment());
+ $contactclass->setUserComments(isset($usersComments) ? $usersComments: "");
+ $contactclass->setUserMoreInfo( isset($userMoreInfo) ? $userMoreInfo : array() );// set user more info - it's an array, so we have to figure it out first!!!
+
+ $do_check = false;
+
+ if ( ( $contactclass->collectSecurity() == true ) && extension_loaded('gd') )
+ {
+ $do_check = true;
+ }
+
+ $datekey = date("F j");
+ $rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'].$securityHidden.$contactclass->getSiteKey().$datekey));
+ $code = substr($rcode, 2, 6);
+
+ $errval = _CT_ERROR_NONE;
+ // check seccode
+ if ( $code != $securityType && $do_check == true )
+ {
+ $errval |= _CT_ERROR_BADSECVAL;
+ }
+
+ // check for bad email
+ if ( $contactclass->isValidEmail() == false )
+ {
+ // make sure you add on top of any existing errorlevel by &
+ $errval |= _CT_ERROR_BADEMAIL;
+ }
+ else if ( $contactclass->isDeepCheck() == true )
+ {
+ if ( $contactclass->deepCheckEmail() == false )
+ {
+ $errval |= _CT_ERROR_BADEMAIL;
+ }
+ }
+
+ $contactclass->setErrorLevel($errval);
+ if ( $contactclass->getErrorLevel() != 0 )
+ {
+ // redisplay form
+ drawContactForm( $contactclass );
+ }
+ else
+ {
+ $usersComments = $myts->stripSlashesGPC($_POST['usersComments']);
+
+ $adminMessage = sprintf(_CT_SUBMITTED,$contactclass->getUserName());
+ $adminMessage .= "\n";
+ $adminMessage .= ""._CT_EMAIL." $usersEmail\n";
+
+ if ( $contactclass->collectAddress() == true )
+ {
+ $adminMessage .= ""._CT_ADDRESS."\n".$contactclass->getAddress()."\n";
+ }
+
+ if ( $contactclass->collectURL() == true)
+ {
+ $adminMessage .= ""._CT_URL."\n".$contactclass->getURL()."\n";
+ }
+
+ if ( $contactclass->collectICQ() == true )
+ {
+ $adminMessage .= ""._CT_ICQ."\n".$contactclass->getICQ()."\n";
+ }
+
+ if ( $contactclass->collectCompany() == true )
+ {
+ $adminMessage .= _CT_COMPANY. "\n".$contactclass->getCompany()."\n";
+ }
+
+ if ( $contactclass->collectLocation() == true )
+ {
+ $adminMessage .= _CT_LOCATION."\n".$contactclass->getLocation()."\n";
+ }
+
+ $adminMessage .= _CT_COMMENTS."\n";
+ $adminMessage .= "\n$usersComments\n\n";
+
+ if ( $contactclass->showMoreInfo() == true )
+ {
+ if ( count( $contactclass->getUserMoreInfo() ) > 0 )
+ {
+ $temp = $contactclass->getMoreInfoTitle()." :\n";
+ $adminMessage .= $temp;
+ $moreinfoMessage = $temp;
+ foreach( $contactclass->getUserMoreInfo() as $item )
+ {
+ $temp = "* $item\n";
+ $adminMessage .= $temp;
+ $moreinfoMessage .= $temp;
+ }
+ }
+ }
+
+ $adminMessage .= "\n".$_SERVER['HTTP_USER_AGENT']."\n";
+
+ $subject = $xoopsConfig['sitename']." - ".$contactclass->getContactHead();
+ $toemail = $xoopsConfig['adminmail'];
+ if ( $contactclass->showDepartment() == true )
+ {
+ $selDept = $contactclass->getSelectedDepartment();
+ $departments = $contactclass->getDepartments();
+
+ foreach( $departments as $val )
+ {
+ $valexplode = explode( ',', $val );
+
+ $selected = false;
+ if ( strcmp( $selDept, $valexplode[0] ) == 0 )
+ {
+ // this option is selected
+ $selected = true;
+ }
+
+ if ( $selected == true )
+ {
+ $subject = $xoopsConfig['sitename']." - ".$selDept;
+ $toemail = $valexplode[1];
+ }
+ }
+ }
+
+ $xoopsMailer =& getMailer();
+ $xoopsMailer->useMail();
+ $xoopsMailer->setToEmails($toemail);
+ $xoopsMailer->setFromEmail($contactclass->getUserEmail());
+ $xoopsMailer->setFromName($contactclass->getUserName());
+ $xoopsMailer->setSubject($subject);
+ $xoopsMailer->setBody($adminMessage);
+ $xoopsMailer->send();
+ $messagesent = sprintf(_CT_MESSAGESENT,$xoopsConfig['sitename'])."<br />".$contactclass->getContactThankYou()."";
+
+ if ( $contactclass->getSendConfirm() == '1' )
+ {
+ $conf_subject = $contactclass->getContactThankYou();
+ $userMessage = sprintf(_CT_HELLO,$contactclass->getUserName());
+ $userMessage .= "\n\n";
+ $userMessage .= sprintf(_CT_THANKYOUCOMMENTS,$xoopsConfig['sitename']);
+ $userMessage .= "\n";
+ $userMessage .= sprintf(_CT_SENTTOWEBMASTER,$contactclass->getSelectedDepartment());
+ $userMessage .= "\n";
+ $userMessage .= _CT_YOURMESSAGE."\n";
+ $userMessage .= "\n$usersComments\n\n";
+ $userMessage .= "--------------\n";
+ $userMessage .= "".$subject."\n";
+ $userMessage .= "\n".$moreinfoMessage."\n";
+ $xoopsMailer =& getMailer();
+ $xoopsMailer->useMail();
+ $xoopsMailer->setToEmails($contactclass->getUserEmail());
+ $xoopsMailer->setFromEmail($contactclass->getUserEmail());
+ $xoopsMailer->setFromName($xoopsConfig['sitename']);
+ $xoopsMailer->setSubject($conf_subject);
+ $xoopsMailer->setBody($userMessage);
+ $xoopsMailer->send();
+ $messagesent .= "<br />".sprintf(_CT_SENTASCONFIRM,$usersEmail);
+ }
+
+ redirect_header(XOOPS_URL."/index.php",$contactclass->getRedirectTimeout(),$messagesent);
+ }
+}
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/language/danish/main.php
===================================================================
--- XoopsLanguages/danish/language/danish/main.php (rev 0)
+++ XoopsLanguages/danish/language/danish/main.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,29 @@
+<?php
+define("_CT_NAME","Navn");
+define("_CT_EMAIL","Email");
+define("_CT_URL","Hjemmeside");
+define("_CT_ICQ","ICQ");
+define("_CT_COMPANY","Firma");
+define("_CT_LOCATION","Lokation");
+define("_CT_COMMENTS","Besked");
+define("_CT_SUBMIT","Send");
+define("_CT_YOURMESSAGE","Din besked:");
+define("_CT_WEBMASTER","Webmaster");
+define("_CT_HELLO","Hej %s,");
+define("_CT_THANKYOUCOMMENTS","Tak fordi du kontaktede %s.");
+define("_CT_SENTTOWEBMASTER","Den besked er sendt til %s.");
+define("_CT_SUBMITTED","%s sendte følgende besked:");
+define("_CT_MESSAGESENT","Besked er sendt til %s");
+define("_CT_CONFIRM", "Bekræftelses email");
+define("_CT_SENDCONFIRMEMAIL", "Send bekræftelses email til %s");
+define("_CT_SENDCONFIRM", "Send bekræftelses email til dig!" );
+define("_CT_SENTASCONFIRM","Den besked er sent til: %s som en bekræftelses email.");
+define("_CT_ADDRESS", "Adresse");
+define("_CT_SECURITY_CODE", "Sikkerheds kode" );
+define("_CT_SECURITY_TYPE", "Indtast sikkerheds kode" );
+define("_CT_ERROR_CONDITIONHEAD", "Fejl i bekræftelsen");
+define("_CT_ERROR_CONDITION", "<b>Ret venligst fejlen!</b><br />" );
+define("_CT_ERROR_BADSECVALUE_MSG", "Sikkerhedskoden er ikke korrekt!<br />");
+define("_CT_ERROR_BADEMAIL_MSG", "Kontroller den indtastede email adresse!<br />");
+define("_CT_NO_SPAM", "Ingen SPAM! Sikkerheds check");
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/language/danish/modinfo.php
===================================================================
--- XoopsLanguages/danish/language/danish/modinfo.php (rev 0)
+++ XoopsLanguages/danish/language/danish/modinfo.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,97 @@
+<?php
+// $Id: modinfo.php,v 1.8 2004/12/26 19:11:54 onokazu Exp $
+// Module Info
+
+// The name of this module
+define("_MI_CONTACT_NAME","Kontakt os");
+// A brief description of this module
+define("_MI_CONTACT_DESC","Kontakt os");
+
+define('_MI_CONTACT_SETTINGS', 'Indstillinger');
+define('_MI_CONTACT_SETTINGS_DSC', 'Kontakt os indstillinger');
+define('_MI_CONTACT_GEN', 'Generelt' );
+define('_MI_CONTACT_GEN_DSC', 'Genelle indstillinger, introduktion emne og email indstillinger definitioner' );
+
+// Config stuff
+define("_MI_CONTACT_GETICQ", "ICQ" );
+define("_MI_CONTACT_GETICQDSC", "Ja - spørg efter ICQ" );
+
+define("_MI_CONTACT_ALLOWSENDCONFIRM", "Tillad bekræfelses besked Allow Confirm Messages" );
+define("_MI_CONTACT_ALLOWSENDCONFIRMDSC", "Ja - viser en boks for afsender, "
+ ." hvor de kan bede om at få tilsendt en bekræftelses mail." );
+
+define("_MI_CONTACT_GETURL", "URL" );
+define("_MI_CONTACT_GETURLDSC", "Ja - spørg efter brugerens URL (hjemmeside)" );
+
+define("_MI_CONTACT_GETCOMPANY", "Firma navn" );
+define("_MI_CONTACT_GETCOMPANYDSC", "Ja - spørg efter brugerens firma navn" );
+
+define("_MI_CONTACT_GETLOC", "Sted" );
+define("_MI_CONTACT_GETLOCDSC", "Ja - spørg efter brugerens sted, ikke den fulde adresse" );
+
+define("_MI_CONTACT_ADDRESS", "Adresse" );
+define("_MI_CONTACT_ADDRESSDSC", "Ja - spørg efter brugrens adresse" );
+
+define("_MI_CONTACT_INTROHEAD", "Introduktions overskrift" );
+define("_MI_CONTACT_INTROHEAD_DESC", "Det er overskriften anvendes til den <b>Indledende tekst</b>");
+define("_MI_CONTACT_INTRO_DEFAULT","Udfyld formularen og send, vil vi reagere så hurtigt som muligt!");
+
+define("_MI_CONTACT_INTRO", "Introduktions tekst" );
+define("_MI_CONTACT_INTRO_DESC", "Tekst der kan tilføjes i starten af <b>Kontakt os</b><br />"
+ ."Det kunne være velkomst tekst, adresse, telefonnummer osv" );
+
+define("_MI_CONTACT_SECURITY", "Sikkerheds check" );
+define("_MI_CONTACT_SECURITYDSC", "Ja - Aktiver <b>Sikkerheds check</b> for at validerer at brugerne sender med korrekt mailadresse.<br />"
+ ."Dette kan også begrænse <b>Kontakt os</b> SPAM!" );
+
+define("_MI_CONTACT_SITEKEY", "Tilfældig nøgle" );
+define("_MI_CONTACT_SITEKEYDSC", "Opret en tilfældig nøgle med store og små bogstaver, samt tal, for at lave <b>Sikkerheds check</b><br />"
+ ."mere grynet og tilfældig!" );
+
+define("_MI_CONTACT_HEAD", "Kontakt overskrift" );
+define("_MI_CONTACT_HEADDSC", "Overskrift for kontakt formular");
+define("_MI_CONTACT_HEADDEFAULT","Kontakt formular");
+
+define("_MI_CONTACT_THANKYOU", "Takke besked");
+define("_MI_CONTACT_THANKYOUDSC", "Besked til afsender med tak for at de kontaktede dig");
+define("_MI_CONTACT_THANKYOUDEFAULT", "Tak for din henvendelse. Vi vil vende tilbage til dig hurtigst muligt!");
+
+define("_MI_CONTACT_TIMEOUT", "Omdirigeringsside timeout");
+define("_MI_CONTACT_TIMEOUTDSC", "Dette er antallet af sekunder, hvor omdirigeringssiden vises efter afsendelse af en besked");
+
+define("_MI_CONTACT_SHOWDEPT", "Vis \"Afdeling/emne\" Sektion");
+define("_MI_CONTACT_SHOWDEPTDSC", "Ja - Viser en dropdown boks med valgte afdelinger/emner<br />"
+ ."Hvis ingen afdelinger vises, vil alle emails sendes til sidens email-adresse" );
+
+define("_MI_CONTACT_DEPTTITLE", "\"Afdeling/emne\" Titel");
+define("_MI_CONTACT_DEPTTITLEDSC", "Titlen der vises ud for \"Afdeling/emne\" sektionen af kontakt formularen");
+define("_MI_CONTACT_DEPTTITLEDEFAULT", "Afdeling");
+
+define("_MI_CONTACT_DEPT", "Afdelinger" );
+define("_MI_CONTACT_DEPTDSC", "Afdelinger giver dig mulighed for at definerer en afdeling/email kombination. Brugerne vælger<br />"
+ ."fra en foruddefineret afdeling, som de vil have deres besked sendt til. Beskeden vil så blive sendt til den<br />"
+ ."email adresse du definerer.<br /><br />"
+ ."Definer hver afdeling/email som følgende:<br /><br />"
+ ."afd1,email1|afd2,email2|afd3,email3 osv. - hver afdeling og email skal adskilles af et komma ','<br />"
+ .", og hver email kombination skal adskilles af en pipe '|'" );
+
+define("_MI_CONTACT_VALIDATEDOMAIN", "Valider Email Domæne");
+define("_MI_CONTACT_VALIDATEDOMAINDSC", "Ja - Aktiver \"deep-check\" af domain.tld i email adresse udbyder.<br />"
+ ."Nej - Laver et simpelt check på email adressen der er indtastet.");
+
+define("_MI_CONTACT_SHOWMOREINFO", "Vis \"Mere information\" Sektion" );
+define("_MI_CONTACT_SHOWMOREINFODSC", "Ja - Vis en sektion med flere checkboks muligheder, som du definerer i din \"Mere information\"");
+
+define("_MI_CONTACT_MOREINFOTITLE", "\"Mere information\" Titel" );
+define("_MI_CONTACT_MOREINFOTITLEDSC", "Titlen der vises i \"Mere Information\" sektionen af kontakt formularen" );
+define("_MI_CONTACT_MOREINFOTITLEDEFAULT","Forespørg om mere information");
+
+define("_MI_CONTACT_MOREINFO", "\"Mere information\" felter");
+define("_MI_CONTACT_MOREINFODSC", "\"Mere information\" felter gør det muligt at vise felter, som brugeren kan afmærke<br />"
+ ."interesser eller behov for informations. Det er en måde at styre dine besøgende, <br />"
+ ."hvis det er hvad du ønsker."
+ ."Definer hvert felt med følgende:<br /><br />"
+ ."Felt1|Felt2|Felt3 osv. - hvert felt skal adskilles med en pipe '|'");
+
+
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/language/english/main.php
===================================================================
--- XoopsLanguages/danish/language/english/main.php (rev 0)
+++ XoopsLanguages/danish/language/english/main.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,29 @@
+<?php
+define("_CT_NAME","Name");
+define("_CT_EMAIL","Email");
+define("_CT_URL","URL");
+define("_CT_ICQ","ICQ");
+define("_CT_COMPANY","Company");
+define("_CT_LOCATION","Location");
+define("_CT_COMMENTS","Comments");
+define("_CT_SUBMIT","Submit");
+define("_CT_YOURMESSAGE","Your Message:");
+define("_CT_WEBMASTER","Webmaster");
+define("_CT_HELLO","Hello %s,");
+define("_CT_THANKYOUCOMMENTS","Thank you for contacting %s.");
+define("_CT_SENTTOWEBMASTER","Your message has been sent to %s.");
+define("_CT_SUBMITTED","%s submitted the following Information:");
+define("_CT_MESSAGESENT","Message to %s Sent");
+define("_CT_CONFIRM", "Confirmation email");
+define("_CT_SENDCONFIRMEMAIL", "Send Confirmation email to %s");
+define("_CT_SENDCONFIRM", "Send Confirmation email to you!" );
+define("_CT_SENTASCONFIRM","Your comments have been sent to: %s as a confirmation email.");
+define("_CT_ADDRESS", "Address");
+define("_CT_SECURITY_CODE", "Security Code" );
+define("_CT_SECURITY_TYPE", "Enter Security Code" );
+define("_CT_ERROR_CONDITIONHEAD", "Error Condition");
+define("_CT_ERROR_CONDITION", "<b>Please correct the ERROR condition!</b><br />" );
+define("_CT_ERROR_BADSECVALUE_MSG", "The Security code is invalid!<br />");
+define("_CT_ERROR_BADEMAIL_MSG", "Check the entered email address!<br />");
+define("_CT_NO_SPAM", "No SPAM! Security Check");
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/language/english/modinfo.php
===================================================================
--- XoopsLanguages/danish/language/english/modinfo.php (rev 0)
+++ XoopsLanguages/danish/language/english/modinfo.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,98 @@
+<?php
+// $Id: modinfo.php,v 1.8 2004/12/26 19:11:54 onokazu Exp $
+// Module Info
+
+// The name of this module
+define("_MI_CONTACT_NAME","Contact");
+// A brief description of this module
+define("_MI_CONTACT_DESC","Email contact page");
+
+define('_MI_CONTACT_SETTINGS', 'Settings');
+define('_MI_CONTACT_SETTINGS_DSC', 'Contact Us Collection settings');
+define('_MI_CONTACT_GEN', 'General' );
+define('_MI_CONTACT_GEN_DSC', 'General settings for intro and subject/email definitions' );
+
+// Config stuff
+define("_MI_CONTACT_GETICQ", "Collect ICQ" );
+define("_MI_CONTACT_GETICQDSC", "Yes - ask for ICQ" );
+
+define("_MI_CONTACT_ALLOWSENDCONFIRM", "Allow Confirm Messages" );
+define("_MI_CONTACT_ALLOWSENDCONFIRMDSC", "Yes - shows a check box for the sender to "
+ ."have a confimation email sent to them." );
+
+define("_MI_CONTACT_GETURL", "Collect user URL" );
+define("_MI_CONTACT_GETURLDSC", "Yes - ask for the users URL" );
+
+define("_MI_CONTACT_GETCOMPANY", "Collect user Company Name" );
+define("_MI_CONTACT_GETCOMPANYDSC", "Yes - ask for the users company name" );
+
+define("_MI_CONTACT_GETLOC", "Collect user location" );
+define("_MI_CONTACT_GETLOCDSC", "Yes - ask for the users location, not the full address" );
+
+define("_MI_CONTACT_ADDRESS", "Collect user Address" );
+define("_MI_CONTACT_ADDRESSDSC", "Yes - ask for the users address" );
+
+define("_MI_CONTACT_INTROHEAD", "Introduction Heading" );
+define("_MI_CONTACT_INTROHEAD_DESC", "This is the heading applied to the <b>Introduction Text</b>");
+define("_MI_CONTACT_INTRO_DEFAULT","Please fill in the form and submit, we will<br />respond as soon as possible!");
+
+define("_MI_CONTACT_INTRO", "Introduction Text" );
+define("_MI_CONTACT_INTRO_DESC", "Text that can be added to the beginning of the <b>Contact Us</b><br />"
+ ."dialog. I.e. - Welcome text, snail mail address, phone numbers" );
+
+define("_MI_CONTACT_SECURITY", "Security Check" );
+define("_MI_CONTACT_SECURITYDSC", "Yes - Activate <b>Security Check</b> to validate users sending contact mail.<br />"
+ ."This may also help eliminate <b>Contact Us</b> SPAM!" );
+
+define("_MI_CONTACT_SITEKEY", "Random Key" );
+define("_MI_CONTACT_SITEKEYDSC", "Create any random mixed characters or numbers to make <b>Security Check</b><br />"
+ ."more granular and random!" );
+
+define("_MI_CONTACT_HEAD", "Contact Heading" );
+define("_MI_CONTACT_HEADDSC", "Heading for Contact Form");
+define("_MI_CONTACT_HEADDEFAULT","Contact Form");
+
+define("_MI_CONTACT_THANKYOU", "Thank You Message");
+define("_MI_CONTACT_THANKYOUDSC", "Message to sender thanking them for contacting you");
+define("_MI_CONTACT_THANKYOUDEFAULT", "Thank you for contacting me. I will get back to you as soon as possible!");
+
+define("_MI_CONTACT_TIMEOUT", "Redirect Page Timeout");
+define("_MI_CONTACT_TIMEOUTDSC", "This is the amount of seconds to display the redirect page after sending a message");
+
+define("_MI_CONTACT_SHOWDEPT", "Display \"Dept./Subject\" Section");
+define("_MI_CONTACT_SHOWDEPTDSC", "Yes - Shows a dropdown with defined depts/subjects<br />"
+ ."If no departments are shown, all contact email is sent to the site email address" );
+
+define("_MI_CONTACT_DEPTTITLE", "\"Dept/Subject\" Title");
+define("_MI_CONTACT_DEPTTITLEDSC", "Title shown in \"Dept/Subject\" section of Contact form");
+define("_MI_CONTACT_DEPTTITLEDEFAULT", "Department");
+
+define("_MI_CONTACT_DEPT", "Departments" );
+define("_MI_CONTACT_DEPTDSC", "Departments allow you to define a department/email combination. Users selecting<br />"
+ ."from a defined department will have their contact information sent to the corresponding<br />"
+ ."email address you define.<br /><br />"
+ ."Define each department/email as follows:<br /><br />"
+ ."dept1,email1|dept2,email2|dept3,email3 etc. - each department and email must be seperated<br />"
+ ."by a comma ',', and each department email combination bust be seperated by a pipe '|'" );
+
+define("_MI_CONTACT_VALIDATEDOMAIN", "Validate Email Domain");
+define("_MI_CONTACT_VALIDATEDOMAINDSC", "Yes - Activate \"deep-check\" of domain.tld in email address provided.<br />"
+ ."No - Does a simple check of email address entered.");
+
+define("_MI_CONTACT_SHOWMOREINFO", "Display \"More Info\" Section" );
+define("_MI_CONTACT_SHOWMOREINFODSC", "Yes - Display a section with multi-checkbox choices of your defined \"More Info\"");
+
+define("_MI_CONTACT_MOREINFOTITLE", "\"More Info\" Title" );
+define("_MI_CONTACT_MOREINFOTITLEDSC", "Title shown in \"More Info\" section of Contact form" );
+define("_MI_CONTACT_MOREINFOTITLEDEFAULT","Request More Information");
+
+define("_MI_CONTACT_MOREINFO", "\"More Info\" Items");
+define("_MI_CONTACT_MOREINFODSC", "\"More Info\" items allow you to display items that a user can check off<br />"
+ ."as having more interst or needing more info. It's a way of steering your customers<br />"
+ ."if that's what you desire. As an example of a commercial application - a salesperson may<br />"
+ ."want to offer free info, provided the user contacts the salesperson first. This is a way<br />"
+ ." of harvesting customers as well.<br /><br />"
+ ."Define each item as follows:<br /><br />"
+ ."item1|item2|item3 etc. - each item must be seperated by a pipe '|'");
+
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/language/german/main.php
===================================================================
--- XoopsLanguages/danish/language/german/main.php (rev 0)
+++ XoopsLanguages/danish/language/german/main.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,30 @@
+<?php
+// deutscher Sprachfile \xFCbersetzt von: studioC - Michael Hokamp - http://www.myxoops.org
+define("_CT_NAME","Name");
+define("_CT_EMAIL","Email");
+define("_CT_URL","URL");
+define("_CT_ICQ","ICQ");
+define("_CT_COMPANY","Firma");
+define("_CT_LOCATION","Anschrift/Ort");
+define("_CT_COMMENTS","Kommentar");
+define("_CT_SUBMIT","Abschicken");
+define("_CT_YOURMESSAGE","Ihre Nachricht:");
+define("_CT_WEBMASTER","Webmaster");
+define("_CT_HELLO","Hallo %s,");
+define("_CT_THANKYOUCOMMENTS","Vielen Dank f\xFCr die Nachricht an %s.");
+define("_CT_SENTTOWEBMASTER","Ihre Nachricht an %s wurde verschickt.");
+define("_CT_SUBMITTED","%s schickt die folgende Nachricht:");
+define("_CT_MESSAGESENT","Nachricht an %s verschickt!");
+define("_CT_CONFIRM", "Best\xE4tigungs-Mail");
+define("_CT_SENDCONFIRMEMAIL", "Bestaetigungsmail an %s verschicken?");
+define("_CT_SENDCONFIRM", "Aktivieren, um ein Best\xE4tigungsmail zu erhalten!" );
+define("_CT_SENTASCONFIRM","Ihre Nachricht wurde an: %s als Best\xE4tigungsmail geschickt.");
+define("_CT_ADDRESS", "Addresse");
+define("_CT_SECURITY_CODE", "Sicherheitscode" );
+define("_CT_SECURITY_TYPE", "Bitte Sicherheitscode eingeben" );
+define("_CT_ERROR_CONDITIONHEAD", "Fehler!");
+define("_CT_ERROR_CONDITION", "<b>Bitte angegebenen Fehler korrigieren!</b><br />" );
+define("_CT_ERROR_BADSECVALUE_MSG", "Der Sicherheitscode ist ung\xFCltig!<br />");
+define("_CT_ERROR_BADEMAIL_MSG", "Bitte pr\xFCfen Sie die eigegebene Email-Adresse!<br />");
+define("_CT_NO_SPAM", "Kein SPAM! Oder?");
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/language/german/modinfo.php
===================================================================
--- XoopsLanguages/danish/language/german/modinfo.php (rev 0)
+++ XoopsLanguages/danish/language/german/modinfo.php 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,90 @@
+<?php
+// $Id: modinfo.php,v 1.8 2004/12/26 19:11:54 onokazu Exp $
+// deutscher Sprachfile \xFCbersetzt von: studioC - Michael Hokamp - http://www.myxoops.org
+// Module Info
+// Name des Moduls
+define("_MI_CONTACT_NAME","Kontaktformular");
+// Kurze Beschreibug des Moduls
+define("_MI_CONTACT_DESC","Kontaktformular");
+
+define('_MI_CONTACT_SETTINGS', 'Einstellungen');
+define('_MI_CONTACT_SETTINGS_DSC', 'Einstellungen der Formularfelder');
+define('_MI_CONTACT_GEN', 'Allgemein' );
+define('_MI_CONTACT_GEN_DSC', 'Allgemeine Einstellungen f\xFCr Einleitungs-Text und eMail' );
+
+// Config stuff
+define("_MI_CONTACT_GETICQ", "Feld ICQ?" );
+define("_MI_CONTACT_GETICQDSC", "JA - Feld ICQ zeigen!" );
+
+define("_MI_CONTACT_ALLOWSENDCONFIRM", "Best\xE4tigungsmail erm\xF6glichen?" );
+define("_MI_CONTACT_ALLOWSENDCONFIRMDSC", "JA - zeigt dem Absender eine Checkbox "
+ ."bei Aktivierung erh\xE4lt der Absender eine Best\xE4tigungsmail." );
+
+define("_MI_CONTACT_GETURL", "Feld Url?" );
+define("_MI_CONTACT_GETURLDSC", "JA - Feld URL zeigen!" );
+
+define("_MI_CONTACT_GETCOMPANY", "Feld Firma?" );
+define("_MI_CONTACT_GETCOMPANYDSC", "JA - Feld Firma zeigen!" );
+
+define("_MI_CONTACT_GETLOC", "Feld Ort?" );
+define("_MI_CONTACT_GETLOCDSC", "JA - Feld ORT zeigen!" );
+
+define("_MI_CONTACT_ADDRESS", "Feld Anschrift?" );
+define("_MI_CONTACT_ADDRESSDSC", "JA - Feld Anschrit zeigen!" );
+
+define("_MI_CONTACT_INTROHEAD", "\xDCberschrift Einleitungstext?" );
+define("_MI_CONTACT_INTROHEAD_DESC", "Diese \xDCberschrift steht vor dem <b>Einleitungstext</b>");
+define("_MI_CONTACT_INTRO_DEFAULT","Bitte Formular ausf\xFCllen und absenden.<br />Wir melden uns so rasch als m\xF6glich!");
+
+define("_MI_CONTACT_INTRO", "Einleitungstext" );
+define("_MI_CONTACT_INTRO_DESC", "Dieser Einleitungstext steht vor dem eigentlichen <b>Kontaktformular</b>. Denkbare Inhalte sind z.B. ein Begr\xFC\xDFungstext, Kontaktanschriften oder die Beschreibung eines Anfahrtsweges." );
+
+define("_MI_CONTACT_SECURITY", "Sicherheits-Pr\xFCfung?" );
+define("_MI_CONTACT_SECURITYDSC", "JA - <b>Sicherheits-Pr\xFCfung</b> aktivieren!<br />"
+ ."Eine Aktivierung sollte SPAM \xFCber das <b>Kontaktformular</b> erschweren!" );
+
+define("_MI_CONTACT_SITEKEY", "Zuf\xE4lliger Schl\xFCssel?" );
+define("_MI_CONTACT_SITEKEYDSC", "Zuf\xE4llige Auswahl an Zahlen und Buchstaben f\xFCr die <b>Sicherheits-Pr\xFCfung.</b>" );
+
+define("_MI_CONTACT_HEAD", "\xDCberschrift Kontaktformular?" );
+define("_MI_CONTACT_HEADDSC", "\xDCberschrift Kontaktformular");
+define("_MI_CONTACT_HEADDEFAULT","Kontakt Formular");
+
+define("_MI_CONTACT_THANKYOU", "Danke-Nachricht?");
+define("_MI_CONTACT_THANKYOUDSC", "Nachricht and den Absender nach dem Verschicken der Nachricht!");
+define("_MI_CONTACT_THANKYOUDEFAULT", "Danke f\xFCr Ihre Nachricht. Wir melden uns so rasch als m\xF6glich!");
+
+define("_MI_CONTACT_TIMEOUT", "Timeout?");
+define("_MI_CONTACT_TIMEOUTDSC", "Anzahl der Sekunden zur Anzeige der Dankesnachricht!");
+
+define("_MI_CONTACT_SHOWDEPT", "Anzeige Bereichs-Auswahl?");
+define("_MI_CONTACT_SHOWDEPTDSC", "JA - Zeige ein Auswahlfeld f\xFCr definierte Bereiche<br />"
+ ."Wenn keine Bereiche angegeben sind, werden alle Anfragen \xFCber das Kontaktformular an die Admin-email geschickt." );
+
+define("_MI_CONTACT_DEPTTITLE", "Bereichs-\xDCberschrift?");
+define("_MI_CONTACT_DEPTTITLEDSC", "Bezeichnung des Feldnamens f\xFCr die Bereichsauswahl im Kontaktformular.");
+define("_MI_CONTACT_DEPTTITLEDEFAULT", "Abteilung");
+
+define("_MI_CONTACT_DEPT", "Bereiche?" );
+define("_MI_CONTACT_DEPTDSC", "Hier k\xF6nnen unterschiedliche Empf\xE4nger mit eigener Email-Adresse f\xFCr einen Bereich definiert werden."
+ ." Bitte Bereich und Bereichsemail mit Komma ohne Leerzeichen trennen!<br /><br />"
+ ." Mehrere Bereiche mit einer Pipe '|' ohne Leerzeichen voneinander trennen!"
+ ."Definiere jeden Bereich / eMail wie folgt:<br /><br />"
+ ."Bereich1,eMail1|Bereich2,eMail2|Bereich3,eMail usw. - jeder Bereich und eMail mu\xDF mit einem<br />"
+ ."Beistrich ',', und jede Kombination Bereich/eMail mu\xDF mit einer Pipe '|' getrennt werden!" );
+
+define("_MI_CONTACT_VALIDATEDOMAIN", "Email-Domain des Absenders pr\xFCfen?");
+define("_MI_CONTACT_VALIDATEDOMAINDSC", "JA - Erweiterte Pr\xFCfung der Domain.<br />"
+ ."NEIN - Einfache Pr\xFCfung der eMail Eingabe.");
+
+define("_MI_CONTACT_SHOWMOREINFO", "Zus\xE4tzliche Info?" );
+define("_MI_CONTACT_SHOWMOREINFODSC", "JA - Anzeige eines Bereichs mit Checkboxen");
+
+define("_MI_CONTACT_MOREINFOTITLE", "Feldname Zusatzinfo?" );
+define("_MI_CONTACT_MOREINFOTITLEDSC", "Bezeichnung des Feldnamens f\xFCr die Zusatzinfo im Kontaktformular" );
+define("_MI_CONTACT_MOREINFOTITLEDEFAULT","Mehr Information anfordern");
+
+define("_MI_CONTACT_MOREINFO", "Zusatzinfo Optionen");
+define("_MI_CONTACT_MOREINFODSC", "Hier kann der Absender die zus\xE4tzlichen Optionen aktivieren, wenn er z.b. um R\xFCckruf bittet, weitere Informationen zugeschickt haben m\xF6chte etc. Zus\xE4tzliche Optionen bitte mit einer Pipe '|' ohne Leerzeichen voneinander trennen.");
+
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/language/index.html
===================================================================
--- XoopsLanguages/danish/language/index.html (rev 0)
+++ XoopsLanguages/danish/language/index.html 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/danish/readme.html
===================================================================
--- XoopsLanguages/danish/readme.html (rev 0)
+++ XoopsLanguages/danish/readme.html 2008-12-25 12:28:06 UTC (rev 2606)
@@ -0,0 +1,70 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>Contact v1.6 for XOOPS 2.2.x</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+
+<body>
+<h1>Contact - Not just another <u>Contact Us</u> page!</h1>
+<p>The first question that always comes to mind when someone see's a module like this is - <i>Why?</i><br /><br />
+For starters, there are many other versions of a Contact Us module out there - but guess what, none of them
+did what I needed, or the client I wrote this for. As with any module <a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a>
+puts out, I always find more options and configs that can be added. I think I have stretched this one out, and
+really expect it will meet most any need out there! Whew - now check this out...</p>
+<h2>Contact v1.6 - Updates to email deep check and From addressee</h2>
+<p>For the most part, this module is the same as v1.5. The upgrade path is very simple. The changes made are
+<ul><li>New deep check validation on submitted return email addresses<ul><li>The problem was with the socket command. Added routine to verify
+MX records first. This sped up the overall check routine.</li></ul></li><li>Added AAINC (XOOPS@IBDeeming! User) suggestion for Fomr email who</li></ul>
+</p>
+<p>Upgrading from V1.5 - V1.6 is very easy! Just copy the files, log-in as admin, go to Modules control, and Update the Contact-Us module.
+If you are successful, you should see version 1.6.</p>
+<h2>Contact V1.5 - Based on the original by Skalpa - but nothing like it anymore!</h2>
+<p><u>Contact v1.5</u> has many new features, so many that it doesn't really look like the original. First off, there are
+<b>Settings</b> and <b>General</b> configs that can be applied to the <u>Contact</u> module.
+<ul>
+ <li>Settings
+ <ul>
+ <li>Send Confirmation Switch - Basically allows the user to copy themselves on correspondence to you of your department (more on that).</li>
+ <li>Collect ICQ - on or off</li>
+ <li>Collect URL - on or off</li>
+ <li>Collect Company - on or off</li>
+ <li>Collect Location - on or off</li>
+ <li>Collect Address - on or off</li>
+ <li>Add Security Check - Security graphic - know why? It's really easy to SPAM your site with <u>Contact</u> emails, this will help deter
+ <ul>
+ <li>Sitekey definition - allows you to seed granularity</li>
+ </ul>
+ </li>
+ <li>Redirect Timeout - Allows you to set how long the redirect page is shown to the user</li>
+ <li>Validate Domain - Allows you to actually "deep-scan" the domain and tld for validity</li>
+ </ul>
+ </li>
+ <li>General
+ <ul>
+ <li>Intorduction - You can turn it on, set the heading, and the text displayed. This is great for businesses that want to show off their SNAIL address and phone numbers</li>
+ <li>Contact heading - What is your form called?</li>
+ <li>Thank You message - what your user sees</li>
+ <li>Department Definition - this is cool! Basically you can set up departments and have them assigned to dirfferent email addresses than just the site admin.</li>
+ <li>More Info - Have you ever seen those commercial contact pages where you can select from various topics to get more info? Now you can do it too!</li>
+ </ul>
+ </li>
+</ul>
+</p>
+<h2>So, How do I install <u>Contact?</u></h2>
+<p>It's really simple!
+ <ol>
+ <li>Deactivate your current Contact module</li>
+ <li>Uninstall the current Contact module</li>
+ <li>Copy <u>Contact v1.5</u> top your modules directory, overwrite all files!</li>
+ <li>Install <u>Contact v1.5</u></li>
+ <li>Verify your <u>Setting</u> and <u>General</u> sections of Contact from the Admin screen</li>
+ <li>Done!</li>
+ </ol>
+</p>
+<h2><a href="http://xoops.ibdeeming.com" target="_blank">XOOPS</a>@<a href="http://www.ibdeeming.com" target="_blank">IBDeeming!</a> Thanks You!</h2>
+<p>I appreciate you taking the time to download and use the modules created by us. If you have nay questions, you are encouraged
+to stop by and post them on our site.<br /><br />If you find our modules are worthwhile, and feel
+the need to somehow donate back to our time spent, feel free to visit the site and select the donation icon! We appre...
[truncated message content] |
|
From: <and...@us...> - 2008-12-25 12:07:21
|
Revision: 2605
http://xoops.svn.sourceforge.net/xoops/?rev=2605&view=rev
Author: anderssk
Date: 2008-12-25 12:07:16 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
Update of admin.php in newbb translation
Modified Paths:
--------------
XoopsLanguages/danish/modules/newbb/newbb_3.08_danish_UTF-8/newbb/language/danish/admin.php
Modified: XoopsLanguages/danish/modules/newbb/newbb_3.08_danish_UTF-8/newbb/language/danish/admin.php
===================================================================
--- XoopsLanguages/danish/modules/newbb/newbb_3.08_danish_UTF-8/newbb/language/danish/admin.php 2008-12-25 12:04:59 UTC (rev 2604)
+++ XoopsLanguages/danish/modules/newbb/newbb_3.08_danish_UTF-8/newbb/language/danish/admin.php 2008-12-25 12:07:16 UTC (rev 2605)
@@ -64,7 +64,7 @@
define('_AM_NEWBB_REPORT_PENDING', 'Afventende rapport');
define('_AM_NEWBB_REPORT_PROCESSED', 'Afviklet rapport');
-define('_AM_NEWBB_CREATETHEDIR', 'Lav den');
+define('_AM_NEWBB_CREATETHEDIR', 'Lav det');
define('_AM_NEWBB_SETMPERM', 'Sæt rettighederne');
define('_AM_NEWBB_DIRCREATED', 'Folderen er blevet oprettet');
define('_AM_NEWBB_DIRNOTCREATED', 'Folderen kunne ikke oprettes');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2008-12-25 12:05:04
|
Revision: 2604
http://xoops.svn.sourceforge.net/xoops/?rev=2604&view=rev
Author: anderssk
Date: 2008-12-25 12:04:59 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
Upload Contact translation
Added Paths:
-----------
XoopsLanguages/danish/modules/contact/
XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/
XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/
XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/
XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/index.html
XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/main.php
XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/modinfo.php
XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/index.html
Added: XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/main.php
===================================================================
--- XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/main.php (rev 0)
+++ XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/main.php 2008-12-25 12:04:59 UTC (rev 2604)
@@ -0,0 +1,29 @@
+<?php
+define("_CT_NAME","Navn");
+define("_CT_EMAIL","Email");
+define("_CT_URL","Hjemmeside");
+define("_CT_ICQ","ICQ");
+define("_CT_COMPANY","Firma");
+define("_CT_LOCATION","Lokation");
+define("_CT_COMMENTS","Besked");
+define("_CT_SUBMIT","Send");
+define("_CT_YOURMESSAGE","Din besked:");
+define("_CT_WEBMASTER","Webmaster");
+define("_CT_HELLO","Hej %s,");
+define("_CT_THANKYOUCOMMENTS","Tak fordi du kontaktede %s.");
+define("_CT_SENTTOWEBMASTER","Den besked er sendt til %s.");
+define("_CT_SUBMITTED","%s sendte følgende besked:");
+define("_CT_MESSAGESENT","Besked er sendt til %s");
+define("_CT_CONFIRM", "Bekræftelses email");
+define("_CT_SENDCONFIRMEMAIL", "Send bekræftelses email til %s");
+define("_CT_SENDCONFIRM", "Send bekræftelses email til dig!" );
+define("_CT_SENTASCONFIRM","Den besked er sent til: %s som en bekræftelses email.");
+define("_CT_ADDRESS", "Adresse");
+define("_CT_SECURITY_CODE", "Sikkerheds kode" );
+define("_CT_SECURITY_TYPE", "Indtast sikkerheds kode" );
+define("_CT_ERROR_CONDITIONHEAD", "Fejl i bekræftelsen");
+define("_CT_ERROR_CONDITION", "<b>Ret venligst fejlen!</b><br />" );
+define("_CT_ERROR_BADSECVALUE_MSG", "Sikkerhedskoden er ikke korrekt!<br />");
+define("_CT_ERROR_BADEMAIL_MSG", "Kontroller den indtastede email adresse!<br />");
+define("_CT_NO_SPAM", "Ingen SPAM! Sikkerheds check");
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/modinfo.php
===================================================================
--- XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/modinfo.php (rev 0)
+++ XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/danish/modinfo.php 2008-12-25 12:04:59 UTC (rev 2604)
@@ -0,0 +1,97 @@
+<?php
+// $Id: modinfo.php,v 1.8 2004/12/26 19:11:54 onokazu Exp $
+// Module Info
+
+// The name of this module
+define("_MI_CONTACT_NAME","Kontakt os");
+// A brief description of this module
+define("_MI_CONTACT_DESC","Kontakt os");
+
+define('_MI_CONTACT_SETTINGS', 'Indstillinger');
+define('_MI_CONTACT_SETTINGS_DSC', 'Kontakt os indstillinger');
+define('_MI_CONTACT_GEN', 'Generelt' );
+define('_MI_CONTACT_GEN_DSC', 'Genelle indstillinger, introduktion emne og email indstillinger definitioner' );
+
+// Config stuff
+define("_MI_CONTACT_GETICQ", "ICQ" );
+define("_MI_CONTACT_GETICQDSC", "Ja - spørg efter ICQ" );
+
+define("_MI_CONTACT_ALLOWSENDCONFIRM", "Tillad bekræfelses besked Allow Confirm Messages" );
+define("_MI_CONTACT_ALLOWSENDCONFIRMDSC", "Ja - viser en boks for afsender, "
+ ." hvor de kan bede om at få tilsendt en bekræftelses mail." );
+
+define("_MI_CONTACT_GETURL", "URL" );
+define("_MI_CONTACT_GETURLDSC", "Ja - spørg efter brugerens URL (hjemmeside)" );
+
+define("_MI_CONTACT_GETCOMPANY", "Firma navn" );
+define("_MI_CONTACT_GETCOMPANYDSC", "Ja - spørg efter brugerens firma navn" );
+
+define("_MI_CONTACT_GETLOC", "Sted" );
+define("_MI_CONTACT_GETLOCDSC", "Ja - spørg efter brugerens sted, ikke den fulde adresse" );
+
+define("_MI_CONTACT_ADDRESS", "Adresse" );
+define("_MI_CONTACT_ADDRESSDSC", "Ja - spørg efter brugrens adresse" );
+
+define("_MI_CONTACT_INTROHEAD", "Introduktions overskrift" );
+define("_MI_CONTACT_INTROHEAD_DESC", "Det er overskriften anvendes til den <b>Indledende tekst</b>");
+define("_MI_CONTACT_INTRO_DEFAULT","Udfyld formularen og send, vil vi reagere så hurtigt som muligt!");
+
+define("_MI_CONTACT_INTRO", "Introduktions tekst" );
+define("_MI_CONTACT_INTRO_DESC", "Tekst der kan tilføjes i starten af <b>Kontakt os</b><br />"
+ ."Det kunne være velkomst tekst, adresse, telefonnummer osv" );
+
+define("_MI_CONTACT_SECURITY", "Sikkerheds check" );
+define("_MI_CONTACT_SECURITYDSC", "Ja - Aktiver <b>Sikkerheds check</b> for at validerer at brugerne sender med korrekt mailadresse.<br />"
+ ."Dette kan også begrænse <b>Kontakt os</b> SPAM!" );
+
+define("_MI_CONTACT_SITEKEY", "Tilfældig nøgle" );
+define("_MI_CONTACT_SITEKEYDSC", "Opret en tilfældig nøgle med store og små bogstaver, samt tal, for at lave <b>Sikkerheds check</b><br />"
+ ."mere grynet og tilfældig!" );
+
+define("_MI_CONTACT_HEAD", "Kontakt overskrift" );
+define("_MI_CONTACT_HEADDSC", "Overskrift for kontakt formular");
+define("_MI_CONTACT_HEADDEFAULT","Kontakt formular");
+
+define("_MI_CONTACT_THANKYOU", "Takke besked");
+define("_MI_CONTACT_THANKYOUDSC", "Besked til afsender med tak for at de kontaktede dig");
+define("_MI_CONTACT_THANKYOUDEFAULT", "Tak for din henvendelse. Vi vil vende tilbage til dig hurtigst muligt!");
+
+define("_MI_CONTACT_TIMEOUT", "Omdirigeringsside timeout");
+define("_MI_CONTACT_TIMEOUTDSC", "Dette er antallet af sekunder, hvor omdirigeringssiden vises efter afsendelse af en besked");
+
+define("_MI_CONTACT_SHOWDEPT", "Vis \"Afdeling/emne\" Sektion");
+define("_MI_CONTACT_SHOWDEPTDSC", "Ja - Viser en dropdown boks med valgte afdelinger/emner<br />"
+ ."Hvis ingen afdelinger vises, vil alle emails sendes til sidens email-adresse" );
+
+define("_MI_CONTACT_DEPTTITLE", "\"Afdeling/emne\" Titel");
+define("_MI_CONTACT_DEPTTITLEDSC", "Titlen der vises ud for \"Afdeling/emne\" sektionen af kontakt formularen");
+define("_MI_CONTACT_DEPTTITLEDEFAULT", "Afdeling");
+
+define("_MI_CONTACT_DEPT", "Afdelinger" );
+define("_MI_CONTACT_DEPTDSC", "Afdelinger giver dig mulighed for at definerer en afdeling/email kombination. Brugerne vælger<br />"
+ ."fra en foruddefineret afdeling, som de vil have deres besked sendt til. Beskeden vil så blive sendt til den<br />"
+ ."email adresse du definerer.<br /><br />"
+ ."Definer hver afdeling/email som følgende:<br /><br />"
+ ."afd1,email1|afd2,email2|afd3,email3 osv. - hver afdeling og email skal adskilles af et komma ','<br />"
+ .", og hver email kombination skal adskilles af en pipe '|'" );
+
+define("_MI_CONTACT_VALIDATEDOMAIN", "Valider Email Domæne");
+define("_MI_CONTACT_VALIDATEDOMAINDSC", "Ja - Aktiver \"deep-check\" af domain.tld i email adresse udbyder.<br />"
+ ."Nej - Laver et simpelt check på email adressen der er indtastet.");
+
+define("_MI_CONTACT_SHOWMOREINFO", "Vis \"Mere information\" Sektion" );
+define("_MI_CONTACT_SHOWMOREINFODSC", "Ja - Vis en sektion med flere checkboks muligheder, som du definerer i din \"Mere information\"");
+
+define("_MI_CONTACT_MOREINFOTITLE", "\"Mere information\" Titel" );
+define("_MI_CONTACT_MOREINFOTITLEDSC", "Titlen der vises i \"Mere Information\" sektionen af kontakt formularen" );
+define("_MI_CONTACT_MOREINFOTITLEDEFAULT","Forespørg om mere information");
+
+define("_MI_CONTACT_MOREINFO", "\"Mere information\" felter");
+define("_MI_CONTACT_MOREINFODSC", "\"Mere information\" felter gør det muligt at vise felter, som brugeren kan afmærke<br />"
+ ."interesser eller behov for informations. Det er en måde at styre dine besøgende, <br />"
+ ."hvis det er hvad du ønsker."
+ ."Definer hvert felt med følgende:<br /><br />"
+ ."Felt1|Felt2|Felt3 osv. - hvert felt skal adskilles med en pipe '|'");
+
+
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/index.html
===================================================================
--- XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/index.html (rev 0)
+++ XoopsLanguages/danish/modules/contact/contact_1.6_danish_utf-8/language/index.html 2008-12-25 12:04:59 UTC (rev 2604)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ 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: <luc...@us...> - 2008-12-18 18:54:33
|
Revision: 2603
http://xoops.svn.sourceforge.net/xoops/?rev=2603&view=rev
Author: luciorota
Date: 2008-12-18 18:54:26 +0000 (Thu, 18 Dec 2008)
Log Message:
-----------
Updated to TinyMCE v3.2.1.1 + all original languages (but not in Xoops plugins, need more languages!!!)
Modified Paths:
--------------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/ar.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/da.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/de.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/es.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/fa.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/pl.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/pt.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/ru.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/tw.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/zh.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advhr/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advhr/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/es_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/sq_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/de_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/es_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/es_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/ru_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/inlinepopups/editor_plugin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/inlinepopups/editor_plugin_src.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/inlinepopups/skins/clearlooks2/window.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/editor_plugin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/editor_plugin_src.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/js/media.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/safari/editor_plugin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/safari/editor_plugin_src.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/editor_plugin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/editor_plugin_src.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/js/table.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/es_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/js/element_common.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/pl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/editor_template.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/editor_template_src.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/ar.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/ar_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/da.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/da_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/de.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/de_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/es.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/es_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/fa.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/fa_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/lt.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/pl.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/pt.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/pt_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/ru.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/sq.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/sq_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/tw.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/tw_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/zh.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/zh_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/skins/default/dialog.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/skins/default/ui.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/skins/o2k7/dialog.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/skins/o2k7/ui.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/skins/o2k7/ui_black.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/skins/o2k7/ui_silver.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/ar.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/fa.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/pt.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/tw.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/zh.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/skins/default/ui.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/skins/o2k7/ui.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce_src.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce.php
Added Paths:
-----------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/br.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/dv.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/fi.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/gl.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/mn.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advhr/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advhr/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advhr/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advhr/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advhr/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advimage/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/advlink/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/emotions/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/fullpage/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/media/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/paste/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/searchreplace/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/style/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/table/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/template/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/plugins/xhtmlxtras/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/br.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/br_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/dv.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/dv_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/fi.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/fi_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/gl.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/gl_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/mn.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/advanced/langs/mn_dlg.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/br.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/dv.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/fi.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/gl.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/themes/simple/langs/mn.js
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2008-12-18 18:42:26 UTC (rev 2602)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/changelog.txt 2008-12-18 18:54:26 UTC (rev 2603)
@@ -1,3 +1,42 @@
+Version 3.2.1.1 (2008-11-27)
+ Added new theme_advanced_default_background_color/theme_advanced_default_foreground_color options. Patch contributed by David Bildstr\xF6m (ChronoZ).
+ Fixed font style formatting compatibility issue with Adobe Air.
+ Fixed so legacy font elements get converted into spans even if cleanup_on_startup isn't enabled.
+ Fixed bug where pre elements could be incorrectly modified by an IE bug workaround. Patch contributed by hu vime.
+ Fixed bug where input elements inside inlinepopups wasn't editable in Firefox 2.
+ Fixed bug where the xhtmlxtras plugin wasn't replacing attribute values correctly.
+ Fixed bug where menu buttons in skin variants would look strange due to IE 8 fixes.
+ Fixed bug where WebKit browsers would on backspace take you back to the previous page if the editor was empty.
+ Fixed bug where DOMUtils decode method wouldn't handle strings larger than 4096kb due to node chunking.
+ Fixed bug where meta key wasn't handled as ctrl key on Mac OS X for custom keyboard short cuts.
+ Fixed bug where init event would get fired twice on WebKit on Mac OS X.
+Version 3.2.1 (2008-11-04)
+ Added support for custom icon image for drop menus. Use icon_src to set a custom image directly.
+ Added new media_strict option to media plugin. Enables you to control if the flash embed is strict or not. Enabled by default.
+ Fixed so the editors script files gets dynamically loaded without using XHR or eval.
+ Fixed so the media plugin outputs valid XHTML object elements for Flash movies. Can be disabled with the media_strict option.
+ Fixed so dynamic loading doesn't require eval calls on non IE browsers for better Air support.
+ Fixed bug where the editor wasn't treated as empty if the remaining paragraph had attributes.
+ Fixed bug where id's of elements was removed ones they got wrapped in paragraphs. Patch contributed by ChronoZ.
+ Fixed bug where WebKit browsers where placing list elements inside paragraph elements.
+ Fixed bug where inserting images or links would produce absolute urls on WebKit browsers.
+ Fixed bug where values for checked, readonly, disabled and selected attributes was incorrect on IE.
+ Fixed bug where positive values for checked, readonly, disabled and selected attributes wasn't forced to valid values.
+ Fixed bug where selecting the first option in a native select box would produce an undefined error.
+ Fixed bug where tabindex 32768 could be outputted on IE if element attributes where cloned.
+ Fixed bug where the media dialogs preview window would display incorrect contents due to duplicate clsid prefixes.
+ Fixed bug where non pixel or percent heights for textarea elements would produce errors on IE.
+ Fixed bug where cdata sections in script elements wasn't handled correctly.
+ Fixed bug where nowrap of table cells would produce a 65535 value output.
+ Fixed bug where media plugin would produce an error if you selected the first item in the items list.
+ Fixed bug where media plugin would modify links with the item _value in them.
+ Fixed so table width/height is better forced if inline_styles is enabled. Patch contributed by daKmoR.
+ Fixed css for IE 8 such as opacity and other rendering quirks.
+Version 3.2.0.2 (2008-10-02)
+ Fixed bug where the SelectBox and NativeSelectBox wasn't updated correctly if undefined was passed to them.
+ Fixed bug where the style dropdown wasn't correctly changed back to it's original state when element had no class.
+ Fixed bug where multiple pending font styles wasn't handled correctly.
+ Fixed so you can disable all auto css loading for dialogs by setting the popups_css option to false.
Version 3.2.0.1 (2008-09-17)
Fixed bug where font sizes and faces wouldn't be changed correctly when there was a parent with a different style.
Fixed bug where adding fonts to the same selection would produce redundant spans.
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/ar.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/ar.js 2008-12-18 18:42:26 UTC (rev 2602)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/ar.js 2008-12-18 18:54:26 UTC (rev 2603)
@@ -4,14 +4,15 @@
apply:"\u062A\u0637\u0628\u064A\u0642",
insert:"\u0627\u062F\u0631\u0627\u062C",
update:"\u062A\u062D\u062F\u064A\u062B",
-cancel:"\u0627\u0644\u063A\u0627\u0621 \u0627\u0644\u0623\u0645\u0631",
+cancel:"\u062A\u0631\u0627\u062C\u0639",
close:"\u0627\u063A\u0644\u0627\u0642",
browse:"\u0627\u0633\u062A\u0639\u0631\u0627\u0636",
-class_name:"\u0643\u0644\u0627\u0633",
+class_name:"\u0641\u0626\u0629",
not_set:"-- \u0628\u062F\u0648\u0646 \u062A\u062D\u062F\u064A\u062F --",
clipboard_msg:"\u0646\u0633\u062E/\u0642\u0635/\u0644\u0635\u0642 \u063A\u064A\u0631 \u0645\u062A\u0648\u0641\u0631\u0629 \u0644\u0645\u062A\u0635\u0641\u062D Mozilla \u0648 Firefox.\n\u0647\u0644 \u062A\u0631\u064A\u062F \u0645\u0639\u0631\u0641\u0629 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u062D\u0648\u0644 \u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0636\u0648\u0639?",
-popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
-invalid_data:"\u062E\u0637\u0623: \u0627\u0644\u0642\u064A\u0645\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 \u062E\u0627\u0637\u0626\u0629, \u062A\u0645 \u062A\u062D\u062F\u064A\u062F\u0647\u0627 \u0628\u0627\u0644\u0644\u0648\u0646 \u0627\u0644\u0623\u062D\u0645\u0631.",
+clipboard_no_support:"\u062D\u0627\u0644\u064A\u0627\u060C \u0647\u0630\u0647 \u0627\u0644\u062E\u0627\u0635\u064A\u0629 \u063A\u064A\u0631 \u0645\u062F\u0639\u0648\u0645\u0629 \u0645\u0646 \u0642\u0628\u0644 \u0647\u0630\u0627 \u0627\u0644\u0645\u062A\u0635\u0641\u062D\u060C \u0627\u0633\u062A\u0639\u0645\u0644 \u0627\u062E\u062A\u0635\u0627\u0631\u0627\u062A \u0644\u0648\u062D\u0629 \u0627\u0644\u0645\u0641\u0627\u062A\u064A\u062D.",
+popup_blocked:"\u0639\u0630\u0631\u0627\u060C \u0648\u0644\u0643\u0646 \u064A\u0628\u062F\u0648 \u0623\u0646 \u0645\u0639\u064A\u0642 \u0627\u0644\u0627\u0639\u0644\u0627\u0646\u0627\u062A popup-blocker \u0627\u0644\u062E\u0627\u0635 \u0628\u0645\u062A\u0635\u0641\u062D\u0643 \u0642\u0627\u0645 \u0628\u062A\u0639\u0637\u064A\u0644 \u0646\u0627\u0641\u0630\u0629 \u062A\u062A\u064A\u062D \u0644\u0645\u062D\u0631\u0631 \u0627\u0644\u0646\u0635\u0648\u0635 \u0627\u0644\u0639\u0645\u0644 \u0628\u0635\u0648\u0631\u0629 \u0637\u0628\u064A\u0639\u064A\u0629. \u0639\u0644\u064A\u0643 \u0628\u062A\u0639\u0637\u064A\u0644 \u0645\u0639\u064A\u0642 \u0627\u0644\u0627\u0639\u0644\u0627\u0646\u0627\u062A popup-blocker \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639 \u062D\u062A\u0649 \u062A\u0633\u062A\u0637\u064A\u0639 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u0645\u062D\u0631\u0631 \u0627\u0644\u0646\u0635\u0648\u0635 \u0628\u0635\u0648\u0631\u0629 \u0637\u0628\u064A\u0639\u064A\u0629.",
+invalid_data:"\u062E\u0637\u0623: \u0627\u0644\u0642\u064A\u0645 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 \u062E\u0627\u0637\u0626\u0629, \u0644\u0642\u062F \u062A\u0645 \u062A\u062D\u062F\u064A\u062F\u0647\u0627 \u0628\u0627\u0644\u0644\u0648\u0646 \u0627\u0644\u0623\u062D\u0645\u0631.",
more_colors:"\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0623\u0644\u0648\u0627\u0646"
},
contextmenu:{
@@ -45,7 +46,7 @@
insertlayer_desc:"\u0625\u062F\u0631\u0627\u062C \u0637\u0628\u0642\u0629 \u062C\u062F\u064A\u062F\u0629",
forward_desc:"\u062A\u062D\u0631\u064A\u0643 \u0644\u0644\u0645\u0642\u062F\u0645\u0629",
backward_desc:"\u062A\u062D\u0631\u064A\u0643 \u0644\u0644\u0645\u0624\u062E\u0631\u0629",
-absolute_desc:"Toggle absolute positioning",
+absolute_desc:"\u062A\u062B\u0628\u064A\u062A \u0645\u0637\u0644\u0642 \u0644\u0644\u0645\u0648\u0627\u0636\u0639",
content:"\u0637\u0628\u0642\u0629 \u062C\u062F\u064A\u062F\u0629..."
},
save:{
@@ -53,11 +54,11 @@
cancel_desc:"\u0627\u0644\u063A\u0627\u0621 \u062C\u0645\u064A\u0639 \u0627\u0644\u062A\u0639\u062F\u064A\u0644\u0627\u062A"
},
nonbreaking:{
-nonbreaking_desc:"\u0625\u062F\u0631\u0627\u062C non-breaking space character"
+nonbreaking_desc:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u062D\u0631\u0641 non-breaking space"
},
iespell:{
-iespell_desc:"Run spell checking",
-download:"ieSpell not detected. Do you want to install it now?"
+iespell_desc:"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062F\u0642\u064A\u0642 \u0627\u0644\u0625\u0645\u0644\u0627\u0626\u064A",
+download:"\u0628\u0631\u0646\u0627\u0645\u062C ieSpell \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F. \u0647\u0644 \u062A\u0631\u064A\u062F \u0623\u0646 \u062A\u0642\u0648\u0645 \u0628\u062A\u062B\u0628\u064A\u062A\u0647 \u0627\u0644\u0622\u0646\u061F"
},
advhr:{
advhr_desc:"\u062E\u0637 \u0627\u0641\u0642\u064A"
@@ -73,18 +74,18 @@
image_desc:"\u0625\u062F\u0631\u0627\u062C/\u062A\u062D\u0631\u064A\u0631 \u0635\u0648\u0631\u0629"
},
advlink:{
-link_desc:"\u0625\u062F\u0631\u0627\u062C/\u062A\u062D\u0631\u064A\u0631 \u0631\u0627\u0628\u0637"
+link_desc:"\u0625\u062F\u0631\u0627\u062C/\u062A\u0639\u062F\u064A\u0644 \u0631\u0627\u0628\u0637"
},
xhtmlxtras:{
-cite_desc:"Citation",
-abbr_desc:"Abbreviation",
-acronym_desc:"Acronym",
-del_desc:"Deletion",
-ins_desc:"\u0625\u062F\u0631\u0627\u062Cion",
-attribs_desc:"\u0625\u062F\u0631\u0627\u062C/\u062A\u062D\u0631\u064A\u0631 Attributes"
+cite_desc:"\u0627\u0642\u062A\u0628\u0627\u0633",
+abbr_desc:"\u0627\u0644\u0627\u062E\u062A\u0635\u0627\u0631",
+acronym_desc:"\u0627\u0644\u0627\u062E\u062A\u0635\u0627\u0631",
+del_desc:"\u062D\u0630\u0641",
+ins_desc:"\u0625\u062F\u0631\u0627\u062C",
+attribs_desc:"\u0625\u062F\u0631\u0627\u062C/\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u062E\u0635\u0627\u0626\u0635"
},
style:{
-desc:"Edit CSS Style"
+desc:"\u062A\u0639\u062F\u064A\u0644 CSS Style"
},
paste:{
paste_text_desc:"\u0644\u0635\u0642 \u0643\u0646\u0635 \u0639\u0627\u062F\u064A",
@@ -109,8 +110,8 @@
row_desc:"\u062E\u0635\u0627\u0626\u0635 \u0635\u0641 \u0627\u0644\u062C\u062F\u0648\u0644",
cell_desc:"\u062E\u0635\u0627\u0626\u0635 \u062E\u0644\u064A\u0629 \u0627\u0644\u062C\u062F\u0648\u0644",
props_desc:"\u062E\u0635\u0627\u0626\u0635 \u0627\u0644\u062C\u062F\u0648\u0644",
-paste_row_before_desc:"\u0644\u0635\u0642 table row before",
-paste_row_after_desc:"\u0644\u0635\u0642 table row after",
+paste_row_before_desc:"\u0644\u0635\u0642 \u0635\u0641 \u062C\u062F\u0648\u0644 \u0642\u0628\u0644",
+paste_row_after_desc:"\u0644\u0635\u0642 \u0635\u0641 \u062C\u062F\u0648\u0644 \u0628\u0639\u062F",
cut_row_desc:"\u0642\u0635 \u0635\u0641",
copy_row_desc:"\u0646\u0633\u062E \u0635\u0641",
del:"\u062D\u0630\u0641 \u062C\u062F\u0648\u0644",
@@ -119,23 +120,23 @@
cell:"\u062E\u0644\u064A\u0629"
},
autosave:{
-unload_msg:"The changes you made will be lost if you navigate away from this page."
+unload_msg:"\u0627\u0644\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u062A\u064A \u0642\u0645\u062A \u0628\u0647\u0627 \u0633\u062A\u0641\u0642\u062F \u0627\u0646 \u0642\u0645\u062A \u0628\u0627\u0644\u062A\u0646\u0642\u0644 \u0625\u0644\u0649 \u0635\u0641\u062D\u0627\u062A \u0623\u062E\u0631\u0649."
},
fullscreen:{
-desc:"Toggle fullscreen mode"
+desc:"\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629"
},
media:{
-desc:"\u0625\u062F\u0631\u0627\u062C / edit embedded media",
-edit:"Edit embedded media"
+desc:"\u0625\u062F\u0631\u0627\u062C / \u062A\u0639\u062F\u064A\u0644 \u0645\u0644\u0641 \u0645\u0635\u0627\u062F\u0631 \u0645\u062A\u0639\u062F\u062F\u0629 \u0645\u062F\u0645\u062C",
+edit:"\u062A\u0639\u062F\u064A\u0644 \u0645\u0644\u0641 \u0645\u0635\u0627\u062F\u0631 \u0645\u062A\u0639\u062F\u062F\u0629 \u0645\u062F\u0645\u062C"
},
fullpage:{
desc:"\u062E\u0635\u0627\u0626\u0635 \u0627\u0644\u0645\u0633\u062A\u0646\u062F"
},
template:{
-desc:"\u0625\u062F\u0631\u0627\u062C predefined template content"
+desc:"\u0625\u062F\u0631\u0627\u062C \u0642\u0627\u0644\u0628 \u0645\u0648\u062C\u0648\u062F \u0645\u0633\u0628\u0642\u0627"
},
visualchars:{
-desc:"Visual control characters \u062A\u0634\u063A\u064A\u0644/\u0627\u064A\u0642\u0627\u0641."
+desc:"\u062A\u0634\u063A\u064A\u0644/\u0627\u064A\u0642\u0627\u0641 \u0627\u0644\u0645\u0631\u0627\u0642\u0628\u0629 \u0627\u0644\u0628\u0635\u0631\u064A\u0629 \u0644\u0644\u0623\u062D\u0631\u0641"
},
spellchecker:{
desc:"\u0627\u0644\u0645\u062F\u0642\u0642 \u0627\u0644\u0625\u0645\u0644\u0627\u0626\u064A",
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/br.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/br.js (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/br.js 2008-12-18 18:54:26 UTC (rev 2603)
@@ -0,0 +1,154 @@
+tinyMCE.addI18n({br:{
+common:{
+edit_confirm:"Deseja usar o modo de edi\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00A3o avan\u00C3\u0083\u00C2\u00A7ado neste campo de texto?",
+apply:"Aplicar",
+insert:"Inserir",
+update:"Atualizar",
+cancel:"Cancelar",
+close:"Fechar",
+browse:"Procurar",
+class_name:"Classe",
+not_set:"-- N\u00C3\u0083\u00C2\u00A3o especificado --",
+clipboard_msg:"Copiar/cortar/colar n\u00C3\u0083\u00C2\u00A3o est\u00C3\u0083\u00C2\u00A1 dispon\u00C3\u0083\u00C2\u00ADvel no Mozilla/Firefox.\nDeseja mais informa\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00B5es sobre este problema?",
+clipboard_no_support:"O seu navegador n\u00C3\u0083\u00C2\u00A3o tem suporte para esta fun\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00A3o, use os atalhos do teclado.",
+popup_blocked:"Detect\u00C3\u0083\u00C2\u00A1mos que o seu bloqueador de popups bloqueou uma janela que \u00C3\u0083\u00C2\u00A9 essencial para o aplicativo. Voc\u00C3\u0083\u00C2\u00AA precisa desactivar o bloqueador de popups para utilizar esta ferramenta.",
+invalid_data:"Erro: Valores inv\u00C3\u0083\u00C2\u00A1lidos est\u00C3\u0083\u00C2\u00A3o marcados a vermelho.",
+more_colors:"Mais Cores"
+},
+contextmenu:{
+align:"Alinhamento",
+left:"Esquerda",
+center:"Centro",
+right:"Direita",
+full:"Justificar"
+},
+insertdatetime:{
+date_fmt:"%d-%m-%Y",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Inserir data",
+inserttime_desc:"Inserir hora",
+months_long:"Janeiro,Fevereiro,Mar\u00C3\u0083\u00C2\u00A7o,Abril,Maio,Junho,Julho,Agosto,Setembro,Outubro,Novembro,Dezembro",
+months_short:"Jan,Fev,Mar,Abr,Mai,Jun,Jul,Ago,Set,Out,Nov,Dez",
+day_long:"Domingo,Segunda-Feira,Ter\u00C3\u0083\u00C2\u00A7a-Feira,Quarta-Feira,Quinta-Feira,Sexta-Feira,S\u00C3\u0083\u00C2\u00A1bado,Domingo",
+day_short:"Dom,Seg,Ter,Qua,Qui,Sex,Sab,Dom"
+},
+print:{
+print_desc:"Imprimir"
+},
+preview:{
+preview_desc:"Pr\u00C3\u0083\u00C2\u00A9-Visualizar"
+},
+directionality:{
+ltr_desc:"Da esquerda para direita",
+rtl_desc:"Da direita para esquerda"
+},
+layer:{
+insertlayer_desc:"Inserir nova camada",
+forward_desc:"Mover para frente",
+backward_desc:"Mover para tr\u00C3\u0083\u00C2\u00A1s",
+absolute_desc:"Alternar posicionamento absoluto",
+content:"Nova camada..."
+},
+save:{
+save_desc:"Guardar",
+cancel_desc:"Cancelar todas as altera\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00B5es"
+},
+nonbreaking:{
+nonbreaking_desc:"Inserir um espa\u00C3\u0083\u00C2\u00A7o"
+},
+iespell:{
+iespell_desc:"Verificar ortografia",
+download:"Aplicativo de ortografia n\u00C3\u0083\u00C2\u00A3o-detectado. Deseja instal\u00C3\u0083\u00C2\u00A1-lo agora?"
+},
+advhr:{
+advhr_desc:"Separador horizontal"
+},
+emotions:{
+emotions_desc:"Emoticons"
+},
+searchreplace:{
+search_desc:"Localizar",
+replace_desc:"Localizar/substituir"
+},
+advimage:{
+image_desc:"Inserir/editar imagem"
+},
+advlink:{
+link_desc:"Inserir/editar hyperlink"
+},
+xhtmlxtras:{
+cite_desc:"Cita\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00A3o",
+abbr_desc:"Abrevia\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00A3o",
+acronym_desc:"Acr\u00C3\u0083\u00C2\u00B4nimo",
+del_desc:"Apagar",
+ins_desc:"Inserir",
+attribs_desc:"Inserir/Editar atributos"
+},
+style:{
+desc:"Editar CSS"
+},
+paste:{
+paste_text_desc:"Colar como texto simples",
+paste_word_desc:"Colar (copiado do WORD)",
+selectall_desc:"Seleccionar tudo"
+},
+paste_dlg:{
+text_title:"Use CTRL+V para colar o texto na janela.",
+text_linebreaks:"Manter quebras de linha",
+word_title:"Use CTRL+V para colar o texto na janela."
+},
+table:{
+desc:"Inserir nova tabela",
+row_before_desc:"Inserir linha antes",
+row_after_desc:"Inserir linha depois",
+delete_row_desc:"Apagar linha",
+col_before_desc:"Inserir coluna antes",
+col_after_desc:"Inserir coluna depois",
+delete_col_desc:"Remover coluna",
+split_cells_desc:"Dividir c\u00C3\u0083\u00C2\u00A9lulas",
+merge_cells_desc:"Unir c\u00C3\u0083\u00C2\u00A9lulas",
+row_desc:"Propriedades das linhas",
+cell_desc:"Propriedades das c\u00C3\u0083\u00C2\u00A9lulas",
+props_desc:"Propriedades da tabela",
+paste_row_before_desc:"Colar linha antes",
+paste_row_after_desc:"Colar linha depois",
+cut_row_desc:"Cortar linha",
+copy_row_desc:"Copiar linha",
+del:"Apagar tabela",
+row:"Linha",
+col:"Coluna",
+cell:"C\u00C3\u0083\u00C2\u00A9lula"
+},
+autosave:{
+unload_msg:"As mudan\u00C3\u0083\u00C2\u00A7as efectuadas ser\u00C3\u0083\u00C2\u00A3o perdidas se sair desta p\u00C3\u0083\u00C2\u00A1gina."
+},
+fullscreen:{
+desc:"Ecr\u00C3\u0083\u00C2\u00A3o Inteiro"
+},
+media:{
+desc:"Inserir/editar media embutido",
+edit:"Editar media embutido"
+},
+fullpage:{
+desc:"Propriedades do Documento"
+},
+template:{
+desc:"Inserir template"
+},
+visualchars:{
+desc:"Caracteres de controle visual ligado/desligado"
+},
+spellchecker:{
+desc:"Alternar verifica\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00A3o ortogr\u00C3\u0083\u00C2\u00A1fica",
+menu:"Configura\u00C3\u0083\u00C2\u00A7\u00C3\u0083\u00C2\u00B5es de ortografia",
+ignore_word:"Ignorar palavra",
+ignore_words:"Ignorar tudo",
+langs:"Linguagens",
+wait:"Aguarde...",
+sug:"Sugest\u00C3\u0083\u00C2\u00B5es",
+no_sug:"Sem sugest\u00C3\u0083\u00C2\u00B5es",
+no_mpell:"N\u00C3\u0083\u00C2\u00A3o foram detectados erros de ortografia."
+},
+pagebreak:{
+desc:"Inserir quebra de p\u00C3\u0083\u00C2\u00A1gina."
+}}});
\ No newline at end of file
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/da.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/da.js 2008-12-18 18:42:26 UTC (rev 2602)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/da.js 2008-12-18 18:54:26 UTC (rev 2603)
@@ -1,6 +1,6 @@
tinyMCE.addI18n({da:{
common:{
-edit_confirm:"Vil du bruge den avancerede tekst redigering?",
+edit_confirm:"Vil du bruge den avancerede tekstredigering?",
apply:"Anvend",
insert:"Inds\u00E6t",
update:"Opdater",
@@ -10,8 +10,8 @@
class_name:"Klasse",
not_set:"-- Ikke sat --",
clipboard_msg:"Kopier/Klip/inds\u00E6t er ikke muligt i Mozilla eller Firefox.\nVil du have mere information om dette emne?",
-clipboard_no_support:"P\u00E5 nuv\u00E6rende tidspunkt ikke supporteret af din browser. Anvend istedet genvejene p\u00E5 tastaturet.",
-popup_blocked:"Undskyld, men vi har noteret os at din popup-blocker har forhindret et vindue, der giver programmet funktionalitet, at \u00E5bne op. Hvis du vil have den fulde funktionalitet m\u00E5 du sl\u00E5 popup-blockeren fra for dette websted.",
+clipboard_no_support:"P\u00E5 nuv\u00E6rende tidspunkt ikke supporteret af din browser. Anvend i stedet genvejene p\u00E5 tastaturet.",
+popup_blocked:"Undskyld, men vi har noteret os, at din popup-blocker har forhindret et vindue, der giver programmet funktionalitet, at \u00E5bne op. Hvis du vil have den fulde funktionalitet, m\u00E5 du sl\u00E5 popup-blockeren fra for dette websted.",
invalid_data:"Fejl: Forkerte v\u00E6rdier indtastet i felter markeret med r\u00F8d.",
more_colors:"Flere farver"
},
@@ -43,7 +43,7 @@
rtl_desc:"Retning h\u00F8jre mod venstre"
},
layer:{
-insertlayer_desc:"Inds\u00E6t ny lag",
+insertlayer_desc:"Inds\u00E6t nyt lag",
forward_desc:"Flyt fremad",
backward_desc:"Flyt bagud",
absolute_desc:"Sl\u00E5 absolut positionering til/fra",
@@ -68,13 +68,14 @@
},
searchreplace:{
search_desc:"S\u00F8g",
-replace_desc:"S\u00F8g/Erstat"
+replace_desc:"S\u00F8g/erstat"
},
advimage:{
image_desc:"Inds\u00E6t/rediger billede"
},
advlink:{
-link_desc:"Inds\u00E6t/rediger link"
+link_desc:"Inds\u00E6t/rediger link",
+delta_width:"40"
},
xhtmlxtras:{
cite_desc:"Citat",
@@ -120,7 +121,7 @@
cell:"Celle"
},
autosave:{
-unload_msg:"Har du foretaget nogle \u00E6ndringer vil de g\u00E5 tabt hvis du navigerer v\u00E6k fra denne side."
+unload_msg:"Har du foretaget nogle \u00E6ndringer, vil de g\u00E5 tabt, hvis du navigerer v\u00E6k fra denne side."
},
fullscreen:{
desc:"Vis/skjul fuldsk\u00E6rmstilstand"
@@ -130,7 +131,7 @@
edit:"Rediger indlejret mediefil"
},
fullpage:{
-desc:"Dokument egenskaber"
+desc:"Dokumentegenskaber"
},
template:{
desc:"Inds\u00E6t pr\u00E6defineret skabelonindhold"
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/de.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/de.js 2008-12-18 18:42:26 UTC (rev 2602)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/de.js 2008-12-18 18:54:26 UTC (rev 2603)
@@ -117,7 +117,8 @@
del:"Tabelle entfernen",
row:"Zeile",
col:"Spalte",
-cell:"Zelle"
+cell:"Zelle",
+cellprops_delta_width:"150"
},
autosave:{
unload_msg:"Ihre \u00C4nderungen werden verloren gehen, wenn Sie die Seite verlassen."
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/dv.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/dv.js (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/dv.js 2008-12-18 18:54:26 UTC (rev 2603)
@@ -0,0 +1,154 @@
+tinyMCE.addI18n({dv:{
+common:{
+edit_confirm:"\u0789\u07A8\u0793\u07AC\u0786\u07B0\u0793\u07B0\u0790\u07B0\u0784\u07AE\u0786\u07B0\u0790\u07B0\u078E\u07A6\u0787\u07A8 \u0787\u07AC\u0791\u07A8\u0793\u07A7\u0783 \u0784\u07AD\u0782\u07AA\u0782\u07B0\u0786\u07AA\u0783\u07A6\u0782\u07B0 \u0784\u07AD\u0782\u07AA\u0782\u07B0\u078A\u07AA\u0785\u07AA\u078C\u07AF\u061F",
+apply:"\u0790\u07AD\u0788\u07B0",
+insert:"\u0787\u07A8\u078C\u07AA\u0783\u07AA\u0786\u07AA\u0783\u07A6\u0787\u07B0\u0788\u07A7",
+update:"\u0784\u07A6\u078B\u07A6\u078D\u07AA\u0786\u07AA\u0783\u07A6\u0787\u07B0\u0788\u07A7",
+cancel:"\u0786\u07AC\u0782\u07B0\u0790\u07A6\u078D\u07B0",
+close:"\u0782\u07A8\u0789\u07AA\u0782\u07A9",
+browse:"\u0784\u07A6\u0787\u07B0\u078D\u07A6\u0788\u07A7",
+class_name:"\u0786\u07B0\u078D\u07A7\u0790\u07B0",
+not_set:"-- \u0780\u07A6\u0789\u07A6\u0787\u07AC\u0787\u07B0 \u0782\u07AA\u0796\u07AC\u0780\u07AC --",
+clipboard_msg:"\u0789\u07AE\u0792\u07A8\u0787\u07B0\u078D\u07A7 \u0787\u07A6\u078B\u07A8 \u078A\u07A6\u0794\u07A7\u0783\u078A\u07AE\u0786\u07B0\u0790\u07B0\u078E\u07A6\u0787\u07A8 \u0786\u07AE\u0795\u07A9/\u0786\u07A6\u0793\u07B0/\u0795\u07AD\u0790\u07B0\u0793\u07B0 \u0782\u07AA\u0786\u07AA\u0783\u07AC\u0788\u07AC.\n \u0789\u07A8\u0789\u07A6\u0787\u07B0\u0790\u07A6\u078D\u07A6 \u0787\u07A8\u078C\u07AA\u0783\u07A6\u0781\u07B0 \u0787\u07AE\u0785\u07AA\u0782\u07B0\u078A\u07A8\u078D\u07AA\u0788\u07AA\u0789\u07A6\u0781\u07B0 \u0784\u07AD\u0782\u07AA\u0782\u07B0\u078A\u07AA\u0785\u07AA\u0788\u07AD\u078C\u07A6\u061F",
+clipboard_no_support:"\u0789\u07A8\u0788\u07A6\u078E\u07AA\u078C\u07AA \u078C\u07A8\u0794\u07A6\u0784\u07AD\u078A\u07AA\u0785\u07A7\u078E\u07AC \u0784\u07B0\u0783\u07A6\u0787\u07AA\u0792\u07A6\u0783\u07AA \u0790\u07A6\u0795\u07AF\u0793\u07B0 \u0782\u07AA\u0786\u07AA\u0783\u07A7\u078C\u07A9\u0788\u07AC \u0786\u07A9\u0784\u07AF\u0791\u07B0\u078E\u07AC \u0786\u07A9\u078C\u07A6\u0787\u07B0 \u0784\u07AD\u0782\u07AA\u0782\u07B0\u0786\u07AA\u0783\u07A6\u0787\u07B0\u0788\u07A7.",
+popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
+invalid_data:"Error: Invalid values entered, these are marked in red.",
+more_colors:"More colors"
+},
+contextmenu:{
+align:"Alignment",
+left:"Left",
+center:"Center",
+right:"Right",
+full:"Full"
+},
+insertdatetime:{
+date_fmt:"%Y-%m-%d",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Insert date",
+inserttime_desc:"Insert time",
+months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
+months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
+day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
+day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
+},
+print:{
+print_desc:"Print"
+},
+preview:{
+preview_desc:"Preview"
+},
+directionality:{
+ltr_desc:"Direction left to right",
+rtl_desc:"Direction right to left"
+},
+layer:{
+insertlayer_desc:"Insert new layer",
+forward_desc:"Move forward",
+backward_desc:"Move backward",
+absolute_desc:"Toggle absolute positioning",
+content:"New layer..."
+},
+save:{
+save_desc:"Save",
+cancel_desc:"Cancel all changes"
+},
+nonbreaking:{
+nonbreaking_desc:"Insert non-breaking space character"
+},
+iespell:{
+iespell_desc:"Run spell checking",
+download:"ieSpell not detected. Do you want to install it now?"
+},
+advhr:{
+advhr_desc:"Horizontal rule"
+},
+emotions:{
+emotions_desc:"Emotions"
+},
+searchreplace:{
+search_desc:"Find",
+replace_desc:"Find/Replace"
+},
+advimage:{
+image_desc:"Insert/edit image"
+},
+advlink:{
+link_desc:"Insert/edit link"
+},
+xhtmlxtras:{
+cite_desc:"Citation",
+abbr_desc:"Abbreviation",
+acronym_desc:"Acronym",
+del_desc:"Deletion",
+ins_desc:"Insertion",
+attribs_desc:"Insert/Edit Attributes"
+},
+style:{
+desc:"Edit CSS Style"
+},
+paste:{
+paste_text_desc:"Paste as Plain Text",
+paste_word_desc:"Paste from Word",
+selectall_desc:"Select All"
+},
+paste_dlg:{
+text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
+text_linebreaks:"Keep linebreaks",
+word_title:"Use CTRL+V on your keyboard to paste the text into the window."
+},
+table:{
+desc:"Inserts a new table",
+row_before_desc:"Insert row before",
+row_after_desc:"Insert row after",
+delete_row_desc:"Delete row",
+col_before_desc:"Insert column before",
+col_after_desc:"Insert column after",
+delete_col_desc:"Remove column",
+split_cells_desc:"Split merged table cells",
+merge_cells_desc:"Merge table cells",
+row_desc:"Table row properties",
+cell_desc:"Table cell properties",
+props_desc:"Table properties",
+paste_row_before_desc:"Paste table row before",
+paste_row_after_desc:"Paste table row after",
+cut_row_desc:"Cut table row",
+copy_row_desc:"Copy table row",
+del:"Delete table",
+row:"Row",
+col:"Column",
+cell:"Cell"
+},
+autosave:{
+unload_msg:"The changes you made will be lost if you navigate away from this page."
+},
+fullscreen:{
+desc:"Toggle fullscreen mode"
+},
+media:{
+desc:"Insert / edit embedded media",
+edit:"Edit embedded media"
+},
+fullpage:{
+desc:"Document properties"
+},
+template:{
+desc:"Insert predefined template content"
+},
+visualchars:{
+desc:"Visual control characters on/off."
+},
+spellchecker:{
+desc:"Toggle spellchecker",
+menu:"Spellchecker settings",
+ignore_word:"Ignore word",
+ignore_words:"Ignore all",
+langs:"Languages",
+wait:"Please wait...",
+sug:"Suggestions",
+no_sug:"No suggestions",
+no_mpell:"No misspellings found."
+},
+pagebreak:{
+desc:"Insert page break."
+}}});
\ No newline at end of file
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/es.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/es.js 2008-12-18 18:42:26 UTC (rev 2602)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/es.js 2008-12-18 18:54:26 UTC (rev 2603)
@@ -1,6 +1,6 @@
tinyMCE.addI18n({es:{
common:{
-edit_confirm:"\u00BFDesea utilizar el modo WYSIWYG para esta caja de texto?",
+edit_confirm:" \u00BFDesea utilizar el modo WYSIWYG para esta caja de texto?",
apply:"Aplicar",
insert:"Insertar",
update:"Actualizar",
@@ -9,7 +9,7 @@
browse:"Examinar",
class_name:"Clase",
not_set:"-- Ninguno --",
-clipboard_msg:"Copiar/Cortar/Pegar no se encuentra disponible en Mozilla y Firefox.\n\u00BFDesea obtener m\u00E1s informaci\u00F3n acerca de este tema?",
+clipboard_msg:"Copiar/Cortar/Pegar no se encuentra disponible en Mozilla y Firefox.\n \u00BFDesea obtener m\u00E1s informaci\u00F3n acerca de este tema?",
clipboard_no_support:"Su navegador no soporta las funciones de cortapapeles, use los accesos por teclado.",
popup_blocked:"Lo sentimos, su bloqueo de ventanas emergentes ha deshabilitado una ventana que provee funcionalidades a la aplicaci\u00F3n. Necesita deshabilitar este bloqueo en este sitio para poder utilizar todas las funciones.",
invalid_data:"Error: Introdujo un valor no v\u00E1lido, est\u00E1n marcados en rojo.",
@@ -58,7 +58,7 @@
},
iespell:{
iespell_desc:"Corrector ortogr\u00E1fico",
-download:"No se detect\u00F3 'ieSpell'. \u00BFDesea instalarlo ahora?"
+download:"No se detect\u00F3 'ieSpell'. \u00BFDesea instalarlo ahora?"
},
advhr:{
advhr_desc:"Regla horizontal"
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/fa.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/fa.js 2008-12-18 18:42:26 UTC (rev 2602)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/fa.js 2008-12-18 18:54:26 UTC (rev 2603)
@@ -1,36 +1,36 @@
tinyMCE.addI18n({fa:{
common:{
-edit_confirm:"\u0622\u06CC\u0627 \u0645\u0627\u06CC\u0644\u06CC\u062F \u0627\u0632 \u062D\u0627\u0644\u062A \u0628\u0635\u0631\u06CC \u0628\u0631\u0627\u06CC \u0627\u06CC\u0646 \u062C\u0639\u0628\u0647 \u0645\u062A\u0646 \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u06A9\u0646\u06CC\u062F\u061F",
-apply:"Apply",
+edit_confirm:"\u0622\u06CC\u0627 \u0634\u0645\u0627 \u0645\u0627\u06CC\u0644\u06CC\u062F \u062A\u0627 \u0627\u0632 \u062D\u0627\u0644\u062A \u0648\u06CC\u0631\u0627\u06CC\u0634\u06AF\u0631 WYSIWYG \u0628\u0631\u0627\u06CC \u0627\u06CC\u0646 \u0646\u0627\u062D\u06CC\u0647 \u0645\u062A\u0646\u06CC \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F\u061F",
+apply:"\u0628\u0643\u0627\u0631\u06AF\u06CC\u0631\u06CC",
insert:"\u062F\u0631\u062C",
update:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC",
cancel:"\u0627\u0646\u0635\u0631\u0627\u0641",
close:"\u0628\u0633\u062A\u0646",
-browse:"Browse",
-class_name:"\u062F\u0633\u062A\u0647",
-not_set:"-- \u062A\u0646\u0638\u064A\u0645 \u0646\u0634\u062F\u0647 --",
-clipboard_msg:"\u0631\u0648\u0646\u0648\u0634\u062A/\u0628\u0631\u0634/\u062C\u0627\u06CC\u06AF\u0630\u0627\u0631\u06CC \u062F\u0631 \u0645\u0631\u0648\u0631\u06AF\u0631\u0647\u0627\u06CC \u0645\u0648\u0632\u06CC\u0644\u0627 \u0648 \u0641\u0627\u06CC\u0631\u0641\u0627\u06A9\u0633 \u0648\u062C\u0648\u062F \u0646\u062F\u0627\u0631\u0646\u062F.\n\u0622\u06CC\u0627 \u0628\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0628\u06CC\u0634\u062A\u0631\u06CC \u062F\u0631 \u0627\u06CC\u0646 \u0632\u0645\u06CC\u0646\u0647 \u0646\u06CC\u0627\u0632 \u062F\u0627\u0631\u06CC\u062F\u061F",
-clipboard_no_support:"\u062F\u0631 \u062D\u0627\u0644 \u062D\u0627\u0636\u0631 \u062A\u0648\u0633\u0637 \u0645\u0631\u0648\u0631\u06AF\u0631 \u0634\u0645\u0627 \u067E\u0634\u062A\u06CC\u0628\u0627\u0646\u06CC \u0646\u0645\u06CC\u200C\u0634\u0648\u062F\u060C \u062F\u0631 \u0639\u0648\u0634 \u0627\u0632 \u0645\u0627\u0646\u0628\u0631\u0647\u0627\u06CC \u0635\u0641\u062D\u0647 \u06A9\u0644\u06CC\u062F \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u06A9\u0646\u06CC\u062F.",
-popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
-invalid_data:"\u062E\u0637\u0627: \u0645\u0642\u0627\u062F\u06CC\u0631 \u0646\u0627\u062F\u0631\u0633\u062A \u0648\u0627\u0631\u062F \u0634\u062F\u0647 \u0627\u0633\u062A, \u06A9\u0647 \u0628\u0627 \u0631\u0646\u06AF \u0642\u0631\u0645\u0632 \u0645\u0634\u062E\u0635 \u0634\u062F\u0647 \u0627\u0646\u062F.",
-more_colors:"\u0631\u0646\u06AF\u200C\u0647\u0627\u06CC \u0628\u06CC\u0634\u062A\u0631"
+browse:"\u0645\u0631\u0648\u0631",
+class_name:"\u0643\u0644\u0627\u0633",
+not_set:"-- \u062A\u0646\u0638\u06CC\u0645 \u0646\u0634\u062F\u0647 --",
+clipboard_msg:"\u0643\u067E\u06CC/\u0628\u0631\u0634 (Cut)/\u0686\u0633\u0628\u0627\u0646\u062F\u0646 (Paste) \u062F\u0631 Mozilla \u0648 Firefox \u0642\u0627\u0628\u0644 \u062F\u0633\u062A\u0631\u0633 \u0646\u0645\u06CC \u0628\u0627\u0634\u062F.\n\u0622\u06CC\u0627 \u0634\u0645\u0627 \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0628\u06CC\u0634\u062A\u0631\u06CC \u062F\u0631\u0628\u0627\u0631\u0647 \u0627\u06CC\u0646 \u0645\u0648\u0636\u0648\u0639 \u0645\u06CC \u062E\u0648\u0627\u0647\u06CC\u062F\u061F",
+clipboard_no_support:"\u062F\u0631 \u062D\u0627\u0644 \u062D\u0627\u0636\u0631 \u062A\u0648\u0633\u0637 \u0645\u0631\u0648\u0631\u06AF\u0631 \u0634\u0645\u0627 \u067E\u0634\u062A\u06CC\u0628\u0627\u0646\u06CC \u0646\u0645\u06CC \u0634\u0648\u062F \u060C \u0628\u0647 \u062C\u0627\u06CC \u0622\u0646 \u0627\u0632 \u0645\u06CC\u0627\u0646\u0628\u0631\u0647\u0627\u06CC (Shortcut) \u0635\u0641\u062D\u0647 \u0643\u0644\u06CC\u062F \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F.",
+popup_blocked:"\u0628\u0627 \u0639\u0631\u0636 \u067E\u0648\u0632\u0634 \u060C \u0645\u0627 \u0627\u0637\u0644\u0627\u0639 \u062F\u0627\u062F\u0647 \u0628\u0648\u062F\u06CC\u0645 \u0643\u0647 \u0645\u062F\u0627\u0641\u0639 \u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632 \u0634\u0648\u06CC (Popup) \u0634\u0645\u0627 \u060C \u067E\u0646\u062C\u0631\u0647 \u0627\u06CC \u0631\u0627 \u0643\u0647 \u0642\u0627\u0628\u0644\u06CC\u062A \u0628\u0631\u0646\u0627\u0645\u0647 \u0643\u0627\u0631\u0628\u0631\u062F\u06CC \u0631\u0627 \u0627\u0631\u0627\u0626\u0647 \u0645\u06CC \u0643\u0631\u062F \u060C \u063A\u06CC\u0631 \u0641\u0639\u0627\u0644 \u0643\u0631\u062F\u0647 \u0627\u0633\u062A. \u0634\u0645\u0627 \u0646\u06CC\u0627\u0632 \u06...
[truncated message content] |
|
From: <luc...@us...> - 2008-12-18 18:42:40
|
Revision: 2602
http://xoops.svn.sourceforge.net/xoops/?rev=2602&view=rev
Author: luciorota
Date: 2008-12-18 18:42:26 +0000 (Thu, 18 Dec 2008)
Log Message:
-----------
WYMEditor v0.5b2 for Xoops2.3.x (alpha, still jQuery conflict)
Added Paths:
-----------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/GPL-license.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/MIT-license.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/README
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/editor_registry.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/01-basic.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/02-custom-language.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/03-plugin.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/04-multiple-instances.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/05-custom-dialog.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/06-custom-menu.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/07-custom-button.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/08-custom-panel.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/09-two-panels.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/10-resizable.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/11-custom-parser.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/12-custom-layout.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/13-silver-skin.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/14-more-inline-elements.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/15-rdfa-editor.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/README
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/index.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/styles.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/formwymeditor.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/GPL-LICENSE.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/MIT-LICENSE.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/README
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/jquery.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/jquery.ui.draggable.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/jquery.ui.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/jquery.ui.resizable.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/jquery/jquery.ui.sortable.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/language/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/language/english.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/language/index.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/styles.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-blockquote.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-h1.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-h2.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-h3.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-h4.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-h5.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-h6.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-p.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/lbl-pre.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/wymiframe.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/iframe/default/wymiframe.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/jquery.wymeditor.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/jquery.wymeditor.pack.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/ca.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/cs.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/de.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/en.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/es.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/fa.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/fr.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/he.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/hu.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/it.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/nb.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/nl.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/nn.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/pl.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/pt-br.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/pt.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/ru.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/sv.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/tr.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/lang/zh_cn.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/hovertools/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/resizable/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/resizable/jquery.wymeditor.resizable.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/resizable/readme.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/tidy/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/tidy/README
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/tidy/tidy.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/plugins/tidy/wand.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/default/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/default/icons.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/default/screen.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/default/skin.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/default/skin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/images/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/images/bg.header.gif
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/images/bg.selector.silver.gif
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/images/bg.wymeditor.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/images/icons.silver.gif
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/skin.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/minimal/skin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/COPYING
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/README
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/images/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/images/bg.header.gif
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/images/bg.selector.silver.gif
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/images/bg.wymeditor.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/images/icons.silver.gif
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/skin.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/silver/skin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/twopanels/
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/twopanels/icons.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/twopanels/skin.css
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/twopanels/skin.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/skins/wymeditor_icon.png
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/wym_css_parser.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/wym_css_parser.pack.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/xhtml_parser.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/wymeditor/xhtml_parser.pack.js
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/GPL-license.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/GPL-license.txt (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/GPL-license.txt 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,278 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/MIT-license.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/MIT-license.txt (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/MIT-license.txt 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,20 @@
+Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/README
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/README (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/README 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,35 @@
+WYMeditor : what you see is What You Mean web-based editor
+Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+Dual licensed under the MIT (MIT-license.txt)
+and GPL (GPL-license.txt) licenses.
+
+For further information visit:
+ http://www.wymeditor.org/
+
+File Name:
+ README
+ Readme file.
+
+File Authors:
+ Jean-François Hovinne - http://www.hovinne.com/
+
+
+README
+======
+
+For WYMeditor to work, you'll need at least jQuery 1.1.3.x
+jQuery is available at http://jquery.com/
+
+WYMeditor is compatible with MSIE 6.0+,
+Gecko-based browsers (e.g. Firefox 1.5+),
+Opera 9.5+, Safari 3.0+, Google Chrome.
+
+WYMeditor integration examples are available in the 'examples' directory.
+
+For more information, please read the documentation, available at:
+http://trac.wymeditor.org/trac/wiki
+
+If you need help, feel free to create an account on the forum or subscribe
+to the WYMeditor-user mailing-list, and ask your question.
+http://forum.wymeditor.org/
+http://lists.wymeditor.org/
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/editor_registry.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/editor_registry.php (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/editor_registry.php 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,21 @@
+<?php
+/**
+ * WYMeditor adapter for XOOPS
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package class
+ * @subpackage editor
+ * @since 2.3.0
+ * @author Taiwen Jiang <ph...@us...>
+ * @author luciorota <luc...@gm...>
+ */
+
+return $config = array(
+ "name" => "wymeditor",
+ "class" => "XoopsFormWYMeditor",
+ "file" => XOOPS_ROOT_PATH . "/class/xoopseditor/wymeditor/formwymeditor.php",
+ "title" => _XOOPS_EDITOR_WYMEDITOR,
+ "order" => 7
+ );
+?>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/01-basic.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/01-basic.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/01-basic.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 01-basic.html
+ * WYMeditor integration example.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<!-- jQuery library is required, see http://jquery.com/ -->
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<!-- WYMeditor main JS file, packed version -->
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+/* Here we replace each element with class 'wymeditor'
+ * (typically textareas) by a WYMeditor instance.
+ *
+ * We could use the 'html' option, to initialize the editor's content.
+ * If this option isn't set, the content is retrieved from
+ * the element being replaced.
+ */
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor();
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"><p>Hello, World!</p></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/02-custom-language.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/02-custom-language.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/02-custom-language.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 02-custom-language.html
+ * WYMeditor integration example - custom language.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+/* Use 3 options, one to set the html content,
+ * one to set the language, and one the set the classes
+ */
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ lang: 'fr',
+ stylesheet: 'styles.css'
+
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - custom language</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/03-plugin.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/03-plugin.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/03-plugin.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,64 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 03-plugin.html
+ * WYMeditor integration example - plugin activation.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+<script type="text/javascript" src="../wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js"></script> <!-- load the plugin -->
+
+<script type="text/javascript">
+
+// Use the 'postInit' option, which will execute the function passed in the parameter.
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css',
+ postInit: function(wym) {
+
+ //postInit is executed after WYMeditor initialization
+ //'wym' is the current WYMeditor instance
+
+ //we generally activate plugins after WYMeditor initialization
+
+ //activate 'hovertools' plugin
+ //which gives advanced feedback to the user:
+ wym.hovertools();
+ }
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - plugin activation</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/04-multiple-instances.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/04-multiple-instances.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/04-multiple-instances.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 04-multiple-instances.html
+ * WYMeditor integration example - multiple instances.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+// Each textarea with class 'wymeditor' is replaced by a WYMeditor instance.
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css'
+
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - multiple instances</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+<br />
+
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+<br />
+
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/05-custom-dialog.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/05-custom-dialog.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/05-custom-dialog.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,102 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 05-custom-dialog.html
+ * WYMeditor integration example - custom dialog.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css',
+
+ postInitDialog: function(wym,wdw) {
+
+ //postInitDialog is executed when the dialog is ready
+
+ //'wym' is the WYMeditor instance
+ //'wdw' is the dialog's window
+
+ var body = wdw.document.body;
+
+ //add a select box populated with predefined values to the dialog
+
+ //construct the string with the needed controls
+ var selectLink = "<div class='row row-indent'>"
+ + "<select class='wym_select_link'>"
+ + "<option selected value='WYMeditor http://www.wymeditor.org/'>"
+ + "WYMeditor<\/option>"
+ + "<option value='SourceForge http://www.sourceforge.net/'>"
+ + "SourceForge<\/option>"
+ + "<option value='GNU http://www.gnu.org/'>"
+ + "GNU<\/option>"
+ + "<\/select>"
+ + "<input class='wym_choose' type='button'"
+ + " value='{Choose}' />"
+ + "<\/div>";
+
+ //the {Choose} string will automagically be localized
+ //by replaceStrings()
+
+ //add the controls to the dialog
+ jQuery(body)
+ .filter('.wym_dialog_link').find('fieldset').eq(0)
+ .prepend(wym.replaceStrings(selectLink));
+
+ //bind a function which will populate the URL and title fields
+ //when the user clicks on the wym_choose button
+ jQuery(body)
+ .find('.wym_choose')
+ .click(function() {
+
+ var myval = jQuery(body).find('.wym_select_link').val();
+
+ //get the URL and the title
+ jQuery(body)
+ .find('.wym_href')
+ .val(myval.substring(myval.lastIndexOf(' ') + 1));
+ jQuery(body)
+ .find('.wym_title')
+ .val(myval.substr(0, myval.lastIndexOf(' ')));
+ });
+ }
+
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - custom dialog</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/06-custom-menu.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/06-custom-menu.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/06-custom-menu.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,73 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 06-custom-menu.html
+ * WYMeditor integration example - custom menu.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css',
+
+ //customize the tools menu with toolsItems option
+ //'name' is the name of the command which will be executed
+ //when the user clicks on the button
+ //'title' is the button's title (automagically localized)
+ //'css' is the button's class name
+ toolsItems: [
+ {'name': 'Bold', 'title': 'Strong', 'css': 'wym_tools_strong'},
+ {'name': 'Italic', 'title': 'Emphasis', 'css': 'wym_tools_emphasis'},
+ {'name': 'CreateLink', 'title': 'Link', 'css': 'wym_tools_link'},
+ {'name': 'Unlink', 'title': 'Unlink', 'css': 'wym_tools_unlink'},
+ {'name': 'InsertImage', 'title': 'Image', 'css': 'wym_tools_image'},
+ {'name': 'InsertOrderedList', 'title': 'Ordered_List',
+ 'css': 'wym_tools_ordered_list'},
+ {'name': 'InsertUnorderedList', 'title': 'Unordered_List',
+ 'css': 'wym_tools_unordered_list'},
+ {'name': 'InsertTable', 'title': 'Table', 'css': 'wym_tools_table'},
+ {'name': 'Paste', 'title': 'Paste_From_Word',
+ 'css': 'wym_tools_paste'},
+ {'name': 'Undo', 'title': 'Undo', 'css': 'wym_tools_undo'},
+ {'name': 'Redo', 'title': 'Redo', 'css': 'wym_tools_redo'}
+ ]
+
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - custom menu</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/07-custom-button.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/07-custom-button.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/07-custom-button.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,74 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 07-custom-button.html
+ * WYMeditor integration example - custom button.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css',
+
+ postInit: function(wym) {
+
+ //construct the button's html
+ var html = "<li class='wym_tools_newbutton'>"
+ + "<a name='NewButton' href='#'"
+ + " style='background-image:"
+ + " url(../wymeditor/skins/default/icons.png)'>"
+ + "Do something"
+ + "</a></li>";
+
+ //add the button to the tools box
+ jQuery(wym._box)
+ .find(wym._options.toolsSelector + wym._options.toolsListSelector)
+ .append(html);
+
+ //handle click event
+ jQuery(wym._box)
+ .find('li.wym_tools_newbutton a').click(function() {
+ //do something
+ wym.paste('Lorem ipsum dolor sit amet, consectetuer adipiscing elit.');
+ return(false);
+ });
+ }
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - custom button</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/08-custom-panel.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/08-custom-panel.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/08-custom-panel.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 08-custom-panel.html
+ * WYMeditor integration example - custom panel.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css',
+
+ postInit: function(wym) {
+ //render the containers box as a panel
+ //and remove the span containing the '>'
+ jQuery(wym._box).find(wym._options.containersSelector)
+ .removeClass('wym_dropdown')
+ .addClass('wym_panel')
+ .find('h2 > span')
+ .remove();
+ //adjust the editor's height
+ jQuery(wym._box).find(wym._options.iframeSelector)
+ .css('height', '250px');
+ }
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - custom panel</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/09-two-panels.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/09-two-panels.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/09-two-panels.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 09-two-panels.html
+ * WYMeditor integration example - two panels.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css',
+ skin: 'twopanels'
+
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - two panels</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/10-resizable.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/10-resizable.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/10-resizable.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 10-resizable.html
+ * WYMeditor integration example - resizable plugin.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+<script type="text/javascript" src="../wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js"></script>
+<script type="text/javascript" src="../wymeditor/plugins/resizable/jquery.wymeditor.resizable.js"></script>
+
+<script type="text/javascript">
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+
+ html: '<p>Hello, World!<\/p>',
+ stylesheet: 'styles.css',
+ postInit: function(wym) {
+
+ wym.hovertools();
+ wym.resizable();
+ }
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor integration example - resizable plugin</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/11-custom-parser.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/11-custom-parser.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/11-custom-parser.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,75 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+ * Dual licensed under the MIT (MIT-license.txt)
+ * and GPL (GPL-license.txt) licenses.
+ *
+ * For further information visit:
+ * http://www.wymeditor.org/
+ *
+ * File Name:
+ * 11-custom-parser.html
+ * Custom XHTML parser example.
+ * See the documentation for more info.
+ *
+ * File Authors:
+ * Jean-Francois Hovinne - http://www.hovinne.com/
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>WYMeditor</title>
+<script type="text/javascript" src="../jquery/jquery.js"></script>
+<script type="text/javascript" src="../wymeditor/jquery.wymeditor.pack.js"></script>
+
+<script type="text/javascript">
+
+WYMeditor.XhtmlLexer.prototype.addTokens = function() {
+ // These tokens are for Radiant CMS radius tags
+ this.addEntryPattern("</?r:", 'Text', 'Text');
+ this.addExitPattern(">", 'Text');
+
+ this.addCommentTokens('Text');
+ this.addScriptTokens('Text');
+ this.addCssTokens('Text');
+ this.addTagTokens('Text');
+};
+
+
+//Define allowed attributes and their values for <p>
+WYMeditor.XhtmlValidator._tags['p'] = {
+ 'attributes': {
+ 'align':/^(right|left|center|justify)$/,
+ '0':'name'
+ }
+};
+
+//Add runat="server" attribute to <a> and <img>
+jQuery.extend(WYMeditor.XhtmlValidator._tags['a']['attributes'], {'runat':/^(server)$/});
+jQuery.extend(WYMeditor.XhtmlValidator._tags['img']['attributes'], {'runat':/^(server)$/});
+
+jQuery(function() {
+ jQuery('.wymeditor').wymeditor({
+ html: '<p><a runat="server"><em>Runat server</em> link.</a></p>'
+ + '<p align="right">Right aligned paragraph.</p>'
+ + '<p><r:test>This text is inside a radius tag.</r:test></p>'
+ + '<p>Nothing special here.</p>'
+ });
+});
+
+</script>
+
+</head>
+
+<body>
+<h1>WYMeditor custom XHTML parser example</h1>
+<p><a href="http://www.wymeditor.org/">WYMeditor</a> is a web-based XHTML WYSIWYM editor.</p>
+<form method="post" action="">
+<textarea class="wymeditor"></textarea>
+<input type="submit" class="wymupdate" />
+</form>
+
+</body>
+
+</html>
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/12-custom-layout.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/12-custom-layout.html (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/wymeditor/examples/12-custom-layout.html 2008-12-18 18:42:26 UTC (rev 2602)
@@ -0,0 +1,105 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ * WYMeditor : what you see is What You Mean web-based editor
+ * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/
+...
[truncated message content] |
|
From: <luc...@us...> - 2008-12-18 18:35:26
|
Revision: 2601
http://xoops.svn.sourceforge.net/xoops/?rev=2601&view=rev
Author: luciorota
Date: 2008-12-18 18:35:21 +0000 (Thu, 18 Dec 2008)
Log Message:
-----------
Xinha Editor v0.95 for Xoops 2.3.x (beta)
Modified Paths:
--------------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/editor_registry.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/formxinha.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/language/english.php
Added Paths:
-----------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/changelog.txt
Added: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/changelog.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/changelog.txt (rev 0)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/changelog.txt 2008-12-18 18:35:21 UTC (rev 2601)
@@ -0,0 +1,4 @@
+20081217 Updated to Xinha v0.95
+ + Xoopsquotecode plugin (to do)
+ + Xoopsemotions plugin (to do)
+ + Xoopsimagemanager (to do)
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/editor_registry.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/editor_registry.php 2008-12-18 18:33:42 UTC (rev 2600)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/editor_registry.php 2008-12-18 18:35:21 UTC (rev 2601)
@@ -1,52 +1,21 @@
<?php
-// $Id: editor_registry.php,v 1.3 2005/08/08 06:29:11 skalpa 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 //
-// ------------------------------------------------------------------------ //
/**
- * XOOPS editor registry
+ * Xinha v0.95 adapter for XOOPS
*
- * @author phppp (D.J.)
- * @copyright copyright (c) 2005 XOOPS.org
- *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package class
+ * @subpackage editor
+ * @since 2.3.0
+ * @author Taiwen Jiang <ph...@us...>
+ * @version $Id: editor_registry.php 1573 2008-05-04 15:24:06Z phppp $
*/
-global $xoopsConfig;
-$current_path = __FILE__;
-if ( DIRECTORY_SEPARATOR != "/" ) $current_path = str_replace( strpos( $current_path, "\\\\", 2 ) ? "\\\\" : DIRECTORY_SEPARATOR, "/", $current_path);
-$root_path = dirname($current_path);
-
-$xoopsConfig['language'] = preg_replace("/[^a-z0-9_\-]/i", "", $xoopsConfig['language']);
-if(!@include_once($root_path."/language/".$xoopsConfig['language'].".php")){
- include_once($root_path."/language/english.php");
-}
-
return $config = array(
- "name" => "xinha",
- "class" => "XoopsFormXinha",
- "file" => $root_path."/formxinha.php",
- "title" => _XOOPS_EDITOR_XINHA,
- "order" => 6
- );
-?>
\ No newline at end of file
+ "name" => "xinha",
+ "class" => "XoopsFormXinha",
+ "file" => XOOPS_ROOT_PATH . "/class/xoopseditor/xinha/formxinha.php",
+ "title" => _XOOPS_EDITOR_XINHA,
+ "order" => 6
+ );
+?>
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/formxinha.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/formxinha.php 2008-12-18 18:33:42 UTC (rev 2600)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/formxinha.php 2008-12-18 18:35:21 UTC (rev 2601)
@@ -1,311 +1,327 @@
<?php
-// ------------------------------------------------------------------------ //
-// XOOPS - PHP Content Management System //
-// Copyright (c) 2000 XOOPS.org //
-// <http://www.xoops.org/> //
-// ------------------------------------------------------------------------ //
-// This program is free software; you can redistribute it and/or modify //
-// it under the terms of the GNU General Public License as published by //
-// the Free Software Foundation; either version 2 of the License, or //
-// (at your option) any later version. //
-// //
-// You may not change or alter any portion of this comment or credits //
-// of supporting developers from this source code or any supporting //
-// source code which is considered copyrighted (c) material of the //
-// original comment or credit authors. //
-// //
-// This program is distributed in the hope that it will be useful, //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
-// GNU General Public License for more details. //
-// //
-// You should have received a copy of the GNU General Public License //
-// along with this program; if not, write to the Free Software //
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
-// ------------------------------------------------------------------------ //
-// Author: Kazumi Ono (AKA onokazu) //
-// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
-// Project: The XOOPS Project //
-// ------------------------------------------------------------------------- //
-/**
- *
- *
- * @package kernel
- * @subpackage form
- *
- * @author phppp (D.J., ph...@ho...)
- * @copyright copyright (c) 2000-2003 XOOPS.org
- *
- * @author luciorota (luc...@gm...)
- */
+/*
+ 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.
+*/
-
/**
* Adapted Xinha wysiwyg editor
+ * @copyright copyright (c) 2000-2003 XOOPS.org
*
* @author phppp
- * @copyright copyright (c) 2000-2003 XOOPS.org
* @author luciorota (luc...@gm...)
*/
class XoopsFormXinha extends XoopsFormTextArea
- {
- var $language = _LANGCODE;
- var $caption;
- var $name;
- var $value;
- var $rows = 5; // default
- var $cols = 50; // default
- var $width = "100%"; // default
- var $height = "300px"; // default
+{
+ var $language = _LANGCODE;
+ var $caption;
+ var $name;
+ var $value;
+ var $rows = 5; // default
+ var $cols = 50; // default
+ var $width = "100%"; // default
+ var $height = "300px"; // default
-// COMPATIBLE WITH "formdhtmltextarea.php" HACK (Xoops 2.0.13+) AND WITH MODULES LIKE "News","Smartsection", ...
- /**
- * Constructor
- *
- * @param string $caption Caption
- * @param string $name "name" attribute
- * @param string $value Initial text
- * @param string $rows Number of rows (facultative)
- * @param string $cols Number of cols (facultative)
- * @param string $width iframe width (facultative)
- * @param string $height iframe height (facultative)
- * @param array $options Toolbar Options (facultative)
-
+ // COMPATIBLE WITH "formdhtmltextarea.php" HACK (Xoops 2.0.13+) AND WITH MODULES LIKE "News","Smartsection", ...
+ /**
+ * Constructor
+ *
+ * @param string $caption Caption
+ * @param string $name "name" attribute
+ * @param string $value Initial text
+ * @param string $rows Number of rows (facultative)
+ * @param string $cols Number of cols (facultative)
+ * @param string $width iframe width (facultative)
+ * @param string $height iframe height (facultative)
+ * @param array $options Toolbar Options (facultative)
* OR
+ * @param array $options Editor Options
+ */
- * @param array $options Editor Options
- */
+ function __construct()
+ {
+ if (func_num_args()) { // if there is/are one or more arguments...
+ $numargs = func_num_args(); // number of arguments
+ $args_list = func_get_args(); // is an array of arguments
+ if((!empty($args_list[$numargs-1])) && (is_array($args_list[$numargs-1]))) { // if the last argument is an array...
+ $options = $args_list[$numargs-1]; // ... it is an array of options
+ foreach($options as $key => $val) { // it sets the options
+ if (method_exists($this, 'set'.Ucfirst($key))) $this->{'set'.Ucfirst($key)}($val);
+ else $this->$key = $val;
+ }
+ }
+ if($numargs >= 2) {
+ $this->caption = $args_list[0];
+ $this->name = $args_list[1];
+ $this->value = (($numargs >= 3) ? $args_list[2] : "");
+ $this->rows = (($numargs >= 4) ? $args_list[3] : $rows);
+ $this->cols = (($numargs >= 5) ? $args_list[4] : $cols);
+ $this->XoopsFormTextArea($this->caption, $this->name, $this->value, $this->rows, $this->cols);
+ }
+ }
+ }
+ function XoopsFormXinha()
+ {
+ $this->__construct();
+ }
- function XoopsFormXinha()
- {
- if (func_num_args()) // if there is/are one or more arguments...
- {
- $numargs = func_num_args(); // number of arguments
- $args_list = func_get_args(); // is an array of arguments
- if((!empty($args_list[$numargs-1])) && (is_array($args_list[$numargs-1]))) // if the last argument is an array...
- {
- $options = $args_list[$numargs-1]; // ... it is an array of options
- foreach($options as $key => $val) // it sets the options
- {
- if (method_exists($this, 'set'.Ucfirst($key)))
- $this->{'set'.Ucfirst($key)}($val);
- else
- $this->$key = $val;
- }
- }
- if($numargs >= 2)
- {
- $this->caption = $args_list[0];
- $this->name = $args_list[1];
- $this->value = (($numargs >= 3) ? $args_list[2] : "");
- $this->rows = (($numargs >= 4) ? $args_list[3] : $rows);
- $this->cols = (($numargs >= 5) ? $args_list[4] : $cols);
- $this->XoopsFormTextArea($this->caption, $this->name, $this->value, $this->rows, $this->cols);
- }
- }
- }
+ function getName()
+ {
+ return $this->name;
+ }
+ function setName($value)
+ {
+ $this->name = $value;
+ }
- function getName()
- {
- return $this->name;
- }
-
- function setName($value)
- {
- $this->name = $value;
- }
+ /**
+ * get textarea width
+ *
+ * @return string
+ */
+ function getWidth()
+ {
+ return $this->width;
+ }
- /**
- * get textarea width
- *
- * @return string
- */
- function getWidth()
- {
- return $this->width;
- }
+ /**
+ * get textarea height
+ *
+ * @return string
+ */
+ function getHeight()
+ {
+ return $this->height;
+ }
- /**
- * get textarea height
- *
- * @return string
- */
- function getHeight()
- {
- return $this->height;
- }
+ /**
+ * get language
+ *
+ * @return string
+ */
+ function getLanguage()
+ {
+ return str_replace('_','-',strtolower($this->language));
+ }
- /**
- * get language
- *
- * @return string
- */
- function getLanguage()
- {
- return str_replace('_','-',strtolower($this->language));
- }
+ /**
+ * set language
+ *
+ * @return null
+ */
+ function setLanguage($lang='en')
+ {
+ $this->language = $lang;
+ }
- /**
- * set language
- *
- * @return null
- */
- function setLanguage($lang='en')
- {
- $this->language = $lang;
- }
+ /**
+ * Renders the Javascript function needed for client-side for validation
+ *
+ * @return string
+ */
+ function renderValidationJS()
+ {
+ if ($this->isRequired() && $eltname = $this->getName()) {
+ //$eltname = $this->getName();
+ $eltcaption = $this->getCaption();
+ $eltmsg = empty($eltcaption) ? sprintf( _FORM_ENTER, $eltname ) : sprintf( _FORM_ENTER, $eltcaption );
+ $eltmsg = str_replace('"', '\"', stripslashes( $eltmsg ) );
+ $ret = "\n";
+ $ret.= "if ( myform.{$eltname}.value == '' || myform.{$eltname}.value == '<br />' )";
+ $ret.= "{ window.alert(\"{$eltmsg}\"); myform.{$eltname}.focus(); return false; }";
+ return $ret;
+ }
+ return '';
+ }
- /**
- * prepare HTML for output
- *
- * @return sting HTML
- */
- function render()
- {
- static $isJsLoaded = false;
- $ret = '';
- if(!$isJsLoaded)
- {
- $ret .= "<script type='text/javascript'>\n";
- // You must set _editor_url to the URL (including trailing slash) where
- // where xinha is installed, it's highly recommended to use an absolute URL
- // eg: _editor_url = "/path/to/xinha/";
- // You may try a relative URL if you wish]
- // eg: _editor_url = "../";
- $ret .= "_editor_url = '" . XOOPS_URL . "/class/xoopseditor/xinha/';\n";
- // And the language we need to use in the editor.
- $ret .= "_editor_lang = '".$this->getLanguage()."';\n";
- // If you want use a skin, add the name (of the folder) here
- //$ret .= "_editor_skin = 'silva';\n";
- $ret .= "</script>\n";
-// $ret .= "<script type='text/javascript' src='" . XOOPS_URL . "/class/xoopseditor/xinha/XinhaLoader.js'></script>\n";
- $ret .= "<script type='text/javascript' src='" . XOOPS_URL . "/class/xoopseditor/xinha/XinhaCore.js'></script>\n";
+ /**
+ * prepare HTML for output
+ *
+ * @return sting HTML
+ */
+ function render()
+ {
+ static $isXinhaJsLoaded = false;
+ $ret = '';
+ if(!$isXinhaJsLoaded)
+ {
+ $ret .= "<script type='text/javascript'>\n";
+ // You must set _editor_url to the URL (including trailing slash) where
+ // where xinha is installed, it's highly recommended to use an absolute URL
+ // eg: _editor_url = "/path/to/xinha/";
+ // You may try a relative URL if you wish]
+ // eg: _editor_url = "../";
+ $ret .= "_editor_url = '" . XOOPS_URL . "/class/xoopseditor/xinha/';\n";
+ // And the language we need to use in the editor.
+ $ret .= "_editor_lang = '".$this->getLanguage()."';\n";
+ // If you want use a skin, add the name (of the folder) here
+ // Original skins are: blue-look, blue-metallic, green-look, inditreuse, silva, titan, xp-blue, xp-green
+ $ret .= "_editor_skin = 'blue_look';\n";
+ $ret .= "</script>\n";
+ //$ret .= "<script type='text/javascript' src='" . XOOPS_URL . "/class/xoopseditor/xinha/XinhaLoader.js'></script>\n";
+ $ret .= "<script type='text/javascript' src='" . XOOPS_URL . "/class/xoopseditor/xinha/XinhaCore.js'></script>\n";
+ $ret .=<<<EOF
+<script type='text/javascript'>
+var xinha_editors = new Array;
+xinha_init = null;
+xinha_config = null;
+xinha_plugins = null;
- $ret .= "<script type='text/javascript'>\n";
- $ret .= "var xinha_editors = new Array;\n";
- $ret .= "xinha_init = null;\n";
- $ret .= "xinha_config = null;\n";
- $ret .= "xinha_plugins = null;\n";
+// This contains the names of textareas we will make into Xinha editors
+xinha_init = xinha_init ? xinha_init : function()
+{
+ /** STEP 1 ***************************************************************
+ * First, what are the plugins you will be using in the editors on this page.
+ * List all the plugins you will need, even if not all the editors will use all the plugins.
+ ************************************************************************/
+ // Xinha plugins
+ // Abbreviation, CharCounter, ClientsideSpellcheck, DoubleClick, EditTag, Equation,
+ // ExtendedFileManager, FindReplace, FormOperations, Forms, GetHtml, HorizontalRule?,
+ // HtmlEntities, ImageManager, InsertAnchor, InsertMarquee, InsertSmiley, InsertWords,
+ // LangMarks, Linker, NoteServer, QuickTag, Stylist, SaveSubmit, SmartReplace, SuperClean,
+ // Template, UnFormat?
+ // htmlArea plugins
+ // CharacterMap, ContextMenu, CSS, DynamicCSS, EnterParagraphs, FullPage?, HtmlTidy,
+ // ListType, SpellChecker, TableOperations
+ xinha_plugins = xinha_plugins ? xinha_plugins : [
+ 'ExtendedFileManager',
+ 'CharacterMap',
+ 'ContextMenu',
+ 'ListType',
+ 'Stylist',
+ 'Linker',
+ 'SuperClean',
+ 'TableOperations',
+ 'ImageManager'
+ ];
+ // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
+ if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
+ /** STEP 2 ***************************************************************
+ * Now, what are the names of the textareas you will be turning into editors?
+ ************************************************************************/
+ //xinha_editors = xinha_editors ? xinha_editors : ['myTextArea'];
- // This contains the names of textareas we will make into Xinha editors
- $ret .= "xinha_init = xinha_init ? xinha_init : function()\n";
- $ret .= " {\n";
+ /** STEP 3 ***************************************************************
+ * We create a default configuration to be used by all the editors.
+ * If you wish to configure some of the editors differently this will be
+ * done in step 4.
+ *
+ * If you want to modify the default config you might do something like this.
+ *
+ * xinha_config = new Xinha.Config();
+ * xinha_config.width = 640;
+ * xinha_config.height = 420;
+ *
+ *************************************************************************/
+ xinha_config = xinha_config ? xinha_config() : new Xinha.Config();
+ // true : will retrieve the full HTML, starting with the <HTML> tag.
+ // false : retrieve only the body content.
+ xinha_config.fullPage = false;
+ // Set to true if you want the loading panel to show at startup.
+ xinha_config.showLoading = true;
+ // Set to false if you want to allow JavaScript in the content, otherwise <script> tags are stripped out.
+ xinha_config.stripScripts = true;
+ xinha_config.statusBar = true;
+ xinha_config.stripBaseHref = true;
+ xinha_config.CharacterMap.mode = 'panel';
+ // This property controls the height of the editor.
+ // Allowed values are 'auto' or a numeric value followed by px.
+ // auto : let Xinha choose the height to use.
+ // numeric value : forced height in pixels ('200px').
+ // default value : 'auto'
+ xinha_config.height = 'auto';
+ // This property controls the width of the editor.
+ // Allowed values are 'auto', 'toolbar' or a numeric value followed by px.
+ // auto : let Xinha choose the width to use.
+ // toolbar : compute the width size from the toolbar width.
+ // numeric value : forced width in pixels ('600px').
+ // default value : 'toolbar'
+ xinha_config.width = 'toolbar';
+ // We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL
+ // otherwise it won't work!
+ // xinha_config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css'));
+ // Or we can load styles directly
+ //xinha_config.stylistLoadStyles('p.red_text { color:red }');
+ // If you want to provide "friendly" names you can do so like
+ // (you can do this for stylistLoadStylesheet as well)
+ //xinha_config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});
+ xinha_config.pageStyleSheets = [ _editor_url + 'examples/full_example.css' ];
+ // When the editor is in different directory depth as the edited page relative image sources will break the display of your images.
+ // This fixes an issue where Mozilla converts the urls of images and links that are on the same server to relative ones (../) when dragging them around in the editor (Ticket #448) Allowed values are true or false.
+ // true : if you want to have relative URLs in links an images converted to absolute ones.
+ // false : no update done to the baseHref (absolute links).
+ xinha_config.expandRelativeUrl = true;
+ // This controls the method that is used to retrieve the actual HTML from the editor.
+ // At the moment there are two alternative methods ( = possible values) available:
+ // "DOMwalk" : traverses through the document structure to extract tags, attributes, text nodes, etc.
+ // "TransformInnerHTML" : grabs the innerHTML value and transforms it with Regular Expressions to get well formed XHTML.
+ xinha_config.getHtmlMethod = 'TransformInnerHTML';
+ // Enable the 'Target' field in the Make Link dialog. The TARGET property is invalid with XHTML document.
+ // Allowed values are true or false.
+ // true : enable the 'Target' field in the Make Link dialog.
+ // false : disable the 'Target' field in the Make Link dialog.
+ xinha_config.makeLinkShowsTarget = true;
+ // Sometimes we want to be able to replace some string in the html coming in and going out,
+ // so that in the editor we use the "internal" string, and outside and in the source view we
+ // use the "external" string this is useful for say making special codes for your absolute links,
+ // your external string might be some special code, say "{server_url}" an you say that the
+ // internal representation of that should be http://your.server/
+ //xinha_config.specialReplacements = { 'http://www.myserver.com/' : '{server_url}' };
+ /** STEP 4 ***************************************************************
+ * We first create editors for the textareas.
+ *
+ * You can do this in two ways, either
+ *
+ * xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
+ *
+ * if you want all the editor objects to use the same set of plugins, OR;
+ *
+ * xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config);
+ * xinha_editors.myTextArea.registerPlugins(['Stylist']);
+ * xinha_editors.anotherOne.registerPlugins(['CSS','SuperClean']);
+ *
+ * if you want to use a different set of plugins for one or more of the editors.
+ ************************************************************************/
+ xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
- /** STEP 1 ***************************************************************
- * First, what are the plugins you will be using in the editors on this
- * page. List all the plugins you will need, even if not all the editors
- * will use all the plugins.
- ************************************************************************/
- $ret .= " xinha_plugins = xinha_plugins ? xinha_plugins : ['ExtendedFileManager','CharacterMap','ContextMenu','ListType','Stylist','Linker','SuperClean','TableOperations','ImageManager'];\n";
+ /** STEP 5 ***************************************************************
+ * If you want to change the configuration variables of any of the
+ * editors, this is the place to do that, for example you might want to
+ * change the width and height of one of the editors, like this...
+ *
+ * xinha_editors.myTextArea.config.width = '640px';
+ * xinha_editors.myTextArea.config.height = '480px';
+ *
+ ************************************************************************/
- // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :)
- $ret .= " if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;\n";
+ /** STEP 6 ***************************************************************
+ * Finally we 'start' the editors, this turns the textareas into
+ * Xinha editors.
+ ************************************************************************/
+ Xinha.startEditors(xinha_editors);
+ }
-
- /** STEP 2 ***************************************************************
- * Now, what are the names of the textareas you will be turning into
- * editors?
- ************************************************************************/
-
-/*
- xinha_editors = xinha_editors ? xinha_editors :
- [
- 'myTextArea'
- ];
-/*
-
-
- /** STEP 3 ***************************************************************
- * We create a default configuration to be used by all the editors.
- * If you wish to configure some of the editors differently this will be
- * done in step 4.
- *
- * If you want to modify the default config you might do something like this.
- *
- * xinha_config = new Xinha.Config();
- * xinha_config.width = 640;
- * xinha_config.height = 420;
- *
- *************************************************************************/
-
- $ret .= " xinha_config = xinha_config ? xinha_config() : new Xinha.Config();\n";
- $ret .= " xinha_config.fullPage = true;\n";
- $ret .= " xinha_config.CharacterMap.mode = 'panel';\n";
-
-/*
- // We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL
- // otherwise it won't work!
- xinha_config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css'));
-
- // Or we can load styles directly
- xinha_config.stylistLoadStyles('p.red_text { color:red }');
-
- // If you want to provide "friendly" names you can do so like
- // (you can do this for stylistLoadStylesheet as well)
- xinha_config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});
-*/
- $ret .= " xinha_config.pageStyleSheets = [ _editor_url + 'examples/full_example.css' ];\n";
-
-
- /** STEP 4 ***************************************************************
- * We first create editors for the textareas.
- *
- * You can do this in two ways, either
- *
- * xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
- *
- * if you want all the editor objects to use the same set of plugins, OR;
- *
- * xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config);
- * xinha_editors.myTextArea.registerPlugins(['Stylist']);
- * xinha_editors.anotherOne.registerPlugins(['CSS','SuperClean']);
- *
- * if you want to use a different set of plugins for one or more of the
- * editors.
- ************************************************************************/
- $ret .= " xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);\n";
-
-
- /** STEP 5 ***************************************************************
- * If you want to change the configuration variables of any of the
- * editors, this is the place to do that, for example you might want to
- * change the width and height of one of the editors, like this...
- *
- * xinha_editors.myTextArea.config.width = '640px';
- * xinha_editors.myTextArea.config.height = '480px';
- *
- ************************************************************************/
-
-
- /** STEP 6 ***************************************************************
- * Finally we 'start' the editors, this turns the textareas into
- * Xinha editors.
- ************************************************************************/
- $ret .= " Xinha.startEditors(xinha_editors);\n";
- $ret .= " }\n";
-
-
- // this executes the xinha_init function on page load
- // and does not interfere with window.onload properties set by other scripts
- $ret .= "Xinha._addEvent(window,'load', xinha_init);\n";
- $ret .= "</script>\n";
- $isJsLoaded = true;
- }
- $ret .="<style type='text/css'>\n";
- $ret .=" .htmlarea .toolbar table { width:auto;}\n";
- $ret .="</style>\n";
- $ret .="<textarea name='".$this->getName()."' id='".$this->getName()."' rows='".$this->getRows()."' cols='".$this->getCols()."' ".$this->getExtra()." style='width:".$this->getWidth().";height:".$this->getHeight().";display:none;'>";
- $ret .= $this->getValue();
- $ret .="</textarea>";
- $ret .="<script type='text/javascript'>\n";
- $ret .=" xinha_editors.push('".$this->getName()."');\n";
- $ret .= "</script>\n";
- return $ret;
- }
- }
+// this executes the xinha_init function on page load
+// and does not interfere with window.onload properties set by other scripts
+Xinha._addEvent(window,'load', xinha_init);
+</script>
+EOF;
+ $isXinhaJsLoaded = true;
+ }
+ $ret .="<style type='text/css'>.htmlarea .toolbar table { width:auto;}</style>\n";
+ $ret .="<textarea name='".$this->getName()."' id='".$this->getName()."' rows='".$this->getRows()."' cols='".$this->getCols()."' ".$this->getExtra()." style='width:".$this->getWidth().";height:".$this->getHeight().";display:none;'>".$this->getValue()."</textarea>\n";
+ $ret .="<script type='text/javascript'>xinha_editors.push('".$this->getName()."');</script>\n";
+ return $ret;
+ }
+}
?>
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/language/english.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/language/english.php 2008-12-18 18:33:42 UTC (rev 2600)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/xinha/language/english.php 2008-12-18 18:35:21 UTC (rev 2601)
@@ -5,6 +5,7 @@
* @copyright The XOOPS project http://www.xoops.org/
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
* @author Taiwen Jiang (phppp or D.J.) <ph...@ho...>
+ * @author luciorota <luc...@gm...>
* @since 4.00
* @version $Id$
* @package xoopseditor
@@ -17,4 +18,4 @@
define("_XOOPS_EDITOR_XINHA_LANGUAGE", "en");
// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
define("_XOOPS_EDITOR_XINHA_FONTS", "Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
-?>
\ 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: <luc...@us...> - 2008-12-18 18:33:46
|
Revision: 2600
http://xoops.svn.sourceforge.net/xoops/?rev=2600&view=rev
Author: luciorota
Date: 2008-12-18 18:33:42 +0000 (Thu, 18 Dec 2008)
Log Message:
-----------
Spaw Editor 2.0.8.1 for Xoops2.3.x (beta)
Modified Paths:
--------------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/config.class.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/editor.class.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/theme.class.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.default.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/changelog.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/documentation/plugins.html
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/readme.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/releasenotes.txt
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/editor_registry.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/formspaw.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/common/editor.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/gecko/editor.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/ie/editor.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/opera/editor.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/safari/editor.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/format.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/insert.js
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/it.lang.inc.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/sk.lang.inc.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/toolbars/font.toolbar.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/spawfm/dialogs/spawfm.inc.php
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/config.class.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/config.class.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/config.class.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -322,7 +322,7 @@
function restoreSecureConfig($scid)
{
$sec_cfg = SpawVars::getSessionVar("spaw_configs");
- if ($sec_cfg != '' && is_array($sec_cfg[$scid]))
+ if ($sec_cfg != null && $sec_cfg != '' && is_array($sec_cfg) && isset($sec_cfg[$scid]) && is_array($sec_cfg[$scid]))
{
foreach($sec_cfg[$scid] as $key => $cfg_item)
$this->setConfigItem($cfg_item->name, $cfg_item->value, $cfg_item->transfer_type);
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/editor.class.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/editor.class.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/editor.class.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -473,8 +473,32 @@
return $this->is_resizable;
}
+ /**
+ * Holds value whether editor is in read-only mode
+ * @var bool
+ */
+ var $is_read_only = false;
+
/**
* Set's instance config item
+ * @param bool $value Value of read-only state (true - read-only, false - editable)
+ */
+ function setReadOnly($value=true)
+ {
+ $this->is_read_only = $value;
+ }
+ /**
+ * Returns value indicating whether editor is in read-only mode
+ * @returns bool
+ */
+ function isReadOnly()
+ {
+ return $this->is_read_only;
+ }
+
+
+ /**
+ * Set's instance config item
* @param string $name Config item's name
* @param mixed $value Config item's value
* @param integer $transfer_type Transfer type for the value (One or several of SPAW_CFG_TRANSFER_* constants). Default value - SPAW_CFG_TRANSFER_NONE
@@ -577,6 +601,14 @@
$ssent = true;
}
$objname = $this->name.'_obj';
+
+ // handle read-only state
+ if ($this->isReadOnly())
+ {
+ $this->toolbars = array();
+ $this->hideModeStrip();
+ }
+
$js_res .= 'var '.$objname.' = new SpawEditor("'.$this->name.'");';
$js_res .= 'SpawEngine.registerEditor('.$objname.');';
$js_res .= $objname.'.setTheme(SpawTheme'.$this->theme->name.');';
@@ -584,6 +616,7 @@
$js_res .= $objname.'.setOutputCharset("'.$this->lang->getOutputCharset().'");';
$js_res .= $objname.'.stylesheet = "'.$this->stylesheet.'";';
$js_res .= $objname.'.scid = "'.$this->config->storeSecureConfig().'";';
+ $js_res .= $objname.'.enabled = '.($this->isReadOnly()?"false":"true").';';
// add javascript or request uri config items
$reqstr = '';
@@ -637,7 +670,7 @@
$tpl .= $this->theme->getTemplateFloating();
}
// if this is the main toolbar instance, add toolbars
- if ($tbfrom->name == $this->name)
+ if ($tbfrom->name == $this->name && !$this->isReadOnly())
{
foreach($this->toolbars as $key => $tb)
{
@@ -654,7 +687,7 @@
}
}
}
- elseif ($this->getFloatingMode() && $this->toolbar_from->name != $this->name)
+ elseif (($this->getFloatingMode() && $this->toolbar_from->name != $this->name) || $this->isReadOnly())
{
// editor template for floating mode slave
$tpl = $this->theme->getTemplateFloating();
@@ -774,7 +807,7 @@
$js_res .= $objname.'.onLoadHookup();'."\n";
- $res = $head_res.'<script type="text/javascript">'."\n<!--\n".$js_res."\n//-->\n".'</script>'.$html_res;
+ $res = $head_res.'<script type="text/javascript" id="'.$pname.'_script">'."\n<!--\n".$js_res."\n//-->\n".'</script>'.$html_res;
}
else
{
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/theme.class.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/theme.class.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/class/theme.class.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -54,6 +54,7 @@
*/
function getTheme($name)
{
+ if (strpos($name, '/') || strpos($name, "\\")) die("illegal theme name");
$theme = new SpawTheme($name);
$theme->loadData();
return $theme;
@@ -440,6 +441,7 @@
*/
function loadData()
{
+ if (strpos($this->name, '/') || strpos($this->name, "\\")) die("illegal theme name");
$pgdir = SpawConfig::getStaticConfigValue("SPAW_ROOT").'plugins/';
if (is_dir($pgdir)) {
// load theme settings
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.default.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.default.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.default.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -99,6 +99,7 @@
// data for fonts dropdown list
SpawConfig::setStaticConfigItem("dropdown_data_core_fontname",
array(
+ '' => 'Default',
'Arial' => 'Arial',
'Courier' => 'Courier',
'Tahoma' => 'Tahoma',
@@ -109,6 +110,7 @@
// data for fontsize dropdown list
SpawConfig::setStaticConfigItem("dropdown_data_core_fontsize",
array(
+ '' => 'Default',
'1' => '1',
'2' => '2',
'3' => '3',
@@ -120,7 +122,7 @@
// data for paragraph dropdown list
SpawConfig::setStaticConfigItem("dropdown_data_core_formatBlock",
array(
- 'Normal' => 'Normal',
+ '<p>' => 'Normal',
'<H1>' => 'Heading 1',
'<H2>' => 'Heading 2',
'<H3>' => 'Heading 3',
@@ -128,8 +130,7 @@
'<H5>' => 'Heading 5',
'<H6>' => 'Heading 6',
'<pre>' => 'Preformatted',
- '<address>' => 'Address',
- '<p>' => 'Paragraph'
+ '<address>' => 'Address'
)
);
// data for link targets drodown list in hyperlink dialog
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/config/config.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,48 +1,4 @@
<?php
-// ------------------------------------------------------------------------ //
-// XOOPS - PHP Content Management System //
-// Copyright (c) 2000 XOOPS.org //
-// <http://www.xoops.org/> //
-// ------------------------------------------------------------------------ //
-// This program is free software; you can redistribute it and/or modify //
-// it under the terms of the GNU General Public License as published by //
-// the Free Software Foundation; either version 2 of the License, or //
-// (at your option) any later version. //
-// //
-// You may not change or alter any portion of this comment or credits //
-// of supporting developers from this source code or any supporting //
-// source code which is considered copyrighted (c) material of the //
-// original comment or credit authors. //
-// //
-// This program is distributed in the hope that it will be useful, //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
-// GNU General Public License for more details. //
-// //
-// You should have received a copy of the GNU General Public License //
-// along with this program; if not, write to the Free Software //
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
-// ------------------------------------------------------------------------ //
-// Author: luciorota (luc...@gm...) //
-// URL: //
-// Project: //
-// ------------------------------------------------------------------------- //
-/**
- * Adapted SPAW2 editor
- */
-// Adapted SPAW2 editor - start
-if (file_exists('../mainfile.php')) include_once '../mainfile.php';
-if (file_exists('../../mainfile.php')) include_once '../../mainfile.php';
-if (file_exists('../../../mainfile.php')) include_once '../../../mainfile.php';
-if (file_exists('../../../../mainfile.php')) include_once '../../../../mainfile.php';
-if (file_exists('../../../../../mainfile.php')) include_once '../../../../../mainfile.php';
-if (file_exists('../../../../../../mainfile.php')) include_once '../../../../../../mainfile.php';
-if (file_exists('../../../../../../../mainfile.php')) include_once '../../../../../../../mainfile.php';
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-global $xoops, $xoopsConfig;
-// Adapted SPAW2 editor - end
-
require_once(str_replace('\\\\','/',dirname(__FILE__)).'/../class/config.class.php');
require_once(str_replace('\\\\','/',dirname(__FILE__)).'/../class/util.class.php');
@@ -87,12 +43,7 @@
// toolbarset
SpawConfig::setStaticConfigItem('default_toolbarset','standard');
// stylesheet
-
-// Adapted SPAW2 editor - start
-//SpawConfig::setStaticConfigItem('default_stylesheet',SpawConfig::getStaticConfigValue('SPAW_DIR').'wysiwyg.css');
-SpawConfig::setStaticConfigItem('default_stylesheet',XOOPS_URL.'/themes/'.$xoopsConfig['theme_set'].'/style.css');
-// Adapted SPAW2 editor - end
-
+SpawConfig::setStaticConfigItem('default_stylesheet',SpawConfig::getStaticConfigValue('SPAW_DIR').'wysiwyg.css');
// width
SpawConfig::setStaticConfigItem('default_width','100%');
// height
@@ -148,6 +99,7 @@
// data for fonts dropdown list
SpawConfig::setStaticConfigItem("dropdown_data_core_fontname",
array(
+ '' => 'Default',
'Arial' => 'Arial',
'Courier' => 'Courier',
'Tahoma' => 'Tahoma',
@@ -158,6 +110,7 @@
// data for fontsize dropdown list
SpawConfig::setStaticConfigItem("dropdown_data_core_fontsize",
array(
+ '' => 'Default',
'1' => '1',
'2' => '2',
'3' => '3',
@@ -169,7 +122,7 @@
// data for paragraph dropdown list
SpawConfig::setStaticConfigItem("dropdown_data_core_formatBlock",
array(
- 'Normal' => 'Normal',
+ '<p>' => 'Normal',
'<H1>' => 'Heading 1',
'<H2>' => 'Heading 2',
'<H3>' => 'Heading 3',
@@ -177,8 +130,7 @@
'<H5>' => 'Heading 5',
'<H6>' => 'Heading 6',
'<pre>' => 'Preformatted',
- '<address>' => 'Address',
- '<p>' => 'Paragraph'
+ '<address>' => 'Address'
)
);
// data for link targets drodown list in hyperlink dialog
@@ -286,18 +238,7 @@
SpawConfig::setStaticConfigItem(
'PG_SPAWFM_DIRECTORIES',
array(
-// Adapted SPAW2 editor - start
array(
- 'dir' => XOOPS_URL.'/uploads/',
- 'fsdir' => XOOPS_ROOT_PATH.'/uploads/',
- 'caption' => 'Images [Xoops]',
- 'params' => array(
- 'default_dir' => true, // set directory as default (optional setting)
- 'allowed_filetypes' => array('images')
- )
- ),
-// Adapted SPAW2 editor - end
- array(
'dir' => SpawConfig::getStaticConfigValue('SPAW_DIR').'uploads/flash/',
'caption' => 'Flash movies',
'params' => array(
@@ -308,11 +249,10 @@
'dir' => SpawConfig::getStaticConfigValue('SPAW_DIR').'uploads/images/',
'caption' => 'Images',
'params' => array(
+ 'default_dir' => true, // set directory as default (optional setting)
'allowed_filetypes' => array('images')
)
),
-
-
array(
'dir' => SpawConfig::getStaticConfigValue('SPAW_DIR').'uploads/files/',
'fsdir' => SpawConfig::getStaticConfigValue('SPAW_ROOT').'uploads/files/', // optional absolute physical filesystem path
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/changelog.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/changelog.txt 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/changelog.txt 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,3 +1,45 @@
+2008-09-10 v.2.0.8.1
+--------------------
+- BUGFIX: possilbe security issue fixed in file class/theme.class.php
+
+2008-08-29 v.2.0.8
+------------------
+- FEATURE ADDED: read-only mode. turn read-only mode on by calling
+ $editor->setReadOnly() prior to show()
+- BUGFIX: when inserting anchor on an empty content in Firefox inner document
+ URL was inserted into editing area
+- BUGFIX: paragraph value Normal wasn't working in Firefox. Replaced with <p>
+ in config.default.php (replace in your config.php if you are affected)
+
+2008-04-04 v.2.0.7
+------------------
+- FEATURE ADDED: when inserting a hyperlink and nothing is selected, hyperlink
+ title is used for linked text (if title is not set href url is used)
+- CHANGE: reworked CSS class application algorithm: now if nothing is selected
+ CSS class is set on the parent tag of the current cursor position, plus style
+ changes are applied to the same span tag rather than creating a new one
+- CHANGE: font name and font sizes are now applied with custom code rather than
+ browser features allowing for wider variety of valid settings
+- CHANGE: JavaScript API: refactored style setting methods: moved style setting
+ to editor methods applyStyleToSelection and removeStyleFrom, so they could be
+ called from various other methods (like font settings, etc.)
+- BUGFIX/WORKAROUND: empty paragraphs were multiplying in IE when DOM tree or
+ HTML had paragraph inside of a paragraph
+- BUGFIX/WORKAROUND: when content started with script or style tag it was
+ removed under IE
+- BUGFIX: there were PHP notices in dialogs when session wasn't used to store
+ config data
+- BUGFIX: inner contents of style tag was stripped under IE
+- BUGFIX: insertHtmlAtSelection method wasn't working correctly in IE when
+ "control" (image, etc.) was selected
+- BUGFIX: SpawFm plugin: fixed automatic uploaded file/created directory selection
+- LANGUAGE FILE ADDED: Romanian (Lari Corifeanu)
+- LANGUAGE FILE ADDED: SpawFM: Turkish (Sitki Ozkurt)
+- LANGUAGE FILE ADDED: core and SpawFM: Celtic (Alan Davies)
+- LANGUAGE FILE ADDED: SpawFM: Slovak (Martin Svec)
+- LANGUAGE FILE UPDATED: Slovak (Martin Svec)
+- LANGUAGE FILE UPDATED: Italian (fabrix)
+
2007-12-20 v.2.0.6
------------------
- FEATURE ADDED: Quick links in hyperlink dialog
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/documentation/plugins.html
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/documentation/plugins.html 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/documentation/plugins.html 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1554,6 +1554,20 @@
Inserts specified string (source) which could either be plain text or HTML into
selection</td>
</tr>
+ <tr>
+ <td style="width: 272px">
+ applyStyleToSelection(cssClass, styleName, styleValue)<br />
+ <span class="comment">added in version 2.0.7</span></td>
+ <td>
+ Applies specified CSS class or sets specified style setting to the selected content</td>
+ </tr>
+ <tr>
+ <td style="width: 272px">
+ removeStyleFromSelection(cssClass, styleName)<br />
+ <span class="comment">added in version 2.0.7</span></td>
+ <td>
+ Removes CSS class or specified style setting from selected content or it's parent elements (goes up the hierarchy until the appopriate attribute is found)</td>
+ </tr>
</table>
<h3><a id="spawutils"></a>
SpawUtils Class</h3>
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/readme.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/readme.txt 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/readme.txt 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,5 +1,5 @@
-SPAW Editor PHP Edition v.2.0.6
--------------------------------
+SPAW Editor PHP Edition v.2.0.8.1
+---------------------------------
Thank you for downloading SPAW Editor!
SPAW Editor PHP Edition version 2.0 adds following major features:
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/releasenotes.txt
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/releasenotes.txt 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/docs/releasenotes.txt 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,17 +1,16 @@
SPAW Editor PHP Edition
-Version 2.0.6
+Version 2.0.8.1
-2.0.6 Release Notes
+2.0.8.1 Release Notes
Thanks to everyone who downloaded and tried SPAW Editor v.2!
Your feedback was extremely helpful.
-This release adds a couple of new features like predefined "quick links" in
-hyperlink dialog and CSS class field in image properties dialog. It also fixes
-a long-standing issue with invalid HTML resulting in content multiplying under
-IE among other bugfixes.
+This is a hotfix release for a possible security issue in file
+class/theme.class.php
-Numerous language files were updated and fixed by the community. Thanks!
+Users of previous 2.x versions can just overwrite the above mentioned file.
+It hasn't changed since version 2.0.
For a complete list of changes see changelog.txt
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/editor_registry.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/editor_registry.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/editor_registry.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,52 +1,21 @@
<?php
-// $Id: editor_registry.php,v 1.3 2005/08/08 06:29:11 skalpa 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 //
-// ------------------------------------------------------------------------ //
/**
- * XOOPS editor registry
+ * Spaw Editor v2 adapter for XOOPS
*
- * @author phppp (D.J.)
- * @copyright copyright (c) 2005 XOOPS.org
- *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @package class
+ * @subpackage editor
+ * @since 2.3.0
+ * @author Taiwen Jiang <ph...@us...>
+ * @version $Id: editor_registry.php 1573 2008-05-04 15:24:06Z phppp $
*/
-global $xoopsConfig;
-$current_path = __FILE__;
-if ( DIRECTORY_SEPARATOR != "/" ) $current_path = str_replace( strpos( $current_path, "\\\\", 2 ) ? "\\\\" : DIRECTORY_SEPARATOR, "/", $current_path);
-$root_path = dirname($current_path);
-
-$xoopsConfig['language'] = preg_replace("/[^a-z0-9_\-]/i", "", $xoopsConfig['language']);
-if(!@include_once($root_path."/language/".$xoopsConfig['language'].".php")){
- include_once($root_path."/language/english.php");
-}
-
return $config = array(
- "name" => "spaw2",
- "class" => "XoopsFormSpaw",
- "file" => $root_path . "/formspaw.php",
- "title" => _XOOPS_EDITOR_SPAW2,
- "order" => 4
- );
+ "name" => "spaw2",
+ "class" => "XoopsFormSpaw",
+ "file" => XOOPS_ROOT_PATH . "/class/xoopseditor/spaw2/formspaw.php",
+ "title" => _XOOPS_EDITOR_SPAW2,
+ "order" => 4
+ );
?>
\ No newline at end of file
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/formspaw.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/formspaw.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/formspaw.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,51 +1,22 @@
<?php
-// $Id: formspaw.php, V 1.0 phpp 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 //
-// ------------------------------------------------------------------------- //
/**
- * Adapted SPAW editor
+ * Adapted Spaw Editor v2.0.8.1
*
* @author phppp, http://xoops.org.cn
+ * @author luciorota <luc...@gm...>
+ *
* @copyright copyright (c) 2004 XOOPS.org
*
- * @package NewBB 2.0
- * @subpackage form
*/
-class XoopsFormSpaw extends XoopsFormTextArea
+class XoopsFormSpaw extends XoopsEditor
{
- var $language = _LANGCODE;
- var $width;
- var $height;
- /**
- * Constructor
- *
+ var $language = _LANGCODE;
+ var $width;
+ var $height;
+ /**
+ * Constructor
+ *
* @param string $caption Caption
* @param string $name "name" attribute
* @param string $value Initial text
@@ -53,75 +24,130 @@
* @param string $height iframe height
* @param array $options Toolbar Options
*/
- function XoopsFormSpaw($caption, $name, $value="", $width="100%", $height="200px")
- {
- $this->XoopsFormTextArea($caption, $name, $value);
- $this->width=$width;
- $this->height=$height;
- }
+ // PHP 5 Constructor
+ function __construct($configs)
+ {
+ $this->XoopsFormTextArea($configs['caption'], $configs['name'], $configs['value']);
+ $this->width = $configs['width'];
+ $this->height = $configs['height'];
+ }
- /**
- * get textarea width
- *
+ // PHP 4 Constructor
+ function XoopsFormSpaw($configs)
+ {
+ $this->__construct($configs);
+ }
+
+
+ /**
+ * get textarea width
+ *
* @return string
- */
- function getWidth()
- {
- return $this->width;
- }
+ */
+ function getWidth()
+ {
+ return $this->width;
+ }
- /**
- * get textarea height
- *
+ /**
+ * get textarea height
+ *
* @return string
- */
- function getHeight()
- {
- return $this->height;
- }
+ */
+ function getHeight()
+ {
+ return $this->height;
+ }
- /**
- * get language
- *
+ /**
+ * get language
+ *
* @return string
- */
- function getLanguage()
- {
- return str_replace('-','_',strtolower($this->language));
- }
+ */
+ function getLanguage()
+ {
+ return str_replace('-','_',strtolower($this->language));
+ }
- /**
- * set language
- *
+ /**
+ * set language
+ *
* @return null
- */
- function setLanguage($lang='en')
- {
- $this->language = $lang;
- }
+ */
+ function setLanguage($lang='en')
+ {
+ $this->language = $lang;
+ }
- /**
- * prepare HTML for output
- *
+
+ /**
+ * Renders the Javascript function needed for client-side for validation
+ *
+ *
+ * @return string
+ */
+
+/*
+
+Missing HTML, update, submit(), updateFields() - Solution!
+
+Postby SpaceGeneral on Wed Apr 23, 2008 3:02 pm
+Ok fans, I've found the solution to many a frustrating hour!
+
+This is the solution for Javascript submit();, updateFields, missing content, call it what you like problem.
+
+Befor your document.formname.submit(); place this:
+
+(cms is the spaw page name. So if you name your page content then it will be content_obj.)
+
+SpawEngine.updateFields();
+cms_obj.updatePageInput(cms_obj.getActivePage());
+
+Elvis has left the building!
+*/
+ function renderValidationJS()
+ {
+ if ($this->isRequired() && $eltname = $this->getName()) {
+ //$eltname = $this->getName();
+ $eltcaption = $this->getCaption();
+ $eltmsg = empty($eltcaption) ? sprintf( _FORM_ENTER, $eltname ) : sprintf( _FORM_ENTER, $eltcaption );
+ $eltmsg = str_replace('"', '\"', stripslashes( $eltmsg ) );
+ $ret = "\n";
+ $ret.= "myform.".$eltname."_obj.updateFields();";
+ $ret.= "myform.".$eltname."_obj.updatePageDoc(myform.".$eltname."_obj.getActivePage());";
+ $ret.= "if (myform.".$eltname."_obj.value.length == 0)";
+ $ret.= "{";
+ $ret.= "window.alert(\"{$eltmsg}\");";
+ //$ret.= "tinyMCE.get('{$eltname}').focus();";
+ $ret.= "return false;";
+ $ret.= "}";
+ return $ret;
+ }
+ return '';
+ }
+
+ /**
+ * prepare HTML for output
+ *
* @return sting HTML
- */
- function render()
- {
- global $myts;
-
- $ret = '';
- if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/spaw2/spaw_control.class.php")) {
- include_once XOOPS_ROOT_PATH . "/class/xoopseditor/spaw2/spaw_control.class.php";
- $value = $this->getValue();
+ */
+ function render()
+ {
+ global $myts;
+ $ret = '';
+ $ret.= "<style type='text/css'>table.spaw2toolbar {width:auto;}</style>\n";
+ if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/spaw2/spaw_control.class.php")) {
+ include_once XOOPS_ROOT_PATH . "/class/xoopseditor/spaw2/spaw_control.class.php";
+ $value = $this->getValue();
$value = str_replace("&", "&", $myts->undoHtmlSpecialChars($value));
$value = str_replace( "<BR>", "<br />", $value );
- $spaw = new SPAW_Wysiwyg( $this->getName(), $value, $this->getLanguage(), 'full', 'default', $this->getWidth(), $this->getHeight() );
- ob_start();
- $spaw->show();
- $ret = ob_get_contents();
- ob_end_clean();
- }
- return $ret;
- }
+ $spaw[$this->getName()] = new SPAW_Wysiwyg( $this->getName(), $value, $this->getLanguage(), 'full', 'default', $this->getWidth(), $this->getHeight() );
+ ob_start();
+ $spaw[$this->getName()]->show();
+ $ret.= ob_get_contents();
+ ob_end_clean();
+ }
+ return $ret;
+ }
}
-?>
+?>
\ No newline at end of file
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/common/editor.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/common/editor.js 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/common/editor.js 2008-12-18 18:33:42 UTC (rev 2600)
@@ -161,7 +161,8 @@
{
pta.style.display = 'none';
pif.style.display = 'inline';
- pdoc.designMode = 'on'; // mozilla (and probably early firefox versions) looses this when the page is hidden
+ if (this.Enabled)
+ pdoc.designMode = 'on'; // mozilla (and probably early firefox versions) looses this when the page is hidden
}
else
{
@@ -498,6 +499,12 @@
htmlValue = htmlValue.replace(hrRgx, '<SPAW:HR $2$4/>').replace("//>","/>");
}
+ // workaround for chewed up script, style and other tags under IE when content starts with them
+ if (document.attachEvent) // ie
+ {
+ htmlValue = '<span id="spaw2_script_workaround">.</span>' + htmlValue;
+ }
+
// assign value
pdoc.body.innerHTML = htmlValue;
@@ -517,6 +524,13 @@
}
}
+ // workaround for chewed up script, style and other tags under IE when content starts with them
+ if (document.attachEvent) // ie
+ {
+ var tmpSpan = pdoc.getElementById("spaw2_script_workaround");
+ tmpSpan.parentNode.removeChild(tmpSpan);
+ }
+
this.flash2img();
}
// returns html of the current page
@@ -581,7 +595,7 @@
}
// renders xhtml
-SpawEditor.prototype.dom2xml = function(node, indent)
+SpawEditor.prototype.dom2xml = function(node, indent, inParagraph)
{
var xbuf = '';
var f_indent = '';
@@ -724,6 +738,8 @@
case "div":
case "ul":
case "ol":
+ case "script":
+ case "style":
f_indent = indent;
f_crlf = '\n';
e_indent = indent;
@@ -736,16 +752,42 @@
e_crlf = '';
}
}
- if (chnode.tagName.toLowerCase() != "script")
+ if (chnode.tagName.toLowerCase() != "script" && chnode.tagName.toLowerCase() != "style" )
{
// replace font with span
var tag_name = (chnode.tagName.toLowerCase() != 'font')?chnode.tagName.toLowerCase():'span';
+
+ // workaround for invalid HTML in IE
+ var pInParagraph = false;
+ var closingP = '';
+ if (document.attachEvent) // ie
+ {
+ if (inParagraph == true && tag_name == 'p')
+ {
+ closingP = '</p>';
+ pInParagraph = false;
+ inParagraph = false;
+ }
+ else if (inParagraph == true || tag_name == 'p')
+ pInParagraph = true;
+ }
+
if (chnode.childNodes.length>0)
{
- var innercode = this.dom2xml(chnode, indent + ((f_indent!="tmp")?" ":""));
+
+ var innercode = this.dom2xml(chnode, indent + ((f_indent!="tmp")?" ":""), pInParagraph);
if (SpawUtils.trim(innercode) == '')
innercode = ' ';
- xbuf += f_crlf + f_indent + "<" + SpawUtils.trim(tag_name + attr_str) + ">" + innercode + e_crlf + e_indent + "</" + tag_name + ">";
+
+ // workaround for invalid HTML in IE
+ var closingTag = "</" + tag_name + ">";
+ if (document.attachEvent) // ie
+ {
+ if (tag_name == 'p' && innercode.indexOf("</p>") != -1)
+ closingTag = "";
+ }
+
+ xbuf += closingP + f_crlf + f_indent + "<" + SpawUtils.trim(tag_name + attr_str) + ">" + innercode + e_crlf + e_indent + closingTag;
}
else if (chnode.tagName.indexOf("/") == -1)// empty tag (sometimes ending tag is passed as a separate node)
{
@@ -778,13 +820,14 @@
}
}
}
- else // script
+ else // script & style
{
- xbuf += f_crlf + f_indent + "<" + SpawUtils.trim(chnode.tagName.toLowerCase() + attr_str) + ">" + chnode.innerHTML + "</" + chnode.tagName.toLowerCase() + ">";
+ xbuf += f_crlf + f_indent + "<" + SpawUtils.trim(chnode.tagName.toLowerCase() + attr_str) + ">" + SpawUtils.trim(chnode.innerHTML) + e_crlf + e_indent + "</" + chnode.tagName.toLowerCase() + ">";
}
}
}
}
+
return xbuf;
}
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/gecko/editor.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/gecko/editor.js 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/gecko/editor.js 2008-12-18 18:33:42 UTC (rev 2600)
@@ -26,7 +26,7 @@
try
{
- if(pdoc.designMode != 'on')
+ if(pdoc.designMode != 'on' && eval(this.name+'_obj.enabled'))
{
pdoc.designMode = 'on';
pdoc.designMode = 'off';
@@ -324,3 +324,94 @@
frag.appendChild(elm.childNodes[0]);
this.insertNodeAtSelection(frag);
}
+
+// applies style setting or css class to selection
+SpawEditor.prototype.applyStyleToSelection = function(cssClass, styleName, styleValue)
+{
+ var sel = this.getNodeAtSelection();
+ var pnode = this.getSelectionParent();
+ if (sel)
+ {
+ if (sel.nodeType == 1) // element
+ {
+ if (cssClass != '')
+ sel.className = cssClass;
+ if (styleName != '')
+ sel.style[styleName] = styleValue;
+ this.insertNodeAtSelection(sel);
+ }
+ else
+ {
+ var pdoc = this.getActivePageDoc();
+ var spn = pdoc.createElement("SPAN");
+ if (cssClass != '')
+ spn.className = cssClass;
+ if (styleName != '')
+ spn.style[styleName] = styleValue;
+ spn.appendChild(sel);
+ if (spn.innerHTML.length > 0) // something selected
+ {
+ if (spn.innerHTML != pnode.innerHTML || pnode.tagName.toLowerCase() == "body") // this is a new snippet, set class on it
+ this.insertNodeAtSelection(spn);
+ else // change class
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style[styleName] = styleValue;
+ }
+ }
+ else // nothing is select, set class on the parent
+ {
+ if (pnode.tagName.toLowerCase() != "body") // there's a parent, set class on it
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style[styleName] = styleValue;
+ }
+ else
+ {
+ spn.innerHTML = pnode.innerHTML;
+ pnode.innerHTML = '';
+ pnode.appendChild(spn);
+ }
+ }
+ }
+ }
+}
+
+// removes style from selection
+SpawEditor.prototype.removeStyleFromSelection = function(cssClass, styleName)
+{
+ this.focus();
+
+ var pnode = this.getSelectionParent();
+
+ if (cssClass)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && (!pnode.className || pnode.className == ""))
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.removeAttribute("class");
+ pnode.removeAttribute("className");
+ }
+ }
+
+ if (styleName)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && !pnode.style[styleName])
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.style[styleName] = '';
+ }
+ }
+}
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/ie/editor.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/ie/editor.js 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/ie/editor.js 2008-12-18 18:33:42 UTC (rev 2600)
@@ -21,7 +21,7 @@
var pdoc = this.getPageDoc(this.pages[i].name);
pta.style.width = f_pif.offsetWidth + 'px';
- if (pdoc.designMode != 'on')
+ if (pdoc.designMode != 'on' && eval(this.name+'_obj.enabled'))
{
pdoc.designMode = 'On';
}
@@ -307,7 +307,15 @@
var sel = pdoc.selection.createRange();
try
{
- sel.pasteHTML(source);
+ if (pdoc.selection.type == "Control") // control node
+ {
+ sel(0).outerHTML = source;
+ this.focus();
+ }
+ else
+ {
+ sel.pasteHTML(source);
+ }
}
catch(excp)
{
@@ -322,3 +330,86 @@
}
}
}
+
+// applies style setting or css class to selection
+SpawEditor.prototype.applyStyleToSelection = function(cssClass, styleName, styleValue)
+{
+ this.focus();
+
+ var sel = this.getNodeAtSelection(); // for IE this always returns span for non-objects
+ var pnode = this.getSelectionParent();
+ if (sel)
+ {
+ if (sel.innerHTML.length>0 && sel.innerHTML != pnode.outerHTML) // setting class on a new snippet
+ {
+ if (cssClass != '')
+ sel.className = cssClass;
+ if (styleName != '')
+ sel.style.setAttribute(styleName, styleValue, 0);
+ this.insertNodeAtSelection(sel);
+ }
+ else if (sel.innerHTML.length == 0) // empty selection, set class on the parent
+ {
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style.setAttribute(styleName, styleValue, 0);
+ }
+ else // parent is body
+ {
+ sel.innerHTML = pnode.innerHTML;
+
+ if (cssClass != '')
+ sel.className = cssClass;
+ if (styleName != '')
+ sel.style.setAttribute(styleName, styleValue, 0);
+
+ pnode.innerHTML = sel.outerHTML;
+ }
+ }
+ else // changing class on an element
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style.setAttribute(styleName, styleValue, 0);
+ }
+ }
+}
+
+// removes style from selection
+SpawEditor.prototype.removeStyleFromSelection = function(cssClass, styleName)
+{
+ this.focus();
+
+ var pnode = this.getSelectionParent();
+
+ if (cssClass)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && (!pnode.className || pnode.className == ""))
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.removeAttribute("class");
+ pnode.removeAttribute("className");
+ }
+ }
+
+ if (styleName)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && !pnode.style.getAttribute(styleName))
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.style.removeAttribute(styleName);
+ }
+ }
+}
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/opera/editor.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/opera/editor.js 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/opera/editor.js 2008-12-18 18:33:42 UTC (rev 2600)
@@ -19,12 +19,14 @@
try
{
- if(pdoc.designMode != 'on')
+ if(pdoc.designMode != 'on' && eval(this.name+'_obj.enabled'))
pdoc.designMode = 'on';
}
catch(e)
{
- setTimeout(function(){try{this.getPageDoc(this.pages[i].name).designMode = 'on';}catch(e){}}, 20);
+ if (eval(this.name+'_obj.enabled'))
+ setTimeout(function(){try{this.getPageDoc(this.pages[i].name).designMode = 'on';}catch(e){}}, 20);
+
setTimeout(this.name+'_obj.initialize();',50);
return;
}
@@ -285,3 +287,94 @@
frag.appendChild(elm.childNodes[0]);
this.insertNodeAtSelection(frag);
}
+
+// applies style setting or css class to selection
+SpawEditor.prototype.applyStyleToSelection = function(cssClass, styleName, styleValue)
+{
+ var sel = this.getNodeAtSelection();
+ var pnode = this.getSelectionParent();
+ if (sel)
+ {
+ if (sel.nodeType == 1) // element
+ {
+ if (cssClass != '')
+ sel.className = cssClass;
+ if (styleName != '')
+ sel.style[styleName] = styleValue;
+ this.insertNodeAtSelection(sel);
+ }
+ else
+ {
+ var pdoc = this.getActivePageDoc();
+ var spn = pdoc.createElement("SPAN");
+ if (cssClass != '')
+ spn.className = cssClass;
+ if (styleName != '')
+ spn.style[styleName] = styleValue;
+ spn.appendChild(sel);
+ if (spn.innerHTML.length > 0) // something selected
+ {
+ if (spn.innerHTML != pnode.innerHTML || pnode.tagName.toLowerCase() == "body") // this is a new snippet, set class on it
+ this.insertNodeAtSelection(spn);
+ else // change class
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style[styleName] = styleValue;
+ }
+ }
+ else // nothing is select, set class on the parent
+ {
+ if (pnode.tagName.toLowerCase() != "body") // there's a parent, set class on it
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style[styleName] = styleValue;
+ }
+ else
+ {
+ spn.innerHTML = pnode.innerHTML;
+ pnode.innerHTML = '';
+ pnode.appendChild(spn);
+ }
+ }
+ }
+ }
+}
+
+// removes style from selection
+SpawEditor.prototype.removeStyleFromSelection = function(cssClass, styleName)
+{
+ this.focus();
+
+ var pnode = this.getSelectionParent();
+
+ if (cssClass)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && (!pnode.className || pnode.className == ""))
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.removeAttribute("class");
+ pnode.removeAttribute("className");
+ }
+ }
+
+ if (styleName)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && !pnode.style[styleName])
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.style[styleName] = '';
+ }
+ }
+}
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/safari/editor.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/safari/editor.js 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/js/safari/editor.js 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,4 +1,4 @@
-// Gecko specific code
+// Safari specific code
// initialize
SpawEditor.prototype.initialize = function()
@@ -26,7 +26,7 @@
try
{
- if(pdoc.designMode != 'on')
+ if(pdoc.designMode != 'on' && eval(this.name+'_obj.enabled'))
{
pdoc.designMode = 'on';
pdoc.designMode = 'off';
@@ -324,3 +324,94 @@
frag.appendChild(elm.childNodes[0]);
this.insertNodeAtSelection(frag);
}
+
+// applies style setting or css class to selection
+SpawEditor.prototype.applyStyleToSelection = function(cssClass, styleName, styleValue)
+{
+ var sel = this.getNodeAtSelection();
+ var pnode = this.getSelectionParent();
+ if (sel)
+ {
+ if (sel.nodeType == 1) // element
+ {
+ if (cssClass != '')
+ sel.className = cssClass;
+ if (styleName != '')
+ sel.style[styleName] = styleValue;
+ this.insertNodeAtSelection(sel);
+ }
+ else
+ {
+ var pdoc = this.getActivePageDoc();
+ var spn = pdoc.createElement("SPAN");
+ if (cssClass != '')
+ spn.className = cssClass;
+ if (styleName != '')
+ spn.style[styleName] = styleValue;
+ spn.appendChild(sel);
+ if (spn.innerHTML.length > 0) // something selected
+ {
+ if (spn.innerHTML != pnode.innerHTML || pnode.tagName.toLowerCase() == "body") // this is a new snippet, set class on it
+ this.insertNodeAtSelection(spn);
+ else // change class
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style[styleName] = styleValue;
+ }
+ }
+ else // nothing is select, set class on the parent
+ {
+ if (pnode.tagName.toLowerCase() != "body") // there's a parent, set class on it
+ {
+ if (cssClass != '')
+ pnode.className = cssClass;
+ if (styleName != '')
+ pnode.style[styleName] = styleValue;
+ }
+ else
+ {
+ spn.innerHTML = pnode.innerHTML;
+ pnode.innerHTML = '';
+ pnode.appendChild(spn);
+ }
+ }
+ }
+ }
+}
+
+// removes style from selection
+SpawEditor.prototype.removeStyleFromSelection = function(cssClass, styleName)
+{
+ this.focus();
+
+ var pnode = this.getSelectionParent();
+
+ if (cssClass)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && (!pnode.className || pnode.className == ""))
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.removeAttribute("class");
+ pnode.removeAttribute("className");
+ }
+ }
+
+ if (styleName)
+ {
+ while(pnode && pnode.tagName.toLowerCase() != "body" && !pnode.style[styleName])
+ {
+ pnode = pnode.parentNode;
+ }
+
+ if (pnode && pnode.tagName.toLowerCase() != "body")
+ {
+ pnode.style[styleName] = '';
+ }
+ }
+}
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/format.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/format.js 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/format.js 2008-12-18 18:33:42 UTC (rev 2600)
@@ -134,7 +134,6 @@
// bg color differs between browsers
-
// applies style
SpawPGcore.styleChange = function(editor, tbi, sender)
{
@@ -144,54 +143,22 @@
if (cls != '')
{
// apply class
- var sel = editor.getNodeAtSelection();
- if (sel)
- {
- if (sel.nodeType == 1) // element
- {
- sel.className = cls;
- editor.insertNodeAtSelection(sel);
- }
- else
- {
- var pdoc = editor.getActivePageDoc();
- var spn = pdoc.createElement("SPAN");
- spn.className = cls;
- spn.appendChild(sel);
- editor.insertNodeAtSelection(spn);
- }
- }
- else
- {
- }
+ editor.applyStyleToSelection(cls, '', '');
}
else
{
// remove class
- var pnode = editor.getSelectionParent();
- while(pnode && pnode.tagName.toLowerCase() != "body" && (!pnode.className || pnode.className == ""))
- {
- pnode = pnode.parentNode;
- }
-
- if (pnode && pnode.tagName.toLowerCase() != "body")
- {
- pnode.removeAttribute("class");
- pnode.removeAttribute("className");
- }
+ editor.removeStyleFromSelection(true, '');
}
sender.selectedIndex = 0;
editor.updateToolbar();
editor.focus();
}
}
+
SpawPGcore.isStyleEnabled = function(editor, tbi)
{
- if(editor.isInDesignMode())
- // use formatBlock because it should be enabled in same situations
- return editor.getActivePageDoc().queryCommandEnabled("formatBlock");
- else
- return false;
+ return editor.isInDesignMode();
}
// returns currently applied class
SpawPGcore.styleStatusCheck = function(editor, tbi)
@@ -212,3 +179,74 @@
}
}
+// applies font family
+SpawPGcore.fontFamilyChange = function(editor, tbi, sender)
+{
+ if (tbi.is_enabled)
+ {
+ var fontName = sender.options[sender.selectedIndex].value;
+ if (fontName != '')
+ {
+ // apply class
+ editor.applyStyleToSelection('', 'fontFamily', fontName);
+ }
+ else
+ {
+ // remove class
+ editor.removeStyleFromSelection('', 'fontFamily');
+ }
+ sender.selectedIndex = 0;
+ editor.updateToolbar();
+ editor.focus();
+ }
+}
+
+// applies font size
+SpawPGcore.fontSizeChange = function(editor, tbi, sender)
+{
+ if (tbi.is_enabled)
+ {
+ var fontSize = sender.options[sender.selectedIndex].value;
+ if (fontSize != '')
+ {
+ // convert old-school html size (1, 2, etc.) to CSS compatible
+ switch(fontSize)
+ {
+ case "1":
+ fontSize = "xx-small";
+ break;
+ case "2":
+ fontSize = "x-small";
+ break;
+ case "3":
+ fontSize = "small";
+ break;
+ case "4":
+ fontSize = "medium";
+ break;
+ case "5":
+ fontSize = "large";
+ break;
+ case "6":
+ fontSize = "x-large";
+ break;
+ case "7":
+ fontSize = "xx-large";
+ break;
+ default:
+ break;
+ }
+ // apply class
+ editor.applyStyleToSelection('', 'fontSize', fontSize);
+ }
+ else
+ {
+ // remove class
+ editor.removeStyleFromSelection('', 'fontSize');
+ }
+ sender.selectedIndex = 0;
+ editor.updateToolbar();
+ editor.focus();
+ }
+}
+
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/insert.js
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/insert.js 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/js/common/insert.js 2008-12-18 18:33:42 UTC (rev 2600)
@@ -29,6 +29,19 @@
{
newa.appendChild(sel);
}
+
+ // if link is set on empty space use links title or url as link text
+ if (SpawUtils.trim(newa.innerHTML) == '' && SpawUtils.trim(newa.href) != '' && newa.href != pdoc.location.href) // protect anchors from this action
+ {
+ if (newa.title)
+ newa.innerHTML = newa.title;
+ else
+ newa.innerHTML = editor.getStrippedAbsoluteUrl(newa.href, false);
+ }
+
+ if (newa.href == pdoc.location.href)
+ newa.removeAttribute("href");
+
editor.insertNodeAtSelection(newa);
}
}
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/it.lang.inc.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/it.lang.inc.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/it.lang.inc.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,4 +1,4 @@
-<?php
+<?php
// ====================================================
// SPAW PHP WYSIWYG editor control
// ====================================================
@@ -36,10 +36,10 @@
),
'redo' => array(
'title' => 'Ripeti'
+ ),
+ 'image' => array(
+ 'title' => 'Inserisci Immagine' //*******ADDED BY FABRIX*******
),
- 'image' => array(
- 'title' => 'Inserisci immagine'
- ),
'hyperlink' => array(
'title' => 'Collegamento Ipertestuale'
),
@@ -47,7 +47,7 @@
'title' => 'Inserisci immagine',
'select' => 'Seleziona',
'cancel' => 'Esci',
- 'delete' => 'Elimina', // new 1.0.5
+ 'delete' => 'Elimina', // new 1.0.5
'library' => 'Libreria',
'preview' => 'Anteprima',
'images' => 'Immagini',
@@ -61,7 +61,7 @@
'error_cant_delete' => 'Eliminazione fallita', // new 1.0.5
),
'image_prop' => array(
- 'title' => 'Proprietà immagine',
+ 'title' => 'Proprietà immagine',
'ok' => ' OK ',
'cancel' => 'Esci',
'source' => 'File',
@@ -185,6 +185,9 @@
),
'underline' => array(
'title' => 'Sottolineato'
+ ),
+ 'strikethrough' => array(
+ 'title' => 'Barrato' //*******ADDED BY FABRIX*******
),
'insertorderedlist' => array(
'title' => 'Elenco numerato'
@@ -257,6 +260,9 @@
'_blank' => 'Nuova finestra (_blank)',
'_top' => 'Frame corrente (_top)',
'_parent' => 'Intero FrameSet (_parent)'
+ ),
+'unlink' => array( // <=== new v.2.0 *******ADDED BY FABRIX*******
+ 'title' => 'Rimuovi Collegamento'
),
'table_row_prop' => array(
'title' => 'Proprietà riga',
@@ -315,4 +321,4 @@
'title' => 'Apice',
),
);
-?>
\ No newline at end of file
+?>
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/sk.lang.inc.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/sk.lang.inc.php 2008-12-16 22:11:54 UTC (rev 2599)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/spaw2/plugins/core/lib/lang/sk.lang.inc.php 2008-12-18 18:33:42 UTC (rev 2600)
@@ -1,17 +1,17 @@
<?php
// ================================================
-// SPAW PHP WYSIWYG editor control
+// SPAW v.2.0
// ================================================
// Slovak language file
// ================================================
// Developed: Alan Mendelevich, al...@so...
// Copyright: Solmetra (c)2003 All rights reserved.
-// Slovak translation: Pavel Koutny
-// pav...@in...
+// Slovak translation: Martin Švec
+// sh...@va...
// ------------------------------------------------
// www.solmetra.com
// ================================================
-// v.1.0, 2003-03-20
+// v.2.0
// ================================================
// charset to be used in dialogs
@@ -23,247 +23,265 @@
$spaw_lang_data = array(
'cut' => array(
- 'title' => 'Vystrihnú'
+ 'title' => 'Vystrihnúť'
),
'copy' => array(
- 'title' => 'Kopírova'
+ 'title' => 'Kopírovať'
),
'paste' => array(
- 'title' => 'Vloi'
+ 'title' => 'Vložiť'
),
'undo' => array(
- 'title' => 'Vráti'
+ 'title' => 'Vrátiť úpravy'
),
'redo' => array(
- 'title' => 'Vykona'
+ 'title' => 'Znovu vykonať úpravy'
),
- 'hyperlink' => array(
- 'title' => 'Hyperlink'
+ 'image' => array(
+ 'title' => 'Rýchle vloženie obrázka'
),
- 'image_insert' => array(
- 'title' => 'Vloi obrázok',
- 'select' => 'Vybra',
- 'cancel' => 'Zrui',
- 'library' => 'Kninica',
- 'preview' => 'Náhžad',
- 'images' => 'Obrázky',
- 'upload' => 'Nahra obrázek',
- 'upload_button' => 'Nahra',
- 'error' => 'Chyba',
- 'error_no_image...
[truncated message content] |
|
From: <and...@us...> - 2008-12-16 22:49:56
|
Revision: 2599
http://xoops.svn.sourceforge.net/xoops/?rev=2599&view=rev
Author: anderssk
Date: 2008-12-16 22:11:54 +0000 (Tue, 16 Dec 2008)
Log Message:
-----------
Shoutbox add (Thanks to Culex)
Added Paths:
-----------
XoopsLanguages/danish/modules/shoutbox/
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/admin.php
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/blocks.php
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/index.html
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/main.php
XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/modinfo.php
Added: XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/admin.php
===================================================================
--- XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/admin.php (rev 0)
+++ XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/admin.php 2008-12-16 22:11:54 UTC (rev 2599)
@@ -0,0 +1,91 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+// Original Author: Alphalogic <alp...@ho...> //
+// Original Author Website: http://www.alphalogic-network.de //
+// ------------------------------------------------------------------------ //
+// XOOPS Version made by: (XOOPS 1.3.x and 2.0.x version) //
+// Jan304 <http://www.jan304.org> //
+// ------------------------------------------------------------------------ //
+// Author: tank //
+// Website: http://www.customvirtualdesigns.com //
+// E-Mail: tan...@co... //
+// Date: 10/05/2008 //
+// Module: Shoutbox //
+// File: language/english/admin.php //
+// Version: 4.01 //
+// ------------------------------------------------------------------------ //
+// Change Log //
+// *** //
+// Version 4.01 Initial CVD Release 10/05/2008 //
+// *** //
+
+// General usage
+define('_AM_SH_CONFIG','Shoutbox Admin');
+define('_AM_SH_POSTER','Skribent');
+define('_AM_SH_MESSAGE','Besked');
+define('_AM_SH_INVALID_ID','ID returnerede intet shout');
+
+// index.php
+define('_AM_SH_CHOOSE','Hvad ønsker du at gøre?');
+define('_AM_SH_EDIT_DB','Redigere shouts i database');
+define('_AM_SH_EDIT_FILE','redigere shouts i fil?');
+define('_AM_SH_EDIT_INUSE','Bruges');
+define('_AM_SH_STATUSOF','Shoutbox Status');
+
+// shoutboxEdit.php
+define('_AM_SH_EDIT_TITLE','Rediger shout [Skrevet den %s]');
+define('_AM_SH_EDIT_FROM','Fra'); // Ex: "From: 127.0.0.1"
+
+// shoutboxList.php
+define('_AM_SH_LIST_TIME','Tid');
+define('_AM_SH_LIST_ACTION','Handling');
+define('_AM_SH_LIST_NOSHOUTS','Ingen Shouts');
+
+// shoutboxRemove.php
+define('_AM_SH_REMOVE_TITLE','Fjern shout [Skrevet den %s]');
+define('_AM_SH_REMOVE_SUCCES','Shout Slettet!');
+define('_AM_SH_REMOVE_FAILURE','Fejl - Kunne ikke køre forespørgsel ...');
+define('_AM_SH_REMOVE_FROM','Fra');
+
+// shoutboxStatus.php
+define('_AM_SH_STATUS_TITLE','Shoutbox Status');
+define('_AM_SH_STATUS_STORAGETYPE','Lager type');
+define('_AM_SH_STATUS_INDB','Shouts i database');
+define('_AM_SH_STATUS_INFILE','Shouts i fil');
+define('_AM_SH_STATUS_SIZEDB','Størrelse på shoutbox tabel');
+define('_AM_SH_STATUS_SIZEFILE','Størrelse på shoutbox fil');
+
+// shoutboxFile.php
+define('_AM_SH_FILE_TITLE','Redigering af shout.cvs');
+define('_AM_SH_FILE_SOURCE','Kilde på shout.cvs');
+define('_AM_SH_FILE_SOURCED','Du kan redigere/fjerne linier i shout.cvs. Vær omhyggelig med ikke at bryde strukturen (linje efter linje).');
+define('_AM_SH_FILE_HASH','Kør Opdate');
+define('_AM_SH_FILE_HASHD','Ignorer hashcheck så du kan opdatere filen.'); // Hash fail: file has been updated (read: shout added) during editing
+define('_AM_SH_FILE_HASH_FAILED','Hash check fejlede!');
+define('_AM_SH_FILE_UPDATED','Filen er opdateret');
+define('_AM_SH_FILE_FAILED','Kunne ikke åbne filen!');
+
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/blocks.php
===================================================================
--- XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/blocks.php (rev 0)
+++ XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/blocks.php 2008-12-16 22:11:54 UTC (rev 2599)
@@ -0,0 +1,62 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+// Original Author: Alphalogic <alp...@ho...> //
+// Original Author Website: http://www.alphalogic-network.de //
+// ------------------------------------------------------------------------ //
+// XOOPS Version made by: (XOOPS 1.3.x and 2.0.x version) //
+// Jan304 <http://www.jan304.org> //
+// ------------------------------------------------------------------------ //
+// Author: tank //
+// Website: http://www.customvirtualdesigns.com //
+// E-Mail: tan...@co... //
+// Date: 11/15/2008 //
+// Module: Shoutbox //
+// File: language/english/blocks.php //
+// Version: 4.03 //
+// ------------------------------------------------------------------------ //
+// Change Log //
+// *** //
+// Version 4.01 Initial CVD Release 10/05/2008 //
+// *** //
+// Version 4.03 11/15/2008 //
+// New: Shorten default button text //
+// *** //
+
+// Blocks
+define("_MB_SHOUTBOX_TITLE","Shoutbox");
+define("_MB_SHOUTBOX_SHOUT","Skriv");
+define("_MB_SHOUTBOX_CLEAR","Slet AllE");
+define("_MB_SHOUTBOX_BBCODEON","BBcode=Tændt");
+define("_MB_SHOUTBOX_BBCODEOFF","BBcode=Slukket");
+define("_MB_SHOUTBOX_AUTOREFRESH","Auto-Refresh Tændt");
+define("_MB_SHOUTBOX_REFRESH", "Refresh");
+define("_MB_SHOUTBOX_POPUP", "Popup");
+
+define("_MB_SHOUTBOX_SHOUT_TITLE", "Shout");
+define("_MB_SHOUTBOX_NICK", "Nick");
+
+define("_MB_SHOUTBOX_CONFIRMDEL", "Er du sikker på du vil slette alt data i database/fil?");
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/index.html
===================================================================
--- XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/index.html (rev 0)
+++ XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/index.html 2008-12-16 22:11:54 UTC (rev 2599)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Added: XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/main.php
===================================================================
--- XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/main.php (rev 0)
+++ XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/main.php 2008-12-16 22:11:54 UTC (rev 2599)
@@ -0,0 +1,63 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+// Original Author: Alphalogic <alp...@ho...> //
+// Original Author Website: http://www.alphalogic-network.de //
+// ------------------------------------------------------------------------ //
+// XOOPS Version made by: (XOOPS 1.3.x and 2.0.x version) //
+// Jan304 <http://www.jan304.org> //
+// ------------------------------------------------------------------------ //
+// Author: tank //
+// Website: http://www.customvirtualdesigns.com //
+// E-Mail: tan...@co... //
+// Date: 12/15/2008 //
+// Module: Shoutbox //
+// File: language/english/main.php //
+// Version: 4.05 //
+// ------------------------------------------------------------------------ //
+// Change Log //
+// *** //
+// Version 4.01 Initial CVD Release 10/05/2008 //
+// *** //
+// Version 4.05 12/15/2008 //
+// Add definitions to elimnate all hard-coded text in templates //
+// *** //
+
+define ( "_MD_SHOUTBOX_POPUP_ONLINE", "Hvem er Online");
+define ( "_MD_SHOUTBOX_POPUP_MESSAGES", "Shout Beskeder");
+define ( "_MD_SHOUTBOX_POPUP_CONSOLE", "Skrive konsol");
+define ( "_MD_SHOUTBOX_POPUP_ENTERNAME", "Udfyld et Brugernavn:");
+define ( "_MD_SHOUTBOX_POPUP_FORCE", "Forcer:");
+define ( "_MD_SHOUTBOX_POPUP_USE_AUTOREFRESH", "Auto-refresh?");
+define ( "_MD_SHOUTBOX_POPUP_REFRESHTIME", "Refreshtime:");
+define ( "_MD_SHOUTBOX_POPUP_CONNECT", "Connect");
+define ( "_MD_SHOUTBOX_POPUP_SHOUT", "Shout");
+define ( "_MD_SHOUTBOX_POPUP_TITLE", "Shoutbox Chat");
+define ( "_MD_SHOUTBOX_POPUP_CONNECTED", ": tilsluttet som");
+define ( "_MD_SHOUTBOX_POPUP_REFRESH", "Opdater");
+define ( "_MD_SHOUTBOX_POPUP_NOSHOUTS", "Ingen shouter!");
+define ( "_MD_SHOUTBOX_POPUP_AUTOFOCUS", "Auto Fokus");
+define ( "_MD_SHOUTBOX_POPUP_SOUND_ON", "Lyd ved ny besked er Aktiveret");
+?>
\ No newline at end of file
Added: XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/modinfo.php
===================================================================
--- XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/modinfo.php (rev 0)
+++ XoopsLanguages/danish/modules/shoutbox/shoutbox_4.05_danish_UTF-8/shoutbox/language/danish/modinfo.php 2008-12-16 22:11:54 UTC (rev 2599)
@@ -0,0 +1,174 @@
+<?php
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+// Original Author: Alphalogic <alp...@ho...> //
+// Original Author Website: http://www.alphalogic-network.de //
+// ------------------------------------------------------------------------ //
+// XOOPS Version made by: (XOOPS 1.3.x and 2.0.x version) //
+// Jan304 <http://www.jan304.org> //
+// ------------------------------------------------------------------------ //
+// Author: tank //
+// Website: http://www.customvirtualdesigns.com //
+// E-Mail: tan...@co... //
+// Date: 12/15/2008 //
+// Module: Shoutbox //
+// File: language/english/modinfo.php //
+// Version: 4.05 //
+// ------------------------------------------------------------------------ //
+// Change Log //
+// *** //
+// Version 4.01 Initial CVD Release 10/05/2008 //
+// *** //
+// Version 4.02 11/01/2008 //
+// New: Add captcha enable parameter text //
+// New: Improve upon some of the text translations //
+// *** //
+// Version 4.03 11/15/2008 //
+// New: Eliminate local module copy of the captcha class //
+// New: Add preference parameter for setting/enabling wordwrap //
+// New: Add preference parameter to enable/disable avatar display in block //
+// New: Add Frameworks captcha support //
+// *** //
+// Version 4.04 12/01/2008 //
+// New: Add selectable guest avatars //
+// *** //
+// Version 4.05 12/15/2008 //
+// Bug Fix: Clean up a few minor typos //
+// *** //
+
+// The name of this module
+define("_MI_SHOUTBOX_NAME","Shoutbox");
+
+// A brief description of this module
+define("_MI_SHOUTBOX_DESC","Tillader en shoutbox med tilhørende popop.");
+
+// Menu
+define('_MI_SHOUTBOX_MENU_DB','Database');
+define('_MI_SHOUTBOX_MENU_FILE','Fil');
+define('_MI_SHOUTBOX_MENU_STATUS','Status');
+
+// Names of blocks for this module (Not all module has blocks)
+define("_MI_SHOUTBOX_BLOCK","Shoutbox");
+
+// Categories
+define("_MI_SHOUTBOX_CAT1","--- Global Settings ---");
+define("_MI_SHOUTBOX_PREF_CAT1","Global Settings");
+define("_MI_SHOUTBOX_CAT2","--- Block Settings ---");
+define("_MI_SHOUTBOX_PREF_CAT2","Block Settings");
+define("_MI_SHOUTBOX_CAT3","--- PopUp Settings ---");
+define("_MI_SHOUTBOX_PREF_CAT3","PopUp Settings");
+define("_MI_SHOUTBOX_CAT4","--- Text Input Settings ---");
+define("_MI_SHOUTBOX_PREF_CAT4","Text Input Settings");
+
+// Config language definitions...
+define("_MI_SHOUTBOX_TITLE1", "Må gæster skrive?");
+define("_MI_SHOUTBOX_TITLE2", "Må gæster vælge navn?");
+define("_MI_SHOUTBOX_DESC2", "Hvis gæster må skrive må de vælge eget navn?");
+define("_MI_SHOUTBOX_TITLE3", "Tillad bbcode");
+define ( "_MI_SHOUTBOX_DESC3", "Tillad brugere at bruge bbcode? Ex [b], [url =] mv.");
+define ( "_MI_SHOUTBOX_TITLE4", "Tidsstempel Format");
+define ( "_MI_SHOUTBOX_DESC4", "I hvilken form bør tidspunktet formateres? (<a href = 'http://www.php.net/manual/en/function.date.php' target = '_blank' > Manual </ a >)");
+define ( "_MI_SHOUTBOX_TITLE5", "Titel");
+define ( "_MI_SHOUTBOX_DESC5", "Største Shouter før trimning finder sted. (0 = ingen afpudsning, være forsigtige !!!)");
+define ( "_MI_SHOUTBOX_TITLE6", "Max shouter");
+define ( "_MI_SHOUTBOX_DESC6", "Hvor mange shouter skal vises?");
+define ( "_MI_SHOUTBOX_TITLE7", "Opbevaring");
+define ( "_MI_SHOUTBOX_DESC7", "Definer, hvor de shouter bør opbevares");
+define ( "_MI_SHOUTBOX_OP7_F", "File [csv]");
+define ( "_MI_SHOUTBOX_OP7_D", "Database [MySQL]");
+
+define ( "_MI_SHOUTBOX_TITLE11", "Vis smiley bar i blok?");
+define ( "_MI_SHOUTBOX_TITLE12", "shouter Message Block IFrame bredde");
+define ( "_MI_SHOUTBOX_DESC12", "Bredden af det iframe i blokken.");
+define ( "_MI_SHOUTBOX_TITLE13", "shouter Message Block IFrame højden");
+define ( "_MI_SHOUTBOX_DESC13", "Højden af iframe i blokken.");
+define ( "_MI_SHOUTBOX_TITLE14", "shouter Message IFrame grænsen bredde");
+define ( "_MI_SHOUTBOX_TITLE15", "popup-vindue Aktiver");
+define ( "_MI_SHOUTBOX_DESC15", "Må brugere bruge blok?");
+define ( "_MI_SHOUTBOX_TITLE16", "Auto-refresh Valg Display");
+define ( "_MI_SHOUTBOX_DESC16", "Auto-refresh option display i blok");
+define ( "_MI_SHOUTBOX_OP16_BA0", "Vis ikke auto-refresh option");
+define ( "_MI_SHOUTBOX_OP16_BA1", "Vis auto-refresh option");
+define ( "_MI_SHOUTBOX_TITLE17", "shouter Message Wordwrap Setting");
+define ( "_MI_SHOUTBOX_DESC17", "Denne værdi er der fastsat en grænse for antallet af tegn til at vise per linie i Shoutbox blokere frame. Setting denne værdi til 0 deaktiverer tvunget wordwrapping.");
+define ( "_MI_SHOUTBOX_TITLE18", "Avatar Display");
+define ( "_MI_SHOUTBOX_DESC18", "Bestemmer, hvis avatarer der vises i Shoutbox blok");
+define ( "_MI_SHOUTBOX_TITLE19", "Gæst Avatar");
+define ( "_MI_SHOUTBOX_DESC19", "<table> <tr>
+ <td> <img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest1.gif\" width=60> </ td>
+ <td> <img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest2.gif\" width=60> </ td>
+<td> <img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest3.gif\" width=60> </ td>
+<td> <img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest4.gif\" width=60> </ td>
+<td> <img src=\"".XOOPS_URL."/modules/shoutbox/images/guestavatars/guest5.gif\" width=60> </ td>
+</ Tr> <tr>
+<td> Gæst1 </ td>
+ <td> Gæst2 </ td>
+<td> Gæst3 </ td>
+<td> Gæst4 </ td>
+<td> Gæst5 </ td>
+</ Tr> </ table> ");
+define ( "_MI_SHOUTBOX_OP19_GA0", "Ingen");
+define ( "_MI_SHOUTBOX_OP19_GA1", "Gæst1");
+define ( "_MI_SHOUTBOX_OP19_GA2", "Gæst2");
+define ( "_MI_SHOUTBOX_OP19_GA3", "Gæst3");
+define ( "_MI_SHOUTBOX_OP19_GA4", "Gæst4");
+define ( "_MI_SHOUTBOX_OP19_GA5", "Gæst5");
+
+define ( "_MI_SHOUTBOX_TITLE31", "Vis» Hvem er online ' ");
+define ( "_MI_SHOUTBOX_DESC31", "Vis i popup Hvem er on-line. Advarsel: Hvem er on-line blok skal være aktiveret!");
+define ( "_MI_SHOUTBOX_TITLE32", "Vis smiley bar i POPUP");
+define ( "_MI_SHOUTBOX_TITLE33", "Spil lyd på ny besked?");
+define ( "_MI_SHOUTBOX_TITLE34", "Må gæster bruge popup?");
+define ( "_MI_SHOUTBOX_DESC34", "Hvis popup er aktiveret, kan gæsterne bruge det?");
+define ( "_MI_SHOUTBOX_TITLE35", "IRC-a-like");
+define ( "_MI_SHOUTBOX_DESC35", "Aktiver IRC-kommandoer. På dette tidspunkt understøttes kun / quit og / Nick.");
+define ( "_MI_SHOUTBOX_TITLE36", "Auto-fokus");
+define ( "_MI_SHOUTBOX_DESC36", "maskinskrevet fokus popup-vindue, når der kommer en ny besked.");
+define ( "_MI_SHOUTBOX_TITLE37", "popup Bredde");
+define ( "_MI_SHOUTBOX_DESC37", "Default popup bredde (i pixel)");
+define ( "_MI_SHOUTBOX_TITLE38", "PopUp Højde");
+define ( "_MI_SHOUTBOX_DESC38", "Default popup højde (i pixel)");
+define ( "_MI_SHOUTBOX_TITLE40", "shouter Text Input Type");
+define ( "_MI_SHOUTBOX_DESC40", "shouter indtastning af tekst form udvælgelse");
+define ( "_MI_SHOUTBOX_OP40_TL", "Single Line Text");
+define ( "_MI_SHOUTBOX_OP40_TA", "Multi-line Text Area");
+define ( "_MI_SHOUTBOX_TITLE41", "Text Area Rækker");
+define ( "_MI_SHOUTBOX_DESC41", "Højde af teksten område i rækker <br /> Gælder kun, når shout Tekst Entry Form Selection = Multi-line Text Area");
+define ( "_MI_SHOUTBOX_TITLE42", "Text Area Kolonner");
+define ( "_MI_SHOUTBOX_DESC42", "Bredde af teksten område i kolonner <br /> Gælder kun, når shout Tekst Entry Form Selection = Multi-line Text Area");
+define ( "_MI_SHOUTBOX_TITLE43", "Text Line Længde");
+define ( "_MI_SHOUTBOX_DESC43", "Bredde af enkelt linje tekst indrejse i tegn");
+define ( "_MI_SHOUTBOX_TITLE44", "Text Max karakterer");
+define ( "_MI_SHOUTBOX_DESC44", "Maksimal længde af indtastning af tekst");
+define ( "_MI_SHOUTBOX_TITLE45", "Text Input Største Indberetninger");
+define ( "_MI_SHOUTBOX_DESC45", "Aktiverer alarm beskeder når de nærmer sig og opnå maksimal indtastning af tekst grænse");
+define ( "_MI_SHOUTBOX_TITLE46", "Captcha Aktiver");
+define ( "_MI_SHOUTBOX_DESC46", "Aktiverer captcha bekræftelseskode krav (anti-spam-foranstaltning)");
+define ( "_MI_SHOUTBOX_OP46_A", "Disabled - rammer / captcha ikke fundet");
+define ( "_MI_SHOUTBOX_OP46_B", "Deaktiver Captcha");
+define ( "_MI_SHOUTBOX_OP46_C", "Aktiver Rammestrukturer Captcha");
+define ( "_MI_SHOUTBOX_OP46_D", "Aktiver Core Captcha");
+define ( '_MI_SHOUTBOX_EMPTY','');
+?>
\ 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: <luc...@us...> - 2008-12-16 21:20:57
|
Revision: 2598
http://xoops.svn.sourceforge.net/xoops/?rev=2598&view=rev
Author: luciorota
Date: 2008-12-16 21:20:53 +0000 (Tue, 16 Dec 2008)
Log Message:
-----------
bug 2426129: TEMPORARY SOLUTION solution (luciorota)
Modified Paths:
--------------
XoopsCore/trunk/htdocs/class/xoopsform/formeditor.php
Modified: XoopsCore/trunk/htdocs/class/xoopsform/formeditor.php
===================================================================
--- XoopsCore/trunk/htdocs/class/xoopsform/formeditor.php 2008-12-16 21:16:28 UTC (rev 2597)
+++ XoopsCore/trunk/htdocs/class/xoopsform/formeditor.php 2008-12-16 21:20:53 UTC (rev 2598)
@@ -51,7 +51,31 @@
$editor_handler = XoopsEditorHandler::getInstance();
$this->editor = $editor_handler->get($configs["editor"], $configs, $nohtml, $OnFailure);
}
-
+
+ /**
+ * renderValidationJS
+ * TEMPORARY SOLUTION to 'override' original renderValidationJS method
+ * with custom XoopsEditor's renderValidationJS method
+ */
+ function renderValidationJS()
+ {
+ if (is_object($this->editor) && $this->isRequired()) {
+ if (method_exists($this->editor,'renderValidationJS')) {
+ //echo('<br />$this->editor->renderValidationJS EXISTS');//debug
+ $this->editor->setName($this->getName());
+ $this->editor->setCaption($this->getCaption());
+ $this->editor->_required = $this->isRequired();
+ $ret = $this->editor->renderValidationJS();
+ return $ret;
+ }
+ else {
+ //echo('<br />$this->editor->renderValidationJS NOT EXISTS<br />');//debug
+ parent::renderValidationJS();
+ }
+ }
+ return '';
+ }
+
function render()
{
if (is_object($this->editor)) {
@@ -59,4 +83,4 @@
}
}
}
-?>
\ 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: <luc...@us...> - 2008-12-16 21:16:33
|
Revision: 2597
http://xoops.svn.sourceforge.net/xoops/?rev=2597&view=rev
Author: luciorota
Date: 2008-12-16 21:16:28 +0000 (Tue, 16 Dec 2008)
Log Message:
-----------
fix bug ID: 2390625 (marcoxoops, dugris)
Modified Paths:
--------------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php 2008-12-16 07:32:32 UTC (rev 2596)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php 2008-12-16 21:16:28 UTC (rev 2597)
@@ -70,14 +70,17 @@
*/
function renderValidationJS()
{
- // render custom validation code if any
- $eltname = $this->getName();
- $eltmsg = empty($eltcaption) ? sprintf( _FORM_ENTER, $eltname ) : sprintf( _FORM_ENTER, $eltcaption );
- $eltmsg = str_replace('"', '\"', stripslashes( $eltmsg ) );
- $ret = "\n";
- $ret.= "if ( tinyMCE.get('{$eltname}').getContent() == \"\" || tinyMCE.get('{$eltname}').getContent() == null) ";
- $ret.= "{ window.alert(\"{$eltmsg}\"); tinyMCE.get('{$eltname}').focus(); return false; }";
- return $ret;
+ if ($this->isRequired() && $eltname = $this->getName()) {
+ //$eltname = $this->getName();
+ $eltcaption = $this->getCaption();
+ $eltmsg = empty($eltcaption) ? sprintf( _FORM_ENTER, $eltname ) : sprintf( _FORM_ENTER, $eltcaption );
+ $eltmsg = str_replace('"', '\"', stripslashes( $eltmsg ) );
+ $ret = "\n";
+ $ret.= "if ( tinyMCE.get('{$eltname}').getContent() == \"\" || tinyMCE.get('{$eltname}').getContent() == null) ";
+ $ret.= "{ window.alert(\"{$eltmsg}\"); tinyMCE.get('{$eltname}').focus(); return false; }";
+ return $ret;
+ }
+ return '';
}
/**
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php 2008-12-16 07:32:32 UTC (rev 2596)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php 2008-12-16 21:16:28 UTC (rev 2597)
@@ -1,9 +1,9 @@
-<?php
+<?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
+ 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.
@@ -23,12 +23,11 @@
*/
return array(
-
+
"theme" => "advanced",
-
+
/* possible values exemple, get from: http://wiki.moxiecode.com/examples/tinymce/installation_example_13.php */
"mode" => "exact",
-
"convert_urls" => false,
"force_p_newlines" => true,
@@ -48,7 +47,7 @@
// XHTML strict: attributes gets converted into CSS style attribute
"inline_styles" => true,
-
+
// if true, some accessibility focus will be available to all buttons: you will be able to tab through them all
"accessibility_focus" => true,
@@ -63,8 +62,10 @@
"plugins" => //"ezfilemanager,w3cvalidate,flags,keyboard,equation,loremipsum," .
//"xoopskeyword,xoopsmlcontent," .
"xoopsimagemanager,xoopsquotecode,xoopsemotions," .
- "table,advimage,advlink,emotions,insertdatetime,preview,media,contextmenu,paste,fullscreen,visualchars,nonbreaking",
+ "table,advimage,advlink,emotions,insertdatetime,preview,media,contextmenu,paste,fullscreen,visualchars,nonbreaking,inlinepopups",
+ "exclude_plugins" => "autosave,bbcode,contextmenu,emotions,example,fullpage",
+
"theme_advanced_toolbar_location" => "top",
"theme_advanced_toolbar_align" => "left",
"theme_advanced_statusbar_location" => "bottom",
@@ -333,5 +334,6 @@
."var[class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress"
."|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style"
."|title]",
+
);
?>
\ 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: <and...@us...> - 2008-12-16 07:32:40
|
Revision: 2596
http://xoops.svn.sourceforge.net/xoops/?rev=2596&view=rev
Author: anderssk
Date: 2008-12-16 07:32:32 +0000 (Tue, 16 Dec 2008)
Log Message:
-----------
Languagefile for dhtmltextarea add
Added Paths:
-----------
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/dhtmltextarea/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php
Added: XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php
===================================================================
--- XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php (rev 0)
+++ XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/dhtmltextarea/language/danish.php 2008-12-16 07:32:32 UTC (rev 2596)
@@ -0,0 +1,16 @@
+<?php
+/**
+ * XOOPS editor
+ *
+ * @copyright The XOOPS project http://www.xoops.org/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author Taiwen Jiang (phppp or D.J.) <ph...@ho...>
+ * @since 2.3.0
+ * @version $Id: english.php 1316 2008-02-12 10:16:56Z phppp $
+ * @package xoopseditor
+ */
+/*
+ * Assocated with editor_registry.php
+ */ Æ - Ø - Å
+define("_XOOPS_EDITOR_DHTMLTEXTAREA", "DHTML med xCode");
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ju...@us...> - 2008-12-15 02:45:43
|
Revision: 2595
http://xoops.svn.sourceforge.net/xoops/?rev=2595&view=rev
Author: julionc
Date: 2008-12-15 02:45:33 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
Improve inline debug information
Modified Paths:
--------------
XoopsCore/trunk/docs/changelog.txt
XoopsCore/trunk/htdocs/class/logger/render.php
Modified: XoopsCore/trunk/docs/changelog.txt
===================================================================
--- XoopsCore/trunk/docs/changelog.txt 2008-12-14 08:25:22 UTC (rev 2594)
+++ XoopsCore/trunk/docs/changelog.txt 2008-12-15 02:45:33 UTC (rev 2595)
@@ -12,7 +12,7 @@
- Fixed bug #2341118: blank page only guests (dhcst)
- Fixed sort categories - module profile (dhcst/trabis)
- Fixed permission for Usergroups - module profile (dhcst)
-- Refactoring XoopsLogger in /class/logger/xoopslogger.php (julionc/phppp)
+- Refactoring XoopsLogger in /class/logger/xoopslogger.php (julionc/phppp/tititou)
- Changed language folder from 'dutch' to 'nederlands' in upgrade (phppp)
+ Implemented feature #2154340 or meta tags for register, user and userinfo files for SEO Optimization (julionc/kerkyra)
+ Implemented feature #2193964 or localization in Installer system (julionc/voltan)
Modified: XoopsCore/trunk/htdocs/class/logger/render.php
===================================================================
--- XoopsCore/trunk/htdocs/class/logger/render.php 2008-12-14 08:25:22 UTC (rev 2594)
+++ XoopsCore/trunk/htdocs/class/logger/render.php 2008-12-15 02:45:33 UTC (rev 2595)
@@ -77,6 +77,7 @@
if ( empty( $mode ) ) {
$views = array( 'errors', 'queries', 'blocks', 'extra' );
$ret .= "\n<div id=\"xo-logger-output\">\n<div id='xo-logger-tabs'>\n";
+ $ret .= "<a href='javascript:xoSetLoggerView(\"none\")'>None</a>\n";
$ret .= "<a href='javascript:xoSetLoggerView(\"\")'>All</a>\n";
foreach ( $views as $view ) {
$count = count( $this->$view );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2008-12-14 08:25:25
|
Revision: 2594
http://xoops.svn.sourceforge.net/xoops/?rev=2594&view=rev
Author: luciorota
Date: 2008-12-14 08:25:22 +0000 (Sun, 14 Dec 2008)
Log Message:
-----------
added XoopsFormTinymce custom renderValidationJS method, fixed some small bugs
Modified Paths:
--------------
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php
ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce.php
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php 2008-12-14 01:23:56 UTC (rev 2593)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/formtinymce.php 2008-12-14 08:25:22 UTC (rev 2594)
@@ -61,6 +61,26 @@
}
/**
+ * Renders the Javascript function needed for client-side for validation
+ *
+ * I'VE USED THIS EXAMPLE TO WRITE VALIDATION CODE
+ * http://tinymce.moxiecode.com/punbb/viewtopic.php?id=12616
+ *
+ * @return string
+ */
+ function renderValidationJS()
+ {
+ // render custom validation code if any
+ $eltname = $this->getName();
+ $eltmsg = empty($eltcaption) ? sprintf( _FORM_ENTER, $eltname ) : sprintf( _FORM_ENTER, $eltcaption );
+ $eltmsg = str_replace('"', '\"', stripslashes( $eltmsg ) );
+ $ret = "\n";
+ $ret.= "if ( tinyMCE.get('{$eltname}').getContent() == \"\" || tinyMCE.get('{$eltname}').getContent() == null) ";
+ $ret.= "{ window.alert(\"{$eltmsg}\"); tinyMCE.get('{$eltname}').focus(); return false; }";
+ return $ret;
+ }
+
+ /**
* get language
*
* @return string
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php 2008-12-14 01:23:56 UTC (rev 2593)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/settings.php 2008-12-14 08:25:22 UTC (rev 2594)
@@ -28,6 +28,7 @@
/* possible values exemple, get from: http://wiki.moxiecode.com/examples/tinymce/installation_example_13.php */
"mode" => "exact",
+
"convert_urls" => false,
"force_p_newlines" => true,
Modified: ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce.php
===================================================================
--- ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce.php 2008-12-14 01:23:56 UTC (rev 2593)
+++ ThirdParty/xoopseditor/trunk/htdocs/class/xoopseditor/tinymce/tinymce.php 2008-12-14 08:25:22 UTC (rev 2594)
@@ -54,7 +54,7 @@
function getElements($element = null)
{
- static $elements = array();
+ $elements = array();
if (!empty($element)) {
$elements[] = $element;
}
@@ -173,6 +173,8 @@
$configured[] = "fonts";
}
}
+
+
$configured = array_unique($configured);
foreach ($this->config as $key => $val) {
@@ -181,7 +183,9 @@
}
$this->setting[$key] = $val;
}
-
+
+
+
if (!is_dir(XOOPS_ROOT_PATH . $this->rootpath . "/themes/" . $this->setting["theme"] . '/docs/' . $this->setting["language"] . '/')) {
$this->setting["docs_language"] = "en";
}
@@ -193,6 +197,8 @@
function render()
{
+ static $tiny_mce_script_loaded;
+
$this->init();
if ( !empty($this->setting["callback"]) ) {
@@ -205,6 +211,7 @@
// create returned string - start
$ret = "\n";
+/*
// IE BUG - start
// more info here:
// http://www.456bereastreet.com/archive/200802/beware_of_id_and_name_attribute_mixups_when_using_getelementbyid_in_internet_explorer/
@@ -237,8 +244,15 @@
\n
EOF;
// IE BUG - end
+*/
- $ret .= "<script language='javascript' type='text/javascript' src='" . XOOPS_URL . $this->rootpath . "/tiny_mce.js'></script>\n";
+ $ret .= "<!-- Start TinyMce Rendering -->\n";//debug
+ if($tiny_mce_script_loaded) {
+ $ret .= "<!-- 'tiny_mce.js' SCRIPT IS ALREADY LOADED -->\n";//debug
+ } else {
+ $ret .= "<script language='javascript' type='text/javascript' src='" . XOOPS_URL . $this->rootpath . "/tiny_mce.js'></script>\n";
+ $tiny_mce_script_loaded = true;
+ }
$ret .= "<script language='javascript' type='text/javascript'>\n";
$ret .= "tinyMCE.init({\n";
// set options - start
@@ -257,10 +271,9 @@
$ret .= "tinymceload: true\n";
$ret .= "});\n";
$ret .= $callback . "\n";
- $ret .= "function toggleEditor(id) {\n";
- $ret .= "tinyMCE.execCommand('mceToggleEditor',false, id);\n";
- $ret .= "}\n";
- $ret .= "</script>\n";
+ //$ret .= "function toggleEditor(id) {tinyMCE.execCommand('mceToggleEditor',false, id);}\n";
+ $ret .= "</script>\n";
+ $ret .= "<!-- End TinyMce Rendering -->\n";//debug
// create returned string - end
return $ret ;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2008-12-14 01:24:00
|
Revision: 2593
http://xoops.svn.sourceforge.net/xoops/?rev=2593&view=rev
Author: luciorota
Date: 2008-12-14 01:23:56 +0000 (Sun, 14 Dec 2008)
Log Message:
-----------
sorry :-(
Removed Paths:
-------------
XoopsCore/trunk/README.txt
XoopsCore/trunk/conf/
XoopsCore/trunk/db/
XoopsCore/trunk/format
XoopsCore/trunk/hooks/
XoopsCore/trunk/locks/
XoopsCore/trunk/trunk/
Deleted: XoopsCore/trunk/README.txt
===================================================================
--- XoopsCore/trunk/README.txt 2008-12-14 00:46:40 UTC (rev 2592)
+++ XoopsCore/trunk/README.txt 2008-12-14 01:23:56 UTC (rev 2593)
@@ -1,5 +0,0 @@
-This is a Subversion repository; use the 'svnadmin' tool to examine
-it. Do not add, delete, or modify files here unless you know how
-to avoid corrupting the repository.
-
-Visit http://subversion.tigris.org/ for more information.
Deleted: XoopsCore/trunk/format
===================================================================
--- XoopsCore/trunk/format 2008-12-14 00:46:40 UTC (rev 2592)
+++ XoopsCore/trunk/format 2008-12-14 01:23:56 UTC (rev 2593)
@@ -1 +0,0 @@
-5
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2008-12-14 00:46:47
|
Revision: 2592
http://xoops.svn.sourceforge.net/xoops/?rev=2592&view=rev
Author: luciorota
Date: 2008-12-14 00:46:40 +0000 (Sun, 14 Dec 2008)
Log Message:
-----------
Added Paths:
-----------
XoopsCore/trunk/README.txt
XoopsCore/trunk/conf/
XoopsCore/trunk/conf/authz
XoopsCore/trunk/conf/passwd
XoopsCore/trunk/conf/svnserve.conf
XoopsCore/trunk/db/
XoopsCore/trunk/db/current
XoopsCore/trunk/db/format
XoopsCore/trunk/db/fs-type
XoopsCore/trunk/db/revprops/
XoopsCore/trunk/db/revprops/0/
XoopsCore/trunk/db/revprops/0/0
XoopsCore/trunk/db/revs/
XoopsCore/trunk/db/revs/0/
XoopsCore/trunk/db/revs/0/0
XoopsCore/trunk/db/transactions/
XoopsCore/trunk/db/txn-current
XoopsCore/trunk/db/txn-current-lock
XoopsCore/trunk/db/txn-protorevs/
XoopsCore/trunk/db/uuid
XoopsCore/trunk/db/write-lock
XoopsCore/trunk/format
XoopsCore/trunk/hooks/
XoopsCore/trunk/hooks/post-commit.tmpl
XoopsCore/trunk/hooks/post-lock.tmpl
XoopsCore/trunk/hooks/post-revprop-change.tmpl
XoopsCore/trunk/hooks/post-unlock.tmpl
XoopsCore/trunk/hooks/pre-commit.tmpl
XoopsCore/trunk/hooks/pre-lock.tmpl
XoopsCore/trunk/hooks/pre-revprop-change.tmpl
XoopsCore/trunk/hooks/pre-unlock.tmpl
XoopsCore/trunk/hooks/start-commit.tmpl
XoopsCore/trunk/locks/
XoopsCore/trunk/locks/db-logs.lock
XoopsCore/trunk/locks/db.lock
Added: XoopsCore/trunk/README.txt
===================================================================
--- XoopsCore/trunk/README.txt (rev 0)
+++ XoopsCore/trunk/README.txt 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,5 @@
+This is a Subversion repository; use the 'svnadmin' tool to examine
+it. Do not add, delete, or modify files here unless you know how
+to avoid corrupting the repository.
+
+Visit http://subversion.tigris.org/ for more information.
Added: XoopsCore/trunk/conf/authz
===================================================================
--- XoopsCore/trunk/conf/authz (rev 0)
+++ XoopsCore/trunk/conf/authz 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,32 @@
+### This file is an example authorization file for svnserve.
+### Its format is identical to that of mod_authz_svn authorization
+### files.
+### As shown below each section defines authorizations for the path and
+### (optional) repository specified by the section name.
+### The authorizations follow. An authorization line can refer to:
+### - a single user,
+### - a group of users defined in a special [groups] section,
+### - an alias defined in a special [aliases] section,
+### - all authenticated users, using the '$authenticated' token,
+### - only anonymous users, using the '$anonymous' token,
+### - anyone, using the '*' wildcard.
+###
+### A match can be inverted by prefixing the rule with '~'. Rules can
+### grant read ('r') access, read-write ('rw') access, or no access
+### ('').
+
+[aliases]
+# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
+
+[groups]
+# harry_and_sally = harry,sally
+# harry_sally_and_joe = harry,sally,&joe
+
+# [/foo/bar]
+# harry = rw
+# &joe = r
+# * =
+
+# [repository:/baz/fuz]
+# @harry_and_sally = rw
+# * = r
Added: XoopsCore/trunk/conf/passwd
===================================================================
--- XoopsCore/trunk/conf/passwd (rev 0)
+++ XoopsCore/trunk/conf/passwd 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,8 @@
+### This file is an example password file for svnserve.
+### Its format is similar to that of svnserve.conf. As shown in the
+### example below it contains one section labelled [users].
+### The name and password for each user follow, one account per line.
+
+[users]
+# harry = harryssecret
+# sally = sallyssecret
Added: XoopsCore/trunk/conf/svnserve.conf
===================================================================
--- XoopsCore/trunk/conf/svnserve.conf (rev 0)
+++ XoopsCore/trunk/conf/svnserve.conf 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,47 @@
+### This file controls the configuration of the svnserve daemon, if you
+### use it to allow access to this repository. (If you only allow
+### access through http: and/or file: URLs, then this file is
+### irrelevant.)
+
+### Visit http://subversion.tigris.org/ for more information.
+
+[general]
+### These options control access to the repository for unauthenticated
+### and authenticated users. Valid values are "write", "read",
+### and "none". The sample settings below are the defaults.
+# anon-access = read
+# auth-access = write
+### The password-db option controls the location of the password
+### database file. Unless you specify a path starting with a /,
+### the file's location is relative to the directory containing
+### this configuration file.
+### If SASL is enabled (see below), this file will NOT be used.
+### Uncomment the line below to use the default password file.
+# password-db = passwd
+### The authz-db option controls the location of the authorization
+### rules for path-based access control. Unless you specify a path
+### starting with a /, the file's location is relative to the the
+### directory containing this file. If you don't specify an
+### authz-db, no path-based access control is done.
+### Uncomment the line below to use the default authorization file.
+# authz-db = authz
+### This option specifies the authentication realm of the repository.
+### If two repositories have the same authentication realm, they should
+### have the same password database, and vice versa. The default realm
+### is repository's uuid.
+# realm = My First Repository
+
+[sasl]
+### This option specifies whether you want to use the Cyrus SASL
+### library for authentication. Default is false.
+### This section will be ignored if svnserve is not built with Cyrus
+### SASL support; to check, run 'svnserve --version' and look for a line
+### reading 'Cyrus SASL authentication is available.'
+# use-sasl = true
+### These options specify the desired strength of the security layer
+### that you want SASL to provide. 0 means no encryption, 1 means
+### integrity-checking only, values larger than 1 are correlated
+### to the effective key length for encryption (e.g. 128 means 128-bit
+### encryption). The values below are the defaults.
+# min-encryption = 0
+# max-encryption = 256
Added: XoopsCore/trunk/db/current
===================================================================
--- XoopsCore/trunk/db/current (rev 0)
+++ XoopsCore/trunk/db/current 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1 @@
+0
Added: XoopsCore/trunk/db/format
===================================================================
--- XoopsCore/trunk/db/format (rev 0)
+++ XoopsCore/trunk/db/format 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,2 @@
+3
+layout sharded 1000
Added: XoopsCore/trunk/db/fs-type
===================================================================
--- XoopsCore/trunk/db/fs-type (rev 0)
+++ XoopsCore/trunk/db/fs-type 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1 @@
+fsfs
Added: XoopsCore/trunk/db/revprops/0/0
===================================================================
--- XoopsCore/trunk/db/revprops/0/0 (rev 0)
+++ XoopsCore/trunk/db/revprops/0/0 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,5 @@
+K 8
+svn:date
+V 27
+2008-12-14T00:46:02.906250Z
+END
Added: XoopsCore/trunk/db/revs/0/0
===================================================================
--- XoopsCore/trunk/db/revs/0/0 (rev 0)
+++ XoopsCore/trunk/db/revs/0/0 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,11 @@
+PLAIN
+END
+ENDREP
+id: 0.0.r0/17
+type: dir
+count: 0
+text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e
+cpath: /
+
+
+17 107
Added: XoopsCore/trunk/db/txn-current
===================================================================
--- XoopsCore/trunk/db/txn-current (rev 0)
+++ XoopsCore/trunk/db/txn-current 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1 @@
+0
Added: XoopsCore/trunk/db/uuid
===================================================================
--- XoopsCore/trunk/db/uuid (rev 0)
+++ XoopsCore/trunk/db/uuid 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1 @@
+c1c07ce6-6112-6745-82e9-60d9cfa880ab
Added: XoopsCore/trunk/format
===================================================================
--- XoopsCore/trunk/format (rev 0)
+++ XoopsCore/trunk/format 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1 @@
+5
Added: XoopsCore/trunk/hooks/post-commit.tmpl
===================================================================
--- XoopsCore/trunk/hooks/post-commit.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/post-commit.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+# POST-COMMIT HOOK
+#
+# The post-commit hook is invoked after a commit. Subversion runs
+# this hook by invoking a program (script, executable, binary, etc.)
+# named 'post-commit' (for which this file is a template) with the
+# following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] REV (the number of the revision just committed)
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# Because the commit has already completed and cannot be undone,
+# the exit code of the hook program is ignored. The hook program
+# can use the 'svnlook' utility to help it examine the
+# newly-committed tree.
+#
+# On a Unix system, the normal procedure is to have 'post-commit'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-commit' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-commit.bat' or 'post-commit.exe',
+# but the basic idea is the same.
+#
+# The hook program typically does not inherit the environment of
+# its parent process. For example, a common problem is for the
+# PATH environment variable to not be set to its usual value, so
+# that subprograms fail to launch unless invoked via absolute path.
+# If you're having unexpected problems with a hook program, the
+# culprit may be unusual (or missing) environment variables.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter.
+# For more examples and pre-written hooks, see those in
+# the Subversion repository at
+# http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
+# http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
+
+
+REPOS="$1"
+REV="$2"
+
+commit-email.pl "$REPOS" "$REV" com...@ex...
+log-commit.py --repository "$REPOS" --revision "$REV"
Added: XoopsCore/trunk/hooks/post-lock.tmpl
===================================================================
--- XoopsCore/trunk/hooks/post-lock.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/post-lock.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+# POST-LOCK HOOK
+#
+# The post-lock hook is run after a path is locked. Subversion runs
+# this hook by invoking a program (script, executable, binary, etc.)
+# named 'post-lock' (for which this file is a template) with the
+# following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] USER (the user who created the lock)
+#
+# The paths that were just locked are passed to the hook via STDIN (as
+# of Subversion 1.2, only one path is passed per invocation, but the
+# plan is to pass all locked paths at once, so the hook program
+# should be written accordingly).
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# Because the lock has already been created and cannot be undone,
+# the exit code of the hook program is ignored. The hook program
+# can use the 'svnlook' utility to help it examine the
+# newly-created lock.
+#
+# On a Unix system, the normal procedure is to have 'post-lock'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-lock' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-lock.bat' or 'post-lock.exe',
+# but the basic idea is the same.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter:
+
+REPOS="$1"
+USER="$2"
+
+# Send email to interested parties, let them know a lock was created:
+mailer.py lock "$REPOS" "$USER" /path/to/mailer.conf
Added: XoopsCore/trunk/hooks/post-revprop-change.tmpl
===================================================================
--- XoopsCore/trunk/hooks/post-revprop-change.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/post-revprop-change.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# POST-REVPROP-CHANGE HOOK
+#
+# The post-revprop-change hook is invoked after a revision property
+# has been added, modified or deleted. Subversion runs this hook by
+# invoking a program (script, executable, binary, etc.) named
+# 'post-revprop-change' (for which this file is a template), with the
+# following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] REV (the revision that was tweaked)
+# [3] USER (the username of the person tweaking the property)
+# [4] PROPNAME (the property that was changed)
+# [5] ACTION (the property was 'A'dded, 'M'odified, or 'D'eleted)
+#
+# [STDIN] PROPVAL ** the old property value is passed via STDIN.
+#
+# Because the propchange has already completed and cannot be undone,
+# the exit code of the hook program is ignored. The hook program
+# can use the 'svnlook' utility to help it examine the
+# new property value.
+#
+# On a Unix system, the normal procedure is to have 'post-revprop-change'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-revprop-change' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-revprop-change.bat' or 'post-revprop-change.exe',
+# but the basic idea is the same.
+#
+# The hook program typically does not inherit the environment of
+# its parent process. For example, a common problem is for the
+# PATH environment variable to not be set to its usual value, so
+# that subprograms fail to launch unless invoked via absolute path.
+# If you're having unexpected problems with a hook program, the
+# culprit may be unusual (or missing) environment variables.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter.
+# For more examples and pre-written hooks, see those in
+# the Subversion repository at
+# http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
+# http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
+
+
+REPOS="$1"
+REV="$2"
+USER="$3"
+PROPNAME="$4"
+ACTION="$5"
+
+commit-email.pl --revprop-change "$REPOS" "$REV" "$USER" "$PROPNAME" wat...@ex...
Added: XoopsCore/trunk/hooks/post-unlock.tmpl
===================================================================
--- XoopsCore/trunk/hooks/post-unlock.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/post-unlock.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+# POST-UNLOCK HOOK
+#
+# The post-unlock hook runs after a path is unlocked. Subversion runs
+# this hook by invoking a program (script, executable, binary, etc.)
+# named 'post-unlock' (for which this file is a template) with the
+# following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] USER (the user who destroyed the lock)
+#
+# The paths that were just unlocked are passed to the hook via STDIN
+# (as of Subversion 1.2, only one path is passed per invocation, but
+# the plan is to pass all unlocked paths at once, so the hook program
+# should be written accordingly).
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# Because the lock has already been destroyed and cannot be undone,
+# the exit code of the hook program is ignored.
+#
+# On a Unix system, the normal procedure is to have 'post-unlock'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-unlock' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-unlock.bat' or 'post-unlock.exe',
+# but the basic idea is the same.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter:
+
+REPOS="$1"
+USER="$2"
+
+# Send email to interested parties, let them know a lock was removed:
+mailer.py unlock "$REPOS" "$USER" /path/to/mailer.conf
Added: XoopsCore/trunk/hooks/pre-commit.tmpl
===================================================================
--- XoopsCore/trunk/hooks/pre-commit.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/pre-commit.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,70 @@
+#!/bin/sh
+
+# PRE-COMMIT HOOK
+#
+# The pre-commit hook is invoked before a Subversion txn is
+# committed. Subversion runs this hook by invoking a program
+# (script, executable, binary, etc.) named 'pre-commit' (for which
+# this file is a template), with the following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] TXN-NAME (the name of the txn about to be committed)
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# If the hook program exits with success, the txn is committed; but
+# if it exits with failure (non-zero), the txn is aborted, no commit
+# takes place, and STDERR is returned to the client. The hook
+# program can use the 'svnlook' utility to help it examine the txn.
+#
+# On a Unix system, the normal procedure is to have 'pre-commit'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# *** NOTE: THE HOOK PROGRAM MUST NOT MODIFY THE TXN, EXCEPT ***
+# *** FOR REVISION PROPERTIES (like svn:log or svn:author). ***
+#
+# This is why we recommend using the read-only 'svnlook' utility.
+# In the future, Subversion may enforce the rule that pre-commit
+# hooks should not modify the versioned data in txns, or else come
+# up with a mechanism to make it safe to do so (by informing the
+# committing client of the changes). However, right now neither
+# mechanism is implemented, so hook writers just have to be careful.
+#
+# Note that 'pre-commit' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'pre-commit.bat' or 'pre-commit.exe',
+# but the basic idea is the same.
+#
+# The hook program typically does not inherit the environment of
+# its parent process. For example, a common problem is for the
+# PATH environment variable to not be set to its usual value, so
+# that subprograms fail to launch unless invoked via absolute path.
+# If you're having unexpected problems with a hook program, the
+# culprit may be unusual (or missing) environment variables.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter.
+# For more examples and pre-written hooks, see those in
+# the Subversion repository at
+# http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
+# http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
+
+
+REPOS="$1"
+TXN="$2"
+
+# Make sure that the log message contains some text.
+SVNLOOK=/usr/local/bin/svnlook
+$SVNLOOK log -t "$TXN" "$REPOS" | \
+ grep "[a-zA-Z0-9]" > /dev/null || exit 1
+
+# Check that the author of this commit has the rights to perform
+# the commit on the files and directories being modified.
+commit-access-control.pl "$REPOS" "$TXN" commit-access-control.cfg || exit 1
+
+# All checks passed, so allow the commit.
+exit 0
Added: XoopsCore/trunk/hooks/pre-lock.tmpl
===================================================================
--- XoopsCore/trunk/hooks/pre-lock.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/pre-lock.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# PRE-LOCK HOOK
+#
+# The pre-lock hook is invoked before an exclusive lock is
+# created. Subversion runs this hook by invoking a program
+# (script, executable, binary, etc.) named 'pre-lock' (for which
+# this file is a template), with the following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] PATH (the path in the repository about to be locked)
+# [3] USER (the user creating the lock)
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# If the hook program exits with success, the lock is created; but
+# if it exits with failure (non-zero), the lock action is aborted
+# and STDERR is returned to the client.
+
+# On a Unix system, the normal procedure is to have 'pre-lock'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'pre-lock' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'pre-lock.bat' or 'pre-lock.exe',
+# but the basic idea is the same.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter:
+
+REPOS="$1"
+PATH="$2"
+USER="$3"
+
+# If a lock exists and is owned by a different person, don't allow it
+# to be stolen (e.g., with 'svn lock --force ...').
+
+# (Maybe this script could send email to the lock owner?)
+SVNLOOK=/usr/local/bin/svnlook
+GREP=/bin/grep
+SED=/bin/sed
+
+LOCK_OWNER=`$SVNLOOK lock "$REPOS" "$PATH" | \
+ $GREP '^Owner: ' | $SED 's/Owner: //'`
+
+# If we get no result from svnlook, there's no lock, allow the lock to
+# happen:
+if [ "$LOCK_OWNER" = "" ]; then
+ exit 0
+fi
+
+# If the person locking matches the lock's owner, allow the lock to
+# happen:
+if [ "$LOCK_OWNER" = "$USER" ]; then
+ exit 0
+fi
+
+# Otherwise, we've got an owner mismatch, so return failure:
+echo "Error: $PATH already locked by ${LOCK_OWNER}." 1>&2
+exit 1
Added: XoopsCore/trunk/hooks/pre-revprop-change.tmpl
===================================================================
--- XoopsCore/trunk/hooks/pre-revprop-change.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/pre-revprop-change.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,66 @@
+#!/bin/sh
+
+# PRE-REVPROP-CHANGE HOOK
+#
+# The pre-revprop-change hook is invoked before a revision property
+# is added, modified or deleted. Subversion runs this hook by invoking
+# a program (script, executable, binary, etc.) named 'pre-revprop-change'
+# (for which this file is a template), with the following ordered
+# arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] REVISION (the revision being tweaked)
+# [3] USER (the username of the person tweaking the property)
+# [4] PROPNAME (the property being set on the revision)
+# [5] ACTION (the property is being 'A'dded, 'M'odified, or 'D'eleted)
+#
+# [STDIN] PROPVAL ** the new property value is passed via STDIN.
+#
+# If the hook program exits with success, the propchange happens; but
+# if it exits with failure (non-zero), the propchange doesn't happen.
+# The hook program can use the 'svnlook' utility to examine the
+# existing value of the revision property.
+#
+# WARNING: unlike other hooks, this hook MUST exist for revision
+# properties to be changed. If the hook does not exist, Subversion
+# will behave as if the hook were present, but failed. The reason
+# for this is that revision properties are UNVERSIONED, meaning that
+# a successful propchange is destructive; the old value is gone
+# forever. We recommend the hook back up the old value somewhere.
+#
+# On a Unix system, the normal procedure is to have 'pre-revprop-change'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'pre-revprop-change' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'pre-revprop-change.bat' or 'pre-revprop-change.exe',
+# but the basic idea is the same.
+#
+# The hook program typically does not inherit the environment of
+# its parent process. For example, a common problem is for the
+# PATH environment variable to not be set to its usual value, so
+# that subprograms fail to launch unless invoked via absolute path.
+# If you're having unexpected problems with a hook program, the
+# culprit may be unusual (or missing) environment variables.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter.
+# For more examples and pre-written hooks, see those in
+# the Subversion repository at
+# http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
+# http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
+
+
+REPOS="$1"
+REV="$2"
+USER="$3"
+PROPNAME="$4"
+ACTION="$5"
+
+if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi
+
+echo "Changing revision properties other than svn:log is prohibited" >&2
+exit 1
Added: XoopsCore/trunk/hooks/pre-unlock.tmpl
===================================================================
--- XoopsCore/trunk/hooks/pre-unlock.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/pre-unlock.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+# PRE-UNLOCK HOOK
+#
+# The pre-unlock hook is invoked before an exclusive lock is
+# destroyed. Subversion runs this hook by invoking a program
+# (script, executable, binary, etc.) named 'pre-unlock' (for which
+# this file is a template), with the following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] PATH (the path in the repository about to be unlocked)
+# [3] USER (the user destroying the lock)
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# If the hook program exits with success, the lock is destroyed; but
+# if it exits with failure (non-zero), the unlock action is aborted
+# and STDERR is returned to the client.
+
+# On a Unix system, the normal procedure is to have 'pre-unlock'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'pre-unlock' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'pre-unlock.bat' or 'pre-unlock.exe',
+# but the basic idea is the same.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter:
+
+REPOS="$1"
+PATH="$2"
+USER="$3"
+
+# If a lock is owned by a different person, don't allow it be broken.
+# (Maybe this script could send email to the lock owner?)
+
+SVNLOOK=/usr/local/bin/svnlook
+GREP=/bin/grep
+SED=/bin/sed
+
+LOCK_OWNER=`$SVNLOOK lock "$REPOS" "$PATH" | \
+ $GREP '^Owner: ' | $SED 's/Owner: //'`
+
+# If we get no result from svnlook, there's no lock, return success:
+if [ "$LOCK_OWNER" = "" ]; then
+ exit 0
+fi
+
+# If the person unlocking matches the lock's owner, return success:
+if [ "$LOCK_OWNER" = "$USER" ]; then
+ exit 0
+fi
+
+# Otherwise, we've got an owner mismatch, so return failure:
+echo "Error: $PATH locked by ${LOCK_OWNER}." 1>&2
+exit 1
Added: XoopsCore/trunk/hooks/start-commit.tmpl
===================================================================
--- XoopsCore/trunk/hooks/start-commit.tmpl (rev 0)
+++ XoopsCore/trunk/hooks/start-commit.tmpl 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# START-COMMIT HOOK
+#
+# The start-commit hook is invoked before a Subversion txn is created
+# in the process of doing a commit. Subversion runs this hook
+# by invoking a program (script, executable, binary, etc.) named
+# 'start-commit' (for which this file is a template)
+# with the following ordered arguments:
+#
+# [1] REPOS-PATH (the path to this repository)
+# [2] USER (the authenticated user attempting to commit)
+# [3] CAPABILITIES (a colon-separated list of capabilities reported
+# by the client; see note below)
+#
+# Note: The CAPABILITIES parameter is new in Subversion 1.5, and 1.5
+# clients will typically report at least the "mergeinfo" capability.
+# If there are other capabilities, then the list is colon-separated,
+# e.g.: "mergeinfo:some-other-capability" (the order is undefined).
+#
+# The list is self-reported by the client. Therefore, you should not
+# make security assumptions based on the capabilities list, nor should
+# you assume that clients reliably report every capability they have.
+#
+# The working directory for this hook program's invocation is undefined,
+# so the program should set one explicitly if it cares.
+#
+# If the hook program exits with success, the commit continues; but
+# if it exits with failure (non-zero), the commit is stopped before
+# a Subversion txn is created, and STDERR is returned to the client.
+#
+# On a Unix system, the normal procedure is to have 'start-commit'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'start-commit' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'start-commit.bat' or 'start-commit.exe',
+# but the basic idea is the same.
+#
+# The hook program typically does not inherit the environment of
+# its parent process. For example, a common problem is for the
+# PATH environment variable to not be set to its usual value, so
+# that subprograms fail to launch unless invoked via absolute path.
+# If you're having unexpected problems with a hook program, the
+# culprit may be unusual (or missing) environment variables.
+#
+# Here is an example hook script, for a Unix /bin/sh interpreter.
+# For more examples and pre-written hooks, see those in
+# the Subversion repository at
+# http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ and
+# http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/
+
+
+REPOS="$1"
+USER="$2"
+
+commit-allower.pl --repository "$REPOS" --user "$USER" || exit 1
+special-auth-check.py --user "$USER" --auth-level 3 || exit 1
+
+# All checks passed, so allow the commit.
+exit 0
Added: XoopsCore/trunk/locks/db-logs.lock
===================================================================
--- XoopsCore/trunk/locks/db-logs.lock (rev 0)
+++ XoopsCore/trunk/locks/db-logs.lock 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,3 @@
+This file is not used by Subversion 1.3.x or later.
+However, its existence is required for compatibility with
+Subversion 1.2.x or earlier.
Added: XoopsCore/trunk/locks/db.lock
===================================================================
--- XoopsCore/trunk/locks/db.lock (rev 0)
+++ XoopsCore/trunk/locks/db.lock 2008-12-14 00:46:40 UTC (rev 2592)
@@ -0,0 +1,3 @@
+This file is not used by Subversion 1.3.x or later.
+However, its existence is required for compatibility with
+Subversion 1.2.x or earlier.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <luc...@us...> - 2008-12-14 00:22:26
|
Revision: 2591
http://xoops.svn.sourceforge.net/xoops/?rev=2591&view=rev
Author: luciorota
Date: 2008-12-14 00:22:19 +0000 (Sun, 14 Dec 2008)
Log Message:
-----------
Added Paths:
-----------
XoopsCore/trunk/trunk/
XoopsCore/trunk/trunk/htdocs/
XoopsCore/trunk/trunk/htdocs/footer.php
XoopsCore/trunk/trunk/htdocs/kernel/
XoopsCore/trunk/trunk/htdocs/kernel/avatar.php
XoopsCore/trunk/trunk/htdocs/kernel/block.php
XoopsCore/trunk/trunk/htdocs/kernel/blockinstance.php
XoopsCore/trunk/trunk/htdocs/kernel/comment.php
XoopsCore/trunk/trunk/htdocs/kernel/config.php
XoopsCore/trunk/trunk/htdocs/kernel/configcategory.php
XoopsCore/trunk/trunk/htdocs/kernel/configitem.php
XoopsCore/trunk/trunk/htdocs/kernel/configoption.php
XoopsCore/trunk/trunk/htdocs/kernel/group.php
XoopsCore/trunk/trunk/htdocs/kernel/groupperm.php
XoopsCore/trunk/trunk/htdocs/kernel/handlerregistry.php
XoopsCore/trunk/trunk/htdocs/kernel/image.php
XoopsCore/trunk/trunk/htdocs/kernel/imagecategory.php
XoopsCore/trunk/trunk/htdocs/kernel/imageset.php
XoopsCore/trunk/trunk/htdocs/kernel/imagesetimg.php
XoopsCore/trunk/trunk/htdocs/kernel/index.html
XoopsCore/trunk/trunk/htdocs/kernel/member.php
XoopsCore/trunk/trunk/htdocs/kernel/module.php
XoopsCore/trunk/trunk/htdocs/kernel/notification.php
XoopsCore/trunk/trunk/htdocs/kernel/object.php
XoopsCore/trunk/trunk/htdocs/kernel/online.php
XoopsCore/trunk/trunk/htdocs/kernel/privmessage.php
XoopsCore/trunk/trunk/htdocs/kernel/session.php
XoopsCore/trunk/trunk/htdocs/kernel/tplfile.php
XoopsCore/trunk/trunk/htdocs/kernel/tplset.php
XoopsCore/trunk/trunk/htdocs/kernel/user.php
XoopsCore/trunk/trunk/htdocs/language/
XoopsCore/trunk/trunk/htdocs/language/english/
XoopsCore/trunk/trunk/htdocs/language/english/admin.php
XoopsCore/trunk/trunk/htdocs/language/english/auth.php
XoopsCore/trunk/trunk/htdocs/language/english/banners.php
XoopsCore/trunk/trunk/htdocs/language/english/calendar.php
XoopsCore/trunk/trunk/htdocs/language/english/captcha.php
XoopsCore/trunk/trunk/htdocs/language/english/comment.php
XoopsCore/trunk/trunk/htdocs/language/english/findusers.php
XoopsCore/trunk/trunk/htdocs/language/english/formdhtmltextarea.php
XoopsCore/trunk/trunk/htdocs/language/english/global.php
XoopsCore/trunk/trunk/htdocs/language/english/index.html
XoopsCore/trunk/trunk/htdocs/language/english/locale.php
XoopsCore/trunk/trunk/htdocs/language/english/mail.php
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/activated.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/adminactivate.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/comment_notify.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/commentsubmit_notify.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/default_notify.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/index.html
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/lostpass1.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/lostpass2.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/register.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/tellfriend.tpl
XoopsCore/trunk/trunk/htdocs/language/english/mail_template/welcome.tpl
XoopsCore/trunk/trunk/htdocs/language/english/misc.php
XoopsCore/trunk/trunk/htdocs/language/english/notification.php
XoopsCore/trunk/trunk/htdocs/language/english/pmsg.php
XoopsCore/trunk/trunk/htdocs/language/english/search.php
XoopsCore/trunk/trunk/htdocs/language/english/timezone.php
XoopsCore/trunk/trunk/htdocs/language/english/uploader.php
XoopsCore/trunk/trunk/htdocs/language/english/user.php
XoopsCore/trunk/trunk/htdocs/language/english/xoopsmailerlocal.php
XoopsCore/trunk/trunk/htdocs/language/index.html
XoopsCore/trunk/trunk/htdocs/pmlite.php
XoopsCore/trunk/trunk/htdocs/themes/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/blocks.css
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/content.css
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/forms.css
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/index.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/layout-soup.css
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/style.css
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/css/xosystpl.css
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/action/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/action/friend.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/action/index.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/action/pdf.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/action/printable.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/favicon.ico
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/icon.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/index.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/configuration.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/exit.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/home.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/inbox-full.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/inbox.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/index.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/icons/users/profile.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/bg-ad-top.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/bg-left_blockcontent.gif
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/bg-left_blocktitle.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/blank.gif
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/button-hover_bg.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/centerblock-br.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/centerblock-inner.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/centerblock-inner_old.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/centerblock-tl.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/form-button.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/form-input.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/header-bg.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/header-bg_big.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/header-bg_small.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/header-logo_big.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/input_bg.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/navbar-bg.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/table-caption3.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/img/table-caption_grey.png
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/index.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/screenshot.gif
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/theme.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/blockszone.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/centerblocks.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/globalnav.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/index.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/userbar.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/xobanner.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/xobanner_commercial.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/xofooter.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/xometas.html
XoopsCore/trunk/trunk/htdocs/themes/zetagenesis/xotpl/xoscripts.html
XoopsCore/trunk/trunk/htdocs/userinfo.php
Added: XoopsCore/trunk/trunk/htdocs/footer.php
===================================================================
--- XoopsCore/trunk/trunk/htdocs/footer.php (rev 0)
+++ XoopsCore/trunk/trunk/htdocs/footer.php 2008-12-14 00:22:19 UTC (rev 2591)
@@ -0,0 +1,79 @@
+<?php
+// $Id: footer.php 1471 2008-04-20 14:49:37Z phppp $
+// ------------------------------------------------------------------------ //
+// XOOPS - PHP Content Management System //
+// Copyright (c) 2000 XOOPS.org //
+// <http://www.xoops.org/> //
+// ------------------------------------------------------------------------ //
+// This program is free software; you can redistribute it and/or modify //
+// it under the terms of the GNU General Public License as published by //
+// the Free Software Foundation; either version 2 of the License, or //
+// (at your option) any later version. //
+// //
+// You may not change or alter any portion of this comment or credits //
+// of supporting developers from this source code or any supporting //
+// source code which is considered copyrighted (c) material of the //
+// original comment or credit authors. //
+// //
+// This program is distributed in the hope that it will be useful, //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
+// GNU General Public License for more details. //
+// //
+// You should have received a copy of the GNU General Public License //
+// along with this program; if not, write to the Free Software //
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
+// ------------------------------------------------------------------------ //
+if (!defined("XOOPS_ROOT_PATH")) {
+ die("XOOPS root path not defined");
+}
+if ( !defined("XOOPS_FOOTER_INCLUDED") ) {
+ define("XOOPS_FOOTER_INCLUDED",1);
+
+ $xoopsLogger->stopTime( 'Module display' );
+ if ($xoopsOption['theme_use_smarty'] == 0) {
+ // the old way
+ $footer = htmlspecialchars( $xoopsConfigMetaFooter['footer'] ) . '<br /><div style="text-align:center">Powered by XOOPS © <a href="http://xoops.sourceforge.net/" rel="external">The XOOPS Project</a></div>';
+ if (isset($xoopsOption['template_main'])) {
+ $xoopsTpl->xoops_setCaching(0);
+ $xoopsTpl->display('db:'.$xoopsOption['template_main']);
+ }
+ if (!isset($xoopsOption['show_rblock'])) {
+ $xoopsOption['show_rblock'] = 0;
+ }
+ themefooter($xoopsOption['show_rblock'], $footer);
+ xoops_footer();
+ } else {
+ // RMV-NOTIFY
+ include_once XOOPS_ROOT_PATH . '/include/notification_select.php';
+
+ if (!headers_sent()) {
+ header('Content-Type:text/html; charset='._CHARSET);
+ header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
+ //header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
+ header('Cache-Control: private, no-cache');
+ header('Pragma: no-cache');
+ }
+ /*
+ global $xoopsDB, $xoopsConfig;
+ if ( !$xoopsConfig['theme_fromfile'] ) {
+ session_write_close();
+ $xoopsDB->close();
+ }
+ */
+ //@internal: using global $xoTheme dereferences the variable in old versions, this does not
+ if ( !isset( $xoTheme ) ) $xoTheme =& $GLOBALS['xoTheme'];
+
+ if ( isset( $xoopsOption['template_main'] ) && $xoopsOption['template_main'] != $xoTheme->contentTemplate ) {
+ trigger_error( "xoopsOption[template_main] should be defined before including header.php", E_USER_WARNING );
+ if ( false === strpos( $xoopsOption['template_main'], ':' ) ) {
+ $xoTheme->contentTemplate = 'db:' . $xoopsOption['template_main'];
+ } else {
+ $xoTheme->contentTemplate = $xoopsOption['template_main'];
+ }
+ }
+ $xoTheme->render();
+ }
+ $xoopsLogger->stopTime();
+}
+?>
Added: XoopsCore/trunk/trunk/htdocs/kernel/avatar.php
===================================================================
--- XoopsCore/trunk/trunk/htdocs/kernel/avatar.php (rev 0)
+++ XoopsCore/trunk/trunk/htdocs/kernel/avatar.php 2008-12-14 00:22:19 UTC (rev 2591)
@@ -0,0 +1,253 @@
+<?php
+// $Id: avatar.php 1434 2008-04-06 14:28:52Z phppp $
+// ------------------------------------------------------------------------ //
+// 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 //
+// ------------------------------------------------------------------------- //
+
+if (!defined('XOOPS_ROOT_PATH')) {
+ exit();
+}
+
+class XoopsAvatar extends XoopsObject
+{
+ var $_userCount;
+
+ function XoopsAvatar()
+ {
+ $this->XoopsObject();
+ $this->initVar('avatar_id', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('avatar_file', XOBJ_DTYPE_OTHER, null, false, 30);
+ $this->initVar('avatar_name', XOBJ_DTYPE_TXTBOX, null, true, 100);
+ $this->initVar('avatar_mimetype', XOBJ_DTYPE_OTHER, null, false);
+ $this->initVar('avatar_created', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('avatar_display', XOBJ_DTYPE_INT, 1, false);
+ $this->initVar('avatar_weight', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('avatar_type', XOBJ_DTYPE_OTHER, 0, false);
+ }
+
+ function setUserCount($value)
+ {
+ $this->_userCount = intval($value);
+ }
+
+ function getUserCount()
+ {
+ return $this->_userCount;
+ }
+}
+
+
+/**
+* XOOPS avatar handler class.
+* This class is responsible for providing data access mechanisms to the data source
+* of XOOPS avatar class objects.
+*
+*
+* @author Kazumi Ono <on...@xo...>
+*/
+
+class XoopsAvatarHandler extends XoopsObjectHandler
+{
+
+ function &create($isNew = true)
+ {
+ $avatar = new XoopsAvatar();
+ if ($isNew) {
+ $avatar->setNew();
+ }
+ return $avatar;
+ }
+
+ function &get($id)
+ {
+ $avatar = false;
+ $id = intval($id);
+ if ($id > 0) {
+ $sql = 'SELECT * FROM '.$this->db->prefix('avatar').' WHERE avatar_id='.$id;
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ $numrows = $this->db->getRowsNum($result);
+ if ($numrows == 1) {
+ $avatar = new XoopsAvatar();
+ $avatar->assignVars($this->db->fetchArray($result));
+ return $avatar;
+ }
+ }
+ return $avatar;
+ }
+
+ function insert(&$avatar)
+ {
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($avatar, 'xoopsavatar')) {
+ return false;
+ }
+ if (!$avatar->isDirty()) {
+ return true;
+ }
+ if (!$avatar->cleanVars()) {
+ return false;
+ }
+ foreach ($avatar->cleanVars as $k => $v) {
+ ${$k} = $v;
+ }
+ if ($avatar->isNew()) {
+ $avatar_id = $this->db->genId('avatar_avatar_id_seq');
+ $sql = sprintf("INSERT INTO %s (avatar_id, avatar_file, avatar_name, avatar_created, avatar_mimetype, avatar_display, avatar_weight, avatar_type) VALUES (%u, %s, %s, %u, %s, %u, %u, %s)", $this->db->prefix('avatar'), $avatar_id, $this->db->quoteString($avatar_file), $this->db->quoteString($avatar_name), time(), $this->db->quoteString($avatar_mimetype), $avatar_display, $avatar_weight, $this->db->quoteString($avatar_type));
+ } else {
+ $sql = sprintf("UPDATE %s SET avatar_file = %s, avatar_name = %s, avatar_created = %u, avatar_mimetype= %s, avatar_display = %u, avatar_weight = %u, avatar_type = %s WHERE avatar_id = %u", $this->db->prefix('avatar'), $this->db->quoteString($avatar_file), $this->db->quoteString($avatar_name), $avatar_created, $this->db->quoteString($avatar_mimetype), $avatar_display, $avatar_weight, $this->db->quoteString($avatar_type), $avatar_id);
+ }
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ if (empty($avatar_id)) {
+ $avatar_id = $this->db->getInsertId();
+ }
+ $avatar->assignVar('avatar_id', $avatar_id);
+ return true;
+ }
+
+ function delete(&$avatar)
+ {
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($avatar, 'xoopsavatar')) {
+ return false;
+ }
+
+
+ $id = $avatar->getVar('avatar_id');
+ $sql = sprintf("DELETE FROM %s WHERE avatar_id = %u", $this->db->prefix('avatar'), $id);
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ $sql = sprintf("DELETE FROM %s WHERE avatar_id = %u", $this->db->prefix('avatar_user_link'), $id);
+ $result = $this->db->query($sql);
+ return true;
+ }
+
+ function &getObjects($criteria = null, $id_as_key = false)
+ {
+ $ret = array();
+ $limit = $start = 0;
+ $sql = 'SELECT a.*, COUNT(u.user_id) AS count FROM '.$this->db->prefix('avatar').' a LEFT JOIN '.$this->db->prefix('avatar_user_link').' u ON u.avatar_id=a.avatar_id';
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ $sql .= ' GROUP BY a.avatar_id ORDER BY avatar_weight, avatar_id';
+ $limit = $criteria->getLimit();
+ $start = $criteria->getStart();
+ }
+ $result = $this->db->query($sql, $limit, $start);
+ if (!$result) {
+ return $ret;
+ }
+ while ($myrow = $this->db->fetchArray($result)) {
+ $avatar = new XoopsAvatar();
+ $avatar->assignVars($myrow);
+ $avatar->setUserCount($myrow['count']);
+ if (!$id_as_key) {
+ $ret[] =& $avatar;
+ } else {
+ $ret[$myrow['avatar_id']] =& $avatar;
+ }
+ unset($avatar);
+ }
+ return $ret;
+ }
+
+ function getCount($criteria = null)
+ {
+ $sql = 'SELECT COUNT(*) FROM '.$this->db->prefix('avatar');
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ }
+ if (!$result = $this->db->query($sql)) {
+ return 0;
+ }
+ list($count) = $this->db->fetchRow($result);
+ return $count;
+ }
+
+ function addUser($avatar_id, $user_id){
+ $avatar_id = intval($avatar_id);
+ $user_id = intval($user_id);
+ if ($avatar_id < 1 || $user_id < 1) {
+ return false;
+ }
+ $sql = sprintf("DELETE FROM %s WHERE user_id = %u", $this->db->prefix('avatar_user_link'), $user_id);
+ $this->db->query($sql);
+ $sql = sprintf("INSERT INTO %s (avatar_id, user_id) VALUES (%u, %u)", $this->db->prefix('avatar_user_link'), $avatar_id, $user_id);
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ return true;
+ }
+
+ function getUser(&$avatar){
+ $ret = array();
+
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($avatar, 'xoopsavatar')) {
+ return false;
+ }
+
+ $sql = 'SELECT user_id FROM '.$this->db->prefix('avatar_user_link').' WHERE avatar_id='.$avatar->getVar('avatar_id');
+ if (!$result = $this->db->query($sql)) {
+ return $ret;
+ }
+ while ($myrow = $this->db->fetchArray($result)) {
+ $ret[] =& $myrow['user_id'];
+ }
+ return $ret;
+ }
+
+ function getList($avatar_type = null, $avatar_display = null)
+ {
+ $criteria = new CriteriaCompo();
+ if (isset($avatar_type)) {
+ $avatar_type = ($avatar_type == 'C') ? 'C' : 'S';
+ $criteria->add(new Criteria('avatar_type', $avatar_type));
+ }
+ if (isset($avatar_display)) {
+ $criteria->add(new Criteria('avatar_display', intval($avatar_display)));
+ }
+ $avatars =& $this->getObjects($criteria, true);
+ $ret = array('blank.gif' => _NONE);
+ foreach (array_keys($avatars) as $i) {
+ $ret[$avatars[$i]->getVar('avatar_file')] = $avatars[$i]->getVar('avatar_name');
+ }
+ return $ret;
+ }
+}
+?>
\ No newline at end of file
Added: XoopsCore/trunk/trunk/htdocs/kernel/block.php
===================================================================
--- XoopsCore/trunk/trunk/htdocs/kernel/block.php (rev 0)
+++ XoopsCore/trunk/trunk/htdocs/kernel/block.php 2008-12-14 00:22:19 UTC (rev 2591)
@@ -0,0 +1,345 @@
+<?php
+// $Id: block.php 2129 2008-09-21 06:36:03Z phppp $
+// ------------------------------------------------------------------------ //
+// 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 //
+// ------------------------------------------------------------------------- //
+
+if (!defined('XOOPS_ROOT_PATH')) {
+ exit();
+}
+
+/**
+ * @author Kazumi Ono <on...@xo...>
+ * @copyright copyright (c) 2000 XOOPS.org
+ **/
+
+/**
+ * A block
+ *
+ * @author Kazumi Ono <on...@xo...>
+ * @copyright copyright (c) 2000 XOOPS.org
+ *
+ * @package kernel
+ **/
+class XoopsBlock extends XoopsObject
+{
+
+ /**
+ * constructor
+ *
+ * @param mixed $id
+ **/
+ function XoopsBlock($id = null)
+ {
+ $this->initVar('bid', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('mid', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('func_num', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('options', XOBJ_DTYPE_TXTBOX, null, false, 255);
+ $this->initVar('name', XOBJ_DTYPE_TXTBOX, null, true, 150);
+ //$this->initVar('position', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('title', XOBJ_DTYPE_TXTBOX, null, false, 150);
+ $this->initVar('content', XOBJ_DTYPE_TXTAREA, null, false);
+ $this->initVar('side', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('weight', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('visible', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('block_type', XOBJ_DTYPE_OTHER, null, false);
+ $this->initVar('c_type', XOBJ_DTYPE_OTHER, null, false);
+ $this->initVar('isactive', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('dirname', XOBJ_DTYPE_TXTBOX, null, false, 50);
+ $this->initVar('func_file', XOBJ_DTYPE_TXTBOX, null, false, 50);
+ $this->initVar('show_func', XOBJ_DTYPE_TXTBOX, null, false, 50);
+ $this->initVar('edit_func', XOBJ_DTYPE_TXTBOX, null, false, 50);
+ $this->initVar('template', XOBJ_DTYPE_OTHER, null, false);
+ $this->initVar('bcachetime', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('last_modified', XOBJ_DTYPE_INT, 0, false);
+
+ // for backward compatibility
+ if (isset($id)) {
+ if (is_array($id)) {
+ $this->assignVars($id);
+ } else {
+ $blkhandler =& xoops_gethandler('block');
+ $obj =& $blkhandler->get($id);
+ foreach (array_keys($obj->getVars() ) as $i) {
+ $this->assignVar($obj->getVar($i, 'n') );
+ }
+ }
+ }
+ }
+
+ /**
+ * return the content of the block for output
+ *
+ * @param string $format
+ * @param string $c_type type of content<br>
+ * Legal value for the type of content<br>
+ * <ul><li>H : custom HTML block
+ * <li>P : custom PHP block
+ * <li>S : use text sanitizater (smilies enabled)
+ * <li>T : use text sanitizater (smilies disabled)</ul>
+ * @return string content for output
+ **/
+ function getContent($format = 'S', $c_type = 'T')
+ {
+ switch ( $format ) {
+ case 'S':
+ if ( $c_type == 'H' ) {
+ return str_replace('{X_SITEURL}', XOOPS_URL.'/', $this->getVar('content', 'N'));
+ } elseif ( $c_type == 'P' ) {
+ ob_start();
+ echo eval($this->getVar('content', 'N'));
+ $content = ob_get_contents();
+ ob_end_clean();
+ return str_replace('{X_SITEURL}', XOOPS_URL.'/', $content);
+ } elseif ( $c_type == 'S' ) {
+ $myts =& MyTextSanitizer::getInstance();
+ $content = str_replace('{X_SITEURL}', XOOPS_URL.'/', $this->getVar('content', 'N'));
+ return $myts->displayTarea($content, 0, 1);
+ } else {
+ $myts =& MyTextSanitizer::getInstance();
+ $content = str_replace('{X_SITEURL}', XOOPS_URL.'/', $this->getVar('content', 'N'));
+ return $myts->displayTarea($content, 0, 0);
+ }
+ break;
+ case 'E':
+ return $this->getVar('content', 'E');
+ break;
+ default:
+ return $this->getVar('content', 'N');
+ break;
+ }
+ }
+
+ /**
+ * (HTML-) form for setting the options of the block
+ *
+ * @return string HTML for the form, FALSE if not defined for this block
+ **/
+ function getOptions()
+ {
+ if ( !$this->isCustom() ) {
+ $edit_func = $this->getVar('edit_func');
+ if (!$edit_func) {
+ return false;
+ }
+ if (file_exists(XOOPS_ROOT_PATH.'/modules/'.$this->getVar('dirname').'/blocks/'.$this->getVar('func_file'))) {
+ if (file_exists(XOOPS_ROOT_PATH.'/modules/'.$this->getVar('dirname').'/language/'.$GLOBALS['xoopsConfig']['language'].'/blocks.php')) {
+ include_once XOOPS_ROOT_PATH.'/modules/'.$this->getVar('dirname').'/language/'.$GLOBALS['xoopsConfig']['language'].'/blocks.php';
+ } elseif (file_exists(XOOPS_ROOT_PATH.'/modules/'.$this->getVar('dirname').'/language/english/blocks.php')) {
+ include_once XOOPS_ROOT_PATH.'/modules/'.$this->getVar('dirname').'/language/english/blocks.php';
+ }
+ include_once XOOPS_ROOT_PATH.'/modules/'.$this->getVar('dirname').'/blocks/'.$this->getVar('func_file');
+ $options = explode('|', $this->getVar('options'));
+ $edit_form = $edit_func($options);
+ if (!$edit_form) {
+ return false;
+ }
+ return $edit_form;
+ } else {
+ return false;
+ }
+ } else {
+ return false;
+ }
+ }
+
+ function isCustom()
+ {
+ return in_array( $this->getVar("block_type") , array( 'C' , 'E' ) );
+ }
+}
+
+
+/**
+ * XOOPS block handler class. (Singelton)
+ *
+ * This class is responsible for providing data access mechanisms to the data source
+ * of XOOPS block class objects.
+ *
+ * @author Kazumi Ono <on...@xo...>
+ * @copyright copyright (c) 2000 XOOPS.org
+ * @package kernel
+ * @subpackage block
+*/
+class XoopsBlockHandler extends XoopsObjectHandler
+{
+
+ /**
+ * create a new block
+ *
+ * @see XoopsBlock
+ * @param bool $isNew is the new block new??
+ * @return object XoopsBlock reference to the new block
+ **/
+ function &create($isNew = true)
+ {
+ $block = new XoopsBlock();
+ if ($isNew) {
+ $block->setNew();
+ }
+ return $block;
+ }
+
+ /**
+ * retrieve a specific {@link XoopsBlock}
+ *
+ * @see XoopsBlock
+ * @param int $id bid of the block to retrieve
+ * @return object XoopsBlock reference to the block
+ **/
+ function &get($id)
+ {
+ $block = false;
+ $id = intval($id);
+ if ($id > 0) {
+ $sql = 'SELECT * FROM '.$this->db->prefix('newblocks').' WHERE bid='.$id;
+ if ( $result = $this->db->query($sql) ) {
+ $numrows = $this->db->getRowsNum($result);
+ if ($numrows == 1) {
+ $block = new XoopsBlock();
+ $block->assignVars($this->db->fetchArray($result));
+ }
+ }
+ }
+ return $block;
+ }
+
+ /**
+ * write a new block into the database
+ *
+ * @param object XoopsBlock $block reference to the block to insert
+ * @return bool TRUE if succesful
+ **/
+ function insert(&$block)
+ {
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($block, 'xoopsblock')) {
+ return false;
+ }
+ if (!$block->isDirty()) {
+ return true;
+ }
+ if (!$block->cleanVars()) {
+ return false;
+ }
+ foreach ($block->cleanVars as $k => $v) {
+ ${$k} = $v;
+ }
+ if ($block->isNew()) {
+ $bid = $this->db->genId('newblocks_bid_seq');
+ $sql = sprintf("INSERT INTO %s (bid, mid, func_num, options, name, title, content, side, weight, visible, block_type, c_type, isactive, dirname, func_file, show_func, edit_func, template, bcachetime, last_modified) VALUES (%u, %u, %u, '%s', '%s', '%s', '%s', %u, %u, %u, '%s', '%s', %u, '%s', '%s', '%s', '%s', '%s', %u, %u)", $this->db->prefix('newblocks'), $bid, $mid, $func_num, $options, $name, $title, $content, $side, $weight, $visible, $block_type, $c_type, 1, $dirname, $func_file, $show_func, $edit_func, $template, $bcachetime, time());
+ } else {
+ $sql = sprintf("UPDATE %s SET func_num = %u, options = '%s', name = '%s', title = '%s', content = '%s', side = %u, weight = %u, visible = %u, c_type = '%s', isactive = %u, func_file = '%s', show_func = '%s', edit_func = '%s', template = '%s', bcachetime = %u, last_modified = %u WHERE bid = %u", $this->db->prefix('newblocks'), $func_num, $options, $name, $title, $content, $side, $weight, $visible, $c_type, $isactive, $func_file, $show_func, $edit_func, $template, $bcachetime, time(), $bid);
+ }
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ if (empty($bid)) {
+ $bid = $this->db->getInsertId();
+ }
+ $block->assignVar('bid', $bid);
+ return true;
+ }
+
+ /**
+ * delete a block from the database
+ *
+ * @param object XoopsBlock $block reference to the block to delete
+ * @return bool TRUE if succesful
+ **/
+ function delete(&$block)
+ {
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($block, 'xoopsblock')) {
+ return false;
+ }
+ $id = $block->getVar('bid');
+ $sql = sprintf("DELETE FROM %s WHERE bid = %u", $this->db->prefix('newblocks'), $id);
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ $sql = sprintf("DELETE FROM %s WHERE block_id = %u", $this->db->prefix('block_module_link'), $id);
+ $this->db->query($sql);
+ return true;
+ }
+
+ /**
+ * retrieve array of {@link XoopsBlock}s meeting certain conditions
+ * @param object $criteria {@link CriteriaElement} with conditions for the blocks
+ * @param bool $id_as_key should the blocks' bid be the key for the returned array?
+ * @return array {@link XoopsBlock}s matching the conditions
+ **/
+ function getObjects($criteria = null, $id_as_key = false)
+ {
+ $ret = array();
+ $limit = $start = 0;
+ $sql = 'SELECT DISTINCT(b.bid), b.* FROM '.$this->db->prefix('newblocks').' b LEFT JOIN '.$this->db->prefix('block_module_link').' l ON b.bid=l.block_id';
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ $limit = $criteria->getLimit();
+ $start = $criteria->getStart();
+ }
+ $result = $this->db->query($sql, $limit, $start);
+ if (!$result) {
+ return $ret;
+ }
+ while ($myrow = $this->db->fetchArray($result)) {
+ $block = new XoopsBlock();
+ $block->assignVars($myrow);
+ if (!$id_as_key) {
+ $ret[] =& $block;
+ } else {
+ $ret[$myrow['bid']] =& $block;
+ }
+ unset($block);
+ }
+ return $ret;
+ }
+
+ /**
+ * get a list of blocks matchich certain conditions
+ *
+ * @param string $criteria conditions to match
+ * @return array array of blocks matching the conditions
+ **/
+ function getList($criteria = null)
+ {
+ $blocks = $this->getObjects($criteria, true);
+ $ret = array();
+ foreach (array_keys($blocks) as $i) {
+ $name = (!$blocks[$i]->isCustom()) ? $blocks[$i]->getVar('name') : $blocks[$i]->getVar('title');
+ $ret[$i] = $name;
+ }
+ return $ret;
+ }
+}
+?>
\ No newline at end of file
Added: XoopsCore/trunk/trunk/htdocs/kernel/blockinstance.php
===================================================================
--- XoopsCore/trunk/trunk/htdocs/kernel/blockinstance.php (rev 0)
+++ XoopsCore/trunk/trunk/htdocs/kernel/blockinstance.php 2008-12-14 00:22:19 UTC (rev 2591)
@@ -0,0 +1,71 @@
+<?php
+/**
+ * Legacy blockinstance handler
+ *
+ * Deprecated, just for backward compat with XOOPS 2.2; requires PHP 5.0+
+ *
+ * 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 kernel
+ * @since 2.3.0
+ * @author Taiwen Jiang <ph...@us...>
+ * @version $Id: blockinstance.php 2075 2008-09-12 13:48:30Z phppp $
+ */
+
+class XoopsBlockInstance
+{
+ function __construct()
+ {
+ }
+
+ function __call($name, $args)
+ {
+ trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the method '{$name}' is not executed") . "!", E_USER_WARNING);
+ return null;
+ }
+
+ function __set($name, $args)
+ {
+ trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not set") . "!", E_USER_WARNING);
+ return false;
+ }
+
+ function __get($name)
+ {
+ trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not vailable") . "!", E_USER_WARNING);
+ return null;
+ }
+}
+
+class XoopsBlockInstanceHandler
+{
+ function __construct()
+ {
+ }
+
+ function __call($name, $args)
+ {
+ trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the method '{$name}' is not executed") . "!", E_USER_WARNING);
+ return null;
+ }
+
+ function __set($name, $args)
+ {
+ trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not set") . "!", E_USER_WARNING);
+ return false;
+ }
+
+ function __get($name)
+ {
+ trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not vailable") . "!", E_USER_WARNING);
+ return null;
+ }
+}
+?>
\ No newline at end of file
Added: XoopsCore/trunk/trunk/htdocs/kernel/comment.php
===================================================================
--- XoopsCore/trunk/trunk/htdocs/kernel/comment.php (rev 0)
+++ XoopsCore/trunk/trunk/htdocs/kernel/comment.php 2008-12-14 00:22:19 UTC (rev 2591)
@@ -0,0 +1,448 @@
+<?php
+// $Id: comment.php 1513 2008-04-28 00:51:02Z phppp $
+// ------------------------------------------------------------------------ //
+// 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.xoops.org/ http://jp.xoops.org/ http://www.myweb.ne.jp/ //
+// Project: The XOOPS Project (http://www.xoops.org/) //
+// ------------------------------------------------------------------------- //
+
+if (!defined('XOOPS_ROOT_PATH')) {
+ exit();
+}
+
+/**
+ *
+ *
+ * @package kernel
+ *
+ * @author Kazumi Ono <on...@xo...>
+ * @copyright copyright (c) 2000-2003 XOOPS.org
+ */
+
+/**
+ * A Comment
+ *
+ * @package kernel
+ *
+ * @author Kazumi Ono <on...@xo...>
+ * @copyright copyright (c) 2000-2003 XOOPS.org
+ */
+class XoopsComment extends XoopsObject
+{
+
+ /**
+ * Constructor
+ **/
+ function XoopsComment()
+ {
+ $this->XoopsObject();
+ $this->initVar('com_id', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('com_pid', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('com_modid', XOBJ_DTYPE_INT, null, false);
+ $this->initVar('com_icon', XOBJ_DTYPE_OTHER, null, false);
+ $this->initVar('com_title', XOBJ_DTYPE_TXTBOX, null, true, 255, true);
+ $this->initVar('com_text', XOBJ_DTYPE_TXTAREA, null, true, null, true);
+ $this->initVar('com_created', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('com_modified', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('com_uid', XOBJ_DTYPE_INT, 0, true);
+ $this->initVar('com_ip', XOBJ_DTYPE_OTHER, null, false);
+ $this->initVar('com_sig', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('com_itemid', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('com_rootid', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('com_status', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('com_exparams', XOBJ_DTYPE_OTHER, null, false, 255);
+ $this->initVar('dohtml', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('dosmiley', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('doxcode', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('doimage', XOBJ_DTYPE_INT, 0, false);
+ $this->initVar('dobr', XOBJ_DTYPE_INT, 0, false);
+ }
+
+ /**
+ * Is this comment on the root level?
+ *
+ * @return bool
+ **/
+ function isRoot()
+ {
+ return ($this->getVar('com_id') == $this->getVar('com_rootid'));
+ }
+}
+
+/**
+ * XOOPS comment handler class.
+ *
+ * This class is responsible for providing data access mechanisms to the data source
+ * of XOOPS comment class objects.
+ *
+ *
+ * @package kernel
+ * @subpackage comment
+ *
+ * @author Kazumi Ono <on...@xo...>
+ * @copyright copyright (c) 2000-2003 XOOPS.org
+ */
+class XoopsCommentHandler extends XoopsObjectHandler
+{
+
+ /**
+ * Create a {@link XoopsComment}
+ *
+ * @param bool $isNew Flag the object as "new"?
+ *
+ * @return object
+ */
+ function &create($isNew = true)
+ {
+ $comment = new XoopsComment();
+ if ($isNew) {
+ $comment->setNew();
+ }
+ return $comment;
+ }
+
+ /**
+ * Retrieve a {@link XoopsComment}
+ *
+ * @param int $id ID
+ *
+ * @return object {@link XoopsComment}, FALSE on fail
+ **/
+ function &get($id)
+ {
+ $comment = false;
+ $id = intval($id);
+ if ($id > 0) {
+ $sql = 'SELECT * FROM '.$this->db->prefix('xoopscomments').' WHERE com_id='.$id;
+ if (!$result = $this->db->query($sql)) {
+ return $comment;
+ }
+ $numrows = $this->db->getRowsNum($result);
+ if ($numrows == 1) {
+ $comment = new XoopsComment();
+ $comment->assignVars($this->db->fetchArray($result));
+ }
+ }
+ return $comment;
+ }
+
+ /**
+ * Write a comment to database
+ *
+ * @param object &$comment
+ *
+ * @return bool
+ **/
+ function insert(&$comment)
+ {
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($comment, 'xoopscomment')) {
+ return false;
+ }
+ if (!$comment->isDirty()) {
+ return true;
+ }
+ if (!$comment->cleanVars()) {
+ return false;
+ }
+ foreach ($comment->cleanVars as $k => $v) {
+ ${$k} = $v;
+ }
+ if ($comment->isNew()) {
+ $com_id = $this->db->genId('xoopscomments_com_id_seq');
+ $sql = sprintf("INSERT INTO %s (com_id, com_pid, com_modid, com_icon, com_title, com_text, com_created, com_modified, com_uid, com_ip, com_sig, com_itemid, com_rootid, com_status, com_exparams, dohtml, dosmiley, doxcode, doimage, dobr) VALUES (%u, %u, %u, %s, %s, %s, %u, %u, %u, %s, %u, %u, %u, %u, %s, %u, %u, %u, %u, %u)", $this->db->prefix('xoopscomments'), $com_id, $com_pid, $com_modid, $this->db->quoteString($com_icon), $this->db->quoteString($com_title), $this->db->quoteString($com_text), $com_created, $com_modified, $com_uid, $this->db->quoteString($com_ip), $com_sig, $com_itemid, $com_rootid, $com_status, $this->db->quoteString($com_exparams), $dohtml, $dosmiley, $doxcode, $doimage, $dobr);
+ } else {
+ $sql = sprintf("UPDATE %s SET com_pid = %u, com_icon = %s, com_title = %s, com_text = %s, com_created = %u, com_modified = %u, com_uid = %u, com_ip = %s, com_sig = %u, com_itemid = %u, com_rootid = %u, com_status = %u, com_exparams = %s, dohtml = %u, dosmiley = %u, doxcode = %u, doimage = %u, dobr = %u WHERE com_id = %u", $this->db->prefix('xoopscomments'), $com_pid, $this->db->quoteString($com_icon), $this->db->quoteString($com_title), $this->db->quoteString($com_text), $com_created, $com_modified, $com_uid, $this->db->quoteString($com_ip), $com_sig, $com_itemid, $com_rootid, $com_status, $this->db->quoteString($com_exparams), $dohtml, $dosmiley, $doxcode, $doimage, $dobr, $com_id);
+ }
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ if (empty($com_id)) {
+ $com_id = $this->db->getInsertId();
+ }
+ $comment->assignVar('com_id', $com_id);
+ return true;
+ }
+
+ /**
+ * Delete a {@link XoopsComment} from the database
+ *
+ * @param object &$comment
+ *
+ * @return bool
+ **/
+ function delete(&$comment)
+ {
+ /**
+ * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
+ */
+ if (!is_a($comment, 'xoopscomment')) {
+ return false;
+ }
+ $sql = sprintf("DELETE FROM %s WHERE com_id = %u", $this->db->prefix('xoopscomments'), $comment->getVar('com_id'));
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Get some {@link XoopsComment}s
+ *
+ * @param object $criteria
+ * @param bool $id_as_key Use IDs as keys into the array?
+ *
+ * @return array Array of {@link XoopsComment} objects
+ **/
+ function getObjects($criteria = null, $id_as_key = false)
+ {
+ $ret = array();
+ $limit = $start = 0;
+ $sql = 'SELECT * FROM '.$this->db->prefix('xoopscomments');
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ $sort = ($criteria->getSort() != '') ? $criteria->getSort() : 'com_id';
+ $sql .= ' ORDER BY '.$sort.' '.$criteria->getOrder();
+ $limit = $criteria->getLimit();
+ $start = $criteria->getStart();
+ }
+ $result = $this->db->query($sql, $limit, $start);
+ if (!$result) {
+ return $ret;
+ }
+ while ($myrow = $this->db->fetchArray($result)) {
+ $comment = new XoopsComment();
+ $comment->assignVars($myrow);
+ if (!$id_as_key) {
+ $ret[] =& $comment;
+ } else {
+ $ret[$myrow['com_id']] =& $comment;
+ }
+ unset($comment);
+ }
+ return $ret;
+ }
+
+ /**
+ * Count Comments
+ *
+ * @param object $criteria {@link CriteriaElement}
+ *
+ * @return int Count
+ **/
+ function getCount($criteria = null)
+ {
+ $sql = 'SELECT COUNT(*) FROM '.$this->db->prefix('xoopscomments');
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ }
+ if (!$result =& $this->db->query($sql)) {
+ return 0;
+ }
+ list($count) = $this->db->fetchRow($result);
+ return $count;
+ }
+
+ /**
+ * Delete multiple comments
+ *
+ * @param object $criteria {@link CriteriaElement}
+ *
+ * @return bool
+ **/
+ function deleteAll($criteria = null)
+ {
+ $sql = 'DELETE FROM '.$this->db->prefix('xoopscomments');
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ }
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Get a list of comments
+ *
+ * @param object $criteria {@link CriteriaElement}
+ *
+ * @return array Array of raw database records
+ **/
+ function getList($criteria = null)
+ {
+ $comments = $this->getObjects($criteria, true);
+ $ret = array();
+ foreach (array_keys($comments) as $i) {
+ $ret[$i] = $comments[$i]->getVar('com_title');
+ }
+ return $ret;
+ }
+
+ /**
+ * Retrieves comments for an item
+ *
+ * @param int $module_id Module ID
+ * @param int $item_id Item ID
+ * @param string $order Sort order
+ * @param int $status Status of the comment
+ * @param int $limit Max num of comments to retrieve
+ * @param int $start Start offset
+ *
+ * @return array Array of {@link XoopsComment} objects
+ **/
+ function getByItemId($module_id, $item_id, $order = null, $status = null, $limit = null, $start = 0)
+ {
+ $criteria = new CriteriaCompo(new Criteria('com_modid', intval($module_id)));
+ $criteria->add(new Criteria('com_itemid', intval($item_id)));
+ if (isset($status)) {
+ $criteria->add(new Criteria('com_status', intval($status)));
+ }
+ if (isset($order)) {
+ $criteria->setOrder($order);
+ }
+ if (isset($limit)) {
+ $criteria->setLimit($limit);
+ $criteria->setStart($start);
+ }
+ return $this->getObjects($criteria);
+ }
+
+ /**
+ * Gets total number of comments for an item
+ *
+ * @param int $module_id Module ID
+ * @param int $item_id Item ID
+ * @param int $status Status of the comment
+ *
+ * @return array Array of {@link XoopsComment} objects
+ **/
+ function getCountByItemId($module_id, $item_id, $status = null)
+ {
+ $criteria = new CriteriaCompo(new Criteria('com_modid', intval($module_id)));
+ $criteria->add(new Criteria('com_itemid', intval($item_id)));
+ if (isset($status)) {
+ $criteria->add(new Criteria('com_status', intval($status)));
+ }
+ return $this->getCount($criteria);
+ }
+
+
+ /**
+ * Get the top {@link XoopsComment}s
+ *
+ * @param int $module_id
+ * @param int $item_id
+ * @param strint $order
+ * @param int $status
+ *
+ * @return array Array of {@link XoopsComment} objects
+ **/
+ function getTopComments($module_id, $item_id, $order, $status = null)
+ {
+ $criteria = new CriteriaCompo(new Criteria('com_modid', intval($module_id)));
+ $criteria->add(new Criteria('com_itemid', intval($item_id)));
+ $criteria->add(new Criteria('com_pid', 0));
+ if (isset($status)) {
+ $criteria->add(new Criteria('com_status', intval($status)));
+ }
+ $criteria->setOrder($order);
+ return $this->getObjects($criteria);
+ }
+
+ /**
+ * Retrieve a whole thread
+ *
+ * @param int $comment_rootid
+ * @param int $comment_id
+ * @param int $status
+ *
+ * @return array Array of {@link XoopsComment} objects
+ **/
+ function getThread($comment_rootid, $comment_id, $status = null)
+ {
+ $criteria = new CriteriaCompo(new Criteria('com_rootid', intval($comment_rootid)));
+ $criteria->add(new Criteria('com_id', intval($comment_id), '>='));
+ if (isset($status)) {
+ $criteria->add(new Criteria('com_status', intval($status)));
+ }
+ return $this->getObjects($criteria);
+ }
+
+ /**
+ * Update
+ *
+ * @param object &$comment {@link XoopsComment} object
+ * @param string $field_name Name of the field
+ * @param mixed $field_value Value to write
+ *
+ * @return bool
+ **/
+ function updateByField(&$comment, $field_name, $field_value)
+ {
+ $comment->unsetNew();
+ $comment->setVar($field_name, $field_value);
+ return $this->insert($comment);
+ }
+
+ /**
+ * Delete all comments for one whole module
+ *
+ * @param int $module_id ID of the module
+ * @return bool
+ **/
+ function deleteByModule($module_id)
+ {
+ return $this->deleteAll(new Criteria('com_modid', intval($module_id)));
+ }
+
+ /**
+ * Change a value in multiple comments
+ *
+ * @param string $fieldname Name of the field
+ * @param string $fieldvalue Value to write
+ * @param object $criteria {@link CriteriaElement}
+ *
+ * @return bool
+ **/
+/*
+ function updateAll($fieldname, $fieldvalue, $criteria = null)
+ {
+ $set_clause = is_numeric($fieldvalue) ? $filedname.' = '.$fieldvalue : $filedname.' = '.$this->db->quoteString($fieldvalue);
+ $sql = 'UPDATE '.$this->db->prefix('xoopscomments').' SET '.$set_clause;
+ if (isset($criteria) && is_subclass_of($criteria, 'criteriaelement')) {
+ $sql .= ' '.$criteria->renderWhere();
+ }
+ if (!$result = $this->db->query($sql)) {
+ return false;
+ }
+ return true;
+ }
+*/
+}
+?>
\ No newline at end of file
Added: XoopsCore/trunk/trunk/htdocs/kernel/config.php
===================================================================
--- XoopsCore/trunk/trunk/htdocs/kernel/config.php (rev 0)
+++ XoopsCore/trunk/trunk/htdocs/kernel/config.php 2008-12-14 00:22:19 UTC (rev 2591)
@@ -0,0 +1,309 @@
+<?php
+// $Id: config.php 1434 2008-04-06 14:28:52Z phppp $
+// ------------------------------------------------------------------------ //
+// 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 //
+// ------------------------------------------------------------------------- //
+
+if (!defined('XOOPS_ROOT_PATH')) {
+ exit();
+}
+
+req...
[truncated message content] |
|
From: <ez...@us...> - 2008-12-08 09:53:50
|
Revision: 2590
http://xoops.svn.sourceforge.net/xoops/?rev=2590&view=rev
Author: ezsky
Date: 2008-12-08 09:53:46 +0000 (Mon, 08 Dec 2008)
Log Message:
-----------
for xoops 2.3.2b
Modified Paths:
--------------
XoopsLanguages/chinese/core/2.3.2b_utf8/release_notes_schinese.txt
Modified: XoopsLanguages/chinese/core/2.3.2b_utf8/release_notes_schinese.txt
===================================================================
--- XoopsLanguages/chinese/core/2.3.2b_utf8/release_notes_schinese.txt 2008-12-08 09:37:24 UTC (rev 2589)
+++ XoopsLanguages/chinese/core/2.3.2b_utf8/release_notes_schinese.txt 2008-12-08 09:53:46 UTC (rev 2590)
@@ -2,10 +2,10 @@
XOOPS 开发团队很高兴地宣布 XOOPS 2.3.2 正式版发布。
-这次的发布主要是真对一些安全隐患进行修补,其中包括由Digital Research Group 报告的跨站脚本攻击(XSS)漏洞,由DSG报告的包含文件漏洞,由Dylian报告的自动登录故障,以及由boy0917报告的数据同步功能的向前兼容问题。
-
+这次的发布主要是真对一些安全隐患进行修补,其中包括由DSRG(Digital Sercurity Research Group) 报告的跨站脚本攻击(XSS)漏洞,由DSRG报告的包含文件漏洞,由Dylian报告的自动登录故障,以及由boy0917报告的数据同步功能的向前兼容问题,除此之外还有ezsky报告的xoopsmailer的问题。
+在2.3.2b这个版本中,感谢DSRG,帮助我们改善XOOPS的安全问题.
高度推荐所有的XOOPS2.3.x用户尽快升级到此版本。
-
+XOOPS2.0和2.2系列没有安全问题.但是如果你正在使用PROTECTOR模块,我们推荐升级此模块.最新版PROTECTOR模块可以从XOOPS安装包中获得.
英文版地址下载[url=https://sourceforge.net/project/showfiles.php?group_id=41586&package_id=153583&release_id=643010]Sourceforge repository[/url].
@@ -50,7 +50,7 @@
从旧版本更新至 XOOPS2.3.2 正式版
-----------------------------------
-从 XOOPS .2.3.1 升级
+从 XOOPS 2.3.1 或 XOOPS 2.3.2a 升级
1. 下载升级包
2. 使用升级包内文件覆盖旧版文件
3. 把"upgrade" 文件夹复制到 "htdocs" 文件夹内
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ez...@us...> - 2008-12-08 09:37:27
|
Revision: 2589
http://xoops.svn.sourceforge.net/xoops/?rev=2589&view=rev
Author: ezsky
Date: 2008-12-08 09:37:24 +0000 (Mon, 08 Dec 2008)
Log Message:
-----------
add protector new language item,and add XOOPS_Coding_Standards_schinese.html doc file
Modified Paths:
--------------
XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/admin.php
XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/main.php
XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php
Added Paths:
-----------
XoopsLanguages/chinese/core/2.3.2b_utf8/XOOPS_Coding_Standards_schinese.html
Added: XoopsLanguages/chinese/core/2.3.2b_utf8/XOOPS_Coding_Standards_schinese.html
===================================================================
--- XoopsLanguages/chinese/core/2.3.2b_utf8/XOOPS_Coding_Standards_schinese.html (rev 0)
+++ XoopsLanguages/chinese/core/2.3.2b_utf8/XOOPS_Coding_Standards_schinese.html 2008-12-08 09:37:24 UTC (rev 2589)
@@ -0,0 +1,1133 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<html>
+
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+<base target="_top">
+
+<style type="text/css">
+ /* default css */ table { font-size: 1em; line-height: inherit; } tr { text-align: left; } div, address, ol, ul, li, option, select { margin-top: 0px; margin-bottom: 0px; } p { margin: 0px; } body { margin: 6px; padding: 0px; font-family: Verdana, sans-serif; font-size: 10pt; background-color: #ffffff; } img { -moz-force-broken-image-icon: 1; } @media screen { html.pageview { background-color: #f3f3f3 !important; } body { min-height: 1100px; } * html body { height: 1100px; } .pageview body { border-top: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 2px solid #bbb; border-bottom: 2px solid #bbb; width: 648px !important; margin: 15px auto 25px; padding: 40px 50px; } /* IE6 */ * html { overflow-y: scroll; } * html.pageview body { overflow-x: auto; } /* Prevent repaint errors when scrolling in Safari. This "Star-7" css hack targets Safari 3.1, but not WebKit nightlies and presumably Safari 4. That's OK because this bug is fixed in WebKit nightlies/Safari 4 :-). */ html*#wys_frame::before { content: '\A0'; position: fixed; overflow: hidden; width: 0; height: 0; top: 0; left: 0; } .writely-callout-data { display: none; *display: inline-block; *width: 0; *height: 0; *overflow: hidden; } .writely-footnote-marker { background-image: url('MISSING') target-counter(attr(href), page); } #WritelyTableOfContents a { text-decoration: none; color: black; } } @page { @top { content: flow(header); } @bottom { content: flow(footer); } @footnotes { border-top: solid black thin; padding-top: 8pt; } } /* end default print css */ /* custom css */ /* end custom css */ /* ui edited css */ body { font-family: Verdana; font-size: 10.0pt; line-height: normal; background-color: #ffffff; } /* end ui edited css */ /* editor CSS */ .editor a:visited {color: #551A8B} .editor table.zeroBorder {border: 1px dotted gray} .editor table.zeroBorder td {border: 1px dotted gray} .editor table.zeroBorder th {border: 1px dotted gray} .editor div.google_header, .editor div.google_footer { border: 2px #DDDDDD dashed; position: static; width: 100%; min-height: 2em; } .editor .misspell {background-color: yellow} .editor .writely-comment { font-size: 9pt; line-height: 1.4; padding: 1px; border: 1px dashed #C0C0C0 } /* end editor CSS */
+</style>
+
+</head>
+
+<body
+
+ revision="dhsgk8hj_215cccmpkdj:55">
+
+
+
+
+<h1 id=p4zy style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m80>XOOPS 3.0 <b>开发编码规范</b>(草案)<br id=dfpu>
+ </font>
+</h1>
+<font color=#000000 id=a1m81 style=FONT-FAMILY:Verdana><br id=wj180>
+作者:<br id=wj181>
+</font>
+<ul id=aycj0 style=FONT-FAMILY:Verdana>
+ <li id=aycj1>
+ 姜太文<font color=#000000 id=a1m82><ph...@us...></font><br id=fboy>
+ </li>
+</ul>
+<font color=#000000 id=a1m81 style=FONT-FAMILY:Verdana><br id=wj180>
+翻译整理:<br id=wj181>
+</font>
+<ul id=aycj0 style=FONT-FAMILY:Verdana>
+ <li id=aycj1>
+ 杨素生<font color=#000000 id=a1m82><ezs...@gm...></font><br id=fboy>
+ </li>
+</ul>
+<h1 id=fj480 style=FONT-FAMILY:Verdana>
+ 概述
+</h1>
+<p id=rk_2 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m86>这份文档为开发者,工作组以及XOOPS项目提供了编码标准和指导.主要涉及到以下内容:</font>
+</p>
+<ul id=b985 style=FONT-FAMILY:Verdana>
+ <li id=t21x>
+ <font color=#000000 id=a1m87>PHP 文件格式</font>
+ </li>
+ <li id=w4yy>
+ <font color=#000000>命名规范</font>
+ </li>
+ <li id=ox82>
+ 编码风格规范
+ </li>
+ <li id=y_..>
+ 代码内文档化
+ </li>
+ <li id=eh:f>
+ 错误与异常<br id=eq110>
+ </li>
+</ul>
+开发人员的角色<font color=#000000 id=a1m812 style=FONT-FAMILY:Verdana>:<br id=eq111>
+</font>
+<ul id=eq112 style=FONT-FAMILY:Verdana>
+ <li id=eq113>
+ <font color=#000000 id=a1m813>XOOPS
+ 开发</font><font color=#000000>人员</font><font color=#000000>:
+ 这些开发人员来维护XOOPS核心程序,其中包括:<br id=n::j0>
+ </font>
+ </li>
+ <ul id=pc0_0>
+ <li id=eq113>
+ <font color=#000000>核心开发人员</font><font color=#000000 id=a1m814>:
+ 对XOOPS核心代码的维护,这些核心代码将在XOOPS</font><font color=#000000 id=a1m>应用程序开发</font><font color=#000000>人员</font><font color=#000000>那里得到更好的应用.<br id=dcf-0>
+ </font>
+ </li>
+ <li id=eq113>
+ <font color=#000000 id=a1m816>框架开发</font><font color=#000000>人员</font><font color=#000000>:
+ 贡献出自己的开发框架,有机会集成到XOOPS内核当中.</font>
+ </li>
+ <li id=eq113>
+ <font color=#000000 id=a1m817>前端开发</font><font color=#000000>人员</font><font color=#000000>:
+ 进行XOOPS的风格主题和模块的内容模板的设计.</font>
+ </li>
+ </ul>
+ <li id=eq113>
+ <font color=#000000 id=a1m818>XOOPS
+ 应用程序开发</font><font color=#000000>人员</font><font color=#000000>:
+ 开发者在XOOPS的基础上开发自己的应用程序</font>
+ </li>
+ <ul id=w4.n0>
+ <li id=eq113>
+ <font color=#000000 id=a1m815>模块开发</font><font color=#000000>人员</font><font color=#000000>:
+ 开发者基于XOOPS平台以及类库开发第三方应用模块.</font>
+ </li>
+ </ul>
+</ul>
+<h1 id=wwcs0 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m819><a id=n3pv name=PHPCodingStandard(draft)-Goals></a>目标</font>
+</h1>
+<p id=v60o style=FONT-FAMILY:Verdana>
+ 编码规范对于任何一个开发项目都是很重要的,尤其是多人协作的情况,良好的编码规范可以为我们带来高质量的代码,较少bug,以及便于维护.
+</p>
+<p id=mdrf style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m821>我们力争做到:</font>
+</p>
+<ul id=t08g style=FONT-FAMILY:Verdana>
+ <li id=agky>
+ 尽量的简单
+ </li>
+ <li id=le_n>
+ <font color=#000000 id=a1m823>更为方便, 例如方法的说明, 常量的定义,
+ 以及格式这些都可以通过开发工具的自动补全功能来实现.</font>
+ </li>
+</ul>
+<p id=u50y style=FONT-FAMILY:Verdana>
+ 当考虑上述的目标,每一种情况需要考虑实际情况进行取舍.
+</p>
+<h1 id=a1.5 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m825><a id=rb_z name=PHPCodingStandard(draft)-PHPFileFormatting></a>PHP文件格式要求</font>
+</h1>
+<h2 id=xwus style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m826><a id=hezc name=PHPCodingStandard(draft)-General></a>常规</font>
+</h2>
+<p id=jki_ style=FONT-FAMILY:Verdana>
+ 对于只包含有PHP代码而无别的代码的文件,可以不使用结束标记"?>",要注意的是,在XOOPS的开发中代码结束必须要带有结束标记"?>".
+</p>
+<h2 id=ez_6 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m830><a id=ktuf name=PHPCodingStandard(draft)-Indentation></a>制表符</font>
+</h2>
+<p id=ymhy style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m831>缩进的时候使用4个空格(SPACE)字符(键),不要使用TAB字符(键)。在编辑器中可以设置TAB字符以4个空格代替,目的是为了不同操作系统下的表现一致.</font>
+</p>
+<h2 id=w1tk style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m833><a id=drr1 name=PHPCodingStandard(draft)-MaximumLineLength></a>每行最大字符数<br id=la-10>
+ </font>
+</h2>
+<p id=hffk style=FONT-FAMILY:Verdana>
+ 每行不要超过80个字符,即,在实际开发过程中每行的代码尽量不要超过第80列这个边界,稍微超过也可以,PHP代码每行最大字符数是120。
+</p>
+<h2 id=ih.q style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m836><a id=g8:f name=PHPCodingStandard(draft)-LineTermination></a>行结束符</font>
+</h2>
+<p>
+ 行结束符采用UNIX文本文件标准,即每行以“换行符(LF)”结束,<font color=#000000 id=a1m831>目的是为了不同操作系统下的表现一致.</font>在ASCII码中,换行符是的十进制值为10,十六进制值为0x0A。
+</p>
+<p>
+ 不要使用Macintosh系统的标准:以回车符(CR,十六进制值是0x0D)为行结束符。
+</p>
+<p>
+ 也不要使用Windows系统的标准:以回车/换行(CRLF,0x0D, 0x0A)为行结束符。
+</p>
+<p id=j-3l style=FONT-FAMILY:Verdana>
+
+</p>
+<p id=vls2 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m841>每行的结尾不要包含多余的空格,为了保证这个规范,很多编辑器都可以进行一些配置,在保存的时候自动去除多余的空格.</font>
+</p>
+<h1 id=aj2. style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m843>命名规范</font>
+</h1>
+<a id=iz-x name=PHPCodingStandard(draft)-AbstractionsUsedinAPI(ClassInterfaces)></a>
+<h2 id=s_:b style=FONT-FAMILY:Verdana>
+ <font color=#000000>总体要求</font>
+</h2>
+<ol id=mwhd1 style=FONT-FAMILY:Verdana>
+ <li id=mwhd2>
+ XOOPS核心中所有的类和函数命名必须以<font color=#000000 id=a1m846>
+ <span id=qv5z0 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">Xoops作为前缀</span>;</font>
+ </li>
+ <ol id=jabs0>
+ <li id=mwhd2>
+ 函数名称首字母要小写<font color=#000000 id=a1m847>; 下列情况要用 "_" 隔开而不是驼峰式写法:</font>
+ </li>
+ <ul id=sy5t0>
+ <li id=mwhd2>
+ <font color=#000000 id=a1m848>核心函数必须以
+ <span id=qv5z1 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">xoops_</span></font>
+ 为前缀
+ </li>
+ <li id=mwhd2>
+ 框架以及其它类库 必须以
+ <font color=#000000 id=a1m850><span id=qv5z2 style="FONT-FAMILY:Georgia; BACKGROUND-COLOR:#ffffff">xoops_[框架或类库标记符]_</span>
+ 为前缀<br id=nalc0>
+ </font>
+ </li>
+ </ul>
+ <li id=mwhd2>
+ 类名字要用驼峰式写法<font color=#000000 id=a1m851>;<br id=yft40>
+ </font>
+ </li>
+ </ol>
+ <li id=mwhd2>
+ <font color=#000000 id=a1m853>XOOPS核心中所有的变量定义必须以
+ <span id=dmw41 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">$xoops</span>
+ 作为前缀,并且采用驼峰式写法.<br id=uwbs0>
+ </font>
+ </li>
+ <ul id=y16.0>
+ <li id=mwhd2>
+ <font color=#000000>私有变量或者局部变量也要采用驼峰式写法</font><br>
+ </li>
+ </ul>
+ <li id=mwhd2>
+ <font color=#000000 id=a1m855>第三方应用程序, 包括模块, 不要以
+ <span id=fmxr0 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">Xoops_</span>
+ 作为前缀,但是要有统一的标识符前缀</font>
+ </li>
+ <ul id=du8d0>
+ <li id=mwhd2>
+ <font color=#000000 id=a1m850>块中类的命名必须以</font><font color=#000000 id=a1m850>
+ <span id=qv5z3 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">[</span></font><font color=#000000 id=a1m850><span id=a.gn0 style=FONT-FAMILY:Georgia>模块标记符,通常为模块目录名称</span></font><font color=#000000 id=a1m850><span id=qv5z3 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">]</span></font><font color=#000000 id=a1m853>
+ 作为前缀如:</font><font color=#000000 id=a1m850>
+ <span id=djrg0 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">N</span><span id=djrg1 style="BACKGROUND-COLOR:#ffffff; FONT-FAMILY:Georgia">ewbbPost</span><br id=rvqu1>
+ </font>
+ </li>
+ <li id=mwhd2>
+ <font color=#000000 id=a1m850>模块中函数命名必须以
+ <span id=a.gn0 style=FONT-FAMILY:Georgia>[模块标记符,通常为模块目录名称]_</span> 作为前缀,
+ 如:
+ <span id=iiv40 style=FONT-FAMILY:Georgia>newbb_getPostCount()</span></font><br id=tz3g0>
+ </li>
+ <li id=mwhd2>
+ <font color=#000000 id=a1m854>模块中变量命名必须以
+ <span id=a.gn1 style=FONT-FAMILY:Georgia>$[模块标记符]</span> 作为前缀, 如:
+ <span id=a.gn2 style=FONT-FAMILY:Georgia>$newbbPostCount</span></font>
+ </li>
+ </ul>
+</ol>
+<h2 id=s_:b style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m856>应用程序接口 (API)</font>
+</h2>
+<p id=r93e style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m857>当程序开发人员创建一个应用程序接口时,如果使用合成词来定义,使用下划线来隔开,而不是使用驼峰式写法.如果需要使用一个字符串,通常是采用小写字面,最好定义一个常量去使用.</font>
+</p>
+<h2 id=dppc0 style=FONT-FAMILY:Verdana>
+ 类<br id=dduc0>
+</h2>
+<a id=k-3d name=PHPCodingStandard(draft)-Classes></a>
+系统<font color=#000000 id=a1m859 style=FONT-FAMILY:Verdana>,
+内核以及框架中类的命名是带有<span id=lf250 style=FONT-FAMILY:Georgia>Xoops的</span>, 如
+<span id=lf251 style=FONT-FAMILY:Georgia>XoopsUser<span id=op5v0 style=FONT-FAMILY:Verdana>,
+</span>XoopsCaptcha</span>.<br id=ig2t0>
+模块中类命名是以[模块标识符]开头,如<span id=zh:m0 style=FONT-FAMILY:Georgia> NewbbPost</span>.<br id=mwhd3>
+</font>
+<h2 id=oiw_ style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m860><a id=t.xa name=PHPCodingStandard(draft)-Interfaces></a>接口</font>
+</h2>
+<p id=xy0f style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m861>接口类的命名规则与其他类的命名规则类似,必须以单词"Interface"结尾如:
+ </font><font color=#000000 id=a1m862 style=FONT-FAMILY:Georgia>XoopsLogger_Interface</font>
+</p>
+<a id=i4ez name=PHPCodingStandard(draft)-Filenames></a>
+<h2 id=okht style=FONT-FAMILY:Verdana>
+ 文件命名
+</h2>
+<p id=i5v4 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m864>对于所有文件,只有字母、数字、下划线和短划线("-")可以使用,不允许使用空格和其他特殊字符.</font>
+</p>
+<p id=lvfc style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m865>只要是包含有PHP代码的文件都必须以".php"为扩展名.<br id=k3qb0>
+ </font>
+</p>
+<font color=#000000 id=c4g4 style=FONT-FAMILY:Verdana>文件名称必须为小写.</font><br id=vqku>
+<h2 id=okht style=FONT-FAMILY:Verdana>
+ 目录命名
+</h2>
+<p id=i5v4 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m864>对于所有目录,只有字母、数字、下划线和短划线("-")可以使用,不允许使用空格和其他特殊字符.</font>
+</p>
+<font color=#000000 id=c4g4 style=FONT-FAMILY:Verdana>目录名称必须为小写<i id=yrrh0>.</i></font>
+<h2 id=l0hf style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m867><a id=f2pv name=PHPCodingStandard(draft)-FunctionsandMethods></a>函数与方法的命名</font>
+</h2>
+<p id=txt. style=FONT-FAMILY:Verdana>
+ 内核<font color=#000000 id=a1m868>, 系统模块中函数的命名遵循
+ <span id=q78u0 style=FONT-FAMILY:Georgia>xoops_doSomething([...])格式</span>.</font>
+</p>
+<p id=m_jp style=FONT-FAMILY:Verdana>
+ 框架中函数的命名以<font color=#000000 id=a1m869>
+ <span id=lmj06 style=FONT-FAMILY:Georgia>xoops_[小写标识符]_ </span>作为前缀, 如
+ <span id=lmj07 style=FONT-FAMILY:Georgia>xoops_pear_doSomething([...])</span>.</font>
+</p>
+<p id=m_jp style=FONT-FAMILY:Verdana>
+ 模块中函数的命名以<font color=#000000 id=a1m869>
+ <span id=lmj06 style=FONT-FAMILY:Georgia>[小写模块标识符]_</span> 作为前缀, 如
+ <span id=lmj07 style=FONT-FAMILY:Georgia>newbb_getTopic([...])</span>.</font>
+</p>
+<p id=m_jp style=FONT-FAMILY:Verdana>
+ <br id=xv6e0>
+</p>
+<p id=m_jp style=FONT-FAMILY:Verdana>
+</p>
+<ul id=y_m60 style=FONT-FAMILY:Verdana>
+ <li id=y_m61>
+ <font color=#000000 id=a1m871>函数名只能包含字母,数字字符和下划线,虽然允许使用数字,但并不提倡.</font>
+ </li>
+ <li id=y_m62>
+ <font color=#000000 id=a1m872>函数名必须以小写字母开始.<br id=c5zj0>
+ </font>
+ </li>
+ <li id=y_m63>
+ <font color=#000000 id=a1m873>为增强代码的可读性,允许命名一定程度的详细和冗长.</font>
+ </li>
+ <li id=y_m64>
+ <font color=#000000 id=a1m874>对于面向对象编程,对象的存取器总是以"get"或"set"为前缀.</font>
+ </li>
+ <li id=y_m65>
+ <font color=#000000 id=a1m875>Class methods that are declared as protected
+ or private are encouraged to follow same style as public methods although it
+ is desired by some external frameworks to begin with a single underscore,
+ i.e. without leading single underscore.</font>
+ </li>
+ <li id=y_m66>
+ <font color=#000000 id=a1m876>本规范不允许有全局范围的函数(即游离于对象之外的函数),这些函数应该包装进一个静态类.</font>
+ </li>
+ <li id=y_m67>
+ <font color=#000000 id=a1m877>在一个类中声明静态方法和变量时要用</font><font color=#000000 id=a1m877>
+ "<span id=ggx_0 style=FONT-FAMILY:Georgia>static</span>"
+ 不要用</font><font color=#000000 id=a1m877>
+ "<span id=ggx_1 style=FONT-FAMILY:Georgia>private</span>"反之亦然,如果使用</font><font color=#000000 id=a1m877>
+ "<span id=ggx_2 style=FONT-FAMILY:Georgia>final</span>" 则这个方法将不能扩展.</font>
+ </li>
+</ul>
+<h3 id=y_m68 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m878><a id=wj35 name=PHPCodingStandard(draft)-OptionalParameters></a>参数</font>
+</h3>
+<p id=uo.v style=FONT-FAMILY:Verdana>
+ 使用<font color=#000000 id=a1m879>
+ "<span id=ggx_3 style=FONT-FAMILY:Georgia>NULL</span>"
+ 代替<font color=#000000 id=a1m4>默认值</font>
+ "<span id=pscv0 style=FONT-FAMILY:Georgia>FALSE</span>", 如:</font>
+</p>
+<blockquote id=q83_0 style=FONT-FAMILY:Verdana>
+ <p id=mgz7>
+ <font color=#000000 id=a1m880>public function foo($required, $optional =
+ NULL)</font>
+ </p>
+</blockquote>
+<p id=iquh style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m881>当 $optional 没有或不需要指定一个特定的默认值.</font>
+</p>
+<p id=gufl style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m882>但是, 如果可选参数是一个布尔值, 其默认的逻辑为"TRUE"或者"FALSE",
+ 可以使用"TRUE"或者"FALSE".</font>
+</p>
+<h2 id=eans0 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m883><a id=lz.r name=PHPCodingStandard(draft)-Variables></a>变量</font>
+</h2>
+<ul id=aw.t0 style=FONT-FAMILY:Verdana>
+ <li id=aw.t1>
+ 系统全局变量必须以<font color=#000000 id=a1m884>
+ <span id=dw-d0 style=FONT-FAMILY:Georgia>$xoops 为前缀</span>,如
+ <span id=dw-d1 style=FONT-FAMILY:Georgia>$xoopsConfig</span></font>
+ </li>
+ <li id=aw.t2>
+ 模块全局变量必须以<font color=#000000 id=a1m884>
+ <span id=dw-d2 style=FONT-FAMILY:Georgia>$[小写模块标记符]</span>为前缀, 并且遵循驼峰式写法, 如
+ <span id=bo6z0 style=FONT-FAMILY:Georgia>$newbbPostCounter</span></font>
+ </li>
+ <li id=aw.t3>
+ 第三方框架类库中的变量定义<br id=y_bw>
+ </li>
+</ul>
+<ul id=aw.t4 style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+ <li id=aw.t5>
+ <font color=#000000 id=a1m885>变量名只能包含字母和数字字符,也允许使用下划线和数字但不提倡的.</font>
+ </li>
+ <li id=aw.t6>
+ <font color=#000000 id=a1m887>在类中声明为public的成员变量则不允许使用下划线.</font>
+ </li>
+ <li id=aw.t6>
+ <font color=#000000 id=a1m886>对于声明为private或protected的类成员变量,命名规范与成员变量一样,即变量名不必使用一个下划线开头.</font>
+ </li>
+ <li id=aw.t8>
+ <font color=#000000 id=a1m888>函数命名,变量命名必须以小写字母开始,而之后的单词,遵循首字母大写的驼峰写法(camelCaps).</font>
+ </li>
+ <li id=aw.t9>
+ 为了增强可读性,变量命名同样需要一定程度的详细和冗长,并且要有实际意义。类似于$i、$n这样的变量命名,除了用于较少代码的循环语句,在其他情况下是不允许的。如果循环语句超过20行代码,那么用于循环的索引变量也应该使用有意义的名字<font color=#000000 id=a1m889>.</font>
+ </li>
+</ul>
+<h2 id=vozm style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m890><a id=mjgi name=PHPCodingStandard(draft)-Constants></a>常量</font>
+</h2>
+<h3 id=qyuu style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m891>Variables<br id=cqe5>
+ </font>
+</h3>
+<p id=lsd0 style=FONT-FAMILY:Verdana>
+ 系统常量以<font color=#000000 id=a1m892>
+ <span id=lq5m0 style=FONT-FAMILY:Georgia>XOOPS_</span> 做为前缀,如
+ <span id=lq5m1 style=FONT-FAMILY:Georgia>XOOPS_URL</span></font>
+</p>
+<p id=t:3q style=FONT-FAMILY:Verdana>
+ 框架常量以<font color=#000000 id=a1m893>
+ <span id=lq5m2 style=FONT-FAMILY:Georgia>XOOPS_[标记符]</span><span id=x_ln0 style=FONT-FAMILY:Georgia>_</span>
+ 做为前缀 如
+ <span id=lq5m3 style=FONT-FAMILY:Georgia>XOOPS_PEAR_CONSTANT</span><br id=f57e0>
+ </font>
+</p>
+<p id=t:3q style=FONT-FAMILY:Verdana>
+ 模块中常量以<font color=#000000 id=a1m893>
+ <span id=lq5m2 style=FONT-FAMILY:Georgia>[模块标记符]</span><span id=x_ln1 style=FONT-FAMILY:Georgia>_
+ 做</span>为前缀如
+ <span id=lq5m3 style=FONT-FAMILY:Georgia>NEWBB_CONSTANT</span></font><br id=ur9:0>
+</p>
+<h3 id=b3_o style=FONT-FAMILY:Verdana>
+ <font color=#000000>语言常量定义规范</font>
+</h3>
+<p id=zl.o style=FONT-FAMILY:Verdana>
+ 必须以下划线开头,如<font color=#000000 id=a1m895>:
+ <span id=i.wa0 style=FONT-FAMILY:Georgia>_XOOPS_LANGUAGE_CONSTANT</span>,
+ <span id=i.wa1 style=FONT-FAMILY:Georgia>_NEWBB_LANGUAGE_CONSTANT</span><br id=wbb90>
+ </font>
+</p>
+<p id=pl0s style=FONT-FAMILY:Verdana>
+ <br id=nb4v>
+</p>
+<ul id=o7500 style=FONT-FAMILY:Verdana>
+ <li id=o7501>
+ <font color=#000000 id=a1m897>常量名允许使用字母和数字字符,与函数命名和变量命名等不同的是,他也允许使用下划线,对数字的使用也没有限制.</font>
+ </li>
+ <li id=o7502>
+ <font color=#000000 id=a1m898>常量的所有字母都必须大写.</font>
+ </li>
+ <li id=o7503>
+ 为了增强可读性<font color=#000000 id=a1m899>, 单词之前以下划线分开. 如,
+ "<span id=u9vt0 style=FONT-FAMILY:Georgia>XOOPS_EMBED_SUPPRESS_EMBED_EXCEPTION</span>"
+ 不要写成
+ "<span id=u6tk0 style=FONT-FAMILY:Georgia>XOOPS_EMBED_SUPPRESSEMBEDEXCEPTION</span>".</font>
+ </li>
+ <li id=o7504>
+ <font color=#000000 id=a1m8100>常量必须使用const指示符定义为类成员,在全局范围使用define定义常量虽然允许,但也不提倡.</font>
+ </li>
+</ul>
+<h2 id=sy4q style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8101><a id=cnxj name=PHPCodingStandard(draft)-BooleansandtheNULLValue></a>布尔值与
+ NULL</font>
+</h2>
+<p id=cm2t style=FONT-FAMILY:Verdana>
+ 如同php手册中所述<font color=#000000 id=a1m8102>,
+ XOOPS同样使用大写字母来编写.</font><br id=fgrs>
+</p>
+<h2 id=mfjp style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8104>模块模板名称定义规范</font>
+</h2>
+<font color=#000000 id=a1m8105 style=FONT-FAMILY:Verdana>To be
+added</font><br id=khf30 style=FONT-FAMILY:Verdana>
+<h1 id=x:lk style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8108><a id=fla2 name=PHPCodingStandard(draft)-CodingStyle></a>编码风格</font>
+</h1>
+<h2 id=jrxq style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8109><a id=cyy6 name=PHPCodingStandard(draft)-PHPCodeDemarcation></a>PHP
+ 代码标记符</font>
+</h2>
+<p id=fb5w style=FONT-FAMILY:Verdana>
+ 在XOOPS中必须使用完整的PHP标记符<font color=#000000 id=a1m8110>, 标准的PHP标记符为:<br id=kcnk0>
+ </font>
+</p>
+<blockquote id=bl1_0 style=FONT-FAMILY:Verdana>
+ <p id=fb5w>
+ <font color=#000000 id=a1m8110><?php<br id=kcnk1>
+ </font>
+ </p>
+ <p id=fb5w>
+ <br id=kcnk2>
+ </p>
+ <div id=kcnk3>
+ <font color=#000000 id=a1m8110>?></font>
+ </div>
+</blockquote>
+<p id=fb5w style=FONT-FAMILY:Verdana>
+</p>
+<p id=zd_e style=FONT-FAMILY:Verdana>
+ 不允许使用简写标记符<font color=#000000 id=a1m8111>.</font>
+</p>
+<h2 id=b0i1 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8112><a id=ck60 name=PHPCodingStandard(draft)-Strings></a>字符串</font>
+</h2>
+<h3 id=se2v style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8113><a id=kz7m name=PHPCodingStandard(draft)-StringLiterals></a>纯文字字符串</font>
+</h3>
+<p id=xjzr style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8114>可以使用双引号和单引来标记字符串.对于纯文字字符串(不包含变量替代),必须使用单引号包含:</font>
+</p>
+<blockquote id=mbxq0>
+ <p id=xjzr style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8114>$a = 'Example String';</font>
+ </p>
+</blockquote>
+<p id=xjzr style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</p>
+<h3 id=mx1l style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8115><a id=g5b1 name=PHPCodingStandard(draft)-StringLiteralsContainingApostrophes></a>字符串中的特殊字符</font>
+</h3>
+<p id=fxto style=FONT-FAMILY:Verdana>
+ 当字符中包含撇符号(`)<font color=#000000 id=a1m8116>和单引号时,可以使用双引号.
+ 这种方式多用于SQL语句的书写:</font>
+</p>
+<blockquote id=iudd0>
+ <div class=code id=nxd- style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8117>$sql = "SELECT `id`, `name` from `people`
+ WHERE `name`='Fred' OR `name`='Susan'";</font>
+ </div>
+</blockquote>
+<div class=code id=nxd- style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<p id=h::5 style=FONT-FAMILY:Verdana>
+ 这样的语法更加清晰.
+</p>
+<h3 id=xn73 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8119><a id=ejq9 name=PHPCodingStandard(draft)-VariableSubstitution></a>含有变量替代的字符串</font>
+</h3>
+<p id=c:5a style=FONT-FAMILY:Verdana>
+ 变量的替换推荐用大括号标记<font color=#000000 id=a1m8121>.</font>
+</p>
+<p id=c:5a style=FONT-FAMILY:Verdana>
+ <br id=ikxo0>
+</p>
+<div class=code id=iii4 style=FONT-FAMILY:Verdana>
+ 推荐<font color=#000000 id=a1m8123>:<br id=q8w60>
+ </font>
+ <blockquote id=iudd1>
+ <font color=#000000 id=a1m8123> $greeting = "Hello {$name}, welcome
+ back!";</font>
+ </blockquote>
+ <div id=em8g0 style=MARGIN-LEFT:40px>
+ </div>
+</div>
+不推荐<font color=#000000 id=a1m8124 style=FONT-FAMILY:Verdana>:<br id=ikxo1>
+</font>
+<blockquote id=iudd2>
+ <div id=em8g1 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8124>$greeting = "Hello $name, welcome back!";
+ </font><br id=hji60>
+ </div>
+</blockquote>
+<p id=o62f style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8125>为了保持一致性,下列方式也是不推荐的:</font>
+</p>
+<blockquote id=iudd3>
+ <div class=code id=a1ef style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8126>$greeting = "Hello ${name}, welcome
+ back!";</font>
+ </div>
+</blockquote>
+<div class=code id=a1ef style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<h3 id=eoa- style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8127><a id=tgap name=PHPCodingStandard(draft)-StringConcatenation></a>字符串连接</font>
+</h3>
+<p id=c7y. style=FONT-FAMILY:Verdana>
+ 多个字符串的可以使用<font color=#000000 id=a1m8128> "."
+ 符号连接.使用</font><font color=#000000 id=a1m8129>
+ "."符号时必须在其前后加入一个空格,这样可以增强可读性如:</font>
+</p>
+<blockquote id=ydbb0>
+ <div class=code id=ks.g style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8130>$project = 'Xoops' . ' ' . 'Project';</font>
+ </div>
+</blockquote>
+<div class=code id=ks.g style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<p id=ipro style=FONT-FAMILY:Verdana>
+ 当使用<font color=#000000 id=a1m2> "."
+ </font>操作符连接多个字符串时,可以把语句拆分成多行来增强可读性,对于这种情况,每个后续行应该使用空格填充,使<font color=#000000 id=a1m3>
+ "." </font>操作符刚好对齐在"="下面:<font color=#000000>:</font>
+</p>
+<blockquote id=henz0>
+ <div class=code id=kjdv style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8132>$sql = "SELECT `id`, `name` FROM `people`
+ "</font><br id=puoh0>
+ <font color=#000000 id=a1m8132> . "WHERE `name` =
+ 'Susan' " </font><br id=puoh1>
+ <font color=#000000 id=a1m8132> . "ORDER
+ BY `name` ASC ";</font>
+ </div>
+</blockquote>
+<div class=code id=kjdv style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<h2 id=v:ac style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8133><a id=j.w4 name=PHPCodingStandard(draft)-Arrays></a>数组</font>
+</h2>
+<h3 id=dnrx style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8134><a id=qpg0 name=PHPCodingStandard(draft)-NumericallyIndexedArrays></a>数字索引数组</font>
+</h3>
+<p id=juf0 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8135>数组的索引不允许使用负数。</font>
+</p>
+<p style=FONT-FAMILY:Verdana>
+ <font color=#000000> 索引数组可以使用任何非负整数开始,但并不提倡这么做,建议每个数组都应该使用索引0开始。 </font>
+</p>
+<p style=FONT-FAMILY:Verdana>
+ <font color=#000000>当使用array关键字定义索引数组时,每个逗号后面都应该跟随一个空格字符,目的是增强可读性:</font>
+</p>
+<blockquote id=uzyb0>
+ <div class=code id=e7i2 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8138>$sampleArray = array(1, 2, 3, 'XOOPS',
+ 'Project');</font>
+ </div>
+</blockquote>
+<div class=code id=e7i2 style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<p id=rxm2 style=FONT-FAMILY:Verdana>
+ 使用array关键字定义索引数组的语句可以拆成多行,这种情况下每个后续行都应该使用空格填充头部,使每行以如下的形式保持对齐:
+</p>
+<blockquote id=uzyb1>
+ <div class=code id=ip7: style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8140>$sampleArray = array(1, 2, 3, 'XOOPS',
+ 'Project', </font><br id=ye-p0>
+ <font color=#000000 id=a1m8140>
+ $a, $b, $c, </font><br id=ye-p1>
+ <font color=#000000 id=a1m8140>
+ 56.44, $d, 500);</font>
+ </div>
+</blockquote>
+<div class=code id=ip7: style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<h3 id=g.gk style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8141><a id=qroc name=PHPCodingStandard(draft)-AssociativeArrays></a>关联数组</font>
+</h3>
+<p id=e9cd style=FONT-FAMILY:Verdana>
+ 当使用array关键字定义关联数组时,建议把语句拆分成多行,对于这种情况,应该使用空格使每一行的键和值分别对齐<font color=#000000 id=a1m8143>:</font>
+</p>
+<blockquote id=h10t0>
+ <div class=code id=xfwh style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8144>$sampleArray =
+ array('firstKey' =>
+ 'firstValue',<br id=sxfu0>
+
+ 'secondKey' => 'secondValue');<br id=sxfu1>
+ </font>
+ </div>
+</blockquote>
+<div class=code id=xfwh style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<h2 id=sja6 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8145><a id=mq_0 name=PHPCodingStandard(draft)-Classes></a>类</font>
+</h2>
+<h3 id=hhko style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8146><a id=dl_w name=PHPCodingStandard(draft)-ClassDeclarations></a>类的声明</font>
+</h3>
+<p id=r2px style=FONT-FAMILY:Verdana>
+ 类的声明应该遵守以下要求:
+</p>
+<ul>
+ <li>
+ 大括号必须写在类名字的下一行<font color=#000000 id=a1m8149>.</font>
+ </li>
+ <li>
+ 每个类都必须有一个遵守PHPDocumentor标准的注释文档块<font color=#000000 id=a1m8151>.</font>
+ </li>
+ <li>
+ 类内部的代码都必须缩进4个空格<font color=#000000 id=a1m8153>.</font>
+ </li>
+ <li>
+ <font color=#000000 id=a1m8154>一个PHP文件只允许有一个类.</font>
+ </li>
+ <li>
+ 在一个类文件里可以放置其他代码,但不提倡,对于这种情况,必须使用2个空行,把类代码和其他PHP代码分开<font color=#000000 id=a1m8156>.</font>
+ </li>
+</ul>
+<p id=pdg5 style=FONT-FAMILY:Verdana>
+ 下面是一个规范的类的声明:
+</p>
+<blockquote id=h3r50>
+ <div id=ou0y0>
+ /**<br id=ou0y1>
+ * 类说明的注释块<br id=ou0y2>
+ */<br id=ou0y3>
+ class XoopsClass<br id=ou0y4>
+ {<br id=ou0y5>
+ // 类的内部代码<br id=ou0y6>
+ // 必须缩进4个空格<br id=ou0y7>
+ }<br id=dmt30>
+ </div>
+</blockquote>
+<h3 id=ktji style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8157><a id=pkie name=PHPCodingStandard(draft)-ClassMemberVariables></a>类成员变量</font>
+</h3>
+<p id=yxhp style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8158>成员变量的命名必须遵守变量命名规则.</font>
+</p>
+<p id=irhp style=FONT-FAMILY:Verdana>
+ 类成员变量的声明必须位于类的顶部,在函数定义之前<font color=#000000 id=a1m8160>.</font>
+</p>
+<p id=yr3: style=FONT-FAMILY:Verdana>
+ 不允许使用var关键字,成员变量的声明必须使用关键字:private、protected或者public。尽管可以通过把变量声明为public,以便直接访问成员变量,但本规范推荐使用get/set存取符来访问变量<font color=#000000 id=a1m8162>.</font>
+</p>
+<h2 id=wd:l style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8163><a id=zenr name=PHPCodingStandard(draft)-FunctionsandMethods></a>函数与方法</font>
+</h2>
+<h3 id=w_ue style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8164><a id=g859 name=PHPCodingStandard(draft)-FunctionandMethodDeclaration></a>函数与方法的定义</font>
+</h3>
+<p id=no_7 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8165>函数命名必须遵循命名规范.</font>
+</p>
+<p id=b6nz style=FONT-FAMILY:Verdana>
+ 类内部的函数必须使用private、protected和public等关键字,表示该函数的可见性<font color=#000000 id=a1m8167>.</font>
+</p>
+<p id=xf30 style=FONT-FAMILY:Verdana>
+ 声明静态变量的时候,众多PHP社区习惯写在类的最前面<font color=#000000 id=a1m8169>:</font>
+</p>
+<blockquote id=h3r51>
+ <div class=code id=hfvo style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8170>public static
+ foo() { ... }<br id=i1.00>
+ private static bar() { ... }<br id=i1.01>
+ protected static goo() { ... }<br id=i1.02>
+ </font>
+ </div>
+</blockquote>
+<div class=code id=hfvo style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<p id=ylk2 style=FONT-FAMILY:Verdana>
+ 函数里大括号的用法与类一致,即大括号必须位于函数名字的下一行,函数名字与括号之间没有空格<font color=#000000 id=a1m8173>.</font>
+</p>
+<p id=iprd style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8174>下面是规范的类成员函数的书写方法:</font>
+</p>
+<blockquote id=i1.03>
+ <div class=code id=wdg6 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8175>/**<br id=dpro0>
+ * 类说明文档的注释块<br id=dpro1>
+ */<br id=dpro2>
+ class XoopsFoo<br id=dpro3>
+ {<br id=dpro4>
+ /**<br id=dpro5>
+ * 方法说明文档的注释块<br id=dpro6>
+ */<br id=dpro7>
+ public function sampleMethod($a)<br id=dpro8>
+ {<br id=dpro9>
+ // 函数的内部内容<br id=dpro10>
+ // 必须缩进4个空格<br id=dpro11>
+ }<br id=dpro12>
+ <br id=dpro13>
+ /**<br id=dpro14>
+ *方法说明文档的注释块<br id=dpro15>
+ */<br id=dpro16>
+ protected function _anotherMethod()<br id=dpro17>
+ {<br id=dpro18>
+ // ...<br id=dpro19>
+ }<br id=dpro20>
+ }<br id=dpro21>
+ </font>
+ </div>
+</blockquote>
+<br id=c251>
+<p id=dcb5 style=FONT-FAMILY:Verdana>
+ 返回值(return)不允许使用括号<font color=#000000 id=a1m8178>. This can hinder readability
+ and can also break code if a function or method is later changed to return by
+ reference.</font>
+</p>
+<blockquote id=bspa0>
+ <div class=code id=jy8d style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8179>function foo()<br id=s.b90>
+ {<br id=s.b91>
+ // 错误的写法<br id=s.b92>
+ return($this->bar);<br id=s.b93>
+ <br id=s.b94>
+ // 正确的写法<br id=s.b95>
+ return $this->bar;<br id=s.b96>
+ }<br id=s.b97>
+ </font>
+ </div>
+</blockquote>
+<p id=b03j style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8180>The use of <span class=nobr id=qhr.>type
+ hinting</span> is encouraged where possible with respect to the component
+ design. For example,</font>
+</p>
+<blockquote id=b9ma0>
+ <p id=b03j style=FONT-FAMILY:Verdana>
+ class XoopsComponent<br id=b9ma1>
+ {<br id=b9ma2>
+ public function foo(SomeInterface $object)<br id=b9ma3>
+ {}<br id=b9ma4>
+ <br id=b9ma5>
+ public function bar(array $options)<br id=b9ma6>
+ {}<br id=b9ma7>
+ }<br id=pv.j0>
+ </p>
+</blockquote>
+<h3 id=u4nn style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8182><a id=ef5q name=PHPCodingStandard(draft)-FunctionandMethodUsage></a>函数和方法的用法</font>
+</h3>
+<p id=tddu style=FONT-FAMILY:Verdana>
+ 禁止使用全局函数.
+</p>
+<p id=tddu style=FONT-FAMILY:Verdana>
+ 如果函数有多个参数,需要在每个逗号后面添加一个空格<font color=#000000>,如下例所示</font><font color=#000000 id=a1m8184>:</font>
+</p>
+<blockquote id=b9ma8>
+ <div class=code id=f4g4 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8185>threeArguments(1, 2, 3);</font>
+ </div>
+</blockquote>
+<div class=code id=f4g4 style="MARGIN-LEFT:40px; FONT-FAMILY:Verdana">
+</div>
+<p id=jeu5 style=FONT-FAMILY:Verdana>
+ 调用阶段不允许传递引用传递参数,而应该把他放在函数定义阶段<font color=#000000>.</font>
+</p>
+<p id=aew4 style=FONT-FAMILY:Verdana>
+ 对于允许使用数组参数的函数,函数调用允许使用array声明语句,并且允许分割成多行,同时需要通过缩进保持可读性,例如下面的例子<font color=#000000>:</font>
+</p>
+<blockquote id=b9ma9>
+ <div class=code id=lzoa style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8188>threeArguments(array(1, 2, 3), 2, 3);<br id=j21c0>
+ <br id=j21c1>
+ threeArguments(array(1, 2, 3, 'XOOPS', 'Project',<br id=j21c2>
+
+ $a, $b, $c,<br id=j21c3>
+
+ 56.44, $d, 500), 2, 3);<br id=j21c4>
+ </font>
+ </div>
+</blockquote>
+<h2 id=m7jc style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8189><a id=tcuh name=PHPCodingStandard(draft)-ControlStatements></a>控制语句</font>
+</h2>
+<h3 id=oq2l style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8190><a id=au82 name=PHPCodingStandard(draft)-If/Else/Elseif></a>If
+ / Else / Elseif</font>
+</h3>
+<p id=z:rs style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8191>控制语句中if和elseif关键字之后,必须一个空格与后面的左括号分割,右括号后面也必须有一个空格.</font>
+</p>
+<p id=svta style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8192>在括号里面的条件语句,操作符两边必须有空格以保持可读性,如果括号里的条件较多,建议根据逻辑分组通过添加括号.</font>
+</p>
+<p id=ffq6 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8193>左大括号应该写在条件语句的同一行,而右大括号应该独自放在一行,括号内部的内容应该缩进4个字符.</font>
+</p>
+<blockquote id=ikzl0>
+ <div class=code id=qhvw style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8194>if ($a != 2) {<br id=lqrf0>
+ $a = 2;<br id=lqrf1>
+ }<br id=lqrf2>
+ </font>
+ </div>
+</blockquote>
+<p id=iifg style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8195>对于包含有elseif或else的if语句,其格式要求参照如下例子:</font>
+</p>
+<blockquote id=ikzl1>
+ <div class=code id=m8hn style=FONT-FAMILY:Verdana>
+ if ($a != 2) {<br id=ew4w0>
+ $a = 2;<br id=ew4w1>
+ } else {<br id=ew4w2>
+ $a = 7;<br id=ew4w3>
+ } <br id=ew4w4>
+ <br id=ew4w5>
+ if ($a != 2) {<br id=ew4w6>
+ $a = 2;<br id=ew4w7>
+ } elseif ($a == 3) {<br id=ew4w8>
+ $a = 4;<br id=ew4w9>
+ } else {<br id=ew4w10>
+ $a = 7;<br id=ew4w11>
+ }<br id=ew4w12>
+ </div>
+</blockquote>
+<p id=pizb style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8197>尽管PHP允许在某些情况下这些语句里可以不使用大括号,但我们的编码规范里不允许这么做,所有的if、elseif和else语句都必须使用大括号.</font>
+</p>
+<h3 id=jkwb style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8199><a id=guu6 name=PHPCodingStandard(draft)-Switch></a>Switch</font>
+</h3>
+<p id=jl2_ style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8200>尽管PHP允许在某些情况下这些语句里可以不使用大括号,但我们的编码规范里不允许这么做,所有的if、elseif和else语句都必须使用大括号.</font>
+</p>
+<p id=h2-0 style=FONT-FAMILY:Verdana>
+ switch内部的内容不用缩进,每个case语句下的内容也同样缩进4个空格<font color=#000000 id=a1m8202>.</font>
+</p>
+<blockquote id=p0e20>
+ <div class=code id=npf2 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8203>switch ($numPeople) {<br id=ugs90>
+ case 1:<br id=ugs91>
+ break;<br id=ugs92>
+ <br id=ugs93>
+ case 2:<br id=ugs94>
+ break;<br id=ugs95>
+ <br id=ugs96>
+ default:<br id=ugs97>
+ break;<br id=ugs98>
+ }<br id=ugs99>
+ </font>
+ </div>
+</blockquote>
+<p id=g7k6 style=FONT-FAMILY:Verdana>
+ switch语句中都必须有一个default语句,不能省略<font color=#000000 id=a1m8205>.</font>
+</p>
+<br id=kvp6>
+<h2 id=vwuj style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8207><a id=s4jw name=PHPCodingStandard(draft)-InlineDocumentation></a>内部文档化</font>
+</h2>
+<h3 id=el_l style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8208><a id=uc0s name=PHPCodingStandard(draft)-DocumentationFormat></a>文档格式</font>
+</h3>
+<p id=ha:b style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8209>所有的文档块(即docblocks)都必须遵循phpDocumentor格式,这里不对phpDocumentor格式多做介绍,具体请参考网站http://phpdoc.org.</font>
+</p>
+<p id=vra1 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8210>所有为XOOPS平台写的或者应用在XOOPS平台的源代码文件,都必须在每个文件顶部包含文件级的文档块,以及在每个类定义的上边包含类级的文档块.<br id=cupd0>
+ </font>
+</p>
+<p id=trgq style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8211>不能用'#'作为注释的标记符.</font>
+</p>
+<h3 id=gqd3 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8212><a id=b9uw name=PHPCodingStandard(draft)-Files></a>文件中的文档块</font>
+</h3>
+<p id=lbyq style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8215>任何包含PHP代码的文件都必须在其顶部包含文档块,并至少包含以下phpDocumentor标记:</font>
+</p>
+<blockquote id=p0e21>
+ <div class=code id=zb54>
+ <div id=i.ch1>
+ <p id=p0e22>
+ /**
+ </p>
+ <p id=p0e23>
+ * 关于本文件的简要说明
+ </p>
+ <p id=p0e24>
+ *
+ </p>
+ <p id=p0e25>
+ * 关于本文件的详细描述(如果有的话)...
+ </p>
+ <p id=p0e26>
+ *<br id=okzt0>
+ * 许可信息<br id=okzt1>
+ *<br id=okzt2>
+ * You may not change or alter any portion of this comment or
+ credits
+ </p>
+ <p id=p0e27>
+ * of supporting developers from this source code or any supporting
+ source code
+ </p>
+ <p id=p0e28>
+ * which is considered copyrighted (c) material of the original
+ comment or credit authors.<br id=okzt3>
+ *<br id=y:rm4>
+ * @copyright The XOOPS Project
+ http://sourceforge.net/projects/xoops/
+ </p>
+ <p id=p0e29>
+ * @license
+ http://www.fsf.org/copyleft/gpl.html GNU public license
+ </p>
+ <p id=p0e210>
+ * @author 作者名称 <author
+ email, or website>
+ </p>
+ <p id=p0e211>
+ * @version $Id$
+ </p>
+ <p id=p0e212>
+ * @since File
+ available since Release 3.0.0
+ </p>
+ <p id=p0e213>
+ */<br id=y:rm10>
+ </p>
+ </div>
+ </div>
+</blockquote>
+<h3 id=wdgo style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8217><a id=m2-s name=PHPCodingStandard(draft)-Classes></a>类中的文档块</font>
+</h3>
+<p id=oqtm style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8218>每个类级别的文档块都必须至少包含以下phpDocumentor标记:</font>
+</p>
+<blockquote id=kear0>
+ <div class=code id=vwln>
+ <div id=i.ch2>
+ /**<br id=nse00>
+ * 类的简单说明<br id=nse01>
+ *<br id=nse02>
+ * 类的详细说明 (如果有的话)...<br id=nse03>
+ *<br id=nse04>
+ * @copyright The XOOPS Project
+ http://sourceforge.net/projects/xoops/<br id=y:rm5>
+ * @license
+ http://www.fsf.org/copyleft/gpl.html GNU public license<br id=y:rm6>
+ * @author Author Name
+ <author email, or website><br id=y:rm7>
+ * @version $Id$<br id=y:rm8>
+ * @since File
+ available since Release 3.0.0<br id=nse09>
+ */
+ </div>
+ </div>
+</blockquote>
+<h3 id=vvj1 style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8220><a id=p_3l name=PHPCodingStandard(draft)-Functions></a>
+ 函数中的文档块</font>
+</h3>
+<p id=ti7b style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8221>每个函数,包括对象方法,都必须包含至少下列文档块:</font>
+</p>
+<ul id=tcrh style=FONT-FAMILY:Verdana>
+ <li id=b7ai>
+ 函数功能描述
+ </li>
+ <li id=z6yv>
+ 所有的参数
+ </li>
+ <li id=h50l>
+ <font color=#000000 id=a1m8224> 所有可能返回的值<br id=y5-30>
+ </font>
+ </li>
+</ul>
+<br id=ftwe>
+<div class=code id=glj. style=FONT-FAMILY:Verdana>
+ <blockquote id=kear1>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia>/**
+ </font><br id=y5-31>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia> *
+ 关于函数的说明</font><br id=y5-32>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia> *
+ </font><br id=y5-33>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia> *
+ @param Place $where Where
+ something interesting takes place</font><br id=e5m:1>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia> *
+ @param integer $repeat How many times
+ something interesting should happen</font><br id=e5m:2>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia> *
+ @return Status </font><br id=y5-36>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia> */
+ </font><br id=y5-37>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia>public function
+ xoops_doSomethingInteresting(Place $where, $repeat = 1) </font><br id=kua-0>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia>{
+ </font><br id=kua-1>
+ <font color=#000000 id=a1m8226 style=FONT-FAMILY:Georgia>
+ // implementation... </font><br id=kua-2>
+ <font color=#000000 id=a1m8226>}</font>
+ </blockquote>
+ <div id=e5m:0 style=MARGIN-LEFT:40px>
+ </div>
+</div>
+<h3 id=skal style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8227><a id=t7xj name=PHPCodingStandard(draft)-Require/Include></a>Require
+ / Include</font>
+</h3>
+<p id=popi style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8228>If a component uses another component, then the
+ using component is responsible for loading the other component. If the use is
+ conditional, then the loading should also be conditional.</font>
+</p>
+<p id=kmmz style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8229>If the file(s) for the other component should
+ always load successfully, regardless of input, then use PHP's
+ <span id=jes.0 style=FONT-FAMILY:Georgia>require_once</span> statement.<br id=ypnw>
+ Use <span id=jes.1 style=FONT-FAMILY:Georgia>XoopsLoad::load()</span> to load
+ configured classes.</font>
+</p>
+<p id=r-bn style=FONT-FAMILY:Verdana>
+ <font color=#000000 id=a1m8230>The
+ <span id=ru9.0 style=FONT-FAMILY:Georgia>include</span>,
+ <span id=m4ag0 style=FONT-FAMILY:Georgia>include_once</span>,
+ <span id=m4ag1 style=FONT-FAMILY:Georgia>require</span>, and
+ <span id=m4ag2 style=FONT-FAMILY:Georgia>require_once</span> statements should
+ not use parentheses.</font><br id=h8:50>
+</p>
+<h1 id=bfxw0 style=FONT-FAMILY:Verdana>
+ 错误与异常
+</h1>
+<p id=h8:51 style=FONT-FAMILY:Verdana>
+ The XOOPS Project codebase must be
+ <span id=qoix0 style=FONT-FAMILY:Georgia>E_STRICT</span> compliant. XOOPS code
+ should not emit PHP warning
+ (<span id=sq.t0 style=FONT-FAMILY:Georgia>E_WARNING</span>,
+ <span id=sq.t1 style=FONT-FAMILY:Georgia>E_USER_WARNING</span>), notice
+ (<span id=sq.t2 style=FONT-FAMILY:Georgia>E_NOTICE</span>,
+ <span id=sq.t3 style=FONT-FAMILY:Georgia>E_USER_NOTICE</span>), or strict
+ (<span id=sq.t4 style=FONT-FAMILY:Georgia>E_STRICT</span>) messages when
+ <span id=lyb20 style=FONT-FAMILY:Georgia>error_reporting</span> is set to
+ <span id=ygql0 style=FONT-FAMILY:Georgia>E_ALL | E_STRICT</span>.
+</p>
+<p id=h8:55 style=FONT-FAMILY:Verdana>
+ See
+ <span id=z1zg0 style=FONT-FAMILY:Georgia>http://www.php.net/errorfunc</span>
+ for information on <span id=ygql1 style=FONT-FAMILY:Georgia>E_STRICT</span>.
+</p>
+<p id=h8:55 style=FONT-FAMILY:Verdana>
+ <br id=t1v-0>
+</p>
+<p id=h8:58 style=FONT-FAMILY:Verdana>
+ XOOPS code should not emit PHP errors, if it is reasonably possible. Instead,
+ log each error with meaningful messages using
+ <span id=z1zg1 style=FONT-FAMILY:Georgia>trigger_error</span> function then
+ XOOPS will use custom error handler for subsequent processing.
+</p>
+<br id=zx730 style=FONT-FAMILY:Verdana>
+<p id=h8:58 style=FONT-FAMILY:Verdana>
+ <br id=zx731>
+</p>
+<hr id=zx732 style="WIDTH:100%; HEIGHT:2px; FONT-FAMILY:Verdana">
+<p id=h8:58 style=FONT-FAMILY:Verdana>
+ <br id=t1v-1>
+</p>
+<p id=r-bn style=FONT-FAMILY:Verdana>
+</p>
+<a id=q_45 name=PHPCodingStandard(draft)-ErrorsandExceptions></a>
+注解<font color=#000000 id=a1m8232 style=FONT-FAMILY:Verdana>:<br id=v.7l0>
+</font>
+<ol id=znxt0>
+ <li id=znxt1>
+ 驼峰式写法(<font color=#000000 id=a1m8232 style=FONT-FAMILY:Verdana>camelCaps) -
+ 当一个字符串由多个词语组成,第2个及其以后的单词的首字母均大写. 这种方式就称为驼峰式写法(camelCaps).</font>
+ </li>
+</ol>
+<font color=#000000 id=a1m8232 style=FONT-FAMILY:Verdana><br id=v.7l1>
+<br id=znxt2>
+基于
+<a href=http://framework.zend.com/wiki/display/ZFDEV/PHP+Coding+Standard+%28draft%29 id=czj8 target=_blank title="Zend framework PHP Coding Standard (draft)">Zend
+framework PHP Coding Standard (draft)</a></font><br>
+原始文档
+<a href=http://docs.google.com/View?docID=dgb3svsv_86dx8xcsfr id=isx3 target=_blank title="Google Docs">Google
+Docs</a><br>
+<br></body>
+</html>
\ No newline at end of file
Modified: XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/admin.php
===================================================================
--- XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/admin.php 2008-12-08 09:31:59 UTC (rev 2588)
+++ XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/admin.php 2008-12-08 09:37:24 UTC (rev 2589)
@@ -43,10 +43,14 @@
// advisory.php
define("_AM_ADV_NOTSECURE","不安全");
+define("_AM_ADV_TRUSTPATHPUBLIC","如果你可以看到显示 -NG- 的图片或返回页面是正常的, 说明 XOOPS_TRUST_PATH 目录位置有安全问题. 最好把 XOOPS_TRUST_PATH 目录转移到网站根目录以外.如果你不能执行这一步操作, 你必须放置一个名为 .htaccess (内容为: DENY FROM ALL)的文件在 XOOPS_TRUST_PATH 目录下.");
+define("_AM_ADV_TRUSTPATHPUBLICLINK","检测在 TRUST_PATH 目录下的文件是否安全 (你所看到的必须是404,403或500 错误提示,否则请按照下列提示调整)");
+
+
define("_AM_ADV_REGISTERGLOBALS","该设置存在注入式攻击的漏洞.<br />If you can put .htaccess, edit or create...");
define("_AM_ADV_ALLOWURLFOPEN","该设置允许攻击者执行远程服务器上的任意代码.<br />只有系统管理员才能修改次选项.<br />如果你是系统管理员,请编辑 php.ini 或 httpd.conf.<br /><b>例子 httpd.conf:<br /> php_admin_flag allow_url_fopen off</b><br />否则, 请联系您的系统管理员.");
define("_AM_ADV_USETRANSSID","你的session ID 会显示在锚点链接中<br />为了防止 session 拦截,在 XOOPS_ROOT_PATH 下的 .htaccess 中添加一行.<br /><b>php_flag session.use_trans_sid off</b>");
-define("_AM_ADV_DBPREFIX","该设置存在'SQL注入式'攻击漏洞.<br />不要忘记在本模块的基本参数设置中启用 '*过滤(Force sanitizing *)' 功能。");
+define("_AM_ADV_DBPREFIX","该设置存在'SQL注入式'攻击漏洞.<br />不要忘记在本模块的基本参数设置中启用 '过滤*(Force sanitizing *)' 功能。");
define("_AM_ADV_LINK_TO_PREFIXMAN","数据库表名前缀管理");
define("_AM_ADV_MAINUNPATCHED","请按照发布说明中相关提示,配置 mainfile.php 。");
Modified: XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/main.php
===================================================================
--- XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/main.php 2008-12-08 09:31:59 UTC (rev 2588)
+++ XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/main.php 2008-12-08 09:37:24 UTC (rev 2589)
@@ -4,4 +4,8 @@
define('_MD_PROTECTOR_TURNJAVASCRIPTON','允许JavaScript') ;
define('_MD_PROTECTOR_DENYBYRBL','Protector拒绝你的post, 因为你的IP已被记录在RBL中') ;
+define('_MD_PROTECTOR_FMT_JAILINFO','此记录将在 %s 过期') ;
+define('_MD_PROTECTOR_FMT_JAILTIME','Y-m-j H:i:s') ;
+define('_MD_PROTECTOR_BANDWIDTHLIMITED','网站流量过大. 稍后再试.') ;
+
?>
\ No newline at end of file
Modified: XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php
===================================================================
--- XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php 2008-12-08 09:31:59 UTC (rev 2588)
+++ XoopsLanguages/chinese/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/schinese_utf8/modinfo.php 2008-12-08 09:37:24 UTC (rev 2589)
@@ -23,6 +23,10 @@
define($constpref.'_GLOBAL_DISBL','暂停保护');
define($constpref.'_GLOBAL_DISBLDSC','所有保护将被停止。<br />别忘了,网站维护后要关闭此项。');
+define($constpref.'_DEFAULT_LANG','默认语言');
+//define($constpref.'_DEFAULT_LANGDSC','Specify the language set to display messages before processing common.php');
+
+
define($constpref.'_RELIABLE_IPS','信任 IP 地址');
define($constpref.'_RELIABLE_IPSDSC','请用 | 分隔关键词。<br />^aaa.bbb.ccc 将拒绝以aaa.bbb.ccc开头的IP地址的访问。<br />
aaa.bbb.ccc$ 将允许以aaa.bbb.ccc结尾的IP地址的访问。<br />
@@ -62,6 +66,9 @@
define($constpref.'_BF_COUNT','反暴力破解');
define($constpref.'_BF_COUNTDSC','设置最多重试登录时间为10分钟。如果有人失败的时间超过了这个时间限制,他/她的IP地址将被禁止。');
+define($constpref.'_BWLIMIT_COUNT','带宽限制');
+define($constpref.'_BWLIMIT_COUNTDSC','在浏览网站时,指定通过 mainfile.php 的最大的连接数. 如果设置为0则为正常的服务器环境,所有的带宽和CPU都可以使用. 如果小于 10 将被忽略.');
+
define($constpref.'_DOS_SKIPMODS','不检测 DDoS/(爬虫)Crawler 的模块');
define($constpref.'_DOS_SKIPMODSDSC','设置模块的目录以“|”隔开. 这个选项是非常有用的,比如聊天室模块等等。');
@@ -100,10 +107,10 @@
define($constpref.'_BIGUMBRELLA','跨站攻击拦截 (BigUmbrella)');
define($constpref.'_BIGUMBRELLADSC','此功能可以保护你的网站不会受到由XSS漏洞导致的攻击。但是不能够 100% 的拦截。');
-define($constpref.'_SPAMURI4U','反垃圾邮件(anti-SPAM): URLs for normal users');
-define($constpref.'_SPAMURI4UDSC','If this number of URLs are found in POST data from users other than admin, the POST is considered as SPAM. 填0表示禁用此功能.');
-define($constpref.'_SPAMURI4G','反垃圾邮件(anti-SPAM): URLs for guests');
-define($constpref.'_SPAMURI4GDSC','If this number of URLs are found in POST data from guests, the POST is considered as SPAM. 填0表示禁用此功能.');
+define($constpref.'_SPAMURI4U','反垃圾(anti-SPAM): 普通用户');
+define($constpref.'_SPAMURI4UDSC','设置提交时允许包含的超级链接条数.如果用户提交的内容中包含的超级链接数目超出此设置则被确认为垃圾信息,管理员除外. 填0表示禁用此功能.');
+define($constpref.'_SPAMURI4G','反垃圾(anti-SPAM): 游客');
+define($constpref.'_SPAMURI4GDSC','设置提交时允许包含的超级链接条数.如果游客提交的内容中包含的超级链接数目超出此设置则被确认为垃圾信息. 填0表示禁用此功能.');
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
...
[truncated message content] |
|
From: <ez...@us...> - 2008-12-08 09:32:02
|
Revision: 2588
http://xoops.svn.sourceforge.net/xoops/?rev=2588&view=rev
Author: ezsky
Date: 2008-12-08 09:31:59 +0000 (Mon, 08 Dec 2008)
Log Message:
-----------
Added Paths:
-----------
XoopsLanguages/chinese/core/2.3.2b_utf8/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2008-12-07 18:23:34
|
Revision: 2587
http://xoops.svn.sourceforge.net/xoops/?rev=2587&view=rev
Author: anderssk
Date: 2008-12-07 18:23:19 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
Upload 2.3.2b version
Added Paths:
-----------
XoopsLanguages/danish/core/2.3.2b_utf8/
XoopsLanguages/danish/core/2.3.2b_utf8/docs/
XoopsLanguages/danish/core/2.3.2b_utf8/docs/changelog.txt
XoopsLanguages/danish/core/2.3.2b_utf8/docs/images/
XoopsLanguages/danish/core/2.3.2b_utf8/docs/install.html
XoopsLanguages/danish/core/2.3.2b_utf8/extras/
XoopsLanguages/danish/core/2.3.2b_utf8/extras/altsys_functions.txt
XoopsLanguages/danish/core/2.3.2b_utf8/extras/mainfile.dist.php.txt
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/cache/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/cache/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/cache/readme.txt
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/auth.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/auth_ads.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/auth_ldap.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/auth_provisionning.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/auth_xoops.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/authfactory.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/auth/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/apc.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/file.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/memcache.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/model.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/xcache.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/cache/xoopscache.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/config.image.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background00.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background01.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background02.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background03.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background04.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background05.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background06.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background07.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background08.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background09.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/background10.png
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/backgrounds/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/Vera.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraBI.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraBd.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraIt.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraMoBI.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraMoBd.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraMoIt.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraMono.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/VeraSe.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/fonts/verasebd.ttf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/scripts/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/scripts/image.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image/scripts/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/image.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/text.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/captcha/xoopscaptcha.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/database/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/database/database.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/database/databasefactory.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/database/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/database/mysqldatabase.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/database/sqlutility.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/file/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/file/file.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/file/folder.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/file/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/file/xoopsfile.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/ChangeLog.txt
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/LICENSE
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/README
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/class.phpmailer.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/class.pop3.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/class.smtp.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/codeworxtech.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-br.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ca.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-cz.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-de.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-dk.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-en.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-es.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-et.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-fi.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-fo.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-fr.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-hu.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-it.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ja.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-nl.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-no.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-pl.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ro.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-ru.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-se.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/phpmailer/language/phpmailer.lang-tr.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/mail/xoopsmultimailer.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/joint.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/read.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/stats.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/sync.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/write.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/model/xoopsmodel.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/module.textsanitizer.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/Config_File.class.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/Smarty.class.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/Smarty_Compiler.class.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/configs/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/configs/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/configs/test.conf
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/debug.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.assemble_plugin_filepath.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.assign_smarty_interface.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.create_dir_structure.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.display_debug_console.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.get_include_path.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.get_microtime.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.get_php_resource.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.is_secure.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.is_trusted.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.load_plugins.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.load_resource_plugin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.process_cached_inserts.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.process_compiled_include.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.read_cache_file.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.rm_auto.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.rmdir.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.run_insert_handler.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.smarty_include_php.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.write_cache_file.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.write_compiled_include.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.write_compiled_resource.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/core.write_file.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/internals/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/block.textformat.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/compiler.assign.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.assign_debug_info.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.config_load.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.counter.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.cycle.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.debug.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.eval.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.fetch.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.html_checkboxes.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.html_image.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.html_options.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.html_radios.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.html_select_date.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.html_select_time.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.html_table.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.mailto.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.math.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.popup.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/function.popup_init.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.capitalize.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.cat.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.count_characters.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.count_paragraphs.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.count_sentences.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.count_words.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.date_format.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.debug_print_var.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.default.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.escape.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.indent.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.lower.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.nl2br.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.regex_replace.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.replace.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.spacify.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.string_format.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.strip.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.strip_tags.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.truncate.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.upper.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/modifier.wordwrap.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/outputfilter.trimwhitespace.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/shared.escape_special_chars.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/plugins/shared.make_timestamp.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/compiler.foreachq.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/compiler.includeq.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/compiler.xoAppUrl.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/compiler.xoImgUrl.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/function.xoPageNav.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/function.xoops_link.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/modifier.debug_print_var.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/smarty/xoops_plugins/resource.db.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/censor/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/censor/censor.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/censor/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/censor/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/config.custom.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/flash/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/flash/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/flash/flash.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/flash/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/iframe/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/iframe/iframe.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/iframe/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/image/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/image/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/image/image.js
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/image/image.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/image/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/mms/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/mms/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/mms/mms.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/mp3/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/mp3/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/mp3/mp3.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/readme.txt
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/rtsp/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/rtsp/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/rtsp/rtsp.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/syntaxhighlight/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/syntaxhighlight/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/syntaxhighlight/geshi.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/syntaxhighlight/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/textfilter/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/textfilter/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/textfilter/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/textfilter/textfilter.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/wiki/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/wiki/config.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/wiki/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/wiki/wiki.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/wmp/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/wmp/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/wmp/wmp.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/youtube/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/youtube/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/textsanitizer/youtube/youtube.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/utility/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/utility/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/utility/xoopsutility.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/bloggerapi.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/metaweblogapi.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/movabletypeapi.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/xmlrpcapi.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/xmlrpcparser.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/xmlrpctag.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rpc/xoopsapi.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rss/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rss/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/rss/xmlrss2parser.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/saxparser.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/themesetparser.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xml/xmltaghandler.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/dhtmltextarea/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/fckeditor/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/koivi/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/readme.txt
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/textarea/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/tinymce/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/tinymce/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/tinymce/language/danish.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/tinymce/tinymce/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/langs/da.xml
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/include/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/include/checklogin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/include/common.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/include/version.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/language/danish/finish.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/language/danish/install.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/language/danish/install2.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/language/danish/mysql.lang.data.sql
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/install/language/danish/welcome.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/admin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/auth.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/banners.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/calendar.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/captcha.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/comment.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/findusers.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/formdhtmltextarea.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/global.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/locale.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/activated.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/adminactivate.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/comment_notify.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/commentsubmit_notify.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/default_notify.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/lostpass1.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/lostpass2.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/register.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/tellfriend.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/mail_template/welcome.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/misc.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/notification.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/pmsg.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/search.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/timezone.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/uploader.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/user.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/language/danish/xoopsmailerlocal.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/pm/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/pm/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/pm/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/pm/language/danish/admin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/pm/language/danish/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/pm/language/danish/main.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/pm/language/danish/modinfo.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/admin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/mail_template/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/mail_template/emailchanged.tpl
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/mail_template/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/main.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/profile/language/danish/modinfo.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/avatars.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/banners.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/blocksadmin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/comments.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/findusers.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/groups.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/images.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/mailusers.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/modulesadmin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/preferences.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/smilies.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/tplsets.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/userrank.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/users.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin/version.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/admin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/blocks.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/cpanel.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/system/language/danish/modinfo.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/thadmin/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/thadmin/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/thadmin/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/thadmin/language/danish/admin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/thadmin/language/danish/help.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/thadmin/language/danish/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/modules/thadmin/language/danish/modinfo.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/templates_c/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/templates_c/readme.txt
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops-data/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops-data/readme.txt
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/admin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/blocks/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/blocks.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/filters_enabled/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/danish/admin.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/danish/index.html
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/danish/main.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/language/danish/modinfo.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/main.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/modules/protector/xoops_version.php
XoopsLanguages/danish/core/2.3.2b_utf8/htdocs/xoops_lib/readme.txt
XoopsLanguages/danish/core/2.3.2b_utf8/release_notes.txt
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/abstract.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/check_version.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/cnt-2.2.x-to-2.3.0/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/cnt-2.2.x-to-2.3.0/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/cnt-2.2.x-to-2.3.0/language/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/cnt-2.2.x-to-2.3.0/language/danish.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/cnt-2.2.x-to-2.3.0/language/english.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/img/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/img/banner_bg.png
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/img/logo.png
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/img/no.png
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/img/yes.png
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/language/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/language/danish/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/language/danish/upgrade.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/language/english/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/language/english/upgrade.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/language.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/login.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/readme.txt
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/style.css
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.13-to-2.0.14/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.13-to-2.0.14/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.15-to-2.0.16/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.15-to-2.0.16/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.16-to-2.0.17/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.16-to-2.0.17/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.17-to-2.0.18/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.17-to-2.0.18/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/language/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/language/danish.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/language/english.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/mainfile.dist.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/mysql.structure.sql
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/pathcontroller.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/settings_db.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.0.18-to-2.3.0/settings_path.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.3.0-to-2.3.1/
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.3.0-to-2.3.1/index.php
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upd-2.3.0-to-2.3.1/mysql.structure.sql
XoopsLanguages/danish/core/2.3.2b_utf8/upgrade/upgrade_tpl.php
Added: XoopsLanguages/danish/core/2.3.2b_utf8/docs/changelog.txt
===================================================================
--- XoopsLanguages/danish/core/2.3.2b_utf8/docs/changelog.txt (rev 0)
+++ XoopsLanguages/danish/core/2.3.2b_utf8/docs/changelog.txt 2008-12-07 18:23:19 UTC (rev 2587)
@@ -0,0 +1,959 @@
+
+XOOPS Changelog
+
+============================
+2008/11/26: Version 2.3.2
+============================
+- Fixed XSS vulnerability in xoopscode and potential text (phppp/DSG)
+- Fixed security vulnerability in autologin (phppp/Dylian/alfred)
+- Improved protector module for potential local file inclusion (DSGGIJOE/phppp/)
+- Modified /model/sync.php for backward compatibility (phppp/boy0917)
+
+============================
+2008/10/11: Version 2.3.1
+============================
+- Fixed bug #2147303 for xoops.js as well as missing revision #1281 (phppp/cpks)
+- Fixed bug #2147607: admin tab menus are not rendered (phppp/marco)
+- Fixed bug #2148598: removed extra spaces and lines after PHP close tag (phppp/igomen)
+- Fixed bug #2148589: corrected prompting messages in module install/uninstall (phppp/igomen)
+- Fixed bug #2148257 by extending range of js calendar (phppp/marco)
+- Fixed wrong regdate in adding user (bug #2154326) (phppp/trabis/Alian/marco)
+- Fixed bug #2154335: page is not redirected correctly after deleting a visibility item (phppp/Reintjan/marco)
+- Fixed bug #2155512: paths were wrongly configured for koivi editor (phppp/dnprossi/marco)
+- Fixed bug #2151858: Added missing index files to prevent directory traversal (phppp/phmo/marco)
+- Fixed bug #2154367: title attribute is not properly rendered in case there are bbcode tags inside url tag (phppp/blueteen/marco)
+- Fixed bug #2101426: required select field is not adequately validated in profile module (phppp/marco/RC78)
+- Improved xoops.css mainly for positioning img elements (phppp/Ianez)
+- Improved CAPTCHA verification to return true value when CAPTCHA is disabled (phppp/dongzhi)
+- Improved tinyMCE editor (luciorota/phppp)
+- Improved debug information visibility suggested in tracker #2106895. Log renderer is redesigned in XOOPS 3.0 but we also added a temporary solution for XOOPS 2.3 (phppp/trabis/marco)
+
+
+============================
+2008/10/05: Version 2.3.1 RC
+============================
+- Fixed bug #2130117: wrong class was used to instanciate GUI (phppp/InstantZero)
+- Fixed bug #2137120: new primary key is not created if there are duplicated entries in db (phppp/jdseymour)
+- Fixed bug in comment_view: if a user's com_mode is not set, he won't see the comments (phppp/mamba)
+- Fixed bug in model/sync: if field_object is not set, field_link should be used (phppp)
+- Fixed bug in upgrade script 2.0.18-to-2.30: new primary key was not able created if block_id key did not exist (phppp/suisss)
+- Improved XOOPS news aggregator in admin.php: adding encoding conversion for non UTF-8 charset, enabling mutliple feeds (phppp/marco/DCrussader)
+- Improved backend.php: sanitized webmaster's email, added new logo for feed (phppp/Ianez)
+- Improved XOOPS 2.2* related upgrade scripts: utf-8 is considered for language detection; user login for XOOPS 2.2 is added (phppp)
+- Added upgrade scripts from 2.30 to 2.31, corrected XOOPS installation sql scripts to be MySQL 5 strict mode compliant (phppp)
+- Improved image handling in XOOPS core: removed deprecated align attribute, added missing js scripts for dhtml editor preview (phppp/Ianez/Drieben)
+- Improved xhtml compliance for XOOPS core (phppp/Ianez)
+- Set "autocomplete" property for password form element to "off" explicitly by default to clear some mysterious bugs with certain browsers addressed in bug #2144588 (phppp/trabis/marco)
+- Added two methods to XoopsObject for experimental purposes: destroyVars, loadFilters (phppp)
+
+- Fixed bug #2121674: some sensitive profile fields were visible to public by default (phppp/marco)
+- Fixed bug #2121674: core user fields are marked with "delete" which are not allowed to delete (phppp/marco)
+- Fixed bug #2133657: display name was lost after upgrading from 2.2 to 2.3 (phppp/marco)
+- Fixed bug #2133697: profile object is not instantiated if user creation is not performed from profile admin (phppp/marco/nick77)
+- Improved profile upgrade to keep existent fields and corresponding permissions (phppp/deka87)
+- Improved profile field visibility according to bug tracker #2139562: webmasters have access to all fields (phppp/mamba)
+- Upgraded profile module version to 1.51 (phppp)
+- Added synchronization scripts for profile module on update (phppp)
+
+- Modified language files:
+ /modules/profile/english/admin.php added one item: "_PROFILE_AM_CANNOTDELETEADMIN"
+
+
+============================
+2008/09/20: Version 2.3.0
+============================
+- Fixed bug #2117339/#2117349: uid was not assigned for administrator activation; some operations were skipped in user admin (phppp/willemd/marco)
+- Fixed bug #2120749: template path was not correctly detected for XoopsMailer thus email content was not localized (phppp/Choucas/marco)
+- Fixed bug #2120818: user_uid is not properly assigned to template in profile module (phppp/RC78/marco)
+- Improved custom block management which caused lost of custom blocks from XOOPS 2.2 to 2.3 (phppp/wilden/maxxy)
+- Fixed profile access bug in case extensible profile module is not installed (phppp/marco)
+- Fixed email notification bug: notification was not sent out after activation of a new user (phppp/marco)
+
+
+============================
+2008/09/15: Version 2.3.0 RC3
+============================
+- Fixed bug in profile visibility admin: visibility items were not correctly fetched (phppp)
+- Added missing images in profile templates (phppp/julionc)
+- Fixed bug in formelement getClass: variable was overwritten (suico)
+- Improved permission control in profile (phppp/dongzhi)
+- Added new subject icons images (julionc/mr-reda04_fr)
+- Fixed bug #2087085/#2091410: variable $xoTheme is not checked properly (phppp/trabis/Saba)
+- Changed default theme to hide blocktitle in case block title is not set (phppp)
+- Fixed bug #2100779: custom blocks were missing from group admin (phppp/trabis)
+- Fixed bug #2100804: templatedir was not wrongly set by a typo, compat with 2.2 was broken (phppp/trabis/ghia_/AHLIS)
+- Improved upgrade message suggested in tracker #2101446 (phppp/marco)
+- Fixed bug #2106222: groupby was not properly implemented in model (phppp/trabis)
+- Improved XoopsObject and model classes, added XoopsObject::toArray method for backward compat with XOOPS 2.2 (phppp)
+- Added blockinstance.php for backward compat with XOOPS 2.2, PHP 5.0+ required (phppp)
+- Added special version of mainfile.dist.php file to extras folder for protector module (phppp)
+- Added readme to deprecated folders /cache/ and /template_c/ (phppp)
+- Fixed bug #2105325: align attribute is not properly parsed (phppp/ianez)
+- Improved option management in profile module related to bug #2101426: simultaneous adding multiple options; blank option to prevent any default value (phppp/marco)
+- Added ValidationJS for formselect and formcheckbox (phppp)
+- Fixed bug #2109967: new user was automatically activated even manual activation is set (phppp/Choucas/marco)
+- Fixed bug #2110396: xoops.js was not properly cleaned and some required js functions were moved out (phppp/Saba)
+- Improved installation and upgrade process, including mainfile modification for protector module and proposal from tracker #2109986 (phppp/marco)
+- Moved /extras/ folder out of htdocs (phppp)
+- Fixed icon links on administration homepage (phppp/ezsky)
+
+
+============================
+2008/08/15: Version 2.3.0 RC2
+============================
+- Added EXM admin gui (BitC3R0/mamba/phppp/sabaM/trabis)
+- Added extended profile module (phppp/mamba/marco)
+- Added private message module (phppp/mamba/marco)
+- Added preprocessing for parameters from user input in user edit area (trabis)
+- Improved xoops.js to allow multiple window.onload (phppp)
+- Fixed a bug in MySQL query with DISTINCT in kernel/block.php (phppp)
+- Fixed redirect problem reported in bug #2037384 (phppp/hervet)
+- Fixed rank image false alert problem reported in bug #2037384 (phppp/hervet)
+- Fixed problem reported in bug #2037384: sql file existence was not properly detected (phppp/hervet)
+- Fixed array unserialize problem reported in bug #2037384 (phppp/hervet)
+- Improved group management interface suggested in bug tracker #2037384 (phppp/hervet)
+- Fixed an infinite loop bug in formdhtmltextarea when dhtmltextarea editor is called in xoopseditor (phppp/hervet)
+- Added index files to prevent directory listing (julioNC)
+- Added allowAnonymous parameter to groupperm form, fetched from XOOPS 2.2 (phppp)
+- Improved templateDir handling in xoopsmailer for language check (phppp)
+- Modified language directory name for GUI (phppp/julionc)
+- Completed XOOPS 2.2 to 2.3 upgrade scripts (phppp)
+- Synchronized xoopscodes functions with formdhtmltextarea class to unify XOOPS dhtml editor (phppp)
+- Improved homepage mask (phppp/mamba)
+- Improved textsanitizer to make it a real extensible handler (phppp)
+- Adopted extensible dhtmltextarea as default dhtmltextarea editor, plus instant privew and mp3 player (phppp/Vinod/urbanspacema/ezksy)
+- Added /extras/altsys_functions.php to provide compatibility with GIJOE's modules (phppp/mamba)
+
+
+============================
+2008/07/26: Version 2.3.0 RC
+============================
+- Fixed bug #2011644 which Smarty cache path was wrongly configured, cleaned up deprecated paths (phppp/ad...@sf...)
+- Fixed bug #2006730: Permissions were not adequately checked for some actions in imagemanager (dugris/beckmi)
+- Fixed a bug in path permission check for installer: xoops_lib should not be checked (phppp/ncnynl)
+- Added permission check to user profile page (phppp/peterr)
+- Filtered input parameter 'fct' in /modules/system/admin.php (phppp)
+
+- Modified language files:
+ /modules/system/language/english/admin/preferences.php (phppp)
+
+
+============================
+2008/06/30: Version 2.3.0 Beta
+============================
+- Improved criteria classes mainly for coding style and multi-criteria rendering (phppp)
+- Added path identifiers "var", "lib" for forward compat (phppp)
+- Added "configs" folder and file in XOOPS data (phppp)
+- Enabled default visual editor upon community's high demand (phppp)
+- Implemented feature #1968736 or tooltips to formdhtmltextarea (phppp/mamba/wizanda/jimmyx)
+- Added upgrade scripts from 2.2.* to 2.3.0 (phppp)
+- Improved upgrade scripts to allow informative messages and confirmations (phppp)
+
+- Added langauge files:
+ /language/english/formdhtmltextarea.php (phppp)
+
+
+============================
+2008/04/18: Version 2.3.0 Alpha 3
+============================
+- Fixed bug #1954797: User can set session expiration to zero (phppp/Alex_Grey)
+- Fixed bug #1941250: tags inside [code][/code] are rendered (phppp/Dona_Brasil)
+- Fixed PHP4 compliance error (phppp/mamba/tzvook)
+- Fixed reference related errors (phppp/marco)
+- Fixed bug in CAPTCHA render: SESSION data were not registered for CAPTCHA triggered by logged in members (phppp/mamba)
+- Added prefix to cache_model field names to avoid potential conflicts (phppp)
+- Added property "columns" to formcheckbox and formradio for better rendering control (phppp)
+- Used property "columns" to improve readability for groupform (phppp)
+- Improved XoopsLoad to cover module classes (phppp)
+- Changed default charset encoding to UTF-8 (phppp)
+- Added temporary solution for URL mask in startpage redirection (phppp)
+- Improved search presentation page (phppp/mamba)
+- Added XoopsUserUtility for user related methods (phppp)
+- Added functions to send welcoming message to a user upon his successful registration (phppp/mamba)
+- Changed activation link from user.php to register.php (phppp)
+- Added installation guide for XOOPS directories (phppp)
+- Moved cache directory and smarty compile directory into XOOPS data folder (phppp)
+- Added xoops_loadLanguage function (phppp)
+- Enabled scripts for xoops_module_pre_install (phppp)
+- Enabled scripts for xoops_module_pre_uninstall, fixing an issue reported in tracker #1930399 (phppp/akitson)
+- (X)HTML compliance fix and improvement (kris/phppp)
+- Changed default banner to a new swf one (mamba)
+- Updated default logo to fix transparency problem with IE (kris)
+- Changed session expiration time to session.gc_maxlifetime (phppp/marco)
+
+- Improved upgrader
+- Added upgrade abstract class (phppp)
+- Highlightened uncertainty of using custom character set and collation for mysql (phppp)
+- Added local language file for each upgrader (phppp)
+
+- Improved blockadmin
+- Added more variables in filter browser for blocks (phppp/Steven Li/domecc)
+- Activated block clone (phppp/encouraged by altsys from GIJOE)
+
+- Added XOOPS Cpanel GUI handling multiple GUIs for backend (phppp)
+- Legacy admin interface is moved to gui/legacy/ (phppp)
+- A new default GUI is added as starting point for further improvement (phppp)
+- Adapter for TheAdmin module is the first custom GUI (Andricq Nicolas/phppp)
+- Preference parameter is added to allow on-fly switch (phppp/marco)
+
+- Reorganized functions (phppp)
+- Moved deprecated functions into funcitons.legacy.php
+- Changed getMailer to xoops_getMailer
+
+- Modified language files:
+ /language/english/global.php (julionc/phppp)
+ /language/english/user.php (phppp)
+ /modules/system/language/english/admin/modulesadmin.php (julionc)
+ /modules/system/language/english/admin/blockadmin.php (phppp)
+ /modules/system/language/english/admin/preferences.php (phppp)
+
+- Added langauge files:
+ /modules/system/language/english/cpanel.php (phppp)
+
+
+============================
+2008/03/10: Version 2.3.0 alpha2
+============================
+- Fixed syntax error in model.php (phppp/baisword)
+- Fixed syntax error for PHP 4 (phppp/marcofr)
+- Fixed custom session error (phppp/CreepyGnome/)
+- Deprecated code cleaning up (phppp)
+- Code cleaning up, removed duplicated code (phppp/Vexed)
+- Added missing CSS for banners.php (Kris/phppp)
+- (X)HTML compliance improvement for target attribute in anchors (Kris/phppp)
+- Improved default theme with forward compat (Kris)
+
+- Added table for database storage cache engine (phppp)
+- Added parameter to control database modification (phppp)
+
+- Improved installation
+- Added XOOPS library directory and XOOPS data file directory for forward compatibility (phppp)
+- Added XOOPS_TRUST_PATH for compatibility (phppp)
+- Improved database character set selection (phppp/ncnynl)
+- Template/Interface improvement (Kris)
+
+- Added updater 2.0.18-to-2.3.0, including database character set conversion (phppp)
+- Added multi-task update, to be generalized (phppp)
+- Removed deprecated patch in 2.0.13-to-2.0.14 (phppp)
+
+============================
+2008/03/03: Version 2.3.0 alpha1
+============================
+- Imported new installer (restored changelog for Revision #1018)
+- Restored xoPageNav plugin (restored changelog for Revision #1019)
+- Improved installer: removed unnecessary steps for user experience consideration (phppp/domecc)
+- Improved installer: removed shadow effect which is not IE compliant (phppp)
+- Improved xoops.js: fixed bug #1627536, improved image selection (phppp/dbritton217)
+- Improved functions of xoops_result(), xoops_error() to enable handling of objects (phppp)
+- Improved XOOPS MySQL database: added charset and collation support (phppp)
+- Merged resource.db.php from extras for module template compatibility (phppp)
+- Upgraded smarty to 2.6.19 (phppp/mowaffak)
+- Upgraded phpmailer to 2.0.0 (phppp)
+
+- Enabled "Remember me" for login (phppp)
+
+- Added Frameworks folder for third-party frameworks before being merged into XOOPS core package (phppp)
+
+- Added Xoops Autoload (phppp)
+- Added XoopsLocal (phppp)
+
+- Enable XOOPS CAPTCHA with extensible methods (phppp)
+- Added CAPTCHA to comment (phppp)
+- Added CAPTCHA to registration (phppp)
+
+- Added XoopsPersistableObjectHandler (phppp)
+- Added predefined extendded model handlers for XoopsPersistableObjectHandler (phppp)
+- Added API to XoopsPersistableObjectHandler to allow custom handler (phppp)
+
+- Added extensions to textsanitizer (phppp)
+- Added API to textsanitizer to allow custom extensions and configurations (phppp)
+- Moved censor words handle to an extension (phppp)
+- Added automatic text filtering to XoopsObject handler via textsanitizer extension (phppp)
+
+- Added xoopseditor package (phppp)
+
+- Added file package (phppp)
+- Added XoopsFile: File engine For XOOPS (phppp)
+- Added XoopsFolder: Folder engine For XOOPS (phppp)
+
+- Added cache engien package (phppp)
+- Added utility package (phppp)
+
+- Added PEAR and GeShi to Frameworks (phppp)
+
+
+
+============================
+2008/02/16: Version 2.0.18.1
+============================
+- Fixed #1854203 : XoopsTree::getNicePathFromId Add separator only if necessary (dugris)
+- Fixed #1854392 : Add missing index.html files (edomch/dugris)
+- Fixed bug #1847253 : Display the website url in profil (dugris)
+- Fixed bug #1867242 : HTML was sanitized improperly (phppp/mcdonald3072)
+- Fixed bugs in theme zetagenesis css files (kris_fr/phppp/mowaffak)
+- Fixed bug #1867843: can't login to banner page (phppp/mowaffak)
+- Fixed bug #1880146: javascript variables are declared without "var" (phppp/cpks)
+- Fixed bug #1881197: Function does not always return a value (phppp/cpks)
+- Fixed bug #1881236: URL Redirection phishing (phppp/dsec.ru)
+- Fixed bug #1881236: local file inclusion (phppp/dsec.ru)
+- Fixed bug #1890044: redirect page is not well handled upon failure of avatar upload (phppp)
+
+- Improved: cosmetic update for administration (dugris)
+- Improved: use xoops_error to display the error, in upload avatar (dugris)
+- Improved: Show the error message for uploads ranks (dugris)
+- Improved: Xoops Installer, xhtml/css compliance (julionc)
+- Improved: Turned enableRegenerateId off in XOOPS session to avoid problems with IEs (phppp)
+- Improved: formulating smiley display (phppp/skinnali/mowaffak)
+- Improved: fixed assigned by reference warnings (phppp/marco/blackrx)
+
+
+============================
+2007/12/04: Version 2.0.18
+============================
+- Fixed bug #1829581 : Comments template error (kris/phelim)
+- Fixed bug #1656457 : SMTP recipient address error should be non-fatal (dave_l/phelim)
+- Fixed bug #1824377 : _MA_USER_SENDMAIL not defined (Garrath/dugris)
+- Fixed bug #1540480 : $modversion constant language truncated (zoullou/dugris/phppp)
+- Fixed bug #1779344 : City renamed (young-pee)
+- Fixed bug #1333337 : Grp memberships lost when usr w. no Group perm edits usr act (jegelstaff/dugris)
+- Fixed bug #1821846 : mistake on RpcDateTimeHandle (Garrath/dugris)
+- Fixed bug #1808484 : Check modules permissions before displaying "Recent comments blocks" (herve/dugris)
+- Fixed bug #1779352 : Hardcoded language, Secure and improve code, Removal style/css (young-pee/dugris)
+- Fixed bug #1774929 : cannot herit methods from kernel's class (Garrath/dugris)
+- Fixed bug #1415777 : xml feed is not working when debug mode is activated (DuGris/phppp)
+- Fixed bug #1784816 : XoopsTree::getNicePathFromId Add separator only if necessary (dugris)
+- Fixed: Do not display the comment form if the option module "Allow anonymous post in comments?" is disabled (dugris)
+- Fixed: array was misinterpreted as string in upgrade scripts (phppp)
+- Fixed bug #1851732: language constants were missing (phppp/marco)
+
+- Improved: themes, Cascading, xhtml/css compliance; keep default theme as close to current default theme as possible (kris_fr/DuGris/phppp)
+- Improved: Corrected a line hardcoded (young-pee)
+- Improved: Making sure params used in queries are properly sanitized with intval() when they are integer (herve/malanciault)
+- Improved: In XoopsUser::getUnameFromId, if usereal, then making sure the real name is not just an empty space (herve/malanciault)
+- Improved: Check if $_SERVER[$key] AND $_ENV[$key] exists before turning over the value (xoops_getenv) (dugris)
+- Improved: XoopsSecurity, personalize the variable of session and the variable of form (dugris/phppp)
+- Improved: html and css in installer (dugris)
+- Improved: xoops form text sanitizer related to bug report #1841194 (phppp/omer_singer)
+- Improved: Updated docs related to system requirements (phppp/marco)
+
+- Improved: smiley renderer in module.textsanitizer.php (phppp/sarahmx)
+- Improved: restoring stripslashes handling in file mediaName for uploader class (phppp/herve)
+
+- Updated: added theme "zetagenesis" by Kris as a step towards XOOPS 3.0 theme engine (phppp/Kris)
+- Updated favicon.ico
+
+- Removed themes of "phpkaox" and "x2t"
+
+============================
+2007/10/01: Version 2.0.17.1
+============================
+- Fixed bug #1783807: login failure in some browsers caused by session_regenerate_id (phppp/web-M/mrphilong/incama)
+- Fixed bug #1792982: user list is not populated when user count is less than a limit (phppp/dugris/alainternet01)
+- Fixed bug #1800795 by reverting revision #898: host value type error in SMTP method (phppp)
+- Fixed bug #1805158: existing cache/index.html causes warning message when trying to recreate it (phppp/dave_l/script_fu)
+- Added denied mimetype check to uploader class as well as restored returning false upon checkmimetype failure (phppp)
+- Replacing extras/resource.db.php with the file provided by Gijoe (malanciault)
+- Changed The XOOPS Project homepage link to XOOPS project homepage at SourceForge (XOOPS Core Dev Team)
+
+============================
+2007/08/24: Version 2.0.17
+============================
+- Fixed deprec...
[truncated message content] |