phpfreechat-svn Mailing List for phpFreeChat
Status: Beta
Brought to you by:
kerphi
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
(2) |
Mar
|
Apr
(61) |
May
(56) |
Jun
(96) |
Jul
(23) |
Aug
(62) |
Sep
(76) |
Oct
(48) |
Nov
(28) |
Dec
(28) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(31) |
Feb
(40) |
Mar
(29) |
Apr
(11) |
May
(6) |
Jun
(18) |
Jul
(18) |
Aug
(108) |
Sep
(24) |
Oct
(6) |
Nov
(21) |
Dec
|
| 2008 |
Jan
|
Feb
(1) |
Mar
(16) |
Apr
|
May
(3) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(3) |
Dec
(2) |
| 2009 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(1) |
| 2010 |
Jan
(2) |
Feb
|
Mar
|
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Pakbaz <pa...@pr...> - 2018-01-21 07:19:20
|
CVE-2018-5954 : Memory leak in phpFreeChat 1.7 and earlier allows remote attackers to cause a denial of service (memory consumption) by sending a large number of connect commands with different pfc_nickname and pfc_clientid values. A. Pakbaz |
|
From: <ke...@us...> - 2010-09-03 21:59:32
|
Revision: 1276
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1276&view=rev
Author: kerphi
Date: 2010-09-03 21:59:26 +0000 (Fri, 03 Sep 2010)
Log Message:
-----------
Fix nick auto complete bug (thanks to lackattack)
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2010-04-23 08:59:19 UTC (rev 1275)
+++ trunk/data/public/js/pfcclient.js 2010-09-03 21:59:26 UTC (rev 1276)
@@ -649,7 +649,7 @@
if (nick_src != '')
{
var tabid = this.gui.getTabId();
- var n_list = this.getChanMeta(tabid, 'users')['nick'];
+ var n_list = this.getChanMeta(tabid, 'users').get('nick');
var nick_match = false;
for (var i = 0; i < n_list.length; i++)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-04-23 08:59:25
|
Revision: 1275
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1275&view=rev
Author: kerphi
Date: 2010-04-23 08:59:19 +0000 (Fri, 23 Apr 2010)
Log Message:
-----------
Add a security on the delay calculation based on the ping value for slow connections
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2010-04-13 11:19:11 UTC (rev 1274)
+++ trunk/data/public/js/pfcclient.js 2010-04-23 08:59:19 UTC (rev 1275)
@@ -1047,6 +1047,10 @@
if (d < delay) continue;
if (lastact > limit) delay = d;
}
+
+ // a security for very slow connections
+ if (this.ping*2 > delay) delay = this.ping*2;
+
return delay;
},
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-04-13 11:19:17
|
Revision: 1274
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1274&view=rev
Author: kerphi
Date: 2010-04-13 11:19:11 +0000 (Tue, 13 Apr 2010)
Log Message:
-----------
tag the 1.3 version
Added Paths:
-----------
tags/1.3/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-04-13 09:24:30
|
Revision: 1273
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1273&view=rev
Author: kerphi
Date: 2010-04-13 09:24:24 +0000 (Tue, 13 Apr 2010)
Log Message:
-----------
small fixes
Modified Paths:
--------------
trunk/demo/demo28_blune_theme.php
trunk/demo/demo28_mini_blune_theme.php
Modified: trunk/demo/demo28_blune_theme.php
===================================================================
--- trunk/demo/demo28_blune_theme.php 2010-04-13 08:22:07 UTC (rev 1272)
+++ trunk/demo/demo28_blune_theme.php 2010-04-13 09:24:24 UTC (rev 1273)
@@ -8,8 +8,6 @@
);
$chat = new phpFreeChat( $params );
?>
-<? /* echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"; */ ?>
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
Modified: trunk/demo/demo28_mini_blune_theme.php
===================================================================
--- trunk/demo/demo28_mini_blune_theme.php 2010-04-13 08:22:07 UTC (rev 1272)
+++ trunk/demo/demo28_mini_blune_theme.php 2010-04-13 09:24:24 UTC (rev 1273)
@@ -6,7 +6,6 @@
"showwhosonline" => false,
"showsmileys" => false,
"height" => "270px",
- "width" => "300px",
"serverid" => md5(__FILE__),
"theme" => "blune",
);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-04-13 08:22:14
|
Revision: 1272
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1272&view=rev
Author: kerphi
Date: 2010-04-13 08:22:07 +0000 (Tue, 13 Apr 2010)
Log Message:
-----------
Simplify the noscript tag shown when javascript is disabled in the client browser.
Modified Paths:
--------------
trunk/themes/default/chat.js.tpl.php
Modified: trunk/themes/default/chat.js.tpl.php
===================================================================
--- trunk/themes/default/chat.js.tpl.php 2010-04-12 10:55:16 UTC (rev 1271)
+++ trunk/themes/default/chat.js.tpl.php 2010-04-13 08:22:07 UTC (rev 1272)
@@ -100,9 +100,13 @@
<div id="pfc_notloading" style="width:270px;background-color:#FFF;color:#000;border:1px solid #000;text-align:center;margin:5px auto 0 auto;font-size:10px;">
<noscript>
-<p><?php echo _pfc("%s appears to be either disabled or unsupported by your browser.","JavaScript"); ?> <?php echo _pfc("This web application requires %s to work properly.","JavaScript"); ?> <?php echo _pfc("Please enable %s in your browser settings, or upgrade to a browser with %s support and try again.","JavaScript","JavaScript"); ?></p>
+<p>
+<?php echo _pfc("%s appears to be either disabled or unsupported by your browser.","JavaScript"); ?> <?php echo _pfc("This web application requires %s to work properly.","JavaScript"); ?> <?php echo _pfc("Please enable %s in your browser settings, or upgrade to a browser with %s support and try again.","JavaScript","JavaScript"); ?>
+<hr />
+Please ask the <a href="http://www.phpfreechat.net">phpfreechat</a> community on the <a href="http://www.phpfreechat.net/forum/">forum</a> if you are not able to load the chat.
+</p>
</noscript>
-<p><script type="text/javascript">
+<script type="text/javascript">
// <![CDATA[
if (!browserSupportsCookies())
document.write('<?php echo _pfc("%s appears to be either disabled or unsupported by your browser.","Cookies"); ?> <?php echo _pfc("This web application requires %s to work properly.","Cookies"); ?> <?php echo _pfc("Please enable %s in your browser settings, or upgrade to a browser with %s support and try again.","Cookies","Cookies"); ?>');
@@ -116,8 +120,7 @@
pfc_isready = true;
}
// ]]>
-</script></p>
-<a href="http://www.phpfreechat.net" style="text-align:center"><img src="http://www.phpfreechat.net/pub/logo2_80x15.gif" alt="PHP FREE CHAT [powered by phpFreeChat-<?php echo $version ?>]" /></a>
+</script>
</div> <!-- pfc_notloading -->
</div> <!-- pfc_loader -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-04-12 10:55:22
|
Revision: 1271
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1271&view=rev
Author: kerphi
Date: 2010-04-12 10:55:16 +0000 (Mon, 12 Apr 2010)
Log Message:
-----------
Fixes PHP 5.3 warnings
Modified Paths:
--------------
trunk/src/pfccommand.class.php
trunk/src/pfccontainer.class.php
trunk/src/pfcproxycommand.class.php
trunk/src/phpfreechat.class.php
Modified: trunk/src/pfccommand.class.php
===================================================================
--- trunk/src/pfccommand.class.php 2010-04-12 10:51:06 UTC (rev 1270)
+++ trunk/src/pfccommand.class.php 2010-04-12 10:55:16 UTC (rev 1271)
@@ -67,11 +67,11 @@
if (!class_exists($cmd_classname)) { $tmp = NULL; return $tmp; }
- $cmd =& new $cmd_classname;
- $cmd->name = $cmd_name;
-
+ $firstproxy = new $cmd_classname;
+ $firstproxy->name = $cmd_name;
+
// instanciate the proxies chaine
- $firstproxy =& $cmd;
+ $proxies = array();
for($i = count($c->proxies)-1; $i >= 0; $i--)
{
$proxy_name = $c->proxies[$i];
@@ -87,11 +87,11 @@
return $firstproxy;
// instanciate the proxy
- $proxy =& new $proxy_classname;
- $proxy->name = $cmd_name;
- $proxy->proxyname = $proxy_name;
- $proxy->linkTo($firstproxy);
- $firstproxy =& $proxy;
+ $proxies[$i] = new $proxy_classname;
+ $proxies[$i]->name = $cmd_name;
+ $proxies[$i]->proxyname = $proxy_name;
+ $proxies[$i]->linkTo($firstproxy);
+ $firstproxy =& $proxies[$i];
}
/*
Modified: trunk/src/pfccontainer.class.php
===================================================================
--- trunk/src/pfccontainer.class.php 2010-04-12 10:51:06 UTC (rev 1270)
+++ trunk/src/pfccontainer.class.php 2010-04-12 10:55:16 UTC (rev 1271)
@@ -2,7 +2,7 @@
/**
* pfccontainer.class.php
*
- * Copyright \xA9 2006 Stephane Gully <ste...@gm...>
+ * Copyright � 2006 Stephane Gully <ste...@gm...>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -54,7 +54,7 @@
// create the concrete container instance
require_once dirname(__FILE__)."/containers/".$type.".class.php";
$container_classname = "pfcContainer_".$type;
- $this->_container =& new $container_classname();
+ $this->_container = new $container_classname();
}
function getDefaultConfig()
{
Modified: trunk/src/pfcproxycommand.class.php
===================================================================
--- trunk/src/pfcproxycommand.class.php 2010-04-12 10:51:06 UTC (rev 1270)
+++ trunk/src/pfcproxycommand.class.php 2010-04-12 10:55:16 UTC (rev 1271)
@@ -50,7 +50,7 @@
function linkTo(&$cmd)
{
- $this->next =& $cmd;
+ $this->next = $cmd;
}
}
Modified: trunk/src/phpfreechat.class.php
===================================================================
--- trunk/src/phpfreechat.class.php 2010-04-12 10:51:06 UTC (rev 1270)
+++ trunk/src/phpfreechat.class.php 2010-04-12 10:55:16 UTC (rev 1271)
@@ -219,7 +219,7 @@
if ($c->debug) ob_start(); // capture output
- $xml_reponse =& new pfcResponse();
+ $xml_reponse = new pfcResponse();
// check the command
$cmdstr = "";
@@ -348,7 +348,7 @@
function &loadStyles($theme = 'default', &$xml_reponse)
{
- if ($xml_reponse == null) $xml_reponse =& new pfcResponse();
+ if ($xml_reponse == null) $xml_reponse = new pfcResponse();
$c =& pfcGlobalConfig::Instance();
@@ -398,7 +398,7 @@
function &loadScripts($theme, &$xml_reponse)
{
- if ($xml_reponse == null) $xml_reponse =& new pfcResponse();
+ if ($xml_reponse == null) $xml_reponse = new pfcResponse();
$c =& pfcGlobalConfig::Instance();
@@ -529,7 +529,7 @@
function loadInterface($theme = 'default', &$xml_reponse)
{
- if ($xml_reponse == null) $xml_reponse =& new pfcResponse();
+ if ($xml_reponse == null) $xml_reponse = new pfcResponse();
$c =& pfcGlobalConfig::Instance();
@@ -559,7 +559,7 @@
function &loadChat($theme = 'default')
{
- $xml_reponse =& new pfcResponse();
+ $xml_reponse = new pfcResponse();
$this->loadInterface($theme,$xml_reponse);
$this->loadStyles($theme,$xml_reponse);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-04-12 10:51:12
|
Revision: 1270
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1270&view=rev
Author: kerphi
Date: 2010-04-12 10:51:06 +0000 (Mon, 12 Apr 2010)
Log Message:
-----------
Fixes IE8 display bug (sourceforge bug #2790822, bounty n?\194?\1761)
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
trunk/data/public/js/pfcgui.js
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2010-01-14 19:50:31 UTC (rev 1269)
+++ trunk/data/public/js/pfcclient.js 2010-04-12 10:51:06 UTC (rev 1270)
@@ -3,6 +3,7 @@
var is_khtml = !!(navigator.appName.match("Konqueror") || navigator.appVersion.match("KHTML"));
var is_gecko = navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1;
var is_ie7 = navigator.userAgent.indexOf('MSIE 7') > 0;
+var is_ie6 = navigator.userAgent.indexOf('MSIE 6') > 0;
var is_opera = !!window.opera;
var is_webkit = navigator.userAgent.indexOf('AppleWebKit/') > -1;
@@ -1256,7 +1257,7 @@
*/
updateNickListBox: function(chanid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
var nickidlst = this.getChanMeta(chanid,'users').get('nickid');
var nickdiv = this.gui.getOnlineContentFromTabId(chanid);
@@ -1307,7 +1308,7 @@
updateNickWhoisBox: function(nickid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
var usermeta = this.getAllUserMeta(nickid);
var div = document.createElement('div');
@@ -1400,7 +1401,7 @@
buildNickItem_create_image: function(nickid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
var isadmin = this.getUserMeta(nickid, 'isadmin');
var img = document.createElement('img');
if (isadmin)
@@ -1420,7 +1421,7 @@
buildNickItem: function(nickid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
var nick = this.getUserMeta(nickid, 'nick');
var isadmin = this.getUserMeta(nickid, 'isadmin');
Modified: trunk/data/public/js/pfcgui.js
===================================================================
--- trunk/data/public/js/pfcgui.js 2010-01-14 19:50:31 UTC (rev 1269)
+++ trunk/data/public/js/pfcgui.js 2010-04-12 10:51:06 UTC (rev 1270)
@@ -65,7 +65,7 @@
setTabById: function(tabid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
// first of all save the scroll pos of the visible tab
var content = this.getChatContentFromTabId(this.current_tab_id);
@@ -126,7 +126,7 @@
getChatContentFromTabId: function(tabid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
// return the chat content if it exists
var cc = this.chatcontent.get(tabid);
@@ -146,7 +146,7 @@
},
getOnlineContentFromTabId: function(tabid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
// return the online content if it exists
var oc = this.onlinecontent.get(tabid);
@@ -205,7 +205,7 @@
createTab: function(name, tabid, type)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
// do not create empty tabs
if(name == '') return;
@@ -333,7 +333,7 @@
*/
notifyTab: function(tabid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
// first of all be sure the tab highlighting is cleared
this.unnotifyTab(tabid);
@@ -373,7 +373,7 @@
*/
unnotifyTab: function(tabid)
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
var tabpos = indexOf(this.tabids, tabid);
var tabtype = this.tabtypes[tabpos];
@@ -426,7 +426,7 @@
loadBBCodeColorList: function()
{
- var className = (! is_ie) ? 'class' : 'className';
+ var className = (!is_ie7 && !is_ie6) ? 'class' : 'className';
// color list
var clist = $('pfc_colorlist');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-01-14 19:50:39
|
Revision: 1269
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1269&view=rev
Author: kerphi
Date: 2010-01-14 19:50:31 +0000 (Thu, 14 Jan 2010)
Log Message:
-----------
prepare the next 1.3 release
Modified Paths:
--------------
trunk/version.txt
Modified: trunk/version.txt
===================================================================
--- trunk/version.txt 2010-01-14 19:47:03 UTC (rev 1268)
+++ trunk/version.txt 2010-01-14 19:50:31 UTC (rev 1269)
@@ -1 +1 @@
-1.2
+1.3
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2010-01-14 19:47:10
|
Revision: 1268
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1268&view=rev
Author: kerphi
Date: 2010-01-14 19:47:03 +0000 (Thu, 14 Jan 2010)
Log Message:
-----------
fixes few php warnings
Modified Paths:
--------------
trunk/demo/demo32_show_last_messages-chat.php
trunk/demo/demo32_show_last_messages-config.php
trunk/demo/demo34_add_a_link_on_nicknames.php
trunk/demo/demo43_change_the_nicknames_colors.php
trunk/demo/demo5_customized_style.php
trunk/src/containers/file.class.php
trunk/src/pfcglobalconfig.class.php
Modified: trunk/demo/demo32_show_last_messages-chat.php
===================================================================
--- trunk/demo/demo32_show_last_messages-chat.php 2009-12-13 21:36:20 UTC (rev 1267)
+++ trunk/demo/demo32_show_last_messages-chat.php 2010-01-14 19:47:03 UTC (rev 1268)
@@ -2,7 +2,7 @@
require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
require_once dirname(__FILE__)."/demo32_show_last_messages-config.php";
-$chat = new phpFreeChat($pfc_config);
+$chat = new phpFreeChat($params);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Modified: trunk/demo/demo32_show_last_messages-config.php
===================================================================
--- trunk/demo/demo32_show_last_messages-config.php 2009-12-13 21:36:20 UTC (rev 1267)
+++ trunk/demo/demo32_show_last_messages-config.php 2010-01-14 19:47:03 UTC (rev 1268)
@@ -1,10 +1,10 @@
<?php
require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
+$params = array();
$params["title"] = "Show last posted messages channel";
$params["serverid"] = md5($params["title"]); // calculate a unique id for this chat
$params["max_msg"] = 20;
$params["channels"] = array("channel1");
-$pfc_config =& pfcGlobalConfig::Instance( $params );
?>
\ No newline at end of file
Modified: trunk/demo/demo34_add_a_link_on_nicknames.php
===================================================================
--- trunk/demo/demo34_add_a_link_on_nicknames.php 2009-12-13 21:36:20 UTC (rev 1267)
+++ trunk/demo/demo34_add_a_link_on_nicknames.php 2010-01-14 19:47:03 UTC (rev 1268)
@@ -33,7 +33,7 @@
?>
<?php
- $filename = dirname(__FILE__)."/demo34_add_a_link_on_nicknames/mytheme/customize.js";
+ $filename = dirname(__FILE__)."/demo34_add_a_link_on_nicknames/mytheme/customize.js.php";
echo "<p><code>".$filename."</code></p>";
echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
$content = file_get_contents($filename);
Modified: trunk/demo/demo43_change_the_nicknames_colors.php
===================================================================
--- trunk/demo/demo43_change_the_nicknames_colors.php 2009-12-13 21:36:20 UTC (rev 1267)
+++ trunk/demo/demo43_change_the_nicknames_colors.php 2010-01-14 19:47:03 UTC (rev 1268)
@@ -32,14 +32,5 @@
echo "</pre>";
?>
-<?php
- $filename = dirname(__FILE__)."/demo43_change_the_nicknames_colors/mytheme/templates/pfcclient-custo.js.tpl.php";
- echo "<p><code>".$filename."</code></p>";
- echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
- $content = file_get_contents($filename);
- highlight_string($content);
- echo "</pre>";
-?>
-
</body>
</html>
\ No newline at end of file
Modified: trunk/demo/demo5_customized_style.php
===================================================================
--- trunk/demo/demo5_customized_style.php 2009-12-13 21:36:20 UTC (rev 1267)
+++ trunk/demo/demo5_customized_style.php 2010-01-14 19:47:03 UTC (rev 1268)
@@ -41,7 +41,7 @@
?>
<?php
- $filename = dirname(__FILE__)."/demo5_customized_style_data/mytheme/templates/style.css.tpl.php";
+ $filename = dirname(__FILE__)."/demo5_customized_style_data/mytheme/style.css.php";
echo "<p><code>".$filename."</code></p>";
echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
$content = file_get_contents($filename);
Modified: trunk/src/containers/file.class.php
===================================================================
--- trunk/src/containers/file.class.php 2009-12-13 21:36:20 UTC (rev 1267)
+++ trunk/src/containers/file.class.php 2010-01-14 19:47:03 UTC (rev 1268)
@@ -2,7 +2,7 @@
/**
* file.class.php
*
- * Copyright \xA9 2006 Stephane Gully <ste...@gm...>
+ * Copyright � 2006 Stephane Gully <ste...@gm...>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -110,7 +110,7 @@
$leafexists = file_exists($leaffilename);
if ($leafvalue == NULL)
{
- unlink($leaffilename);
+ @unlink($leaffilename);
touch($leaffilename);
}
else
Modified: trunk/src/pfcglobalconfig.class.php
===================================================================
--- trunk/src/pfcglobalconfig.class.php 2009-12-13 21:36:20 UTC (rev 1267)
+++ trunk/src/pfcglobalconfig.class.php 2010-01-14 19:47:03 UTC (rev 1268)
@@ -962,15 +962,15 @@
if (in_array('log',$this->proxies)) {
// test the LOCK_EX feature because the log proxy needs to write in a file
- $filename = $c->data_private_path.'/filemtime2.test';
+ $filename = $this->data_private_path.'/filemtime2.test';
if (is_writable(dirname($filename)))
{
- $data1 = time();
- file_put_contents($filename, $data1, LOCK_EX);
- $data2 = file_get_contents($filename);
- if ($data1 != $data2) {
- unset($this->proxies[array_search('log',$this->proxies)]);
- }
+ $data1 = time();
+ file_put_contents($filename, $data1, LOCK_EX);
+ $data2 = file_get_contents($filename);
+ if ($data1 != $data2) {
+ unset($this->proxies[array_search('log',$this->proxies)]);
+ }
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2009-12-13 21:36:31
|
Revision: 1267
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1267&view=rev
Author: kerphi
Date: 2009-12-13 21:36:20 +0000 (Sun, 13 Dec 2009)
Log Message:
-----------
A user reported this fix because every time a guest rolled, they got a new username!
Modified Paths:
--------------
trunk/demo/demo27_customized_command.php
Modified: trunk/demo/demo27_customized_command.php
===================================================================
--- trunk/demo/demo27_customized_command.php 2009-10-03 14:00:52 UTC (rev 1266)
+++ trunk/demo/demo27_customized_command.php 2009-12-13 21:36:20 UTC (rev 1267)
@@ -13,9 +13,9 @@
$recipient = $p["recipient"];
$recipientid = $p["recipientid"];
- $c =& pfcGlobalConfig::Instance();
+ $u =& pfcUserConfig::Instance();
- $nick = $c->nick;
+ $nick = $u->nick;
$ct =& pfcContainer::Instance();
$text = trim($param);
@@ -27,7 +27,7 @@
$result = $dice->error_get();
$cmdp = $p;
$cmdp["param"] = "Cmd_roll failed: " . $result;
- $cmd =& pfcCommand::Factory("error", $c);
+ $cmd =& pfcCommand::Factory("error");
$cmd->run($xml_reponse, $cmdp);
}
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <gol...@us...> - 2009-10-03 14:01:03
|
Revision: 1266
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1266&view=rev
Author: golemwashere
Date: 2009-10-03 14:00:52 +0000 (Sat, 03 Oct 2009)
Log Message:
-----------
Added oracle container
Added Paths:
-----------
trunk/src/containers/oracle.class.php
Added: trunk/src/containers/oracle.class.php
===================================================================
--- trunk/src/containers/oracle.class.php (rev 0)
+++ trunk/src/containers/oracle.class.php 2009-10-03 14:00:52 UTC (rev 1266)
@@ -0,0 +1,401 @@
+<?php
+/**
+ * src/container/oracle.class.php
+ *
+ * Copyright © 2006 Stephane Gully <ste...@gm...>
+ * Modifications by Golemwashere
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ */
+
+/*
+Oracle specific parameters:
+$params["container_type"] = "oracle";
+$params["container_cfg_oracle_host"] = "localhost";
+$params["container_cfg_oracle_port"] = 1521;
+$params["container_cfg_oracle_database"] = "XE";
+$params["container_cfg_oracle_table"] = "phpfreechat";
+$params["container_cfg_oracle_username"] = "orauser";
+$params["container_cfg_oracle_password"] = "orapw";
+
+*/
+
+
+require_once dirname(__FILE__)."/../pfccontainer.class.php";
+
+// include pear DB classes
+require_once 'DB.php';
+
+/**
+ * pfcContainer_Oracle is a concret container which store data into Oracle database
+ *
+ *
+ * @author Golemwashere
+ * @author Stephane Gully <ste...@gm...>
+ * @author HenkBB
+ */
+class pfcContainer_Oracle extends pfcContainerInterface
+{
+ var $_db = null;
+ var $_sql_create_table = "
+ CREATE TABLE phpfreechat (
+ server varchar2(200) NOT NULL default '',
+ groupg varchar2(200) NOT NULL default '',
+ subgroup varchar2(200) NOT NULL default '',
+ leaf varchar2(200) NOT NULL default '',
+ leafvalue varchar2(4000) NOT NULL,
+ timestampg number(20) NOT NULL default 0,
+);
+
+ PRIMARY KEY (server,groupg,subgroup,leaf);
+ INDEX (server,group,subgroupg,timestampg);
+ CREATE SEQUENCE phpfreechat_leafvalue_seq
+
+ ";
+
+
+ function pfcContainer_Oracle()
+ {
+ pfcContainerInterface::pfcContainerInterface();
+ }
+
+ function getDefaultConfig()
+ {
+ $cfg = pfcContainerInterface::getDefaultConfig();
+ $cfg["oracle_host"] = 'localhost';
+ $cfg["oracle_port"] = 1521;
+ $cfg["oracle_database"] = 'XE';
+ $cfg["oracle_table"] = 'phpfreechat';
+ $cfg["oracle_username"] = 'phpfreechatuser';
+ $cfg["oracle_password"] = 'freechatpass';
+ return $cfg;
+ }
+
+ function init(&$c)
+ {
+
+ $errors = pfcContainerInterface::init($c);
+
+ // connect to the db
+ $db = $this->_connect($c);
+ if ($db === FALSE)
+ {
+ $errors[] = _pfc("DB container: connect error");
+ return $errors;
+ }
+
+ // create the db if it doesn't exists
+ // golemwashere: commented out this part for now, DB must be manually created
+ /*
+ $db_exists = false;
+ $db_list = mysql_list_dbs($db);
+ while (!$db_exists && $row = mysql_fetch_object($db_list))
+ $db_exists = ($c->container_cfg_mysql_database == $row->Database);
+ if (!$db_exists)
+ {
+ $query = 'CREATE DATABASE '.$c->container_cfg_mysql_database;
+ $result = mysql_query($query, $db);
+ if ($result === FALSE)
+ {
+ $errors[] = _pfc("Mysql container: create database error '%s'",mysql_error($db));
+ return $errors;
+ }
+ mysql_select_db($c->container_cfg_mysql_database, $db);
+ }
+
+ // create the table if it doesn't exists
+ $query = $this->_sql_create_table;
+ $query = str_replace('%engine%', $c->container_cfg_mysql_engine,$query);
+ $query = str_replace('%table%', $c->container_cfg_mysql_table,$query);
+ $query = str_replace('%fieldtype_server%', $c->container_cfg_mysql_fieldtype_server,$query);
+ $query = str_replace('%fieldtype_group%', $c->container_cfg_mysql_fieldtype_group,$query);
+ $query = str_replace('%fieldtype_subgroup%', $c->container_cfg_mysql_fieldtype_subgroup,$query);
+ $query = str_replace('%fieldtype_leaf%', $c->container_cfg_mysql_fieldtype_leaf,$query);
+ $query = str_replace('%fieldtype_leafvalue%', $c->container_cfg_mysql_fieldtype_leafvalue,$query);
+ $query = str_replace('%fieldtype_timestamp%', $c->container_cfg_mysql_fieldtype_timestamp,$query);
+ $result = mysql_query($query, $db);
+ if ($result === FALSE)
+ {
+ $errors[] = _pfc("Mysql container: create table error '%s'",mysql_error($db));
+ return $errors;
+ }
+ return $errors;
+ */
+
+ }
+
+ function _connect($c = null)
+ {
+ if (!$this->_db)
+ {
+ if ($c == null) $c =& pfcGlobalConfig::Instance();
+
+ $dsn = array(
+ 'phptype' => 'oci8',
+ 'username' => $c->container_cfg_oracle_username,
+ 'password' => $c->container_cfg_oracle_password,
+ 'hostspec' => '//'.$c->container_cfg_oracle_host.':'.$c->container_cfg_oracle_port.'/'.$c->container_cfg_oracle_database
+ );
+
+$this->_db = DB::connect($dsn);
+if (DB::isError($this->_db))
+{
+ echo 'Cannot connect to database: ' . $this->_db->getMessage();
+}
+
+
+
+ }
+
+
+
+ return $this->_db;
+ }
+
+ function setMeta($group, $subgroup, $leaf, $leafvalue = NULL)
+ {
+ $c =& pfcGlobalConfig::Instance();
+
+ $server = $c->serverid;
+ $db = $this->_connect();
+
+ if ($leafvalue == NULL){$leafvalue=" ";};
+ # clean leafvalue:
+ $leafvalue=str_replace("'", "''", $leafvalue);
+ # GOLEMQUERY #1
+ $sql_count = "SELECT COUNT(*) AS C FROM ".$c->container_cfg_oracle_table." WHERE server='$server' AND groupg='$group' AND subgroup='$subgroup' AND leaf='$leaf' and rownum <= 1";
+ # GOLEMQUERY #2
+ $sql_insert="INSERT INTO ".$c->container_cfg_oracle_table." (server, groupg, subgroup, leaf, leafvalue, timestampg) VALUES('$server', '$group', '$subgroup', '$leaf', '$leafvalue', trunc((to_number(cast((systimestamp AT TIME ZONE 'GMT') as date)-cast(TO_TIMESTAMP_TZ ('01-01-1970 00:00:00 GMT', 'DD-MM-YYYY HH24:MI:SS TZR') as date))*86400)))";
+ # mysql was:
+ #$sql_update="UPDATE ".$c->container_cfg_mysql_table." SET `leafvalue`='".addslashes($leafvalue)."', `timestamp`='".time()."' WHERE `server`='$server' AND `group`='$group' AND `subgroup`='$subgroup' AND `leaf`='$leaf'";
+ # GOLEMQUERY #3
+ $sql_update="UPDATE ".$c->container_cfg_oracle_table." SET leafvalue='$leafvalue', timestampg= trunc((to_number(cast((systimestamp AT TIME ZONE 'GMT') as date)-cast(TO_TIMESTAMP_TZ ('01-01-1970 00:00:00 GMT', 'DD-MM-YYYY HH24:MI:SS TZR') as date))*86400)) WHERE server='$server' AND groupg='$group' AND subgroup='$subgroup' AND leaf='$leaf'";
+
+ if (DEBUGSQL) error_log("sql_count $sql_count");
+ $res = $this->_db->query($sql_count);
+ if (DB::isError($res))
+ {
+ error_log("sql_count error $sql_count " . $res->getMessage());
+ }
+
+
+ $row = $res->fetchRow(DB_FETCHMODE_ASSOC);
+
+/* mysql was:
+ $res = mysql_query($sql_count, $db);
+ $row = mysql_fetch_array($res, MYSQL_ASSOC);
+*/
+
+ if( $row['C'] == 0 )
+ {
+ $res=$this->_db->query($sql_insert);
+ if (DB::isError($res)) { error_log("sql insert error: $sql_insert " . $res->getMessage()); }
+ if (DEBUGSQL) error_log("sql_insert: $sql_insert");
+ return 0; // value created
+ }
+ else
+ {
+ if ($sql_update != "")
+ {
+ $res=$this->_db->query($sql_update);
+ if (DB::isError($res))
+ { error_log("sql update error: $sql_update " . $res->getMessage()); }
+ if (DEBUGSQL) error_log("sql_update $sql_update");
+ }
+ return 1; // value overwritten
+ }
+ }
+
+
+ function getMeta($group, $subgroup = null, $leaf = null, $withleafvalue = false)
+ {
+ $c =& pfcGlobalConfig::Instance();
+
+ $ret = array();
+ $ret["timestamp"] = array();
+ $ret["value"] = array();
+
+ $server = $c->serverid;
+ $db = $this->_connect();
+
+ $sql_where = "";
+ $sql_group_by = "";
+ $value = "leafvalue";
+
+ if ($group != NULL)
+ {
+ $sql_where .= " AND groupg='$group'";
+ $value = "subgroup";
+ #$sql_group_by = "GROUP BY '$value'";
+ $sql_group_by = "GROUP BY $value";
+ }
+
+ if ($subgroup != NULL)
+ {
+ $sql_where .= " AND subgroup='$subgroup'";
+ $value = "leaf";
+ $sql_group_by = "";
+ }
+
+ if ($leaf != NULL)
+ {
+ $sql_where .= " AND leaf='$leaf'";
+ $value = "leafvalue";
+ $sql_group_by = "";
+ }
+
+ # GOLEMQUERY #4
+ $sql_select="SELECT $value, timestampg FROM ".$c->container_cfg_oracle_table." WHERE server='$server' $sql_where $sql_group_by ORDER BY timestampg";
+ if ($sql_select != "")
+ {
+ $thisresult = $this->_db->query($sql_select);
+ if (DEBUGSQL) error_log("sql_select: $sql_select");
+ if (DB::isError($thisresult)) { error_log("sql_select error $sql_select " . $thisresult->getMessage()); }
+
+
+ #if (mysql_num_rows($thisresult))
+ $this->_db->setOption('portability', DB_PORTABILITY_NUMROWS);
+
+ #error_log("numrows $numrows");
+
+ if ($thisresult->numRows())
+ {
+ #while ($regel = mysql_fetch_array($thisresult))
+ while ($regel = $thisresult->fetchRow(DB_FETCHMODE_ASSOC))
+ {
+ $ret["timestamp"][] = $regel["TIMESTAMPG"];
+ if ($value == "leafvalue")
+ {
+ if ($withleafvalue)
+ $ret["value"][] = $regel[strtoupper($value)];
+ else
+ $ret["value"][] = NULL;
+ }
+ else
+ $ret["value"][] = $regel[strtoupper($value)];
+ }
+
+ }
+ else
+ return $ret;
+ }
+ return $ret;
+ }
+
+
+ function incMeta($group, $subgroup, $leaf)
+ {
+ $c =& pfcGlobalConfig::Instance();
+
+ $server = $c->serverid;
+ $db = $this->_connect();
+ $time = time();
+
+ // search for the existing leafvalue
+ # GOLEMQUERY #5
+ $sql_count = "SELECT COUNT(*) AS C FROM ".$c->container_cfg_oracle_table." WHERE server='$server' AND groupg='$group' AND subgroup='$subgroup' AND leaf='$leaf' and rownum <= 1";
+ $res = $this->_db->query($sql_count);
+ if (DB::isError($res)) { error_log("sql_count error $sql_count " . $res->getMessage()); }
+ if (DEBUGSQL) error_log("sql select $sql_count");
+ $row = $res->fetchRow(DB_FETCHMODE_ASSOC);
+ #$res = mysql_query($sql_count, $db);
+ #$row = mysql_fetch_array($res, MYSQL_ASSOC);
+ if( $row['C'] == 0 )
+ {
+ $leafvalue = 1;
+ #$sql_insert="REPLACE INTO ".$c->container_cfg_mysql_table." (`server`, `group`, `subgroup`, `leaf`, `leafvalue`, `timestamp`) VALUES('$server', '$group', '$subgroup', '$leaf', '".$leafvalue."', '".$time."')";
+ # GOLEMQUERY # 6
+ $sql_insert="INSERT INTO ".$c->container_cfg_oracle_table." (server, groupg, subgroup, leaf, leafvalue, timestampg) VALUES('$server', '$group', '$subgroup', '$leaf','$leafvalue', trunc((to_number(cast((systimestamp AT TIME ZONE 'GMT') as date)-cast(TO_TIMESTAMP_TZ ('01-01-1970 00:00:00 GMT', 'DD-MM-YYYY HH24:MI:SS TZR') as date))*86400)))";
+
+ #mysql_query($sql_insert, $db);
+ $res=$this->_db->query($sql_insert);
+ if (DB::isError($res)){ error_log("sql insert error $sql_insert " . $res->getMessage()); }
+ if (DEBUGSQL) error_log("sql_insert $sql_insert");
+ }
+ else
+ {
+ # mysql was:
+ #$sql_update="UPDATE ".$c->container_cfg_mysql_table." SET leafvalue= LAST_INSERT_ID( leafvalue + 1 ), `timestamp`='".$time."' WHERE server='$server' AND groupg='$group' AND subgroup='$subgroup' AND leaf='$leaf'";
+ # GOLEMQUERY #7
+ # test using sequence nextval
+ $sql_update="UPDATE ".$c->container_cfg_oracle_table." SET leafvalue= phpfreechat_leafvalue_seq.NEXTVAL, timestampg=trunc((to_number(cast((systimestamp AT TIME ZONE 'GMT') as date)-cast(TO_TIMESTAMP_TZ ('01-01-1970 00:00:00 GMT', 'DD-MM-YYYY HH24:MI:SS TZR') as date))*86400)) WHERE server='$server' AND groupg='$group' AND subgroup='$subgroup' AND leaf='$leaf'";
+
+ $res=$this->_db->query($sql_update);
+ if (DB::isError($res)){ error_log("problema update: $sql_update " . $res->getMessage()); }
+ if (DEBUGSQL) error_log("sql_update $sql_update");
+ #
+ # GOLEMQUERY #8
+ # test using sequence currval
+ $sql_last="SELECT phpfreechat_leafvalue_seq.currVAL as lastleaf FROM dual";
+ $res = $this->_db->query($sql_last);
+ if (DB::isError($res)) { error_log("error in SELECT lastleaf $sql_last" . $res->getMessage()); }
+ if (DEBUGSQL) error_log("select: SELECT phpfreechat_leafvalue_seq.currVAL as lastleaf FROM dual");
+ #$row = mysql_fetch_array($res, MYSQL_ASSOC);
+ $row = $res->fetchRow(DB_FETCHMODE_ASSOC);
+ $leafvalue = $row['LASTLEAF'];
+ }
+
+ $ret["value"][] = $leafvalue;
+ $ret["timestamp"][] = $time;
+
+ return $ret;
+ }
+
+
+ function rmMeta($group, $subgroup = null, $leaf = null)
+ {
+ $c =& pfcGlobalConfig::Instance();
+
+ $server = $c->serverid;
+ $db = $this->_connect();
+ # GOLEMQUERY #9
+ $sql_delete = "DELETE FROM ".$c->container_cfg_oracle_table." WHERE server='$server'";
+
+ if($group != NULL)
+ $sql_delete .= " AND groupg='$group'";
+
+ if($subgroup != NULL)
+ $sql_delete .= " AND subgroup='$subgroup'";
+
+ if ($leaf != NULL)
+ $sql_delete .= " AND leaf='$leaf'";
+
+ #mysql_query($sql_delete, $db);
+ $res=$this->_db->query($sql_delete);
+ if (DB::isError($res))
+ { error_log('sql_delete $sql_delete ' . $res->getMessage()); }
+
+ if (DEBUGSQL) error_log("sql_delete $sql_delete");
+
+ return true;
+ }
+
+ function encode($str)
+ {
+ return $str;
+ //return addslashes(urlencode($str));
+ }
+
+ function decode($str)
+ {
+ return $str;
+ //return urldecode(stripslashes($str));
+ }
+
+
+
+}
+
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2009-09-02 20:18:28
|
Revision: 1265
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1265&view=rev
Author: kerphi
Date: 2009-09-02 20:18:19 +0000 (Wed, 02 Sep 2009)
Log Message:
-----------
fix some wrong words
Modified Paths:
--------------
trunk/i18n/fr_FR/main.php
Modified: trunk/i18n/fr_FR/main.php
===================================================================
--- trunk/i18n/fr_FR/main.php 2009-08-25 07:31:59 UTC (rev 1264)
+++ trunk/i18n/fr_FR/main.php 2009-09-02 20:18:19 UTC (rev 1265)
@@ -36,7 +36,7 @@
$GLOBALS["i18n"]["Please enter your nickname"] = "Entrez votre pseudonyme";
// line 565 in phpfreechat.class.php
-$GLOBALS["i18n"]["Text cannot be empty"] = "Le message ne peux pas être vide";
+$GLOBALS["i18n"]["Text cannot be empty"] = "Le message ne peut pas être vide";
// line 392 in phpfreechat.class.php
$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s s'appelle maintenant %s";
@@ -72,13 +72,13 @@
$GLOBALS["i18n"]["%s must be a directory"] = "%s doit être un répertoire";
// line 446 in phpfreechatconfig.class.php
-$GLOBALS["i18n"]["%s can't be created"] = "%s ne peux pas être créé";
+$GLOBALS["i18n"]["%s can't be created"] = "%s ne peut pas être créé";
// line 451 in phpfreechatconfig.class.php
-$GLOBALS["i18n"]["%s is not writeable"] = "%s ne peux pas être écrit";
+$GLOBALS["i18n"]["%s is not writeable"] = "%s ne peut pas être écrit";
// line 496 in phpfreechatconfig.class.php
-$GLOBALS["i18n"]["%s is not readable"] = "%s ne peux pas être lu";
+$GLOBALS["i18n"]["%s is not readable"] = "%s ne peut pas être lu";
// line 469 in phpfreechatconfig.class.php
$GLOBALS["i18n"]["%s is not a file"] = "%s n'est pas un fichier";
@@ -402,4 +402,4 @@
// line 89 in invite.class.php
$GLOBALS["i18n"]["%s was invited by %s"] = "%s a été invité par %s";
-?>
\ 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: <ke...@us...> - 2009-08-25 07:32:08
|
Revision: 1264
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1264&view=rev
Author: kerphi
Date: 2009-08-25 07:31:59 +0000 (Tue, 25 Aug 2009)
Log Message:
-----------
Removes the log proxy if the filesystem can't manage file locking functionnality
Modified Paths:
--------------
trunk/src/pfcglobalconfig.class.php
Modified: trunk/src/pfcglobalconfig.class.php
===================================================================
--- trunk/src/pfcglobalconfig.class.php 2009-04-26 13:10:07 UTC (rev 1263)
+++ trunk/src/pfcglobalconfig.class.php 2009-08-25 07:31:59 UTC (rev 1264)
@@ -934,7 +934,7 @@
$ct_errors = $ct->init($this);
$this->errors = array_merge($this->errors, $ct_errors);
- // check the language is known
+ // check if the wanted language is known
$lg_list = pfcI18N::GetAcceptedLanguage();
if ( $this->language != "" && !in_array($this->language, $lg_list) )
$this->errors[] = _pfc("'%s' parameter is not valid. Available values are : '%s'", "language", implode(", ", $lg_list));
@@ -959,6 +959,21 @@
$this->proxies[] = $px;
}
+
+ if (in_array('log',$this->proxies)) {
+ // test the LOCK_EX feature because the log proxy needs to write in a file
+ $filename = $c->data_private_path.'/filemtime2.test';
+ if (is_writable(dirname($filename)))
+ {
+ $data1 = time();
+ file_put_contents($filename, $data1, LOCK_EX);
+ $data2 = file_get_contents($filename);
+ if ($data1 != $data2) {
+ unset($this->proxies[array_search('log',$this->proxies)]);
+ }
+ }
+ }
+
// save the proxies path
$this->proxies_path_default = dirname(__FILE__).'/proxies';
// check the customized proxies path
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2009-04-26 13:10:18
|
Revision: 1263
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1263&view=rev
Author: kerphi
Date: 2009-04-26 13:10:07 +0000 (Sun, 26 Apr 2009)
Log Message:
-----------
Isolate the kick/ban notices. Setup the flag 4 on the shownotice parameter to display only kick/ban notices.
Modified Paths:
--------------
trunk/index.php
trunk/src/commands/ban.class.php
trunk/src/commands/kick.class.php
trunk/src/commands/leave.class.php
trunk/src/commands/notice.class.php
trunk/src/pfcglobalconfig.class.php
Modified: trunk/index.php
===================================================================
--- trunk/index.php 2009-04-25 11:58:21 UTC (rev 1262)
+++ trunk/index.php 2009-04-26 13:10:07 UTC (rev 1263)
@@ -5,9 +5,9 @@
$params["title"] = "Quick chat";
$params["nick"] = "guest".rand(1,1000); // setup the intitial nickname
$params['firstisadmin'] = true;
-//$params["isadmin"] = true; // do not use it on production servers ;)
+//$params["isadmin"] = true; // makes everybody admin: do not use it on production servers ;)
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
-$params["debug"] = true;
+$params["debug"] = false;
$chat = new phpFreeChat( $params );
?>
Modified: trunk/src/commands/ban.class.php
===================================================================
--- trunk/src/commands/ban.class.php 2009-04-25 11:58:21 UTC (rev 1262)
+++ trunk/src/commands/ban.class.php 2009-04-26 13:10:07 UTC (rev 1263)
@@ -46,11 +46,11 @@
// notify all the channel
$cmdp = $p;
$cmdp["param"] = _pfc("%s banished from %s by %s", $nick, $channame, $sender);
- $cmdp["flag"] = 1;
+ $cmdp["flag"] = 4;
$cmd =& pfcCommand::Factory("notice");
$cmd->run($xml_reponse, $cmdp);
- // kick the user (maybe in the future, it will be dissociate in a /kickban command)
+ // kick the user (maybe in the future, it will exists a /kickban command)
$cmdp = $p;
$cmdp["params"] = array();
$cmdp["params"][] = $nick; // nickname to kick
Modified: trunk/src/commands/kick.class.php
===================================================================
--- trunk/src/commands/kick.class.php 2009-04-25 11:58:21 UTC (rev 1262)
+++ trunk/src/commands/kick.class.php 2009-04-26 13:10:07 UTC (rev 1263)
@@ -44,6 +44,7 @@
$channame = $u->channels[$recipientid]["name"];
$cmdstr = 'leave';
$cmdp = array();
+ $cmdp['flag'] = 4;
$cmdp['params'][] = 'ch';
$cmdp['params'][] = $channame; // channel name
$cmdp['params'][] = _pfc("kicked from %s by %s - reason: %s", $channame, $sender, $reason); // reason
Modified: trunk/src/commands/leave.class.php
===================================================================
--- trunk/src/commands/leave.class.php 2009-04-25 11:58:21 UTC (rev 1262)
+++ trunk/src/commands/leave.class.php 2009-04-26 13:10:07 UTC (rev 1263)
@@ -14,6 +14,7 @@
$sender = $p["sender"];
$recipient = $p["recipient"];
$recipientid = $p["recipientid"];
+ $flag = isset($p["flag"]) ? $p["flag"] : 2;
$c =& pfcGlobalConfig::Instance();
$u =& pfcUserConfig::Instance();
@@ -95,7 +96,7 @@
$cmdp = $p;
$cmdp["recipient"] = $leave_recip;
$cmdp["recipientid"] = $leave_id;
- $cmdp["flag"] = 2;
+ $cmdp["flag"] = $flag;
$cmdp["param"] = _pfc("%s quit",$u->getNickname());
if ($reason != "") $cmdp["param"] .= " (".$reason.")";
$cmd =& pfcCommand::Factory("notice");
Modified: trunk/src/commands/notice.class.php
===================================================================
--- trunk/src/commands/notice.class.php 2009-04-25 11:58:21 UTC (rev 1262)
+++ trunk/src/commands/notice.class.php 2009-04-26 13:10:07 UTC (rev 1263)
@@ -11,7 +11,7 @@
$sender = $p["sender"];
$recipient = $p["recipient"];
$recipientid = $p["recipientid"];
- $flag = isset($p["flag"]) ? $p["flag"] : 3;
+ $flag = isset($p["flag"]) ? $p["flag"] : 7;
$c =& pfcGlobalConfig::Instance();
$u =& pfcUserConfig::Instance();
Modified: trunk/src/pfcglobalconfig.class.php
===================================================================
--- trunk/src/pfcglobalconfig.class.php 2009-04-25 11:58:21 UTC (rev 1262)
+++ trunk/src/pfcglobalconfig.class.php 2009-04-26 13:10:07 UTC (rev 1263)
@@ -330,10 +330,11 @@
* <p><ul><li>Setting this to 0 will show nothing.</li>
* <li>Setting it to 1 will show nicknames changes.</li>
* <li>Setting it to 2 will show connect/disconnect notifications.</li>
- * <li>Setting it to 3 (1+2) will show nicknames and connect/disconnect notifications.</li></ul>
- * (Default value: 3)</p>
+ * <li>Setting it to 4 will show kick/ban notifications.</li>
+ * <li>Setting it to 7 (1+2+4) will show all the notifications.</li></ul>
+ * (Default value: 7)</p>
*/
- var $shownotice = 3;
+ var $shownotice = 7;
/**
* <p>Setting it to false will disable nickname colorization.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2009-04-25 11:58:31
|
Revision: 1262
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1262&view=rev
Author: kerphi
Date: 2009-04-25 11:58:21 +0000 (Sat, 25 Apr 2009)
Log Message:
-----------
Makes more flexible the users list customization (example: change the little icon, modify the nicknames styles)
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2009-04-25 11:09:31 UTC (rev 1261)
+++ trunk/data/public/js/pfcclient.js 2009-04-25 11:58:21 UTC (rev 1262)
@@ -1398,6 +1398,26 @@
this.nickwhoisbox.set(nickid, div);
},
+ buildNickItem_create_image: function(nickid)
+ {
+ var className = (! is_ie) ? 'class' : 'className';
+ var isadmin = this.getUserMeta(nickid, 'isadmin');
+ var img = document.createElement('img');
+ if (isadmin)
+ img.setAttribute('src', this.res.getFileUrl('images/user-admin.gif'));
+ else
+ img.setAttribute('src', this.res.getFileUrl('images/user.gif'));
+ img.style.marginRight = '5px';
+ img.setAttribute(className, 'pfc_nickbutton');
+ return img;
+ },
+
+ buildNickItem_modify_nick_style: function(nickid, span)
+ {
+ // this method can be overloaded to change the nick style (color, font ...)
+ // example: span.style.color = 'red';
+ },
+
buildNickItem: function(nickid)
{
var className = (! is_ie) ? 'class' : 'className';
@@ -1424,14 +1444,8 @@
}
li.appendChild(a);
- var img = document.createElement('img');
- if (isadmin)
- img.setAttribute('src', this.res.getFileUrl('images/user-admin.gif'));
- else
- img.setAttribute('src', this.res.getFileUrl('images/user.gif'));
- img.style.marginRight = '5px';
- img.setAttribute(className, 'pfc_nickbutton');
- a.appendChild(img);
+ var img = this.buildNickItem_create_image(nickid);
+ if (img) a.appendChild(img);
// nobr is not xhtml valid but it's a workeround
// for IE which doesn't support 'white-space: pre' css rule
@@ -1439,6 +1453,7 @@
var span = document.createElement('span');
span.setAttribute(className, 'pfc_nickmarker pfc_nick_'+nickid);
span.innerHTML = nick.escapeHTML();
+ this.buildNickItem_modify_nick_style(nickid, span);
nobr.appendChild(span);
a.appendChild(nobr);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2009-04-25 11:09:35
|
Revision: 1261
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1261&view=rev
Author: kerphi
Date: 2009-04-25 11:09:31 +0000 (Sat, 25 Apr 2009)
Log Message:
-----------
Makes more flexible "whoisbox" customization (example: add an avatar)
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
trunk/demo/demo50_data/mytheme/customize.js.php
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2009-03-11 09:19:41 UTC (rev 1260)
+++ trunk/data/public/js/pfcclient.js 2009-04-25 11:09:31 UTC (rev 1261)
@@ -1283,7 +1283,28 @@
this.updateNickWhoisBox(nickid);
return this.nickwhoisbox.get(nickid);
},
-
+
+ updateNickWhoisBox_ignored_field: function(k)
+ {
+ return ( k == 'nickid' ||
+ k == 'nick' || // useless because it is displayed in the box title
+ k == 'isadmin' || // useless because of the gold shield icon
+ k == 'floodtime' ||
+ k == 'flood_nbmsg' ||
+ k == 'flood_nbchar'
+ );
+ },
+
+ updateNickWhoisBox_append_html: function(nickid, div)
+ {
+ // this methode can be overloaded to append customized data to the whoisbox
+ },
+
+ updateNickWhoisBox_prepend_html: function(nickid, div)
+ {
+ // this methode can be overloaded to prepend customized data to the whoisbox
+ },
+
updateNickWhoisBox: function(nickid)
{
var className = (! is_ie) ? 'class' : 'className';
@@ -1308,6 +1329,8 @@
img.alt = this.res.getLabel('Close');
p.appendChild(img);
p.appendChild(document.createTextNode(usermeta.get('nick'))); // append the nickname text in the title
+
+ this.updateNickWhoisBox_prepend_html(nickid,div);
// add the whois information table
var table = document.createElement('table');
@@ -1319,13 +1342,7 @@
{
var k = um_keys[i];
var v = usermeta.get(k);
- if (v && k != 'nickid'
- && k != 'nick' // useless because it is displayed in the box title
- && k != 'isadmin' // useless because of the gold shield icon
- && k != 'floodtime'
- && k != 'flood_nbmsg'
- && k != 'flood_nbchar'
- )
+ if (v && !this.updateNickWhoisBox_ignored_field(k))
{
var tr = document.createElement('tr');
if (pfc_nickmeta_key_to_hide.indexOf(k) != -1)
@@ -1351,7 +1368,9 @@
}
}
div.appendChild(table);
-
+
+ this.updateNickWhoisBox_append_html(nickid,div);
+
// add the privmsg link (do not add it if the nick is yours)
if (pfc.getUserMeta(nickid,'nick') != this.nickname)
{
Modified: trunk/demo/demo50_data/mytheme/customize.js.php
===================================================================
--- trunk/demo/demo50_data/mytheme/customize.js.php 2009-03-11 09:19:41 UTC (rev 1260)
+++ trunk/demo/demo50_data/mytheme/customize.js.php 2009-04-25 11:09:31 UTC (rev 1261)
@@ -1,62 +1,19 @@
-pfcClient.prototype.updateNickWhoisBox = function(nickid)
+pfcClient.prototype.updateNickWhoisBox_ignored_field = function(k)
{
+ return ( k == 'nickid' ||
+ k == 'nick' || // useless because it is displayed in the box title
+ k == 'isadmin' || // useless because of the gold shield icon
+ k == 'floodtime' ||
+ k == 'flood_nbmsg' ||
+ k == 'flood_nbchar' ||
+ k == 'avatar'
+ );
+}
+
+pfcClient.prototype.updateNickWhoisBox_append_html = function(nickid, div)
+{
var className = (! is_ie) ? 'class' : 'className';
-
- var usermeta = this.getAllUserMeta(nickid);
-
- var div = document.createElement('div');
- div.setAttribute(className, 'pfc_nickwhois');
-
- var p = document.createElement('p');
- p.setAttribute(className, 'pfc_nickwhois_header');
- div.appendChild(p);
-
- // add the close button
- var img = document.createElement('img');
- img.setAttribute(className, 'pfc_nickwhois_close');
- img.pfc_parent = div;
- img.onclick = function(evt){
- this.pfc_parent.style.display = 'none';
- return false;
- }
- img.setAttribute('src', this.res.getFileUrl('images/close-whoisbox.gif'));
- img.alt = this.res.getLabel('Close');
- p.appendChild(img);
- p.appendChild(document.createTextNode(usermeta['nick'])); // append the nickname text in the title
-
- // add the whois information table
- var table = document.createElement('table');
- var tbody = document.createElement('tbody');
- table.appendChild(tbody);
- var um_keys = usermeta.keys();
- var msg = '';
- for (var i=0; i<um_keys.length; i++)
- {
- var k = um_keys[i];
- var v = usermeta[k];
- if (v && k != 'nickid'
- && k != 'nick' // useless because it is displayed in the box title
- && k != 'isadmin' // useless because of the gold shield icon
- && k != 'floodtime'
- && k != 'flood_nbmsg'
- && k != 'flood_nbchar'
- && k != 'avatar'
- )
- {
- var tr = document.createElement('tr');
- var td1 = document.createElement('td');
- td1.setAttribute(className, 'pfc_nickwhois_c1');
- var td2 = document.createElement('td');
- td2.setAttribute(className, 'pfc_nickwhois_c2');
- td1.appendChild(document.createTextNode(k));
- td2.appendChild(document.createTextNode(v));
- tr.appendChild(td1);
- tr.appendChild(td2);
- tbody.appendChild(tr);
- }
- }
- div.appendChild(table);
-
+
// append the avatar image
if (this.getUserMeta(nickid,'avatar'))
{
@@ -65,30 +22,4 @@
img.setAttribute(className, 'pfc_nickwhois_avatar');
div.appendChild(img);
}
-
- // add the privmsg link (do not add it if this button is yourself)
- if (pfc.getUserMeta(nickid,'nick') != this.nickname)
- {
- var p = document.createElement('p');
- p.setAttribute(className, 'pfc_nickwhois_pv');
- var a = document.createElement('a');
- a.setAttribute('href', '');
- a.pfc_nickid = nickid;
- a.pfc_parent = div;
- a.onclick = function(evt){
- var nick = pfc.getUserMeta(this.pfc_nickid,'nick');
- pfc.sendRequest('/privmsg "'+nick+'"');
- this.pfc_parent.style.display = 'none';
- return false;
- }
- var img = document.createElement('img');
- img.setAttribute('src', this.res.getFileUrl('images/openpv.gif'));
- img.alt = document.createTextNode(this.res.getLabel('Private message'));
- a.appendChild(img);
- a.appendChild(document.createTextNode(this.res.getLabel('Private message')));
- p.appendChild(a);
- div.appendChild(p);
- }
-
- this.nickwhoisbox[nickid] = div;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2009-03-11 09:20:00
|
Revision: 1260
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1260&view=rev
Author: kerphi
Date: 2009-03-11 09:19:41 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
New translations and updated translations: ml_MK, cs_CZ, nl_NL, pl_PL, nn_NO, ca_CAT, sk_SK, ja_JP, hu_HU, and it_IT
Modified Paths:
--------------
trunk/i18n/hu_HU/main.php
trunk/i18n/it_IT/main.php
trunk/i18n/ja_JP/main.php
trunk/i18n/nl_NL/main.php
trunk/i18n/nn_NO/main.php
trunk/i18n/pl_PL/main.php
Added Paths:
-----------
trunk/i18n/ca_CAT/
trunk/i18n/ca_CAT/main.php
trunk/i18n/cs_CZ/
trunk/i18n/cs_CZ/main.php
trunk/i18n/mk_MK/
trunk/i18n/mk_MK/main.php
trunk/i18n/sk_SK/
trunk/i18n/sk_SK/main.php
Added: trunk/i18n/ca_CAT/main.php
===================================================================
--- trunk/i18n/ca_CAT/main.php (rev 0)
+++ trunk/i18n/ca_CAT/main.php 2009-03-11 09:19:41 UTC (rev 1260)
@@ -0,0 +1,404 @@
+<?php
+/**
+* i18n/ca_CAT/main.php
+*
+ * Copyright © 2006 Stephane Gully <ste...@gm...>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ */
+
+/**
+ * Spanish translation of the messages (utf8 encoded!)
+ *
+ * @translated by Daniel Olivares Giménez <dani88elx [_a_] gmail.com>
+ */
+
+// line 45 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["My Xat"] = "El meu xat";
+
+// line 201 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "%s no trobada, la llibreria %s no s'ha trobat.";
+
+// line 355 in phpfreechat.class.php
+$GLOBALS["i18n"]["Please enter your nickname"] = "Per favor introdueix el teu nick";
+
+// line 565 in phpfreechat.class.php
+$GLOBALS["i18n"]["Text cannot be empty"] = "El text no pot estar buit";
+
+// line 392 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s canvia el seu nick nickname a %s";
+
+// line 398 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s is connected"] = "%s està connectat";
+
+// line 452 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s quit"] = "%s s'ha desconnectat";
+
+// line 468 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s s'ha desconnectat (timeout)";
+
+// line 262 in phpfreechat.class.php
+$GLOBALS["i18n"]["Unknown command [%s]"] = "comanda desconeguda [%s]";
+
+// line 149 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s no existeix: %s";
+
+// line 180 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["You need %s"] = "Necessites %s";
+
+// line 241 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s no existeix, la llibreria %s no pot ser trobada";
+
+// line 280 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist"] = "%s no existeix";
+
+// line 433 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s directory must be specified"] = "s'ha d'indicar el directori %s";
+
+// line 439 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s must be a directory"] = "%s ha de ser un directori";
+
+// line 446 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s can't be created"] = "%s no pot ser creat";
+
+// line 451 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not writeable"] = "%s no es pot escriure";
+
+// line 496 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not readable"] = "%s no es pot llegir";
+
+// line 469 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a file"] = "%s no és un fitxer";
+
+// line 491 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a directory"] = "%s no és un directori";
+
+// line 23 in xat.html.tpl.php
+$GLOBALS["i18n"]["PHP FREE XAT [powered by phpFreeChat-%s]"] = "XAT PHP GRATUÏT [phpFreeChat-%s]";
+
+// line 296 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide nickname marker"] = "Oculta els colors del nick";
+
+// line 304 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show nickname marker"] = "Mostra els colors del nick";
+
+// line 389 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Disconnect"] = "Desconnecta";
+
+// line 395 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Connect"] = "Connecta";
+
+// line 427 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Magnify"] = "Maximiza";
+
+// line 434 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Cut down"] = "Minimitza";
+
+// line 345 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide datis and hours"] = "Oculta les dates i hores";
+
+// line 353 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show datis and hours"] = "Mostra les dates i hores";
+
+// line 21 in xat.html.tpl.php
+$GLOBALS["i18n"]["Enter your message here"] = "Ingressa el teu missatge aquí";
+
+// line 24 in xat.html.tpl.php
+$GLOBALS["i18n"]["Enter your nickname here"] = "Ingressa el teu nick aquí";
+
+// line 93 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Error: '%s' paràmetre no definit o obsolet, per favor corregeixi-ho o elimini aquest paràmetre";
+
+// line 48 in phpfreechattemplate.class.php
+$GLOBALS["i18n"]["%s template could not be found"] = "No s'ha trobat la plantilla %s";
+
+$GLOBALS["i18n"]["Error: '%s' could not be found, please check your themepath '%s' and your theme '%s' are correct"] = "Error: '%s' no s'ha trobat, per favor verifica que són correctes el directori del tema (themepath) '%s' i el tema '%s' ";
+
+// line 33 in xat.html.tpl.php
+$GLOBALS["i18n"]["Bold"] = "Negreta";
+
+// line 34 in xat.html.tpl.php
+$GLOBALS["i18n"]["Italics"] = "Cursiva";
+
+// line 35 in xat.html.tpl.php
+$GLOBALS["i18n"]["Underline"] = "Subratllat";
+
+// line 36 in xat.html.tpl.php
+$GLOBALS["i18n"]["Delete"] = "Ratllat";
+
+// line 37 in xat.html.tpl.php
+$GLOBALS["i18n"]["Pre"] = "Pre";
+
+// line 38 in xat.html.tpl.php
+$GLOBALS["i18n"]["Mail"] = "E-mail";
+
+// line 39 in xat.html.tpl.php
+$GLOBALS["i18n"]["Color"] = "Color";
+
+// line 86 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Hide smiley box"] = "Oculta quadre d\'icones gestuals";
+
+// line 87 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Show smiley box"] = "Mostra icones gestuals";
+
+// line 88 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Hide online users box"] = "Oculta usuaris en línia";
+
+// line 89 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Show online users box"] = "Mostra usuaris en línia";
+
+// line 75 in pfccommand.class.php
+$GLOBALS["i18n"]["%s must be implemented"] = "%s s'ha d'implementar";
+
+// line 343 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "El paràmetre '%s' és obligatori, per defecte s'usa el valor '%s'";
+
+// line 378 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be a positive number"] = "El paràmetre '%s' haver de ser un nombre positiu";
+
+// line 386 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "El paràmetre '%s' no és vàlid. Els valors possibles són : '%s'";
+
+// line 186 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["My room"] = "La meva sala";
+
+// line 19 in unban.class.php
+$GLOBALS["i18n"]["Missing parameter"] = "Paràmetre perdut";
+
+// line 38 in ban.class.php
+$GLOBALS["i18n"]["banished from %s by %s"] = "Expulsat de %s per %s";
+
+// line 23 in banlist.class.php
+$GLOBALS["i18n"]["The banished user's id list is:"] = "La llista d'usuaris expulsats:";
+
+// line 32 in banlist.class.php
+$GLOBALS["i18n"]["Empty"] = "Buit";
+
+// line 34 in banlist.class.php
+$GLOBALS["i18n"]["'/unban {id}' will unban the user identified by {id}"] = "'/unban {id}' tornarà a admetre a l'usuari identificat per {id}";
+
+// line 35 in banlist.class.php
+$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = "'/unban all' tornarà a admetre a tots els usuaris en aquest canal (channel)";
+
+// line 24 in update.class.php
+$GLOBALS["i18n"]["%s quit (timeout)"] = "%s desconnectat (timeout)";
+
+// line 46 in join.class.php
+$GLOBALS["i18n"]["%s joins %s"] = "%s s'uneix a %s";
+
+// line 31 in kick.class.php
+$GLOBALS["i18n"]["kicked from %s by %s"] = "Expulsat de %s per %s";
+
+// line 38 in send.class.php
+$GLOBALS["i18n"]["can't send the message, %s is offline"] = "No es pot enviar el missatge, %s està desconnectat";
+
+// line 27 in unban.class.php
+$GLOBALS["i18n"]["Nobody has been unbanished"] = "Ningú ha estat re-admès";
+
+// line 42 in unban.class.php
+$GLOBALS["i18n"]["%s has been unbanished"] = "%s s'ha tornat a admetre";
+
+// line 49 in unban.class.php
+$GLOBALS["i18n"]["%s users have been unbanished"] = "%s usuaris van ser admesos";
+
+// line 47 in auth.class.php
+$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "No pots executar la comanda '%s'";
+
+// line 66 in auth.class.php
+$GLOBALS["i18n"]["can't join %s because you are banished"] = "No pots entrar %s perquè aquestes prohibit";
+
+// line 76 in auth.class.php
+$GLOBALS["i18n"]["can't join %s because the channels list is restricted"] = "No pots entrar %s perquè la llista de canals està restringida";
+
+// line 89 in auth.class.php
+$GLOBALS["i18n"]["You are not allowed to change your nickname"] = "No tens permès canviar el teu nick";
+
+// line 56 in noflood.class.php
+$GLOBALS["i18n"]["Please don't post sota many message, flood is not tolerated"] = "Per favor no ingressis tants missatges en tan poc temps";
+
+// line 109 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Private message"] = "Missatge privat";
+
+// line 110 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Close this tab"] = "Tanca aquesta pestanya";
+
+// line 199 in pfcgui.js.tpl.php
+$GLOBALS["i18n"]["Do you really want to leave this room ?"] = "Realment vols deixar aquesta sala?";
+
+// line 169 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = "Error: '%s' és un paràmetre privat, no està permès canviar-ho";
+
+// line 253 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be an array"] = "El paràmetre '%s' ha de ser un vector (array)";
+
+// line 265 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "El paràmetre '%s' ha de ser un booleà";
+
+// line 271 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "El paràmetre '%s' ha de ser una cadena de caràcters";
+
+// line 395 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' must be writable"] = "'%s' ha de ser escriptible";
+
+// line 425 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "El directori '%s' no existeix";
+
+// line 544 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["Please correct these errors"] = "Per favor, corregeix aquest error";
+
+// line 21 in pfcinfo.class.php
+$GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "Error: l'arxiu de caxè config no existeix";
+
+// line 190 in phpfreechat.class.php
+$GLOBALS["i18n"]["Error: the xat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights - don't hesitate to ask some help on the forum"] = "Error: El xat es pot carregar !, hi ha 2 possibilitats: el teu navegador no suporta JavaScript o no has configurat correctament els directoris del servidor. No dubtis a demanar ajuda al fòrum";
+
+// line 31 in help.class.php
+$GLOBALS["i18n"]["Here is the command list:"] = "Aquí està la llista de comandaments";
+
+// line 63 in identify.class.php
+$GLOBALS["i18n"]["Succesfully identified"] = "Identificat correctament";
+
+// line 68 in identify.class.php
+$GLOBALS["i18n"]["Identification failure"] = "Identificació fallada";
+
+// line 25 in send.class.php
+$GLOBALS["i18n"]["Your must be connected to send a message"] = "Has d'estar connectat per a enviar un missatge";
+
+// line 87 in chat.js.tpl.php
+$GLOBALS["i18n"]["Click here to send your message"] = "Fes clic aquí per a enviar el missatge";
+
+// line 80 in chat.js.tpl.php
+$GLOBALS["i18n"]["Enter the text to format"] = "Ingressa el text que serà formatejat";
+
+// line 81 in chat.js.tpl.php
+$GLOBALS["i18n"]["Configuration has been rehashed"] = "La configuració ha estat feta";
+
+// line 82 in chat.js.tpl.php
+$GLOBALS["i18n"]["A problem occurs during rehash"] = "Va ocórrer un problema durant el procés";
+
+// line 83 in chat.js.tpl.php
+$GLOBALS["i18n"]["Chosen nickname is already used"] = "El nick triat ja està sent utilitzat";
+
+// line 84 in chat.js.tpl.php
+$GLOBALS["i18n"]["phpfreechat current version is %s"] = "l\'actual versió de phpfreechat és %s";
+
+// line 85 in chat.js.tpl.php
+$GLOBALS["i18n"]["Maximum number of joined channels has been reached"] = "S\'ha arribat al nombre màxim de canals";
+
+// line 86 in chat.js.tpl.php
+$GLOBALS["i18n"]["Maximum number of private xat has been reached"] = "S\'ha arribat al nombre màxim de privats";
+
+// line 88 in chat.js.tpl.php
+$GLOBALS["i18n"]["Send"] = "Envia";
+
+// line 86 in mysql.class.php
+$GLOBALS["i18n"]["Mysql container: connect error"] = "Contenidor MySQL: error de connexió";
+
+// line 101 in mysql.class.php
+$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Contenidor MySQL: '%s' error en la creació de la base de dades";
+
+// line 112 in mysql.class.php
+$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "Contenidor MySQL: '%s' error en la creació de taula(es)";
+
+// line 80 in chat.js.tpl.php
+$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "No està permès parlar-se a un mateix";
+
+// line 82 in chat.js.tpl.php
+$GLOBALS["i18n"]["Chosen nickname is not allowed"] = "No està permès triar nick";
+
+// line 83 in chat.js.tpl.php
+$GLOBALS["i18n"]["Enable sound notifications"] = "Habilita notificacions de so";
+
+// line 84 in chat.js.tpl.php
+$GLOBALS["i18n"]["Disable sound notifications"] = "Deshabilita notificacions de so";
+
+// line 23 in kick.class.php
+$GLOBALS["i18n"]["no reason"] = "Sense motius";
+
+// line 24 in banlist.class.php
+$GLOBALS["i18n"]["The banished user list is:"] = "La llista d'usuaris prohibits és:";
+
+// line 39 in banlist.class.php
+$GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "/unban {nickname}' prohibirà a l'usuari identificat per {nickname}";
+
+// line 43 in kick.class.php
+$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "Expulsat de %s per %s - motiu %s";
+
+// line 20 in quit.class.php
+$GLOBALS["i18n"]["%s quit (%s)"] = "%s desconnectat (%s)";
+
+// line 124 in chat.js.tpl.php
+$GLOBALS["i18n"]["Xat loading ..."] = "Xat carregant...";
+
+// line 124 in chat.js.tpl.php
+$GLOBALS["i18n"]["Please wait"] = "Per favor esperi...";
+
+// line 139 in chat.js.tpl.php
+$GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = "%s sembla estar deshabilitat o no suportat pel teu navegador";
+
+// line 139 in chat.js.tpl.php
+$GLOBALS["i18n"]["This web application requires %s to work properly."] = "Aquesta aplicació requereix %s per a funcionar correctament";
+
+// line 135 in chat.js.tpl.php
+$GLOBALS["i18n"]["Please enable %s in your browser settings, or upgrade to a browser with %s support and try again."] = "Per favor habilita %s en la configuració el teu navegador, o torna a intentar-ho amb un navagador que suporti %s";
+
+// line 137 in chat.js.tpl.php
+$GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] ="Per favor torna a intentar-ho amb un navagador que suporti %s";
+
+// line 139 in chat.js.tpl.php
+$GLOBALS["i18n"]["In Internet Explorer versions earlier than 7.0, Ajax is implemented using ActiveX. Please enable ActiveX in your browser security settings or upgrade to a browser with Ajax support and try again."] = "En les versions anterior de 7.0 de l\'Internet Explorer, posen en execució a Ajax usant ActiveX. Per favor activa l\'ActiveX en la configuració de la seguretat del navegador o canvia a un navegador que suporti Ajax i intenta-ho altra vegada.";
+
+// line 359 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "No existeix %s, data_public_path no pot ser instal·lat";
+
+
+// line 73 in convidi.class.php
+$GLOBALS["i18n"]["You must join %s to convidi users in this channel"] = "Has d'unir-te a %s per a poder convidar usuaris a aquest canal";
+
+// line 47 in xat.html.tpl.php
+$GLOBALS["i18n"]["Ping"] = "Ping";
+
+// line 477 in phpfreechat.class.php
+$GLOBALS["i18n"]["Input Required"] = "Ingrés de dades necessari";
+
+// line 478 in phpfreechat.class.php
+$GLOBALS["i18n"]["OK"] = "Accepta";
+
+// line 479 in phpfreechat.class.php
+$GLOBALS["i18n"]["Cancel"] = "Cancel·la";
+
+// line 430 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["cannot create %s"] = "No pot crear %s";
+
+// line 436 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["cannot copy %s in %s"] = "No pot copiar %s en %s";
+
+// line 667 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["Error: '%s' could not be found, please check your theme_path '%s' and your theme '%s' are correct"] = "Error: '%s' no va poder ser trobat, per favor revisa si la teva theme_path '%s' i el teu tema '%s' esten correctes";
+
+// line 414 in phpfreechat.class.php
+$GLOBALS["i18n"]["are you sure you want to close this tab ?"] = "Estàs segur que desitges tancar aquesta pestanya?";
+
+// line 42 in ban.class.php
+$GLOBALS["i18n"]["%s banished from %s by %s"] = "%s expulsat permanentment des de %s per %s";
+
+// line 461 in phpfreechat.class.php
+$GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = "Estàs intentant de parlar a un usuari desconegut (o no connectat)";
+
+// line 89 in convidi.class.php
+$GLOBALS["i18n"]["%s was invited by %s"] = "%s va ser convidat per %s";
+
+?>
\ No newline at end of file
Added: trunk/i18n/cs_CZ/main.php
===================================================================
--- trunk/i18n/cs_CZ/main.php (rev 0)
+++ trunk/i18n/cs_CZ/main.php 2009-03-11 09:19:41 UTC (rev 1260)
@@ -0,0 +1,405 @@
+<?php
+/**
+ * i18n/cs_CZ/main.php
+ *
+ * Copyright © 2006 Stephane Gully <ste...@gm...>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ */
+
+/**
+ * Czech translation of the messages (utf8 encoded!)
+ *
+ * @author Zephy, Filda, SantaLuck <ze...@ce...>
+ */
+
+// line 45 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["My Chat"] = "Chat";
+
+// line 201 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "%s nebyl nalezen, %s knihovna nebyla nalezena.";
+
+// line 355 in phpfreechat.class.php
+$GLOBALS["i18n"]["Please enter your nickname"] = "Prosím napište svou přezdívku";
+
+// line 565 in phpfreechat.class.php
+$GLOBALS["i18n"]["Text cannot be empty"] = "Text nemůže být prázdný";
+
+// line 392 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s změnil svou přezdívku na %s";
+
+// line 398 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s is connected"] = "%s se připojil";
+
+// line 452 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s quit"] = "%s odešel";
+
+// line 468 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s byl odpojen (timeout)";
+
+// line 262 in phpfreechat.class.php
+$GLOBALS["i18n"]["Unknown command [%s]"] = "Neznámý příkaz [%s]";
+
+// line 149 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s neexistuje: %s";
+
+// line 180 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["You need %s"] = "Potřebuješ %s";
+
+// line 241 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s neexistuje, %s knihovna nebyla nalezena";
+
+// line 280 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist"] = "%s neexistuje";
+
+// line 433 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s directory must be specified"] = "%s složka musí být specifikována";
+
+// line 439 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s must be a directory"] = "%s musí být složka";
+
+// line 446 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s can't be created"] = "%s nemohl být vytvořen";
+
+// line 451 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not writeable"] = "%s nelze přepsat";
+
+// line 496 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not readable"] = "%s není načíst";
+
+// line 469 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a file"] = "%s není soubor";
+
+// line 491 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a directory"] = "%s není složka";
+
+// line 23 in chat.html.tpl.php
+$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [založeno na phpfreechat-%s]";
+
+// line 296 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide nickname marker"] = "Skrýt barvy přezdívek";
+
+// line 304 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show nickname marker"] = "Zobrazit barvy přezdívek";
+
+// line 389 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Disconnect"] = "Odpojit";
+
+// line 395 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Connect"] = "Připojit";
+
+// line 427 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Magnify"] = "Zvětšit";
+
+// line 434 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Cut down"] = "Zmenšit";
+
+// line 345 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide dates and hours"] = "Skrýt datum a čas";
+
+// line 353 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show dates and hours"] = "Zobrazit datum a čas";
+
+// line 21 in chat.html.tpl.php
+$GLOBALS["i18n"]["Enter your message here"] = "Zde napište svoji zprávu";
+
+// line 24 in chat.html.tpl.php
+$GLOBALS["i18n"]["Enter your nickname here"] = "Zde napište Vaši přezdívku";
+
+// line 93 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Chyba: nedefinovaný nebo neplatný parametr '%s', prosím opravte nebo zrušte tento parametr";
+
+// line 86 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Hide smiley box"] = "Skrýt smajlíky";
+
+// line 87 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Show smiley box"] = "Zobrazit smajlíky";
+
+// line 88 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Hide online users box"] = "Skrýt seznam připojených uživatelů";
+
+// line 89 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Show online users box"] = "Zobrazit seznam připojených uřivatelů";
+
+// line 33 in chat.html.tpl.php
+$GLOBALS["i18n"]["Bold"] = "Tučné";
+
+// line 34 in chat.html.tpl.php
+$GLOBALS["i18n"]["Italics"] = "Kurzíva";
+
+// line 35 in chat.html.tpl.php
+$GLOBALS["i18n"]["Underline"] = "Podtržené";
+
+// line 36 in chat.html.tpl.php
+$GLOBALS["i18n"]["Delete"] = "Přešktnuté";
+
+// line 37 in chat.html.tpl.php
+$GLOBALS["i18n"]["Pre"] = "Náhled";
+
+// line 38 in chat.html.tpl.php
+$GLOBALS["i18n"]["Mail"] = "Pošta";
+
+// line 39 in chat.html.tpl.php
+$GLOBALS["i18n"]["Color"] = "Barva";
+
+// line 48 in phpfreechattemplate.class.php
+$GLOBALS["i18n"]["%s template could not be found"] = "%s vzhled nebyl nalezen";
+
+// line 512 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["Error: '%s' could not be found, please check your themepath '%s' and your theme '%s' are correct"] = "Chyba: '%s' nebyl nalezen, prosím zkontroluj cestu ke vzhledu '%s' a tvůj vzhled '%s' je v pořádku";
+
+// line 75 in pfccommand.class.php
+$GLOBALS["i18n"]["%s must be implemented"] = "%s musí být implementován";
+
+
+// line 343 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' parametr je povinný, použít jako výchozí '%s'";
+
+// line 378 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be a positive number"] = "'%s' parametr musí být kladné číslo";
+
+// line 386 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "'%s' parametr není správný. Přípustné hodnoty jsou: '%s'";
+
+// line 185 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["My room"] = "Místnost";
+
+// line 109 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Private message"] = "Soukromá zpráva";
+
+// line 110 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Close this tab"] = "Zavřít záložku";
+
+// line 225 in pfcgui.js.tpl.php
+$GLOBALS["i18n"]["Do you really want to leave this room ?"] = "Opravdu zavřít tuto místnost ?";
+
+// line 19 in unban.class.php
+$GLOBALS["i18n"]["Missing parameter"] = "Chybějící parametr";
+
+// line 38 in ban.class.php
+$GLOBALS["i18n"]["banished from %s by %s"] = "zabanován z %s, uživatelem %s";
+
+// line 23 in banlist.class.php
+$GLOBALS["i18n"]["The banished user's id list is:"] = "Seznam zabanovaných uživatelů:";
+
+// line 32 in banlist.class.php
+$GLOBALS["i18n"]["Empty"] = "Prázdný";
+
+// line 34 in banlist.class.php
+$GLOBALS["i18n"]["'/unban {id}' will unban the user identified by {id}"] = "'/unban {id}' odbanuje uživatele s přezdívkou {id}";
+
+// line 35 in banlist.class.php
+$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = "'/unban all' odbanuje všechny uživatele";
+
+// line 24 in update.class.php
+$GLOBALS["i18n"]["%s quit (timeout)"] = "%s odešel (timeout)";
+
+// line 46 in join.class.php
+$GLOBALS["i18n"]["%s joins %s"] = "%s se připojil do %s";
+
+// line 31 in kick.class.php
+$GLOBALS["i18n"]["kicked from %s by %s"] = "byl vykopnut z %s, uživatelem %s";
+
+// line 38 in send.class.php
+$GLOBALS["i18n"]["Can't send the message, %s is offline"] = "Nelze odeslat zprávu, %s je odpojen";
+
+// line 27 in unban.class.php
+$GLOBALS["i18n"]["Nobody has been unbanished"] = "Nikdo nebyl odbanován";
+
+// line 42 in unban.class.php
+$GLOBALS["i18n"]["%s has been unbanished"] = "%s byl odbanován";
+
+// line 49 in unban.class.php
+$GLOBALS["i18n"]["%s users have been unbanished"] = "%s byli odbanováni";
+
+// line 47 in auth.class.php
+$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "Nejsi oprávněn použít příkaz '%s' ";
+
+// line 67 in auth.class.php
+$GLOBALS["i18n"]["Can't join %s because you are banished"] = "Nemůžeš se připojit do místnosti %s protože jsi zabanován";
+
+// line 79 in auth.class.php
+$GLOBALS["i18n"]["You are not allowed to change your nickname"] = "Nejsi oprávněn změnit svou přezdívku";
+
+// line 76 in auth.class.php
+$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "Nemůžeš se připojit do místnosti %s protože je zde omezen přístup";
+
+// line 56 in noflood.class.php
+$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "Prosím neposílej mnoho zpráv za sebou. Flooding nebude tolerován";
+
+// line 169 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = "Error: '%s' je soukromý parametr, nejsi oprávněn jej změnit";
+
+// line 253 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be an array"] = "'%s' parametr musí být v poli";
+
+// line 265 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "'%s' parametr musí být typu boolean";
+
+// line 271 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "'%s' parametr musí být typu string";
+
+// line 395 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' must be writable"] = "'%s' musí být zapisovatelný";
+
+// line 425 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "Složka '%s' neexistuje";
+
+// line 544 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["Please correct these errors"] = "Prosím oprav tyto chyby";
+
+// line 21 in pfcinfo.class.php
+$GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "Chyba: Konfigurační soubor nebyl nalezen v cache";
+
+// line 190 in phpfreechat.class.php
+$GLOBALS["i18n"]["Error: the chat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights - don't hesitate to ask some help on the forum"] = "Chyba: Chat nemohl být načten. Jsou dva důvody. Váš prohlížeč nepodporuje javascript nebo nejsou korektně nastaveny práva složek na serveru. - nepropadejte panice. Jistě Vám pomůže někdo na fóru p";
+
+// line 31 in help.class.php
+$GLOBALS["i18n"]["Here is the command list:"] = "Zde je seznam příkazů:";
+
+// line 63 in identify.class.php
+$GLOBALS["i18n"]["Succesfully identified"] = "Úspěšně identifikován";
+
+// line 68 in identify.class.php
+$GLOBALS["i18n"]["Identification failure"] = "Identifikace selhala";
+
+// line 25 in send.class.php
+$GLOBALS["i18n"]["Your must be connected to send a message"] = "Pro odeslání zprávy musíš být připojen";
+
+// line 87 in chat.js.tpl.php
+$GLOBALS["i18n"]["Click here to send your message"] = "Pro odeslání zprávy klikni zde";
+
+// line 80 in chat.js.tpl.php
+$GLOBALS["i18n"]["Enter the text to format"] = "Zadej text k úpravě";
+
+// line 81 in chat.js.tpl.php
+$GLOBALS["i18n"]["Configuration has been rehashed"] = "Konfigurace byla zpracována";
+
+// line 82 in chat.js.tpl.php
+$GLOBALS["i18n"]["A problem occurs during rehash"] = "Při zpracování došlo k problému";
+
+// line 83 in chat.js.tpl.php
+$GLOBALS["i18n"]["Chosen nickname is already used"] = "Zvolená přezdívka je již používána";
+
+// line 84 in chat.js.tpl.php
+$GLOBALS["i18n"]["phpfreechat current version is %s"] = "phpfreechat aktuální verze je %s";
+
+// line 85 in chat.js.tpl.php
+$GLOBALS["i18n"]["Maximum number of joined channels has been reached"] = "Byl překročen maximální počet místností";
+
+// line 86 in chat.js.tpl.php
+$GLOBALS["i18n"]["Maximum number of private chat has been reached"] = "Byl překročen maximální počet soukromých zpráv";
+
+// line 88 in chat.js.tpl.php
+$GLOBALS["i18n"]["Send"] = "Odeslat";
+
+// line 86 in mysql.class.php
+$GLOBALS["i18n"]["Mysql container: connect error"] = "Mysql kontejner: chyba připojení";
+
+// line 101 in mysql.class.php
+$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Mysql container: chyba ve vytvoření databáze '%s'";
+
+// line 112 in mysql.class.php
+$GLOBALS["i18n"]["Mysql container: chyba ve vytvoření tabulky '%s'"] = "Mysql container: create table error '%s'";
+
+// line 80 in chat.js.tpl.php
+$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "Není možné mluvit sám se sebou";
+
+// line 82 in chat.js.tpl.php
+$GLOBALS["i18n"]["Chosen nickname is not allowed"] = "Zvolená přezdávka není povolena";
+
+// line 83 in chat.js.tpl.php
+$GLOBALS["i18n"]["Enable sound notifications"] = "Zapnout zvukové upozorňováníí";
+
+// line 84 in chat.js.tpl.php
+$GLOBALS["i18n"]["Disable sound notifications"] = "Vypnout zvukové upozorňování";
+
+// line 23 in kick.class.php
+$GLOBALS["i18n"]["no reason"] = "bez důvodu";
+
+// line 24 in banlist.class.php
+$GLOBALS["i18n"]["The banished user list is:"] = "Seznam zabanovaných uživatelů:";
+
+// line 39 in banlist.class.php
+$GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "'/unban {nickname}' zrušením banu uživateli, bude opět aktivní";
+
+// line 43 in kick.class.php
+$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "Byl jste vykopnut z %s, uživatelem %s - důvod: %s";
+
+// line 20 in quit.class.php
+$GLOBALS["i18n"]["%s quit (%s)"] = "%s odešel (%s)";
+
+// line 124 in chat.js.tpl.php
+$GLOBALS["i18n"]["Chat loading ..."] = "Chat se nahrává ...";
+
+// line 124 in chat.js.tpl.php
+$GLOBALS["i18n"]["Please wait"] = "Čekejte prosím";
+
+// line 139 in chat.js.tpl.php
+$GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = "%s Váš prohlížeč nepodporuje tuto stránku.";
+
+// line 139 in chat.js.tpl.php
+$GLOBALS["i18n"]["This web application requires %s to work properly."] = "Tato webová aplikace vyžaduje %s pro její správnou funkčnost.";
+
+// line 135 in chat.js.tpl.php
+$GLOBALS["i18n"]["Please enable %s in your browser settings, or upgrade to a browser with %s support and try again."] = "Prosím upravte nastavení vašeho prohlížeče %s ve Vašem počítači, anebo proveďte jeho aktualizaci %s a poté to zkuste znovu.";
+
+// line 137 in chat.js.tpl.php
+$GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] = " Prosím upravte nastavení Vašeho prohlížeče %s a poté to zkuste znovu.";
+
+// line 139 in chat.js.tpl.php
+$GLOBALS["i18n"]["In Internet Explorer versions earlier than 7.0, Ajax is implemented using ActiveX. Please enable ActiveX in your browser security settings or upgrade to a browser with Ajax support and try again."] = "V internetovém prohlížeči Internet Explorer verze vyšší 7.0, použijte ActiveX. Prosím povolte užívání ActiveX ve vašem prohlížeči nebo zvolte nižší zabezpečení prohlížeče a poté to vyzkoušejte znovu.";
+
+// line 359 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "%s neexistuje, data_public_path cannot be installed";
+
+// line 73 in invite.class.php
+$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = "Musíte se připojit %s k přidání uživatelů v této místnosti";
+
+// line 47 in chat.html.tpl.php
+$GLOBALS["i18n"]["Ping"] = "Spojení";
+
+// line 477 in phpfreechat.class.php
+$GLOBALS["i18n"]["Input Required"] = "Vyžadována hodnota";
+
+// line 478 in phpfreechat.class.php
+$GLOBALS["i18n"]["OK"] = "OK";
+
+// line 479 in phpfreechat.class.php
+$GLOBALS["i18n"]["Cancel"] = "Zpět";
+
+// line 430 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["cannot create %s"] = "Nemohu vytvořit %s";
+
+// line 436 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["cannot copy %s in %s"] = "Nemohu kopírovat %s z místa nebo na místo %s";
+
+// line 667 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["Error: '%s' could not be found, please check your theme_path '%s' and your theme '%s' are correct"] = "Chyba: '%s' nebylo nalezeno, prosím zkontrolujte cestu na theme_path '%s' a vaši šablonu '%s' jestli je správná";
+
+// line 414 in phpfreechat.class.php
+$GLOBALS["i18n"]["Are you sure you want to close this tab ?"] = "Opravdu zavřít tuto záložku?";
+
+// line 42 in ban.class.php
+$GLOBALS["i18n"]["%s banished from %s by %s"] = "%s byl zabanován z %s uživatelem %s";
+
+// line 461 in phpfreechat.class.php
+$GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = "Zkoušíte mluvit s neznámým nebo nepřipojeným uživatelem";
+
+// line 89 in invite.class.php
+$GLOBALS["i18n"]["%s was invited by %s"] = "%s byl pozván uživatelem %s";
+
+?>
Modified: trunk/i18n/hu_HU/main.php
===================================================================
--- trunk/i18n/hu_HU/main.php 2009-03-11 08:07:19 UTC (rev 1259)
+++ trunk/i18n/hu_HU/main.php 2009-03-11 09:19:41 UTC (rev 1260)
@@ -104,10 +104,10 @@
$GLOBALS["i18n"]["Connect"] = "Kapcsolódás";
// line 427 in javascript1.js.tpl.php
-$GLOBALS["i18n"]["Magnify"] = "Nagyítás";
+$GLOBALS["i18n"]["Magnify"] = "Nagy méret";
// line 434 in javascript1.js.tpl.php
-$GLOBALS["i18n"]["Cut down"] = "Kivágás";
+$GLOBALS["i18n"]["Cut down"] = "Kis méret";
// line 345 in javascript1.js.tpl.php
$GLOBALS["i18n"]["Hide dates and hours"] = "Dátum és idő elrejtése";
@@ -122,7 +122,7 @@
$GLOBALS["i18n"]["Enter your nickname here"] = "Ide írd a beceneved";
// line 93 in phpfreechatconfig.class.php
-$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Hiba: meghatározatlan vagy elavult paraméter '%s', kérlek javítsd, vagy távolítsd el";
+$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Hiba: meghatározatlan vagy elavult paraméter '%s', kérlek, javítsd vagy távolítsd el";
// line 86 in pfcclient.js.tpl.php
$GLOBALS["i18n"]["Hide smiley box"] = "Hangulatjelek elrejtése";
@@ -231,16 +231,16 @@
$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "'%s' parancs futtatása nincs engedélyezve";
// line 67 in auth.class.php
-$GLOBALS["i18n"]["Can't join %s because you are banished"] = "nem csatlakozhatsz a(z) %s szobához, mert ki vagy tiltva";
+$GLOBALS["i18n"]["Can't join %s because you are banished"] = "Nem csatlakozhatsz a(z) %s szobához, mert ki vagy tiltva";
// line 79 in auth.class.php
$GLOBALS["i18n"]["You are not allowed to change your nickname"] = "Nincs engedélyed a becenév cseréjére";
// line 76 in auth.class.php
-$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "Nem lehet csatlakozni %s, mert a csatornák listája korlátozott";
+$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "Nem lehet csatlakozni a(z) %s szobához, mert a csatornák listája korlátozott";
// line 56 in noflood.class.php
-$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "Kérlek, ne küldj ilyen gyakran üzenetet, a flood-olást nem toleráljuk";
+$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "Kérlek, ne küldj ilyen gyakran üzenetet, a flood-olást nem tűrjük";
// line 169 in pfcglobalconfig.class.php
$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = "Hiba: '%s' egy privát paraméter, nem vagy jogosult a módosítására";
@@ -279,7 +279,7 @@
$GLOBALS["i18n"]["Identification failure"] = "Azonosítás sikertelen";
// line 25 in send.class.php
-$GLOBALS["i18n"]["Your must be connected to send a message"] = "Kapcsolódnod kell az üzenet küldéshez";
+$GLOBALS["i18n"]["Your must be connected to send a message"] = "Üzenet küldéshez kapcsolódnod kell";
// line 87 in chat.js.tpl.php
$GLOBALS["i18n"]["Click here to send your message"] = "Kattints ide az üzeneted elküldéséhez";
@@ -288,13 +288,13 @@
$GLOBALS["i18n"]["Enter the text to format"] = "A formázáshoz írd be a szöveget";
// line 81 in chat.js.tpl.php
-$GLOBALS["i18n"]["Configuration has been rehashed"] = "A beállításokat újra kell hash-elni";
+$GLOBALS["i18n"]["Configuration has been rehashed"] = "A beállítások újra hash-elése kész";
// line 82 in chat.js.tpl.php
$GLOBALS["i18n"]["A problem occurs during rehash"] = "Probléma akadt az újra hash-elés közben";
// line 83 in chat.js.tpl.php
-$GLOBALS["i18n"]["Choosen nickname is allready used"] = "A választott becenevet már valaki használja";
+$GLOBALS["i18n"]["Chosen nickname is already used"] = "A választott becenevet már valaki használja";
// line 84 in chat.js.tpl.php
$GLOBALS["i18n"]["phpfreechat current version is %s"] = "phpfreechat aktuális verziója: %s";
@@ -321,7 +321,7 @@
$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "Nem beszélgethetsz saját magaddal :-)";
// line 82 in chat.js.tpl.php
-$GLOBALS["i18n"]["Choosen nickname is not allowed"] = "A választott becenév nem engedélyezett";
+$GLOBALS["i18n"]["Chosen nickname is not allowed"] = "A választott becenév nem engedélyezett";
// line 83 in chat.js.tpl.php
$GLOBALS["i18n"]["Enable sound notifications"] = "Hang értesítés engedélyezése";
@@ -369,13 +369,13 @@
$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "%s nem létezik, a data_public_path nem telepíthető";
// line 73 in invite.class.php
-$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = "Csatlakozni kell ide: %s, hogy felhasználót lehessen hívni ebbe a csatornába";
+$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = "Csatlakozni kell ide: %s, hogy felhasználót lehessen hívni ebbe a szobába";
// line 47 in chat.html.tpl.php
$GLOBALS["i18n"]["Ping"] = "Ping";
// line 477 in phpfreechat.class.php
-$GLOBALS["i18n"]["Input Required"] = "Adatra van szükség";
+$GLOBALS["i18n"]["Input Required"] = "Adat szükség";
// line 478 in phpfreechat.class.php
$GLOBALS["i18n"]["OK"] = "OK";
@@ -390,7 +390,7 @@
$GLOBALS["i18n"]["cannot copy %s in %s"] = "%s nem másolható ide: %s";
// line 667 in pfcglobalconfig.class.php
-$GLOBALS["i18n"]["Error: '%s' could not be found, please check your theme_path '%s' and your theme '%s' are correct"] = "Hiba: %s nem található, ellenőrizd a téma útvonalat: %s; és a %s témát, hogy megfelelő-e";
+$GLOBALS["i18n"]["Error: '%s' could not be found, please check your theme_path '%s' and your theme '%s' are correct"] = "Hiba: %s nem található, ellenőrizd a téma útvonalat: %s; és a(z) %s témát, hogy megfelelő-e";
// line 414 in phpfreechat.class.php
$GLOBALS["i18n"]["Are you sure you want to close this tab ?"] = "Biztosan be akarod zárni ezt a fület ?";
@@ -406,9 +406,9 @@
// line 450 in phpfreechat.class.php
-$GLOBALS["i18n"]["Chosen nickname is already used"] = "";
+$GLOBALS["i18n"]["Chosen nickname is already used"] = "A választott becenevet már valaki használja";
// line 458 in phpfreechat.class.php
-$GLOBALS["i18n"]["Chosen nickname is not allowed"] = "";
+$GLOBALS["i18n"]["Chosen nickname is not allowed"] = "A választott becenév nem engedélyezett";
?>
\ No newline at end of file
Modified: trunk/i18n/it_IT/main.php
===================================================================
--- trunk/i18n/it_IT/main.php 2009-03-11 08:07:19 UTC (rev 1259)
+++ trunk/i18n/it_IT/main.php 2009-03-11 09:19:41 UTC (rev 1260)
@@ -400,9 +400,9 @@
$GLOBALS["i18n"]["%s banished from %s by %s"] = "%s bannato dalla chat %s da %s";
// line 461 in phpfreechat.class.php
-$GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = "";
+$GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = "Stai tentando di parlare ad un utente sconosciuto (o non connesso)";
// line 89 in invite.class.php
-$GLOBALS["i18n"]["%s was invited by %s"] = "";
+$GLOBALS["i18n"]["%s was invited by %s"] = "%s è stato invitato da %s";
?>
\ No newline at end of file
Modified: trunk/i18n/ja_JP/main.php
===================================================================
--- trunk/i18n/ja_JP/main.php 2009-03-11 08:07:19 UTC (rev 1259)
+++ trunk/i18n/ja_JP/main.php 2009-03-11 09:19:41 UTC (rev 1260)
@@ -262,11 +262,10 @@
$GLOBALS["i18n"]["Please correct these errors"] = "これらのエラーを修正してください";
// line 21 in pfcinfo.class.php
-$GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "エラー: キャッシュ済設定ファイルが存在しません";
+$GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "エラー: キャッシュ済み設定ファイルが存在しません";
// line 190 in phpfreechat.class.php
-$GLOBALS["i18n"]["Error: the chat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights - don't hesitate to ask some help on the forum"] = "エラー: チャットを読み込めません! 2 つの可能性: ブラウザーが JavaScript をサポートしていないか、
-サーバーのディレクトリ権限を正しく設定していません - don't hesitate to ask some help on the forum";
+$GLOBALS["i18n"]["Error: the chat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights - don't hesitate to ask some help on the forum"] = "エラー: チャットを読み込めません! 2 つの可能性: ブラウザーが JavaScript をサポートしていないか、サーバーのディレクトリ権限を正しく設定していません - don't hesitate to ask some help on the forum";
// line 31 in help.class.php
$GLOBALS["i18n"]["Here is the command list:"] = "ここはコマンド一覧です:";
@@ -293,7 +292,11 @@
$GLOBALS["i18n"]["A problem occurs during rehash"] = "作成中に問題が発生しました";
// line 83 in chat.js.tpl.php
+<<<<<<< .mine
+$GLOBALS["i18n"]["Choosen nickname is allready used"] = "選択したニックネームは既に試用されています";
+=======
$GLOBALS["i18n"]["Chosen nickname is already used"] = "選択したニックネームは既に試用されています";
+>>>>>>> .r1249
// line 84 in chat.js.tpl.php
$GLOBALS["i18n"]["phpfreechat current version is %s"] = "phpfreechat の現在のバージョンは %s です";
@@ -308,99 +311,99 @@
$GLOBALS["i18n"]["Send"] = "送信する";
// line 86 in mysql.class.php
-$GLOBALS["i18n"]["Mysql container: connect error"] = "";
+$GLOBALS["i18n"]["Mysql container: connect error"] = "MySQL コンテナー: 接続エラー";
// line 101 in mysql.class.php
-$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "";
+$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "MySQL コンテナー: データベース作成エラー「%s」";
// line 112 in mysql.class.php
-$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "";
+$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "MySQL コンテナー: テーブル作成エラー「%s」";
// line 80 in chat.js.tpl.php
-$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "";
+$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "自分自身との会話は許可していません";
// line 82 in chat.js.tpl.php
-$GLOBALS["i18n"]["Chosen nickname is not allowed"] = "";
+$GLOBALS["i18n"]["Chosen nickname is not allowed"] = "ニックネームの選択は許可していません";
// line 83 in chat.js.tpl.php
-$GLOBALS["i18n"]["Enable sound notifications"] = "";
+$GLOBALS["i18n"]["Enable sound notifications"] = "音での通知を有効にする";
// line 84 in chat.js.tpl.php
-$GLOBALS["i18n"]["Disable sound notifications"] = "";
+$GLOBALS["i18n"]["Disable sound notifications"] = "音での通知を無効にする";
// line 23 in kick.class.php
-$GLOBALS["i18n"]["no reason"] = "";
+$GLOBALS["i18n"]["no reason"] = "理由なし";
// line 24 in banlist.class.php
-$GLOBALS["i18n"]["The banished user list is:"] = "";
+$GLOBALS["i18n"]["The banished user list is:"] = "追放ユーザー一覧:";
// line 39 in banlist.class.php
$GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "";
// line 43 in kick.class.php
-$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "";
+$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "%1$s により %1$s から追い出されました - 理由: %3$s";
// line 20 in quit.class.php
-$GLOBALS["i18n"]["%s quit (%s)"] = "";
+$GLOBALS["i18n"]["%s quit (%s)"] = "%s 終了 (%s)";
// line 124 in chat.js.tpl.php
-$GLOBALS["i18n"]["Chat loading ..."] = "";
+$GLOBALS["i18n"]["Chat loading ..."] = "チャットの読み込み中 ...";
// line 124 in chat.js.tpl.php
-$GLOBALS["i18n"]["Please wait"] = "";
+$GLOBALS["i18n"]["Please wait"] = "しばらくお待ちください";
// line 139 in chat.js.tpl.php
-$GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = "";
+$GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = "%s は、ブラウザーから未サポートか無効にされているかのいずれかに見受けられます";
// line 139 in chat.js.tpl.php
-$GLOBALS["i18n"]["This web application requires %s to work properly."] = "";
+$GLOBALS["i18n"]["This web application requires %s to work properly."] = "このウェブアプリケーションは %s が正しく動作することを要求します。";
// line 135 in chat.js.tpl.php
-$GLOBALS["i18n"]["Please enable %s in your browser settings, or upgrade to a browser with %s support and try again."] = "";
+$GLOBALS["i18n"]["Please enable %s in your browser settings, or upgrade to a browser with %s support and try again."] = "ブラウザーの設定の %s を有効にするか、%s のサポートとブラウザーをアップグレードしてから再度試してください。";
// line 137 in chat.js.tpl.php
-$GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] = "";
+$GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] = "%s のサポートとブラウザーをアップグレードしてから再度試してください。";
// line 139 in chat.js.tpl.php
-$GLOBALS["i18n"]["In Internet Explorer versions earlier than 7.0, Ajax is implemented using ActiveX. Please enable ActiveX in your browser security settings or upgrade to a browser with Ajax support and try again."] = "";
+$GLOBALS["i18n"]["In Internet Explorer versions earlier than 7.0, Ajax is implemented using ActiveX. Please enable ActiveX in your browser security settings or upgrade to a browser with Ajax support and try again."] = "7.0 以前のバージョンの Internet Explorer では Ajax は ActiveX を用いて実装されています。ブラウザーのセキュリティ設定から ActiveX を有効にするか、Ajax サポートのブラウザーにアップグレードしてから再度試してください。";
// line 359 in pfcglobalconfig.class.php
-$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "";
+$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "%s が存在しません。data_public_path はインストールできませんでした";
// line 73 in invite.class.php
-$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = "";
+$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = "このチャンネルにユーザーを招待するには %s に参加しなければなりません";
// line 47 in chat.html.tpl.php
-$GLOBALS["i18n"]["Ping"] = "";
+$GLOBALS["i18n"]["Ping"] = "Ping";
// line 477 in phpfreechat.class.php
-$GLOBALS["i18n"]["Input Required"] = "";
+$GLOBALS["i18n"]["Input Required"] = "要求された入力";
// line 478 in phpfreechat.class.php
-$GLOBALS["i18n"]["OK"] = "";
+$GLOBALS["i18n"]["OK"] = "OK";
// line 479 in phpfreechat.class.php
-$GLOBALS["i18n"]["Cancel"] = "";
+$GLOBALS["i18n"]["Cancel"] = "取り消し";
// line 430 in pfcglobalconfig.class.php
-$GLOBALS["i18n"]["cannot create %s"] = "";
+$GLOBALS["i18n"]["cannot create %s"] = "%s の作成ができません";
// line 436 in pfcglobalconfig.class.php
-$GLOBALS["i18n"]["cannot copy %s in %s"] = "";
+$GLOBALS["i18n"]["cannot copy %s in %s"] = "%2$s の %1$s をコピーできません";
// line 667 in pfcglobalconfig.class.php
-$GLOBALS["i18n"]["Error: '%s' could not be found, please check your theme_path '%s' and your theme '%s' are correct"] = "";
+$GLOBALS["i18n"]["Error: '%s' could not be found, please check your theme_path '%s' and your theme '%s' are correct"] = "エラー: 「%s」を見つけられません。theme_path「%s」とテーマ「%s」が正しいか確認してください";
// line 414 in phpfreechat.class.php
-$GLOBALS["i18n"]["Are you sure you want to close this tab ?"] = "";
+$GLOBALS["i18n"]["Are you sure you want to close this tab ?"] = "このタブを本当に閉じますか?";
// line 42 in ban.class.php
-$GLOBALS["i18n"]["%s banished from %s by %s"] = "";
+$GLOBALS["i18n"]["%s banished from %s by %s"] = "%1$s は %$3s により、%2$s から追放されました";
// line 461 in phpfreechat.class.php
-$GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = "";
+$GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = "不明な(あるいは未接続な)ユーザーと会話をしようとしています";
// line 89 in invite.class.php
-$GLOBALS["i18n"]["%s was invited by %s"] = "";
+$GLOBALS["i18n"]["%s was invited by %s"] = "%1$s は %2$s より招待されました";
?>
\ No newline at end of file
Added: trunk/i18n/mk_MK/main.php
===================================================================
--- trunk/i18n/mk_MK/main.php (rev 0)
+++ trunk/i18n/mk_MK/main.php 2009-03-11 09:19:41 UTC (rev 1260)
@@ -0,0 +1,408 @@
+<?php
+/**
+ * i18n/mk_MK/main.php
+ *
+ * Copyright © 2006 Stephane Gully <ste...@gm...>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ */
+
+/**
+ * Croatian translation of the messages (utf8 encoded!)
+ *
+ * @author Srkaj.com
+ */
+
+// line 45 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["My Chat"] = "Мој chat";
+
+// line 201 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "%s не е пронајден, %s библиотека не е пронајдена.";
+
+// line 355 in phpfreechat.class.php
+$GLOBALS["i18n"]["Please enter your nickname"] = "Ве молиме внесете го вашето име/прекар";
+
+// line 565 in phpfreechat.class.php
+$GLOBALS["i18n"]["Text cannot be empty"] = "Текст полето не смее да биде празно";
+
+// line 392 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s го промени своето име во %s";
+
+// line 398 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s is connected"] = "%s се приклучи";
+
+// line 452 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s quit"] = "%s се исклучи";
+
+// line 468 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s е исклучен/a (timeout)";
+
+// line 262 in phpfreechat.class.php
+$GLOBALS["i18n"]["Unknown command [%s]"] = "Непозната команда [%s]";
+
+// line 149 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s не постои: %s";
+
+// line 180 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["You need %s"] = "Ви треба %s";
+
+// line 241 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s не постои, %s библиотеката не е пронајдена";
+
+// line 280 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist"] = "%s не постои";
+
+// line 433 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s directory must be specified"] = "%s мора да биде внесен директориум";
+
+// line 439 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s must be a directory"] = "%s мора да биде директориум";
+
+// line 446 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s can't be created"] = "%s не може да биде направено";
+
+// line 451 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not writeable"] = "Впишувањето е оневозможено - %s";
+
+// line 496 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not readable"] = "Не може да се чита од - %s";
+
+// line 469 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a file"] = "%s не е датотека";
+
+// line 491 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a directory"] = "%s не е директориум";
+
+// line 23 in chat.html.tpl.php
+$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "srkaj.com";
+
+// line 296 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide nickname marker"] = "Скриј боја на прекари";
+
+// line 304 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show nickname marker"] = "Прикажи боја на прекари";
+
+// line 389 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Disconnect"] = "Исклучи се";
+
+// line 395 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Connect"] = "Поврзи се";
+
+// line 427 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Magnify"] = "Зголеми";
+
+// line 434 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Cut down"] = "Намалиi";
+
+// line 345 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide dates and hours"] = "Скриј датум и време";
+
+// line 353 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show dates and hours"] = "Прикажи датум и време";
+
+// line 21 in chat.html.tpl.php
+$GLOBALS["i18n"]["Enter your message here"] = "Внесете ја вашата порака овде";
+
+// line 24 in chat.html.tpl.php
+$GLOBALS["i18n"]["Enter your nickname here"] = "Внесете ваше име/прекар овде";
+
+// line 48 in phpfreechattemplate.class.php
+$GLOBALS["i18n"]["%s template could not be found"] = "%s образец не е пронајден";
+
+// line 96 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Грешка: не постои параметар '%s', поправете ја грешката или избришете го параметарот";
+
+// line 324 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'serverid' parameter is mandatory by default use 'md5(__FILE__)' value"] = "";
+
+// line 512 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["Error: '%s' could not be found, please check your themepath '%s' and your theme '%s' are correct"] = "Грешка: '%s' не е пронајдено, поправете ги податоците за вашата тема (theme)";
+
+// line 33 in chat.html.tpl.php
+$GLOBALS["i18n"]["Bold"] = "Здебелено";
+
+// line 34 in chat.html.tpl.php
+$GLOBALS["i18n"]["Italics"] = "Италик";
+
+// line 35 in chat.html.tpl.php
+$GLOBALS["i18n"]["Underline"] = "Подвлечено";
+
+// line 36 in chat.html.tpl.php
+$GLOBALS["i18n"]["Delete"] = "Избриши";
+
+// line 37 in chat.html.tpl.php
+$GLOBALS["i18n"]["Pre"] = "Пре";
+
+// line 38 in chat.html.tpl.php
+$GLOBALS["i18n"]["Mail"] = "e-пошта";
+
+// line 39 in chat.html.tpl.php
+$GLOBALS["i18n"]["Color"] = "Боја";
+
+// line 86 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Hide smiley box"] = "Скриј смешковци";
+
+// line 87 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Show smiley box"] = "Прикажи смешковци";
+
+// line 88 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Hide online users box"] = "Скриј корисници";
+
+// line 89 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Show online users box"] = "Прикажи корисници";
+
+// line 75 in pfccommand.class.php
+$GLOBALS["i18n"]["%s must be implemented"] = "%s мора да се имплементира";
+
+// line 343 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' параметарот е задолжителен, стандардниот податок е '%s'";
+
+// line 378 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter must be a positive number"] = "'%s' параметарот мора да биде позитивен број";
+
+// line 386 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "'%s' параметарот не е валиден. Дозволени параметри се: '%s'";
+
+
+// line 186 in pfcglobalconfig.class.php
+$GLOBALS["i18n"]["My room"] = "My room";
+
+// line 19 in unban.class.php
+$GLOBALS["i18n"]["Missing parameter"] = "Недостига параметар";
+
+// line 38 in ban.class.php
+$GLOBALS["i18n"]["banished from %s by %s"] = "";
+
+// line 23 in banlist.class.php
+$GLOBALS["i18n"]["The banished user's id list is:"] = "";
+
+// line 32 in banlist.class.php
+$GLOBALS["i18n"]["Empty"] = "Празно";
+
+// line 34 in banlist.class.php
+$GLOBALS["i18n"]["'/unban {id}' will unban the user identified by {id}"] = "";
+
+// line 35 in banlist.class.php
+$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = "";
+
+// line 24 in update.class.php
+$GLOBALS["i18n"]["%s quit (timeout)"] = "%s исклучен (timeout)";
+
+// line 46 in join.class.php
+$GLOBALS["i18n"]["%s joins %s"] = "%s се приклучи на %s";
+
+// line 31 in kick.class.php
+$GLOBALS["i18n"]["kicked from %s by %s"] = "";
+
+// line 38 in send.class.php
+$GLOBALS["i18n"]["Can't send the message, %s is offline"] = "Пораката не е испратена, %s е offline";
+
+// line 27 in unban.class.php
+$GLOBALS["i18n"]["Nobody has been unbanished"] = "";
+
+// line 42 in unban.class.php
+$GLOBALS["i18n"]["%s has been unbanished"] = "";
+
+// line 49 in unban.class.php
+$GLOBALS["i18n"]["%s users have been unbanished"] = "";
+
+// line 47 in auth.class.php
+$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "Не е дозволена употреба на %s командата";
+
+// line 66 in auth.class.php
+$GLOBALS["i18n"]["Can't join %s because you are banished"] = "";
+
+// line 76 in auth.class.php
+$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "";
+
+// line 89 in auth.class.php
+$GLOBALS["i18n"]["You are not allowed to change your nickname"] = "Не можете да го промените вашето име/прекар";
+
+// line 56 in noflood.class.php
+$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "";
+
+// line 109 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Private message"] = "Приватен разговор";
+
+// line 110 in pfcclient.js.tpl.php
+$GLOBALS["i18n"]["Close this tab"] = "Затвори ова јазиче";
+
+// line 199 in pfcgui.js.tpl.php
+$GLOBALS["i18n"]["Do you really want to leave this room ?"] = "Дали навистина сакате да излезете од оваа соба?";
+
+// lin...
[truncated message content] |
|
From: <ke...@us...> - 2009-03-11 08:07:27
|
Revision: 1259
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1259&view=rev
Author: kerphi
Date: 2009-03-11 08:07:19 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
Improve interface ergonomics of the demo
Modified Paths:
--------------
trunk/demo/index.php
trunk/index.php
trunk/style/footer.css
trunk/style/header.css
trunk/style/menu.css
Added Paths:
-----------
trunk/style/logo.gif
Removed Paths:
-------------
trunk/style/bulle.gif
trunk/style/bulle.png
Modified: trunk/demo/index.php
===================================================================
--- trunk/demo/index.php 2009-01-01 18:03:30 UTC (rev 1258)
+++ trunk/demo/index.php 2009-03-11 08:07:19 UTC (rev 1259)
@@ -12,8 +12,7 @@
<body>
<div class="header">
- <h1>phpFreeChat - Demos</h1>
- <img alt="logo bulle" src="../style/bulle.png" class="logo2" />
+ <img alt="" src="../style/logo.gif" class="logo2" />
</div>
<div class="menu">
@@ -22,7 +21,7 @@
<li>
<ul class="sub">
<li class="item">
- <a href="../index.php">PFC Index</a>
+ <a href="../index.php">Index</a>
</li>
</ul>
</li>
@@ -42,14 +41,7 @@
</li>
</ul>
<p class="partner">
- <a href="http://www.phpfreechat.net"><img alt="phpfreechat.net" src="style/logo_88x31.gif" /></a><br/>
- <a href="http://www.jeu-gratuit.net/">jeu-gratuit</a><br/>
- <a href="http://jeux-flash.jeu-gratuit.net/">jeux-flash</a><br/>
- <a href="http://www.pronofun.com/">pronofun</a><br/>
- <a href="http://areno.jeu-gratuit.net/">areno</a><br/>
- <a href="http://www.micropolia.com/">micropolia</a><br/>
- <a href="http://www.zeitoun.net/">zeitoun</a><br/>
- <a href="http://www.hotscripts.com/?RID=N452772">hotscripts</a><br/>
+ <a href="http://www.phpfreechat.net"><img alt="phpfreechat" src="../style/logo_88x31.gif" /></a><br/>
</p>
</div>
@@ -138,5 +130,16 @@
</ul>
</div>
+
+<div class="footer">
+ <span class="partners">phpFreeChat partners:</span>
+ <a href="http://www.jeu-gratuit.net">jeux gratuits</a> |
+ <a href="http://jeux-flash.jeu-gratuit.net">jeux flash</a> |
+ <a href="http://www.pronofun.com">pronofun</a> |
+ <a href="http://areno.jeu-gratuit.net">areno</a> |
+ <a href="http://www.micropolia.com">micropolia</a> |
+ <a href="http://www.zeitoun.net">zeitoun</a> |
+ <a href="http://federation.jeu-gratuit.net">federation</a>
+</div>
</body></html>
Modified: trunk/index.php
===================================================================
--- trunk/index.php 2009-01-01 18:03:30 UTC (rev 1258)
+++ trunk/index.php 2009-03-11 08:07:19 UTC (rev 1259)
@@ -4,9 +4,10 @@
$params = array();
$params["title"] = "Quick chat";
$params["nick"] = "guest".rand(1,1000); // setup the intitial nickname
-$params["isadmin"] = true; // do not use it on production servers ;)
+$params['firstisadmin'] = true;
+//$params["isadmin"] = true; // do not use it on production servers ;)
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
-//$params["debug"] = true;
+$params["debug"] = true;
$chat = new phpFreeChat( $params );
?>
@@ -24,8 +25,7 @@
<body>
<div class="header">
- <h1>phpFreeChat - Sources Index</h1>
- <img alt="logo bulle" src="style/bulle.gif" class="logo2" />
+ <img alt="phpFreeChat" src="style/logo.gif" class="logo2" />
</div>
<div class="menu">
@@ -52,56 +52,28 @@
<li>
<ul>
<li class="item">
- <a href="http://www.phpfreechat.net/overview">Overview [en]</a>
+ <a href="http://www.phpfreechat.net/overview">Overview</a>
</li>
<li class="item">
- <a href="http://www.phpfreechat.net/fr/overview">Overview [fr]</a>
+ <a href="http://www.phpfreechat.net/quickstart">Quickstart</a>
</li>
<li class="item">
- <a href="http://www.phpfreechat.net/es/overview">Overview [es]</a>
+ <a href="http://www.phpfreechat.net/parameters">Parameters list</a>
</li>
<li class="item">
- <a href="http://www.phpfreechat.net/zh/overview">Overview [zh]</a>
+ <a href="http://www.phpfreechat.net/faq">FAQ</a>
</li>
<li class="item">
- <a href="http://www.phpfreechat.net/ar/overview">Overview [ar]</a>
+ <a href="http://www.phpfreechat.net/advanced-configuration">Advanced configuration</a>
</li>
<li class="item">
- <a href="http://www.phpfreechat.net/quickstart">Quickstart [en]</a>
+ <a href="http://www.phpfreechat.net/customize">Customize</a>
</li>
- <li class="item">
- <a href="http://www.phpfreechat.net/fr/quickstart">En avant ! [fr]</a>
- </li>
- <li class="item">
- <a href="http://www.phpfreechat.net/parameters">Parameters list [en]</a>
- </li>
- <li class="item">
- <a href="http://www.phpfreechat.net/faq">FAQ [en]</a>
- </li>
- <li class="item">
- <a href="http://www.phpfreechat.net/fr/faq">FAQ [fr]</a>
- </li>
- <li class="item">
- <a href="http://www.phpfreechat.net/advanced-configuration">Advanced configuration [en]</a>
- </li>
- <li class="item">
- <a href="http://www.phpfreechat.net/fr/advanced-configuration">Configuration avancée [fr]</a>
- </li>
- <li class="item">
- <a href="http://www.phpfreechat.net/customize">Customize [en]</a>
- </li>
</ul>
</li>
</ul>
<p class="partner">
<a href="http://www.phpfreechat.net"><img alt="phpfreechat.net" src="style/logo_88x31.gif" /></a><br/>
- <a href="http://www.jeu-gratuit.net/">jeu-gratuit</a><br/>
- <a href="http://jeux-flash.jeu-gratuit.net/">jeux-flash</a><br/>
- <a href="http://www.pronofun.com/">pronofun</a><br/>
- <a href="http://areno.jeu-gratuit.net/">areno</a><br/>
- <a href="http://www.micropolia.com/">micropolia</a><br/>
- <a href="http://www.zeitoun.net/">zeitoun</a><br/>
- <a href="http://www.hotscripts.com/?RID=N452772">hotscripts</a><br/>
</p>
</div>
@@ -112,4 +84,15 @@
<?php } ?>
</div>
+<div class="footer">
+ <span class="partners">phpFreeChat partners:</span>
+ <a href="http://www.jeu-gratuit.net">jeux gratuits</a> |
+ <a href="http://jeux-flash.jeu-gratuit.net">jeux flash</a> |
+ <a href="http://www.pronofun.com">pronofun</a> |
+ <a href="http://areno.jeu-gratuit.net">areno</a> |
+ <a href="http://www.micropolia.com">micropolia</a> |
+ <a href="http://www.zeitoun.net">zeitoun</a> |
+ <a href="http://federation.jeu-gratuit.net">federation</a>
+</div>
+
</body></html>
Deleted: trunk/style/bulle.gif
===================================================================
(Binary files differ)
Deleted: trunk/style/bulle.png
===================================================================
(Binary files differ)
Modified: trunk/style/footer.css
===================================================================
--- trunk/style/footer.css 2009-01-01 18:03:30 UTC (rev 1258)
+++ trunk/style/footer.css 2009-03-11 08:07:19 UTC (rev 1259)
@@ -6,7 +6,7 @@
color: #FFF;
border-top: 1px #acd233 solid;
border-bottom: 1px #acd233 solid;
- font-size: 80%;
+ font-size: 8px;
clear: both;
padding-left: 12em;
}
@@ -19,3 +19,11 @@
left: 5px;
float: left;
}
+div.footer a {
+ color: #FFF;
+ font-weight: normal;
+}
+div.footer span.partners {
+ text-decoration: underline;
+ margin-right: 10px;
+}
Modified: trunk/style/header.css
===================================================================
--- trunk/style/header.css 2009-01-01 18:03:30 UTC (rev 1258)
+++ trunk/style/header.css 2009-03-11 08:07:19 UTC (rev 1259)
@@ -2,9 +2,9 @@
div.header {
position: relative;
display: block;
- background-color: #99cc33;
- border-bottom: 1px #acd233 solid;
- height: 45px;
+ background-color: #7ebf36;
+/* border-bottom: 1px #acd233 solid;*/
+ height: 76px;
}
div.header h1 {
color: #FFF;
@@ -13,7 +13,7 @@
div.header .logo2 {
position: absolute;
bottom: 0;
- right: 0;
+ left: 0;
}
div.header .flags {
position: absolute;
Added: trunk/style/logo.gif
===================================================================
(Binary files differ)
Property changes on: trunk/style/logo.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/style/menu.css
===================================================================
--- trunk/style/menu.css 2009-01-01 18:03:30 UTC (rev 1258)
+++ trunk/style/menu.css 2009-03-11 08:07:19 UTC (rev 1259)
@@ -1,7 +1,7 @@
/* --- MENU --- */
div.menu {
position: absolute;
- top: 55px;
+ top: 85px;
left: 0.5em;
/* float: left;
margin-top: 0.5em;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2009-01-01 18:03:35
|
Revision: 1258
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1258&view=rev
Author: kerphi
Date: 2009-01-01 18:03:30 +0000 (Thu, 01 Jan 2009)
Log Message:
-----------
Few fixes about the user's sessions variables (thanks to Dany Eudes for the suggestions)
Modified Paths:
--------------
trunk/src/pfcuserconfig.class.php
Modified: trunk/src/pfcuserconfig.class.php
===================================================================
--- trunk/src/pfcuserconfig.class.php 2008-12-02 08:35:22 UTC (rev 1257)
+++ trunk/src/pfcuserconfig.class.php 2009-01-01 18:03:30 UTC (rev 1258)
@@ -37,7 +37,7 @@
$this->_getParam("privmsg");
if (!isset($this->privmsg)) $this->_setParam("privmsg",array());
$this->_getParam("serverid");
- if (!isset($this->privmsg)) $this->_setParam("serverid",$c->serverid);
+ if (!isset($this->serverid)) $this->_setParam("serverid",$c->serverid);
}
function &Instance()
@@ -56,7 +56,7 @@
if (!isset($this->$p))
{
$c =& pfcGlobalConfig::Instance();
- $nickid = "pfcuserconfig_".$c->getId();
+ $nickid = 'pfcuserconfig_'.$c->getId().'_'.$this->nickid;
$nickid_param = $nickid."_".$p;
if (isset($_SESSION[$nickid_param]))
$this->$p = $_SESSION[$nickid_param];
@@ -67,7 +67,7 @@
function _setParam($p, $v)
{
$c =& pfcGlobalConfig::Instance();
- $nickid_param = "pfcuserconfig_".$c->getId()."_".$p;
+ $nickid_param = 'pfcuserconfig_'.$c->getId().'_'.$this->nickid.'_'.$p;
$_SESSION[$nickid_param] = $v;
$this->$p = $v;
}
@@ -75,7 +75,7 @@
function _rmParam($p)
{
$c =& pfcGlobalConfig::Instance();
- $nickid_param = "pfcuserconfig_".$c->getId()."_".$p;
+ $nickid_param = 'pfcuserconfig_'.$c->getId().'_'.$this->nickid.'_'.$p;
unset($_SESSION[$nickid_param]);
unset($this->$p);
if ($p == 'active') $this->active = false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2008-12-02 08:35:32
|
Revision: 1257
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1257&view=rev
Author: kerphi
Date: 2008-12-02 08:35:22 +0000 (Tue, 02 Dec 2008)
Log Message:
-----------
Remove the specific session_name value. From now phpfreechat totaly share the sessions data with the whole website. This should simplify integrations. (thanks to Ivan Kravets aka x-man for the suggestion)
Modified Paths:
--------------
trunk/src/pfcuserconfig.class.php
Modified: trunk/src/pfcuserconfig.class.php
===================================================================
--- trunk/src/pfcuserconfig.class.php 2008-12-01 17:16:29 UTC (rev 1256)
+++ trunk/src/pfcuserconfig.class.php 2008-12-02 08:35:22 UTC (rev 1257)
@@ -21,7 +21,6 @@
$c =& pfcGlobalConfig::Instance();
// start the session : session is used for locking purpose and cache purpose
- session_name( "phpfreechat" );
if(session_id() == "") session_start();
// the nickid is a public identifier shared between all the chatters
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2008-12-01 17:16:32
|
Revision: 1256
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1256&view=rev
Author: kerphi
Date: 2008-12-01 17:16:29 +0000 (Mon, 01 Dec 2008)
Log Message:
-----------
Opimization: build the whoisbox only on demand (thanks to Ivan Kravets aka x-man)
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2008-11-25 19:06:50 UTC (rev 1255)
+++ trunk/data/public/js/pfcclient.js 2008-12-01 17:16:29 UTC (rev 1256)
@@ -438,7 +438,6 @@
{
this.setUserMeta(nickid, param);
this.updateNickBox(nickid);
- this.updateNickWhoisBox(nickid);
}
if (cmd == "whois")
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2008-11-25 19:06:55
|
Revision: 1255
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1255&view=rev
Author: kerphi
Date: 2008-11-25 19:06:50 +0000 (Tue, 25 Nov 2008)
Log Message:
-----------
Fixes problems with quotes and double quotes which can be wrongly converted to smiles (thanks to handyone - sourceforge bug #2343444)
Modified Paths:
--------------
trunk/src/phpfreechat.class.php
Modified: trunk/src/phpfreechat.class.php
===================================================================
--- trunk/src/phpfreechat.class.php 2008-11-25 17:54:09 UTC (rev 1254)
+++ trunk/src/phpfreechat.class.php 2008-11-25 19:06:50 UTC (rev 1255)
@@ -130,10 +130,7 @@
*/
function FilterSpecialChar($str)
{
- //$str = stripslashes($str);
- // $str = addslashes($str);
- $str = htmlspecialchars($str);
- return $str;
+ return htmlspecialchars($str, ENT_NOQUOTES);
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2008-11-25 17:54:19
|
Revision: 1254
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1254&view=rev
Author: kerphi
Date: 2008-11-25 17:54:09 +0000 (Tue, 25 Nov 2008)
Log Message:
-----------
Fixes a wrong theme_url calculation that could append on special servers configurations (thanks to xman - sourceforge bug 2329644)
Modified Paths:
--------------
trunk/src/pfcglobalconfig.class.php
Modified: trunk/src/pfcglobalconfig.class.php
===================================================================
--- trunk/src/pfcglobalconfig.class.php 2008-11-10 09:40:09 UTC (rev 1253)
+++ trunk/src/pfcglobalconfig.class.php 2008-11-25 17:54:09 UTC (rev 1254)
@@ -921,7 +921,7 @@
$this->theme_path.'/'.$this->theme,
$this->data_public_path.'/themes/'.$this->theme);
}
- $this->theme_url = $this->theme_default_url;
+ $this->theme_url = $this->data_public_url.'/themes';
}
// if the user do not have an existing prototype.js library, we use the embeded one
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ke...@us...> - 2008-11-10 09:40:18
|
Revision: 1253
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1253&view=rev
Author: kerphi
Date: 2008-11-10 09:40:09 +0000 (Mon, 10 Nov 2008)
Log Message:
-----------
Bug fix: fix a parsing problem with bbcode [color] tag on konqueror browser (sourceforge patch #2234430)
Modified Paths:
--------------
trunk/data/public/js/pfcclient.js
Modified: trunk/data/public/js/pfcclient.js
===================================================================
--- trunk/data/public/js/pfcclient.js 2008-09-12 12:26:17 UTC (rev 1252)
+++ trunk/data/public/js/pfcclient.js 2008-11-10 09:40:09 UTC (rev 1253)
@@ -1524,11 +1524,11 @@
rx = new RegExp('\\[email=([A-z0-9][\\w.-]*@[A-z0-9][\\w\\-\\.]+\\.[A-z0-9]{2,6})\\](.+?)\\[\/email\\]','ig');
msg = msg.replace(rx, '<a href="mailto: $1">$2</a>');
*/
- rx = new RegExp('\\[color=([a-zA-Z]+|\\#?[0-9a-fA-F]{6}|\\#?[0-9a-fA-F]{3})](.+?)\\[\/color\\]','ig');
+ rx = new RegExp('\\[color=([a-zA-Z]+|\\#?[0-9a-fA-F]{6}|\\#?[0-9a-fA-F]{3})\\](.+?)\\[\/color\\]','ig');
msg = msg.replace(rx, '<span style="color: $1">$2</span>');
// parse bbcode colors twice because the current_text_color is a bbcolor
// so it's possible to have a bbcode color imbrication
- rx = new RegExp('\\[color=([a-zA-Z]+|\\#?[0-9a-fA-F]{6}|\\#?[0-9a-fA-F]{3})](.+?)\\[\/color\\]','ig');
+ rx = new RegExp('\\[color=([a-zA-Z]+|\\#?[0-9a-fA-F]{6}|\\#?[0-9a-fA-F]{3})\\](.+?)\\[\/color\\]','ig');
msg = msg.replace(rx, '<span style="color: $1">$2</span>');
// try to parse smileys
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|