phpfreechat-svn Mailing List for phpFreeChat (Page 4)
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: <ke...@us...> - 2007-11-02 09:17:12
|
Revision: 1203 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1203&view=rev Author: kerphi Date: 2007-11-02 02:17:16 -0700 (Fri, 02 Nov 2007) Log Message: ----------- some parameters were ignored in the online documentation Modified Paths: -------------- trunk/misc/generate-doc.inc.php Modified: trunk/misc/generate-doc.inc.php =================================================================== --- trunk/misc/generate-doc.inc.php 2007-11-02 09:01:32 UTC (rev 1202) +++ trunk/misc/generate-doc.inc.php 2007-11-02 09:17:16 UTC (rev 1203) @@ -62,7 +62,7 @@ $p['desc'] = trim($p['desc']); // search for the parameter name/default value - if (preg_match('/var\s+\$([a-z_]+)\s+=\s+(.*);/i', $data, $matches4, PREG_OFFSET_CAPTURE, $offset)) + if (preg_match('/var\s+\$([a-z_]+)\s+=\s+(.*);/is', $data, $matches4, PREG_OFFSET_CAPTURE, $offset)) { $offset = $matches4[1][1]; $p['name'] = $matches4[1][0]; @@ -79,4 +79,4 @@ return $plist; } -?> \ 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...> - 2007-11-02 09:01:31
|
Revision: 1202 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1202&view=rev Author: kerphi Date: 2007-11-02 02:01:32 -0700 (Fri, 02 Nov 2007) Log Message: ----------- fix a typo Modified Paths: -------------- trunk/i18n/fr_FR/main.php Modified: trunk/i18n/fr_FR/main.php =================================================================== --- trunk/i18n/fr_FR/main.php 2007-10-28 21:28:05 UTC (rev 1201) +++ trunk/i18n/fr_FR/main.php 2007-11-02 09:01:32 UTC (rev 1202) @@ -280,7 +280,7 @@ $GLOBALS["i18n"]["Your must be connected to send a message"] = "Vous devez être connecté pour envoyer un message"; // line 87 in chat.js.tpl.php -$GLOBALS["i18n"]["Click here to send your message"] = "Clickez ici pour envoyer votre message"; +$GLOBALS["i18n"]["Click here to send your message"] = "Cliquez ici pour envoyer votre message"; // line 80 in chat.js.tpl.php $GLOBALS["i18n"]["Enter the text to format"] = "Entrez le texte à formater"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-10-28 21:28:01
|
Revision: 1201 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1201&view=rev Author: kerphi Date: 2007-10-28 14:28:05 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Add a test for filemtime behavior (could be problematic on special filesystems) in the file container init step Modified Paths: -------------- trunk/src/containers/file.class.php trunk/src/pfcglobalconfig.class.php trunk/src/phpfreechat.class.php Modified: trunk/src/containers/file.class.php =================================================================== --- trunk/src/containers/file.class.php 2007-10-28 19:22:11 UTC (rev 1200) +++ trunk/src/containers/file.class.php 2007-10-28 21:28:05 UTC (rev 1201) @@ -64,6 +64,24 @@ $errors = array_merge($errors, @test_writable_dir($c->container_cfg_chat_dir, "container_cfg_chat_dir")); $errors = array_merge($errors, @test_writable_dir($c->container_cfg_server_dir, "container_cfg_chat_dir/serverid")); + // test the filemtime php function because it doesn't work on special filesystem + // example : NFS, VZFS + $filename = $c->data_private_path.'/filemtime.test'; + $timetowait = 2; + if (is_writable(dirname($filename))) + { + file_put_contents($filename,'some-data1-'.time(), LOCK_EX); + clearstatcache(); + $time1 = filemtime($filename); + sleep($timetowait); + file_put_contents($filename,'some-data2-'.time(), LOCK_EX); + clearstatcache(); + $time2 = filemtime($filename); + unlink($filename); + if ($time2-$time1 != $timetowait) + $errors[] = "filemtime php fuction is not usable on your filesystem. Please do not use the 'file' container (try the 'mysql' container) or swith to another filesystem."; + } + return $errors; } Modified: trunk/src/pfcglobalconfig.class.php =================================================================== --- trunk/src/pfcglobalconfig.class.php 2007-10-28 19:22:11 UTC (rev 1200) +++ trunk/src/pfcglobalconfig.class.php 2007-10-28 21:28:05 UTC (rev 1201) @@ -1045,14 +1045,13 @@ if (!$this->isInit()) $this->init(); $errors =& $this->getErrors(); - if (count($errors) > 0) + if (count($errors) == 0) { - @unlink($cachefile_lock); // destroy the lock file for the next attempt - echo "<p>"._pfc("Please correct these errors").":</p><ul>"; foreach( $errors as $e ) echo "<li>".$e."</li>"; echo "</ul>"; - exit; + // save the validated config in cache + $this->saveInCache(); } - // save the validated config in cache - $this->saveInCache(); + else + @unlink($cachefile_lock); // destroy the lock file for the next attempt return false; // new cache created } } Modified: trunk/src/phpfreechat.class.php =================================================================== --- trunk/src/phpfreechat.class.php 2007-10-28 19:22:11 UTC (rev 1200) +++ trunk/src/phpfreechat.class.php 2007-10-28 21:28:05 UTC (rev 1201) @@ -98,22 +98,27 @@ { $c =& pfcGlobalConfig::Instance(); $u =& pfcUserConfig::Instance(); - + $output = ''; - pfcI18N::SwitchOutputEncoding($c->output_encoding); - - $path = $c->getFilePathFromTheme('chat.js.tpl.php'); - $t = new pfcTemplate($path); - $t->assignObject($u,"u"); - $t->assignObject($c,"c"); - $output .= $t->getOutput(); + if (count($c->getErrors()) > 0) + { + $output .= "<p>phpFreeChat cannot be initialized, please correct these errors:</p><ul>"; + foreach( $c->getErrors() as $e ) $output .= "<li>".$e."</li>"; $output .= "</ul>"; + } + else + { + pfcI18N::SwitchOutputEncoding($c->output_encoding); + + $path = $c->getFilePathFromTheme('chat.js.tpl.php'); + $t = new pfcTemplate($path); + $t->assignObject($u,"u"); + $t->assignObject($c,"c"); + $output .= $t->getOutput(); + + pfcI18N::SwitchOutputEncoding(); + } - pfcI18N::SwitchOutputEncoding(); - /* - $output .= " // ]]>\n"; - $output .= "</script>\n"; - */ if($return) return $output; else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-10-28 19:22:08
|
Revision: 1200 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1200&view=rev Author: kerphi Date: 2007-10-28 12:22:11 -0700 (Sun, 28 Oct 2007) Log Message: ----------- Test the filemtime php function. On special filesystem this function do not work as expected (ex: NFS, VZFS) Added Paths: ----------- trunk/testcase/filemtime.php Added: trunk/testcase/filemtime.php =================================================================== --- trunk/testcase/filemtime.php (rev 0) +++ trunk/testcase/filemtime.php 2007-10-28 19:22:11 UTC (rev 1200) @@ -0,0 +1,16 @@ +<?php + +$filename = dirname(__FILE__).'/'.basename(__FILE__).'.data'; +$timetowait = 3; +if (!is_writable(dirname($filename))) die($filename.' is not writable'); +file_put_contents($filename,'some-data1-'.time()); +clearstatcache(); +$time1 = filemtime($filename); +sleep($timetowait); +file_put_contents($filename,'some-data2-'.time()); +clearstatcache(); +$time2 = filemtime($filename); +unlink($filename); +echo ($time2-$time1 == $timetowait) ? "filemtime test passed successfully\n" : "filemtime test failed\n"; + +?> \ 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...> - 2007-10-07 11:34:04
|
Revision: 1199 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1199&view=rev Author: kerphi Date: 2007-10-07 04:34:06 -0700 (Sun, 07 Oct 2007) Log Message: ----------- fix a typo Modified Paths: -------------- trunk/i18n/fr_FR/main.php Modified: trunk/i18n/fr_FR/main.php =================================================================== --- trunk/i18n/fr_FR/main.php 2007-10-04 08:02:55 UTC (rev 1198) +++ trunk/i18n/fr_FR/main.php 2007-10-07 11:34:06 UTC (rev 1199) @@ -337,7 +337,7 @@ $GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "'/unban {id}' va débannir l'utilisateur identifié par {nickname}"; // line 43 in kick.class.php -$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "kické de %s par %s"; +$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "kické de %s par %s - raison : %s"; // line 20 in quit.class.php $GLOBALS["i18n"]["%s quit (%s)"] = "%s a quitté (%s)"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-10-04 08:02:56
|
Revision: 1198 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1198&view=rev Author: kerphi Date: 2007-10-04 01:02:55 -0700 (Thu, 04 Oct 2007) Log Message: ----------- Polish translation update (thanks to jwaldek) Modified Paths: -------------- trunk/i18n/pl_PL/main.php Modified: trunk/i18n/pl_PL/main.php =================================================================== --- trunk/i18n/pl_PL/main.php 2007-10-04 07:59:51 UTC (rev 1197) +++ trunk/i18n/pl_PL/main.php 2007-10-04 08:02:55 UTC (rev 1198) @@ -25,6 +25,7 @@ * * @author Pawel * @author bejo + * @author jwaldek */ // line 45 in phpfreechatconfig.class.php @@ -70,10 +71,10 @@ $GLOBALS["i18n"]["%s directory must be specified"] = "%s katalog musi być podany"; // line 439 in phpfreechatconfig.class.php -$GLOBALS["i18n"]["%s must be a directory"] = "%s musi byc katalogiem"; +$GLOBALS["i18n"]["%s must be a directory"] = "%s musi być katalogiem"; // line 446 in phpfreechatconfig.class.php -$GLOBALS["i18n"]["%s can't be created"] = "%s nie może zostac utworzony"; +$GLOBALS["i18n"]["%s can't be created"] = "%s nie może zostać utworzony"; // line 451 in phpfreechatconfig.class.php $GLOBALS["i18n"]["%s is not writeable"] = "%s nie jest zapisywalny"; @@ -349,7 +350,7 @@ $GLOBALS["i18n"]["Chat loading ..."] = "Ladowanie chat'a..."; // line 124 in chat.js.tpl.php -$GLOBALS["i18n"]["Please wait"] = "Porsze czekac"; +$GLOBALS["i18n"]["Please wait"] = "Prosze czekac"; // line 139 in chat.js.tpl.php $GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = "%s wygląda na wyłączone lub nieobsługiwane przez Twoją przeglądarkę."; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-10-04 07:59:53
|
Revision: 1197 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1197&view=rev Author: kerphi Date: 2007-10-04 00:59:51 -0700 (Thu, 04 Oct 2007) Log Message: ----------- Hungarian translation update (thanks to GaLa) Modified Paths: -------------- trunk/i18n/hu_HU/main.php Modified: trunk/i18n/hu_HU/main.php =================================================================== --- trunk/i18n/hu_HU/main.php 2007-10-03 16:49:54 UTC (rev 1196) +++ trunk/i18n/hu_HU/main.php 2007-10-04 07:59:51 UTC (rev 1197) @@ -83,16 +83,16 @@ $GLOBALS["i18n"]["%s is not readable"] = "%s nem olvasható"; // line 469 in phpfreechatconfig.class.php -$GLOBALS["i18n"]["%s is not a file"] = "%s nem fájl"; +$GLOBALS["i18n"]["%s is not a file"] = "%s nem egy fájl"; // line 491 in phpfreechatconfig.class.php -$GLOBALS["i18n"]["%s is not a directory"] = "%s nem mappa"; +$GLOBALS["i18n"]["%s is not a directory"] = "%s nem egy mappa"; // line 23 in chat.html.tpl.php -$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [készítette: phpFreeChat-%s]"; +$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]"; // line 296 in javascript1.js.tpl.php -$GLOBALS["i18n"]["Hide nickname marker"] = "Becenév színének rejtése"; +$GLOBALS["i18n"]["Hide nickname marker"] = "Becenév színének elrejtése"; // line 304 in javascript1.js.tpl.php $GLOBALS["i18n"]["Show nickname marker"] = "Becenév színének mutatása"; @@ -161,7 +161,7 @@ $GLOBALS["i18n"]["%s template could not be found"] = "%s sablon nem található"; // 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"] = "Hiba: '%s' nem található, kérlek ellenőrizd a témák mappa elérési útját '%s' és hogy a kiválasztott táma létezik-e: '%s'"; +$GLOBALS["i18n"]["Error: '%s' could not be found, please check your themepath '%s' and your theme '%s' are correct"] = "Hiba: '%s' nem található, kérlek ellenőrizd a témák mappa elérési útját '%s' és, hogy a kiválasztott téma létezik-e: '%s'"; // line 75 in pfccommand.class.php $GLOBALS["i18n"]["%s must be implemented"] = "Parancsvégrehajtás: %s"; @@ -177,7 +177,7 @@ $GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "'%s' nem érvényes paraméter. Lehetséges értékei: '%s'"; // line 185 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["My room"] = "Én szobám"; +$GLOBALS["i18n"]["My room"] = "Az én szobám"; // line 109 in pfcclient.js.tpl.php $GLOBALS["i18n"]["Private message"] = "Privát üzenet"; @@ -228,7 +228,7 @@ $GLOBALS["i18n"]["%s users have been unbanished"] = "%s felhasználó visszaengedve"; // line 47 in auth.class.php -$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "Nincs engedélyezve a(z) '%s' parancs futtatása"; +$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"; @@ -249,7 +249,7 @@ $GLOBALS["i18n"]["'%s' parameter must be an array"] = "'%s' paraméternek egy tömbnek kell lenni"; // line 265 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "'%s' paraméternek boolean -nek kell lenni"; +$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "'%s' paraméternek boolean-nek kell lenni"; // line 271 in pfcglobalconfig.class.php $GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "'%s' paraméternek szövegnek kell lenni"; @@ -258,7 +258,7 @@ $GLOBALS["i18n"]["'%s' must be writable"] = "'%s' írható kell, hogy legyen"; // line 425 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "'%s' könyvtár nem, létezik"; +$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "'%s' mappa nem, létezik"; // line 544 in pfcglobalconfig.class.php $GLOBALS["i18n"]["Please correct these errors"] = "Kérlek, javítsd ki ezeket a hibákat"; @@ -267,7 +267,7 @@ $GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "Hiba: a tárolt config fájl nem létezik"; // 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"] = "Hiba: a csetet nem lehet betölteni! Két eset lehetséges: a böngésződ nem támogatja a javascript-et vagy nem állítottad be megfelelően a szerver könyvtárainak jogait - ne gondolkozz, kérj segítséget a fórumon"; +$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"] = "Hiba: a csetet nem lehet betölteni! Két eset lehetséges: a böngésződ nem támogatja a javascript-et vagy nem állítottad be megfelelően a szerver mappáinak jogait - ne gondolkozz, kérj segítséget a fórumon"; // line 31 in help.class.php $GLOBALS["i18n"]["Here is the command list:"] = "A parancs lista:"; @@ -294,7 +294,7 @@ $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"]["Chosen nickname is already used"] = "A választott becenevet már valaki használja"; +$GLOBALS["i18n"]["Choosen nickname is allready 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"; @@ -312,16 +312,16 @@ $GLOBALS["i18n"]["Mysql container: connect error"] = "Mysql tároló: kapcsolódási hiba"; // line 101 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Mysql tároló: adatbázis létrehozási hiba '%s'"; +$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Mysql tároló: adatbázis létrehozási hiba - '%s'"; // line 112 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "Mysql tároló: tábla létrehozási hiba '%s'"; +$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "Mysql tároló: tábla létrehozási hiba - '%s'"; // line 80 in chat.js.tpl.php $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"]["Chosen nickname is not allowed"] = "A választott becenév nem engedélyezett"; +$GLOBALS["i18n"]["Choosen 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"; @@ -339,7 +339,7 @@ $GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "'/unban {becenév}' vissza engedésre kerül a {becenév}-vel azonosított felhasználó"; // line 43 in kick.class.php -$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "kirúgva %s szobából %s által - oka: %s"; +$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "%s szobából kirúgva, kirúgta, %s - oka: %s"; // line 20 in quit.class.php $GLOBALS["i18n"]["%s quit (%s)"] = "%s kilép (%s)"; @@ -363,7 +363,7 @@ $GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] = " %s támogatásához frissítsd a böngésződ, majd próbáld újra."; // 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."] = "Az Internet Explorer 7.0 előtti verzióiban az Ajax végrehajtáshoz az ActivX -t használja. Engedélyezd az ActivX-t a böngésződ biztonsági beállításainál, vagy használj olyan böngészőt, mely támogatja az Ajax technológiát, majd próbáld újra."; +$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."] = "Az Internet Explorer 7.0 előtti verzióiban az Ajax végrehajtáshoz az ActivX-et használja. Engedélyezd az ActivX-et a böngésződ biztonsági beállításainál, vagy használj olyan böngészőt, mely támogatja az Ajax technológiát, majd próbáld újra."; // line 359 in pfcglobalconfig.class.php $GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "%s nem létezik, a data_public_path nem telepíthető"; @@ -375,7 +375,7 @@ $GLOBALS["i18n"]["Ping"] = "Ping"; // line 477 in phpfreechat.class.php -$GLOBALS["i18n"]["Input Required"] = "Adat szükséges"; +$GLOBALS["i18n"]["Input Required"] = "Adatra van szükség"; // line 478 in phpfreechat.class.php $GLOBALS["i18n"]["OK"] = "OK"; @@ -383,26 +383,25 @@ // line 479 in phpfreechat.class.php $GLOBALS["i18n"]["Cancel"] = "Mégse"; - // line 430 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["cannot create %s"] = ""; +$GLOBALS["i18n"]["cannot create %s"] = "%s nem hozható létre"; // line 436 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["cannot copy %s in %s"] = ""; +$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"] = ""; +$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"; // 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 ?"] = "Biztosan be akarod zárni ezt a fület ?"; // line 42 in ban.class.php -$GLOBALS["i18n"]["%s banished from %s by %s"] = ""; +$GLOBALS["i18n"]["%s banished from %s by %s"] = "%s kitiltva a(z) %s szobából, kitiltotta, %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"] = "Megpróbáltál beszélgetni egy olyan felhasználóval, aki nem ismert (vagy nem csatlakozott)."; // line 89 in invite.class.php -$GLOBALS["i18n"]["%s was invited by %s"] = ""; +$GLOBALS["i18n"]["%s was invited by %s"] = "%s meghívva %s által"; -?> \ 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...> - 2007-10-03 16:49:51
|
Revision: 1196 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1196&view=rev Author: kerphi Date: 2007-10-03 09:49:54 -0700 (Wed, 03 Oct 2007) Log Message: ----------- Fix a height style problem in blune theme (thanks to Satan'sPet) Modified Paths: -------------- trunk/themes/blune/style.css.php Modified: trunk/themes/blune/style.css.php =================================================================== --- trunk/themes/blune/style.css.php 2007-09-27 16:51:42 UTC (rev 1195) +++ trunk/themes/blune/style.css.php 2007-10-03 16:49:54 UTC (rev 1196) @@ -27,7 +27,6 @@ display: none; margin-top: 5px; padding: 2px; - height: 18px; border: #555 solid 1px; color: #EC4A1F; background-color: #BEC5D0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-27 16:51:42
|
Revision: 1195 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1195&view=rev Author: kerphi Date: 2007-09-27 09:51:42 -0700 (Thu, 27 Sep 2007) Log Message: ----------- New Belgian Dutch (nl_BE) translation (thanks to Toon Van de Putte) Modified Paths: -------------- trunk/demo/index.php trunk/i18n/bg_BG/main.php trunk/src/pfci18n.class.php Added Paths: ----------- trunk/demo/demo62_in_belgian_dutch.php trunk/i18n/nl_BE/ trunk/i18n/nl_BE/main.php Added: trunk/demo/demo62_in_belgian_dutch.php =================================================================== --- trunk/demo/demo62_in_belgian_dutch.php (rev 0) +++ trunk/demo/demo62_in_belgian_dutch.php 2007-09-27 16:51:42 UTC (rev 1195) @@ -0,0 +1,36 @@ +<?php + +require_once dirname(__FILE__)."/../src/phpfreechat.class.php"; + +$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat +$params["language"] = "nl_BE"; +$chat = new phpFreeChat( $params ); + +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>phpFreeChat demo</title> + + <?php $chat->printJavascript(); ?> + <?php $chat->printStyle(); ?> + + </head> + + <body> + <?php $chat->printChat(); ?> + +<?php + // print the current file + echo "<h2>The source code</h2>"; + $filename = __FILE__; + echo "<p><code>".$filename."</code></p>"; + echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">"; + $content = file_get_contents($filename); + echo htmlentities($content); + echo "</pre>"; +?> + + </body> +</html> Modified: trunk/demo/index.php =================================================================== --- trunk/demo/index.php 2007-09-26 06:03:43 UTC (rev 1194) +++ trunk/demo/index.php 2007-09-27 16:51:42 UTC (rev 1195) @@ -127,6 +127,7 @@ <li><a href="demo59_in_norwegian_nynorsk.php">demo59 - Norwegian Nynorsk translation of the chat</a></li> <li><a href="demo60_in_vietnamese.php">demo60 - Vietnamese translation of the chat</a></li> <li><a href="demo61_in_croatian.php">demo61 - Croatian translation of the chat</a></li> + <li><a href="demo62_in_belgian_dutch.php">demo62 - Belgian Dutch translation of the chat</a></li> </ul> </div> Modified: trunk/i18n/bg_BG/main.php =================================================================== --- trunk/i18n/bg_BG/main.php 2007-09-26 06:03:43 UTC (rev 1194) +++ trunk/i18n/bg_BG/main.php 2007-09-27 16:51:42 UTC (rev 1195) @@ -401,4 +401,10 @@ // line 89 in invite.class.php $GLOBALS["i18n"]["%s was invited by %s"] = ""; +// line 446 in phpfreechat.class.php +$GLOBALS["i18n"]["Chosen nickname is already used"] = ""; + +// line 454 in phpfreechat.class.php +$GLOBALS["i18n"]["Chosen nickname is not allowed"] = ""; + ?> \ No newline at end of file Added: trunk/i18n/nl_BE/main.php =================================================================== --- trunk/i18n/nl_BE/main.php (rev 0) +++ trunk/i18n/nl_BE/main.php 2007-09-27 16:51:42 UTC (rev 1195) @@ -0,0 +1,412 @@ +<?php +/** + * i18n/nl_BE/main.php + * + * Copyright © 2006 Stephane Gully <ste...@gm...> + * + * Dit is vrij beschikbare software; u kunt dit verspreiden en/of + * aanpassen onder de voorwaarden van het GNU Lesser General Public + * License zoals gepubliceerd door de Free Software Foundation; zowel + * versie 2.1 van de License, of een latere versie. + * + * Deze software wordt verspreid in de hoop dat het bruikbaar is, + * maar ZONDER ENIGE GARANTIE; zonder zelfs een impliciete garantie van + * VERKOOPBAARHEID of GESCHIKHEID VOOR PARTICULIERE DOELEINDEN. Zie de GNU + * Lesser General Public License voor meer details. + * + * U heeft een kopie van de GNU Lesser General Public + * License ontvangen samen met dit programma; zoniet, schrijf dan naar de + * Free Software Foundation, 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +/** + * Nederlandse vertaling van de berichten (utf8 encoded!) + * + * @author Toon Van de Putte (gebaseerd op Robert de Ruiter) + */ + +// line 45 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["My Chat"] = "Mijn chat"; + +// line 201 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "%s niet gevonden, %s bestand niet gevonden."; + +// line 355 in phpfreechat.class.php +$GLOBALS["i18n"]["Please enter your nickname"] = "Vul hier een nickname in"; + +// line 565 in phpfreechat.class.php +$GLOBALS["i18n"]["Text cannot be empty"] = "Tekstvak kan niet leeg zijn"; + +// line 392 in phpfreechat.class.php +$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s verandert de nickname in %s"; + +// line 398 in phpfreechat.class.php +$GLOBALS["i18n"]["%s is connected"] = "%s is verbonden"; + +// line 452 in phpfreechat.class.php +$GLOBALS["i18n"]["%s quit"] = "%s stop"; + +// line 468 in phpfreechat.class.php +$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s niet verbonden (timeout)"; + +// line 262 in phpfreechat.class.php +$GLOBALS["i18n"]["Unknown command [%s]"] = "Onbekende opdracht [%s]"; + +// line 149 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s bestaat niet: %s"; + +// line 180 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["You need %s"] = "Je hebt nodig %s"; + +// line 241 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s bestaat niet, %s bestand niet gevonden"; + +// line 280 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist"] = "%s bestaat niet"; + +// line 433 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s directory must be specified"] = "%s geef de directory aan"; + +// line 439 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s must be a directory"] = "%s moet een directory zijn"; + +// line 446 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s can't be created"] = "%s kan niet worden gemaakt"; + +// line 451 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not writeable"] = "%s kan niet worden beschreven"; + +// line 496 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not readable"] = "%s is niet leesbaar"; + +// line 469 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a file"] = "%s is geen bestand"; + +// line 491 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a directory"] = "%s is geen directory"; + +// line 23 in chat.html.tpl.php +$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]"; + +// line 296 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide nickname marker"] = "Geen gekleurde nicknames"; + +// line 304 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show nickname marker"] = "Toon gekleurde nicknames"; + +// line 389 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Disconnect"] = "Verbreek verbinding"; + +// line 395 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Connect"] = "Maak contact"; + +// line 427 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Magnify"] = "Vergroot"; + +// line 434 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Cut down"] = "Verklein"; + +// line 345 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide dates and hours"] = "Verberg data en tijd"; + +// line 353 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show dates and hours"] = "Toon data en tijd"; + +// line 21 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your message here"] = "Voer hier je bericht in"; + +// line 24 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your nickname here"] = "Voer hier je nickname in"; + +// line 93 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "Fout: niet-gedefinieerde of lege parameter '%s', verbeter of verwijder deze parameter"; + +// line 86 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide smiley box"] = "Verberg smiley venster"; + +// line 87 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show smiley box"] = "Toon smiley venster"; + +// line 88 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide online users box"] = "Verberg online venster"; + +// line 89 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show online users box"] = "Toon online venster"; + +// line 33 in chat.html.tpl.php +$GLOBALS["i18n"]["Bold"] = "Vet"; + +// line 34 in chat.html.tpl.php +$GLOBALS["i18n"]["Italics"] = "Cursief"; + +// line 35 in chat.html.tpl.php +$GLOBALS["i18n"]["Underline"] = "Onderstreept"; + +// line 36 in chat.html.tpl.php +$GLOBALS["i18n"]["Delete"] = "Verwijder"; + +// line 37 in chat.html.tpl.php +$GLOBALS["i18n"]["Pre"] = "Pre"; + +// line 38 in chat.html.tpl.php +$GLOBALS["i18n"]["Mail"] = "Mail"; + +// line 39 in chat.html.tpl.php +$GLOBALS["i18n"]["Color"] = "Kleur"; + +// line 48 in phpfreechattemplate.class.php +$GLOBALS["i18n"]["%s template could not be found"] = "%s template niet gevonden"; + +// 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"] = "Fout: '%s' kan niet worden gevonden, controleer het pad naar thema '%s' en uw thema '%s' is correct"; + +// line 75 in pfccommand.class.php +$GLOBALS["i18n"]["%s must be implemented"] = "%s moet worden geïmplementeerd"; + + +// line 343 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' parameter is verplicht bij standaard gebruik '%s' waarde"; + +// line 378 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a positive number"] = "'%s' parameter moet een positief getal zijn"; + +// line 386 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "'%s' parameter is niet geldig. Beschikbare waarden zijn: '%s'"; + + +// line 186 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["My room"] = "Mijn Kamer"; + +// line 19 in unban.class.php +$GLOBALS["i18n"]["Missing parameter"] = "Deze parameter ontbreekt"; + +// line 38 in ban.class.php +$GLOBALS["i18n"]["banished from %s by %s"] = "verbannen uit %s door %s"; + +// line 23 in banlist.class.php +$GLOBALS["i18n"]["The banished user's id list is:"] = "De id-lijst van de verbannen gebruiker is:"; + +// line 32 in banlist.class.php +$GLOBALS["i18n"]["Empty"] = "Leeg"; + +// line 34 in banlist.class.php +$GLOBALS["i18n"]["'/unban {id}' will unban the user identified by {id}"] = "'/unban {id}' maakt de verbanning van gebruiker {id} ongedaan"; + +// line 35 in banlist.class.php +$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = "'/unban all' maakt alle verbanningen in dit kanaal ongedaan"; + +// line 24 in update.class.php +$GLOBALS["i18n"]["%s quit (timeout)"] = "%s is vertrokken (timeout)"; + +// line 46 in join.class.php +$GLOBALS["i18n"]["%s joins %s"] = "%s komt binnen in %s"; + +// line 31 in kick.class.php +$GLOBALS["i18n"]["kicked from %s by %s"] = "gekickt uit %s door %s"; + +// line 38 in send.class.php +$GLOBALS["i18n"]["Can't send the message, %s is offline"] = "Kan de boodschap niet versturen, % is offline"; + +// line 27 in unban.class.php +$GLOBALS["i18n"]["Nobody has been unbanished"] = "Geen enkele verbanning werd ongedaan gemaakt"; + +// line 42 in unban.class.php +$GLOBALS["i18n"]["%s has been unbanished"] = "% is niet langer verbannen"; + +// line 49 in unban.class.php +$GLOBALS["i18n"]["%s users have been unbanished"] = "%s gebruikers zijn niet langer verbannen"; + +// line 47 in auth.class.php +$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = "Je hebt geen toelating om het commando '%s' uit te voeren"; + +// line 66 in auth.class.php +$GLOBALS["i18n"]["Can't join %s because you are banished"] = "Kan niet in %s omdat je verbannen bent"; + +// line 76 in auth.class.php +$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "Kan niet in %s omdat de kanalenlijst beperkt is"; + +// line 89 in auth.class.php +$GLOBALS["i18n"]["You are not allowed to change your nickname"] = "Je mag je nickname niet veranderen"; + +// line 56 in noflood.class.php +$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "Niet zo veel berichten plaatsen, flooden is niet toegelaten"; + +// line 109 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Private message"] = "Privé-bericht"; + +// line 110 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Close this tab"] = "Sluit deze tab"; + +// line 199 in pfcgui.js.tpl.php +$GLOBALS["i18n"]["Do you really want to leave this room ?"] = "Wil je echt vertrekken uit deze kamer?"; + +// line 169 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = "Fout: '%s' is een private parameter, je mag die niet veranderen"; + +// line 253 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be an array"] = "'%s' parameter moet een array zijn"; + +// line 265 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "'%s' parameter moet een boolean zijn"; + +// line 271 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "'%s' moet een charactere string zijn"; + +// line 395 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' must be writable"] = "'%s' moet schrijfbaar zijn"; + +// line 425 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "'%s' directory bestaat niet"; + +// line 544 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["Please correct these errors"] = "Pas deze fouten aan"; + +// line 21 in pfcinfo.class.php +$GLOBALS["i18n"]["Error: the cached config file doesn't exists"] = "Fout: het gebufferde configuratiebestand bestaat niet"; + +// 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"] = "Error: de chat kan niet geladen worden! Twee mogelijkheden: je browser ondersteunt geen javascript of de chat staat fout ingesteld. Mail naar web...@ye..."; + +// line 31 in help.class.php +$GLOBALS["i18n"]["Here is the command list:"] = "Dit is de lijst met commando's:"; + +// line 63 in identify.class.php +$GLOBALS["i18n"]["Succesfully identified"] = "Identificatie succesvol"; + +// line 68 in identify.class.php +$GLOBALS["i18n"]["Identification failure"] = "Identificatie mislukt"; + +// line 25 in send.class.php +$GLOBALS["i18n"]["Your must be connected to send a message"] = "Je moet verbonden zijn om een bericht te kunnen sturen"; + +// line 87 in chat.js.tpl.php +$GLOBALS["i18n"]["Click here to send your message"] = "Klik hier om je bericht te versturen"; + +// line 80 in chat.js.tpl.php +$GLOBALS["i18n"]["Enter the text to format"] = "Voer de tekst in die geformatteerd moet worden"; + +// line 81 in chat.js.tpl.php +$GLOBALS["i18n"]["Configuration has been rehashed"] = "Configuratie is gerehashed"; + +// line 82 in chat.js.tpl.php +$GLOBALS["i18n"]["A problem occurs during rehash"] = "Er is een probleem opgetreden bij het rehashen"; + +// line 83 in chat.js.tpl.php +$GLOBALS["i18n"]["Choosen nickname is allready used"] = "Die nickname is al in gebruik"; + +// line 84 in chat.js.tpl.php +$GLOBALS["i18n"]["phpfreechat current version is %s"] = "phpfreechat versie is %s"; + +// line 85 in chat.js.tpl.php +$GLOBALS["i18n"]["Maximum number of joined channels has been reached"] = "Het maximum aantal kanalen dat je kan betreden is bereikt"; + +// line 86 in chat.js.tpl.php +$GLOBALS["i18n"]["Maximum number of private chat has been reached"] = "Het maximum aantal privé-chats is bereikt"; + +// line 88 in chat.js.tpl.php +$GLOBALS["i18n"]["Send"] = "Verzenden"; + +// line 86 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: connect error"] = "Mysql container: verbindingsfout"; + +// line 101 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Mysql container: database creatie fout"; + +// line 112 in mysql.class.php +$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "Mysql container: tabel creatie fout"; + +// line 80 in chat.js.tpl.php +$GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "Je mag niet tegen jezelf praten"; + +// line 82 in chat.js.tpl.php +$GLOBALS["i18n"]["Choosen nickname is not allowed"] = "De gekozen nickname is niet toegelaten"; + +// line 83 in chat.js.tpl.php +$GLOBALS["i18n"]["Enable sound notifications"] = "Geluidsmeldingen aanzetten"; + +// line 84 in chat.js.tpl.php +$GLOBALS["i18n"]["Disable sound notifications"] = "Geluidsmeldingen uitzetten"; + +// line 23 in kick.class.php +$GLOBALS["i18n"]["no reason"] = "geen reden"; + +// line 24 in banlist.class.php +$GLOBALS["i18n"]["The banished user list is:"] = "De lijst van verbannen gebruikers is:"; + +// line 39 in banlist.class.php +$GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "'/unban {nickname}' maakt de verbanning van gebruiker {nickname} ongedaan"; + +// line 43 in kick.class.php +$GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "gekickt uit %s door %s - reden: %s"; + +// line 20 in quit.class.php +$GLOBALS["i18n"]["%s quit (%s)"] = "%s is vertrokken (%s)"; + +// line 124 in chat.js.tpl.php +$GLOBALS["i18n"]["Chat loading ..."] = "Chat is bezig met inladen ..."; + +// line 124 in chat.js.tpl.php +$GLOBALS["i18n"]["Please wait"] = "Even geduld"; + +// line 139 in chat.js.tpl.php +$GLOBALS["i18n"]["%s appears to be either disabled or unsupported by your browser."] = "%s lijkt uitgeschakeld te zijn of wordt niet ondersteund door uw browser."; + +// line 139 in chat.js.tpl.php +$GLOBALS["i18n"]["This web application requires %s to work properly."] = "Deze web-applicatie vereist %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."] = "Zet %s aan in de instellingen van je browser, of upgrade naar een browser die %s ondersteunt."; + +// line 137 in chat.js.tpl.php +$GLOBALS["i18n"]["Please upgrade to a browser with %s support and try again."] = "Upgrade naar een browser die %s ondersteunt en probeer opnieuw."; + +// 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."] = "In Internet Explorer voor versie 7.0 wordt Ajax toegepast via ActiveX. Zet ActiveX aan in de veiligheidsinstellingen of upgrade naar een browser met standaard Ajax ondersteuning."; + +// line 359 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist, data_public_path cannot be installed"] = "%s bestaat niet, data_public_path kan niet geïnstalleerd worden"; + +// line 73 in invite.class.php +$GLOBALS["i18n"]["You must join %s to invite users in this channel"] = "Je moet bij %s gaan om gebruikers in dit kanaal uit te nodigen"; + +// line 47 in chat.html.tpl.php +$GLOBALS["i18n"]["Ping"] = "Ping"; + +// line 477 in phpfreechat.class.php +$GLOBALS["i18n"]["Input Required"] = "Invoer vereist"; + +// line 478 in phpfreechat.class.php +$GLOBALS["i18n"]["OK"] = "OK"; + +// line 479 in phpfreechat.class.php +$GLOBALS["i18n"]["Cancel"] = "Annuleren"; + +// line 430 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["cannot create %s"] = "kan %s niet aanmaken"; + +// line 436 in pfcglobalconfig.class.php +$GLOBALS["i18n"]["cannot copy %s in %s"] = "kan %s niet in %s kopiëren"; + +// 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"] = "Fout: '%s' kan niet gevonden worden, kijk of je theme_path '%s' en je theme '%s' correct zijn"; + +// line 414 in phpfreechat.class.php +$GLOBALS["i18n"]["Are you sure you want to close this tab ?"] = "Ben je zeker dat je deze tab wil sluiten?"; + +// line 42 in ban.class.php +$GLOBALS["i18n"]["%s banished from %s by %s"] = "%s is verbannen uit %s door %s"; + +// line 446 in phpfreechat.class.php +$GLOBALS["i18n"]["Chosen nickname is already used"] = ""; + +// line 454 in phpfreechat.class.php +$GLOBALS["i18n"]["Chosen nickname is not allowed"] = ""; + +// line 460 in phpfreechat.class.php +$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"] = ""; + +?> \ No newline at end of file Modified: trunk/src/pfci18n.class.php =================================================================== --- trunk/src/pfci18n.class.php 2007-09-26 06:03:43 UTC (rev 1194) +++ trunk/src/pfci18n.class.php 2007-09-27 16:51:42 UTC (rev 1195) @@ -103,7 +103,7 @@ */ function GetAcceptedLanguage($type="main") { - return /*<GetAcceptedLanguage>*/array('pl_PL','pt_BR','da_DK','uk_UA','nb_NO','fr_FR','hr_HR','vi_VN','hy_AM','ru_RU','eo','en_US','es_ES','ko_KR','ba_BA','zh_TW','zh_CN','it_IT','el_GR','uk_RO','pt_PT','sr_CS','tr_TR','de_DE-informal','de_DE-formal','ja_JP','sv_SE','bn_BD','nl_NL','ar_LB','hu_HU','nn_NO','bg_BG','id_ID');/*</GetAcceptedLanguage>*/ + return /*<GetAcceptedLanguage>*/array('pl_PL','pt_BR','da_DK','uk_UA','nb_NO','fr_FR','hr_HR','vi_VN','hy_AM','ru_RU','eo','en_US','es_ES','ko_KR','nl_BE','ba_BA','zh_TW','zh_CN','it_IT','el_GR','uk_RO','pt_PT','sr_CS','tr_TR','de_DE-informal','de_DE-formal','ja_JP','sv_SE','bn_BD','nl_NL','ar_LB','hu_HU','nn_NO','bg_BG','id_ID');/*</GetAcceptedLanguage>*/ } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-26 06:03:43
|
Revision: 1194 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1194&view=rev Author: kerphi Date: 2007-09-25 23:03:43 -0700 (Tue, 25 Sep 2007) Log Message: ----------- Code cleanup around 'debug' parameter (thanks to sappheiros) Modified Paths: -------------- trunk/src/commands/send.class.php trunk/src/containers/file.class.php trunk/src/containers/mysql.class.php trunk/src/phpfreechat.class.php Modified: trunk/src/commands/send.class.php =================================================================== --- trunk/src/commands/send.class.php 2007-09-22 17:32:00 UTC (rev 1193) +++ trunk/src/commands/send.class.php 2007-09-26 06:03:43 UTC (rev 1194) @@ -74,7 +74,6 @@ $cmd->run($xml_reponse, $cmdp); return; } - if ($c->debug) pxlog("/send ".$text." (a user just sent a message -> nick=".$nick.")", "chat", $c->getId()); // a message has been posted so : // - clear errors Modified: trunk/src/containers/file.class.php =================================================================== --- trunk/src/containers/file.class.php 2007-09-22 17:32:00 UTC (rev 1193) +++ trunk/src/containers/file.class.php 2007-09-26 06:03:43 UTC (rev 1194) @@ -71,9 +71,6 @@ { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug", "\nsetMeta(".$group.",".$subgroup.",".$leaf.",".$leafvalue.")", FILE_APPEND | LOCK_EX); - // create directories $dir_base = $c->container_cfg_server_dir; $dir = $dir_base.'/'.$group.'/'.$subgroup; @@ -104,8 +101,6 @@ function getMeta($group, $subgroup = null, $leaf = null, $withleafvalue = false) { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug", "\ngetMeta(".$group.",".$subgroup.",".$leaf.",".$withleafvalue.")", FILE_APPEND | LOCK_EX); // read data from metadata file $ret = array(); @@ -164,8 +159,6 @@ function incMeta($group, $subgroup, $leaf) { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug", "\nincMeta(".$group.",".$subgroup.",".$leaf.")", FILE_APPEND | LOCK_EX); // create directories $dir_base = $c->container_cfg_server_dir; @@ -219,8 +212,6 @@ function rmMeta($group, $subgroup = null, $leaf = null) { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug", "\nrmMeta(".$group.",".$subgroup.",".$leaf.")", FILE_APPEND | LOCK_EX); $dir = $c->container_cfg_server_dir; Modified: trunk/src/containers/mysql.class.php =================================================================== --- trunk/src/containers/mysql.class.php 2007-09-22 17:32:00 UTC (rev 1193) +++ trunk/src/containers/mysql.class.php 2007-09-26 06:03:43 UTC (rev 1194) @@ -157,9 +157,6 @@ { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nsetMeta(".$group.",".$subgroup.",".$leaf.",".$leafvalue.")", FILE_APPEND | LOCK_EX); - $server = $c->serverid; $db = $this->_connect(); @@ -173,9 +170,6 @@ $row = mysql_fetch_array($res, MYSQL_ASSOC); if( $row['C'] == 0 ) { - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nsetSQL(".$sql_insert.")", FILE_APPEND | LOCK_EX); - mysql_query($sql_insert, $db); return 0; // value created } @@ -183,9 +177,6 @@ { if ($sql_update != "") { - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nsetSQL(".$sql_update.")", FILE_APPEND | LOCK_EX); - mysql_query($sql_update, $db); } return 1; // value overwritten @@ -197,9 +188,6 @@ { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\ngetMeta(".$group.",".$subgroup.",".$leaf.",".$withleafvalue.")", FILE_APPEND | LOCK_EX); - $ret = array(); $ret["timestamp"] = array(); $ret["value"] = array(); @@ -233,10 +221,6 @@ } $sql_select="SELECT `$value`, `timestamp` FROM ".$c->container_cfg_mysql_table." WHERE `server`='$server' $sql_where $sql_group_by ORDER BY timestamp"; - - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\ngetSQL(".$sql_select.")", FILE_APPEND | LOCK_EX); - if ($sql_select != "") { $thisresult = mysql_query($sql_select, $db); @@ -268,9 +252,6 @@ { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nsetMeta(".$group.",".$subgroup.",".$leaf.",".$leafvalue.")", FILE_APPEND | LOCK_EX); - $server = $c->serverid; $db = $this->_connect(); $time = time(); @@ -281,16 +262,12 @@ $row = mysql_fetch_array($res, MYSQL_ASSOC); if( $row['C'] == 0 ) { - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nsetSQL(".$sql_insert.")", FILE_APPEND | LOCK_EX); $leafvalue = 1; $sql_insert="REPLACE INTO ".$c->container_cfg_mysql_table." (`server`, `group`, `subgroup`, `leaf`, `leafvalue`, `timestamp`) VALUES('$server', '$group', '$subgroup', '$leaf', '".$leafvalue."', '".$time."')"; mysql_query($sql_insert, $db); } else { - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nsetSQL(".$sql_update.")", FILE_APPEND | LOCK_EX); $sql_update="UPDATE ".$c->container_cfg_mysql_table." SET `leafvalue`= LAST_INSERT_ID( leafvalue + 1 ), `timestamp`='".$time."' WHERE `server`='$server' AND `group`='$group' AND `subgroup`='$subgroup' AND `leaf`='$leaf'"; mysql_query($sql_update, $db); $res = mysql_query('SELECT LAST_INSERT_ID();', $db); @@ -308,8 +285,6 @@ function rmMeta($group, $subgroup = null, $leaf = null) { $c =& pfcGlobalConfig::Instance(); - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nrmMeta(".$group.",".$subgroup.",".$leaf.")", FILE_APPEND | LOCK_EX); $server = $c->serverid; $db = $this->_connect(); @@ -325,9 +300,6 @@ if ($leaf != NULL) $sql_delete .= " AND `leaf`='$leaf'"; - if ($c->debug) - file_put_contents("/tmp/debug.txt", "\nrmSQL(".$sql_delete.")", FILE_APPEND | LOCK_EX); - mysql_query($sql_delete, $db); return true; } Modified: trunk/src/phpfreechat.class.php =================================================================== --- trunk/src/phpfreechat.class.php 2007-09-22 17:32:00 UTC (rev 1193) +++ trunk/src/phpfreechat.class.php 2007-09-26 06:03:43 UTC (rev 1194) @@ -40,9 +40,6 @@ if (!is_array($params)) die('phpFreeChat parameters must be an array'); - if ( isset($params["debug"]) && $params["debug"] ) - require_once dirname(__FILE__)."/../debug/log.php"; - // initialize the global config object $c =& pfcGlobalConfig::Instance( $params ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-22 17:31:57
|
Revision: 1193 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1193&view=rev Author: kerphi Date: 2007-09-22 10:32:00 -0700 (Sat, 22 Sep 2007) Log Message: ----------- v1.0-final Added Paths: ----------- tags/1.0-final/ Copied: tags/1.0-final (from rev 1192, trunk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-21 16:35:29
|
Revision: 1192 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1192&view=rev Author: kerphi Date: 2007-09-21 09:32:19 -0700 (Fri, 21 Sep 2007) Log Message: ----------- version 1.0-final Modified Paths: -------------- trunk/version.txt Modified: trunk/version.txt =================================================================== --- trunk/version.txt 2007-09-21 15:33:56 UTC (rev 1191) +++ trunk/version.txt 2007-09-21 16:32:19 UTC (rev 1192) @@ -1 +1 @@ -1.0-beta11 \ No newline at end of file +1.0-final \ 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...> - 2007-09-21 16:32:28
|
Revision: 1191 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1191&view=rev Author: kerphi Date: 2007-09-21 08:33:56 -0700 (Fri, 21 Sep 2007) Log Message: ----------- change the logo by the png one Modified Paths: -------------- trunk/themes/default/chat.html.tpl.php Modified: trunk/themes/default/chat.html.tpl.php =================================================================== --- trunk/themes/default/chat.html.tpl.php 2007-09-20 16:15:49 UTC (rev 1190) +++ trunk/themes/default/chat.html.tpl.php 2007-09-21 15:33:56 UTC (rev 1191) @@ -44,7 +44,7 @@ <?php if ($display_pfc_logo) { ?> <a href="http://www.phpfreechat.net" id="pfc_logo"<?php if($openlinknewwindow) echo ' onclick="window.open(this.href,\'_blank\');return false;"'; ?>> - <img src="http://www.phpfreechat.net/pub/logo2_80x15.gif" + <img src="http://www.phpfreechat.net/pub/logo2_80x15.png" width="80" height="15" alt="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" title="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" /> </a> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-20 16:16:01
|
Revision: 1190 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1190&view=rev Author: kerphi Date: 2007-09-20 09:15:49 -0700 (Thu, 20 Sep 2007) Log Message: ----------- Bulgarian translation update (thanks to Georgy Vassilev) Modified Paths: -------------- trunk/i18n/bg_BG/main.php Modified: trunk/i18n/bg_BG/main.php =================================================================== --- trunk/i18n/bg_BG/main.php 2007-09-20 08:06:56 UTC (rev 1189) +++ trunk/i18n/bg_BG/main.php 2007-09-20 16:15:49 UTC (rev 1190) @@ -24,6 +24,7 @@ * Bulgarian translation of the messages (utf8 encoded!) * * @author Marko Nikolov <mar...@gm...> + * @author Georgy Vassilev <georgy.vas at gmail.com> */ // line 45 in phpfreechatconfig.class.php @@ -173,226 +174,226 @@ // 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"] = ""; +$GLOBALS["i18n"]["My room"] = "Моята стая"; // line 19 in unban.class.php -$GLOBALS["i18n"]["Missing parameter"] = ""; +$GLOBALS["i18n"]["Missing parameter"] = "Липсващ параметър"; // line 38 in ban.class.php -$GLOBALS["i18n"]["banished from %s by %s"] = ""; +$GLOBALS["i18n"]["banished from %s by %s"] = "изгонен от стая %s от %s"; // line 23 in banlist.class.php -$GLOBALS["i18n"]["The banished user's id list is:"] = ""; +$GLOBALS["i18n"]["The banished user's id list is:"] = "Листа с изгонените потребители е:"; // line 32 in banlist.class.php -$GLOBALS["i18n"]["Empty"] = ""; +$GLOBALS["i18n"]["Empty"] = "Празно"; // line 34 in banlist.class.php -$GLOBALS["i18n"]["'/unban {id}' will unban the user identified by {id}"] = ""; +$GLOBALS["i18n"]["'/unban {id}' will unban the user identified by {id}"] = "'/unban {id}' ще ънбанне потребител индефициран като {id}"; // line 35 in banlist.class.php -$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = ""; +$GLOBALS["i18n"]["'/unban all' will unban all the users on this channel"] = "'/unban all' ще ънбанне всичко потребители в стаята"; // line 24 in update.class.php -$GLOBALS["i18n"]["%s quit (timeout)"] = ""; +$GLOBALS["i18n"]["%s quit (timeout)"] = "%s излезна (timeout)"; // line 46 in join.class.php -$GLOBALS["i18n"]["%s joins %s"] = ""; +$GLOBALS["i18n"]["%s joins %s"] = "%s се присъедни в %s"; // line 31 in kick.class.php -$GLOBALS["i18n"]["kicked from %s by %s"] = ""; +$GLOBALS["i18n"]["kicked from %s by %s"] = "кикнат от стая %s от %s"; // line 38 in send.class.php -$GLOBALS["i18n"]["Can't send the message, %s is offline"] = ""; +$GLOBALS["i18n"]["Can't send the message, %s is offline"] = "Не може да пратиш съобщение, %s е офлайн"; // line 27 in unban.class.php -$GLOBALS["i18n"]["Nobody has been unbanished"] = ""; +$GLOBALS["i18n"]["Nobody has been unbanished"] = "Никой не беше ънбаннат"; // line 42 in unban.class.php -$GLOBALS["i18n"]["%s has been unbanished"] = ""; +$GLOBALS["i18n"]["%s has been unbanished"] = "%s беше ънбаннат"; // line 49 in unban.class.php -$GLOBALS["i18n"]["%s users have been unbanished"] = ""; +$GLOBALS["i18n"]["%s users have been unbanished"] = "%s бяха ънбаннати"; // line 47 in auth.class.php -$GLOBALS["i18n"]["You are not allowed to run '%s' command"] = ""; +$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"] = ""; +$GLOBALS["i18n"]["Can't join %s because you are banished"] = "Не можеш да се присъединиш в %s защотото си баннат"; // line 76 in auth.class.php -$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = ""; +$GLOBALS["i18n"]["Can't join %s because the channels list is restricted"] = "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"] = ""; +$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"] = ""; +$GLOBALS["i18n"]["Please don't post so many message, flood is not tolerated"] = "Моля не постай много съобщения, флуда не се толерира"; // line 109 in pfcclient.js.tpl.php -$GLOBALS["i18n"]["Private message"] = ""; +$GLOBALS["i18n"]["Private message"] = "Лично съобщение"; // line 110 in pfcclient.js.tpl.php -$GLOBALS["i18n"]["Close this tab"] = ""; +$GLOBALS["i18n"]["Close this tab"] = "Затвори таба"; // line 199 in pfcgui.js.tpl.php -$GLOBALS["i18n"]["Do you really want to leave this room ?"] = ""; +$GLOBALS["i18n"]["Do you really want to leave this room ?"] = "На истина ли искаш да напуснеш тази стая?"; // line 169 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = ""; +$GLOBALS["i18n"]["Error: '%s' is a private parameter, you are not allowed to change it"] = "Error: '%s' is a private parameter, you are not allowed to change it"; // line 253 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' parameter must be an array"] = ""; +$GLOBALS["i18n"]["'%s' parameter must be an array"] = "'%s' parameter must be an array"; // line 265 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = ""; +$GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "'%s' parameter must be a boolean"; // line 271 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = ""; +$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "'%s' parameter must be a charatere string"; // line 395 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' must be writable"] = ""; +$GLOBALS["i18n"]["'%s' must be writable"] = "'%s' must be writable"; // line 425 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' directory doesn't exist"] = ""; +$GLOBALS["i18n"]["'%s' directory doesn't exist"] = "'%s' директорията не съществува"; // line 544 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["Please correct these errors"] = ""; +$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"] = "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"] = ""; +$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"] = "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"; // line 31 in help.class.php -$GLOBALS["i18n"]["Here is the command list:"] = ""; +$GLOBALS["i18n"]["Here is the command list:"] = "Ето списък с командите:"; // line 63 in identify.class.php -$GLOBALS["i18n"]["Succesfully identified"] = ""; +$GLOBALS["i18n"]["Succesfully identified"] = "Успешна индификация"; // line 68 in identify.class.php -$GLOBALS["i18n"]["Identification failure"] = ""; +$GLOBALS["i18n"]["Identification failure"] = "Неуспешна индефикация"; // line 25 in send.class.php -$GLOBALS["i18n"]["Your must be connected to send a message"] = ""; +$GLOBALS["i18n"]["Your must be connected to send a message"] = "Трябва да си свързан за да изпратиш съобщението"; // line 87 in chat.js.tpl.php -$GLOBALS["i18n"]["Click here to send your message"] = ""; +$GLOBALS["i18n"]["Click here to send your message"] = "Кликни тук за се изпрати съобщението"; // line 80 in chat.js.tpl.php -$GLOBALS["i18n"]["Enter the text to format"] = ""; +$GLOBALS["i18n"]["Enter the text to format"] = "Въведете текст за форматиране"; // line 81 in chat.js.tpl.php -$GLOBALS["i18n"]["Configuration has been rehashed"] = ""; +$GLOBALS["i18n"]["Configuration has been rehashed"] = "Конфигурацията беше презаредена"; // line 82 in chat.js.tpl.php -$GLOBALS["i18n"]["A problem occurs during rehash"] = ""; +$GLOBALS["i18n"]["A problem occurs during rehash"] = "A problem occurs during rehash"; // line 83 in chat.js.tpl.php -$GLOBALS["i18n"]["Chosen nickname is already used"] = ""; +$GLOBALS["i18n"]["Choosen nickname is allready used"] = "Избарният ник вече се използва"; // line 84 in chat.js.tpl.php -$GLOBALS["i18n"]["phpfreechat current version is %s"] = ""; +$GLOBALS["i18n"]["phpfreechat current version is %s"] = "phpfreechat current version is %s"; // line 85 in chat.js.tpl.php -$GLOBALS["i18n"]["Maximum number of joined channels has been reached"] = ""; +$GLOBALS["i18n"]["Maximum number of joined channels has been reached"] = "Maximum number of joined channels has been reached"; // line 86 in chat.js.tpl.php -$GLOBALS["i18n"]["Maximum number of private chat has been reached"] = ""; +$GLOBALS["i18n"]["Maximum number of private chat has been reached"] = "Maximum number of private chat has been reached"; // line 88 in chat.js.tpl.php -$GLOBALS["i18n"]["Send"] = ""; +$GLOBALS["i18n"]["Send"] = "Изпрати"; // line 86 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: connect error"] = ""; +$GLOBALS["i18n"]["Mysql container: connect error"] = "Mysql container: connect error"; // line 101 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = ""; +$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Mysql container: create database error '%s'"; // line 112 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = ""; +$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "Mysql container: create table error '%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"]["Choosen 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}"] = ""; +$GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "'/unban {nickname}' ще ънбанне потребител индефициран като {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"] = "кикнат от стая %s от %s - причина: %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 appears to be either disabled or unsupported by your browser."; // 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."] = "This web application requires %s to work properly."; // 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."] = "Please enable %s in your browser settings, or upgrade to a browser with %s support and try again."; // 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."] = "Please upgrade to a browser with %s support and try again."; // 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."] = "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."; // 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 doesn't exist, data_public_path cannot be installed"; // 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"] = "You must join %s to invite users in this channel"; // 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"] = "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"] = "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"] = "неможе да се копира %s в %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"] = "Error: '%s' could not be found, please check your theme_path '%s' and your theme '%s' are correct"; // 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"] = "%s е баннат от стая %s от %s"; // line 461 in phpfreechat.class.php $GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = ""; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-20 08:06:53
|
Revision: 1189 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1189&view=rev Author: kerphi Date: 2007-09-20 01:06:56 -0700 (Thu, 20 Sep 2007) Log Message: ----------- new logo Modified Paths: -------------- trunk/style/logo_88x31.gif trunk/themes/default/chat.html.tpl.php trunk/themes/default/chat.js.tpl.php Modified: trunk/style/logo_88x31.gif =================================================================== (Binary files differ) Modified: trunk/themes/default/chat.html.tpl.php =================================================================== --- trunk/themes/default/chat.html.tpl.php 2007-09-20 08:06:25 UTC (rev 1188) +++ trunk/themes/default/chat.html.tpl.php 2007-09-20 08:06:56 UTC (rev 1189) @@ -44,7 +44,7 @@ <?php if ($display_pfc_logo) { ?> <a href="http://www.phpfreechat.net" id="pfc_logo"<?php if($openlinknewwindow) echo ' onclick="window.open(this.href,\'_blank\');return false;"'; ?>> - <img src="http://www.phpfreechat.net/pub/logo_80x15.gif" + <img src="http://www.phpfreechat.net/pub/logo2_80x15.gif" alt="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" title="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" /> </a> Modified: trunk/themes/default/chat.js.tpl.php =================================================================== --- trunk/themes/default/chat.js.tpl.php 2007-09-20 08:06:25 UTC (rev 1188) +++ trunk/themes/default/chat.js.tpl.php 2007-09-20 08:06:56 UTC (rev 1189) @@ -134,7 +134,7 @@ } // ]]> </script></p> -<a href="http://www.phpfreechat.net" style="text-align:center"><img src="http://www.phpfreechat.net/pub/logo_80x15.gif" alt="PHP FREE CHAT [powered by phpFreeChat-<?php echo $version ?>]" /></a> +<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> </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...> - 2007-09-20 08:06:25
|
Revision: 1188 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1188&view=rev Author: kerphi Date: 2007-09-20 01:06:25 -0700 (Thu, 20 Sep 2007) Log Message: ----------- cleanup Modified Paths: -------------- trunk/data/public/js/pfcgui.js Modified: trunk/data/public/js/pfcgui.js =================================================================== --- trunk/data/public/js/pfcgui.js 2007-09-15 19:16:13 UTC (rev 1187) +++ trunk/data/public/js/pfcgui.js 2007-09-20 08:06:25 UTC (rev 1188) @@ -444,325 +444,5 @@ elt.onclick = function(){ pfc.switch_text_color(this.bbc); } clist.appendChild(elt); } -/* - }, - -// buildChat is not used. Use templates instead. - - buildChat: function() - { - var container = $('pfc_container'); - - // clean the chat box - container.innerHTML = ''; - - // minimize/maximize button - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_minmax'); - if (pfc_start_minimized) - img.setAttribute('src', pfc.res.getFileUrl('images/maximize.gif')); - else - img.setAttribute('src', pfc.res.getFileUrl('images/minimize.gif')); - img.setAttribute('alt', ''); - img.onclick = function(){ pfc.swap_minimize_maximize(); } - container.appendChild(img); - - // title - var h2 = document.createElement('h2'); - h2.setAttribute('id', 'pfc_title'); - h2.innerHTML = pfc_title; - container.appendChild(h2); - - // content expandable - var contentexp = document.createElement('div'); - contentexp.setAttribute('id', 'pfc_content_expandable'); - container.appendChild(contentexp); - - // channels : <div id="pfc_channels"> - var channels = document.createElement('div'); - channels.setAttribute('id', 'pfc_channels'); - contentexp.appendChild(channels); - // channels list : <ul id="pfc_channels_list"> - var channelslist = document.createElement('ul'); - channelslist.setAttribute('id', 'pfc_channels_list'); - channels.appendChild(channelslist); - // channels content : <div id="pfc_channels_content"> - var channelscontent = document.createElement('div'); - channelscontent.setAttribute('id', 'pfc_channels_content'); - channels.appendChild(channelscontent); - - // input container : <div id="pfc_input_container"> - var inputcontainer = document.createElement('div'); - inputcontainer.setAttribute('id', 'pfc_input_container'); - contentexp.appendChild(inputcontainer); - - // this is the table which will contains input word and send button - // (I didn't found a cleaner way to align these input elements horizontaly in the same line) - var table1 = document.createElement('table'); - table1.setAttribute('style','border-collapse:collapse;margin:0;padding:0;'); - var tbody1 = document.createElement('tbody'); - table1.appendChild(tbody1); - var tr1 = document.createElement('tr'); - var td1 = document.createElement('td'); - var td2 = document.createElement('td'); - td1.setAttribute('width', '100%'); - tbody1.appendChild(tr1); - tr1.appendChild(td1); - tr1.appendChild(td2); - inputcontainer.appendChild(table1); - - // input words : <input id="pfc_words" type="text" ... /> - var inputwords = document.createElement('input'); - inputwords.setAttribute('id', 'pfc_words'); - inputwords.setAttribute('type', 'text'); - inputwords.setAttribute('title', pfc.res.getLabel("Enter your message here")); - inputwords.setAttribute('maxlength', pfc_max_text_len); - td1.appendChild(inputwords); - - // send button : <input id="pfc_send" type="button" ... /> - var sendbtn = document.createElement('input'); - sendbtn.setAttribute('id', 'pfc_send'); - sendbtn.setAttribute('type', 'button'); - sendbtn.setAttribute('value', pfc.res.getLabel("Send")); - sendbtn.setAttribute('title', pfc.res.getLabel("Click here to send your message")); - sendbtn.onclick = function(){ pfc.doSendMessage(); } - td2.appendChild(sendbtn); - - // command container : <div id="pfc_cmd_container"> - var cmdcontainer = document.createElement('div'); - cmdcontainer.setAttribute('id', 'pfc_cmd_container'); - inputcontainer.appendChild(cmdcontainer); - - // move the phpfreechat logo into the cmd container box - var a = document.createElement('a'); - a.setAttribute('id', 'pfc_logo'); - a.setAttribute('href','http://www.phpfreechat.net'); - if (pfc_openlinknewwindow) - a.onclick = function(){ window.open(this.href,'_blank'); return false; } - var img = document.createElement('img'); - img.setAttribute('src', 'http://www.phpfreechat.net/pub/logo_80x15.gif'); - img.setAttribute('alt', pfc.res.getLabel("PHP FREE CHAT [powered by phpFreeChat-%s]",pfc_version)); - img.title = img.alt; - a.appendChild(img); - cmdcontainer.appendChild(a); - - // handle box : <input id="pfc_handle" type="button" ... - var handle = document.createElement('p'); - handle.setAttribute('id', 'pfc_handle'); - handle.setAttribute('title', pfc.res.getLabel("Enter your nickname here")); - handle.appendChild(document.createTextNode(pfc.nickname)); - handle.onclick = function(){ pfc.askNick(''); } - cmdcontainer.appendChild(handle); - - // buttons : <div class="pfc_btn"> - - // button login/logout - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_loginlogout_btn'); - btn.setAttribute('class', 'pfc_btn') - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_loginlogout'); - img.setAttribute('src', pfc.res.getFileUrl('images/logout.gif')); - img.onclick = function(){ pfc.connect_disconnect(); } - btn.appendChild(img); - cmdcontainer.appendChild(btn); - - // button nickname color on/off - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_nickmarker_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_nickmarker'); - img.setAttribute('src', pfc.res.getFileUrl('images/color-on.gif')); - img.onclick = function(){ pfc.nickmarker_swap(); } - btn.appendChild(img); - cmdcontainer.appendChild(btn); - - // button clock on/off - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_clock_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_clock'); - img.setAttribute('src', pfc.res.getFileUrl('images/clock-on.gif')); - img.onclick = function(){ pfc.clock_swap(); } - btn.appendChild(img); - cmdcontainer.appendChild(btn); - - // button sound on/off - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_sound_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_sound'); - img.setAttribute('src', pfc.res.getFileUrl('images/sound-on.gif')); - img.onclick = function(){ pfc.sound_swap(); } - btn.appendChild(img); - cmdcontainer.appendChild(btn); - - // button smileys on/off - if (pfc_btn_sh_smileys) - { - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_showHideSmileysbtn_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_showHideSmileysbtn'); - img.setAttribute('src', pfc.res.getFileUrl('images/smiley-on.gif')); - img.onclick = function(){ pfc.showHideSmileys(); } - btn.appendChild(img); - cmdcontainer.appendChild(btn); - } - - // button whoisonline on/off - if (pfc_btn_sh_whosonline) - { - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_showHideWhosOnlineBtn_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_showHideWhosOnlineBtn'); - img.setAttribute('src', pfc.res.getFileUrl('images/online-on.gif')); - img.onclick = function(){ pfc.showHideWhosOnline(); } - btn.appendChild(img); - cmdcontainer.appendChild(btn); - } - - // bbcode container : <div id="pfc_bbcode_container"> - bbcontainer = document.createElement('div'); - bbcontainer.setAttribute('id', 'pfc_bbcode_container'); - inputcontainer.appendChild(bbcontainer); - - // bbcode strong - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_bt_strong_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_bt_strong'); - img.setAttribute('class', 'pfc_bt_strong'); - img.setAttribute('className', 'pfc_bt_strong'); // for IE6 - img.setAttribute('title', pfc.res.getLabel("Bold")); - img.setAttribute('src', pfc.res.getFileUrl('images/bt_strong.gif')); - img.onclick = function(){ pfc.insert_text('[b]','[/b]',true); } - btn.appendChild(img); - bbcontainer.appendChild(btn); - - // bbcode italics - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_bt_italics_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_bt_italics'); - img.setAttribute('class', 'pfc_bt_italics'); - img.setAttribute('className', 'pfc_bt_italics'); // for IE6 - img.setAttribute('title', pfc.res.getLabel("Italics")); - img.setAttribute('src', pfc.res.getFileUrl('images/bt_em.gif')); - img.onclick = function(){ pfc.insert_text('[i]','[/i]',true); } - btn.appendChild(img); - bbcontainer.appendChild(btn); - - // bbcode underline - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_bt_underline_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_bt_underline'); - img.setAttribute('class', 'pfc_bt_underline'); - img.setAttribute('className', 'pfc_bt_underline'); // for IE6 - img.setAttribute('title', pfc.res.getLabel("Underline")); - img.setAttribute('src', pfc.res.getFileUrl('images/bt_ins.gif')); - img.onclick = function(){ pfc.insert_text('[u]','[/u]',true); } - btn.appendChild(img); - bbcontainer.appendChild(btn); - - // bbcode del - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_bt_delete_btn'); - btn.setAttribute('class', 'pfc_btn') - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_bt_delete'); - img.setAttribute('class', 'pfc_bt_delete'); - img.setAttribute('className', 'pfc_bt_delete'); // for IE6 - img.setAttribute('title', pfc.res.getLabel("Delete")); - img.setAttribute('src', pfc.res.getFileUrl('images/bt_del.gif')); - img.onclick = function(){ pfc.insert_text('[s]','[/s]',true); } - btn.appendChild(img); - bbcontainer.appendChild(btn); - - // bbcode mail - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_bt_mail_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_bt_mail'); - img.setAttribute('class', 'pfc_bt_mail'); - img.setAttribute('className', 'pfc_bt_mail'); // for IE6 - img.setAttribute('title', pfc.res.getLabel("Mail")); - img.setAttribute('src', pfc.res.getFileUrl('images/bt_mail.gif')); - img.onclick = function(){ pfc.insert_text('[email]','[/email]',true); } - btn.appendChild(img); - bbcontainer.appendChild(btn); - - // bbcode color - var btn = document.createElement('div'); - btn.setAttribute('id', 'pfc_bt_color_btn'); - btn.setAttribute('class', 'pfc_btn'); - btn.setAttribute('className', 'pfc_btn'); // for IE6 - var img = document.createElement('img'); - img.setAttribute('id', 'pfc_bt_color'); - img.setAttribute('class', 'pfc_bt_color'); - img.setAttribute('className', 'pfc_bt_color'); // for IE6 - img.setAttribute('title', pfc.res.getLabel("Color")); - img.setAttribute('src', pfc.res.getFileUrl('images/bt_color.gif')); - img.onclick = function(){ pfc.minimize_maximize('pfc_colorlist','inline'); } - btn.appendChild(img); - bbcontainer.appendChild(btn); - // color list - var clist = document.createElement('div'); - clist.setAttribute('id', 'pfc_colorlist'); - bbcontainer.appendChild(clist); - var clist_v = pfc_bbcode_color_list; - for (var i=0 ; i<clist_v.length ; i++) - { - var bbc = clist_v[i]; - var elt = document.createElement('img'); - elt.bbc = bbc; - elt.setAttribute('class', 'pfc_color'); - elt.setAttribute('className', 'pfc_color'); // for IE6 - elt.setAttribute('id', 'pfc_color_'+bbc); - elt.style.backgroundColor = '#'+bbc; - elt.setAttribute('src', pfc.res.getFileUrl('images/color_transparent.gif')); - elt.setAttribute('alt', bbc); - elt.onclick = function(){ pfc.switch_text_color(this.bbc); } - clist.appendChild(elt); - } - - // error box : <p id="pfc_errors"> - var errorbox = document.createElement('div'); - errorbox.setAttribute('id', 'pfc_errors'); - inputcontainer.appendChild(errorbox); - - // smiley box : <div id="pfc_smileys"> - var smileybox = document.createElement('div'); - smileybox.setAttribute('id', 'pfc_smileys'); - inputcontainer.appendChild(smileybox); - this.loadSmileyBox(); - - // sound container box : <div id="pfc_sound_container"> - var soundcontainerbox = document.createElement('div'); - soundcontainerbox.setAttribute('id', 'pfc_sound_container'); - container.appendChild(soundcontainerbox); - */ } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-15 19:16:10
|
Revision: 1187 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1187&view=rev Author: kerphi Date: 2007-09-15 12:16:13 -0700 (Sat, 15 Sep 2007) Log Message: ----------- Fix include problem on special server configuration Modified Paths: -------------- trunk/lib/csstidy-1.2/class.csstidy.php Modified: trunk/lib/csstidy-1.2/class.csstidy.php =================================================================== --- trunk/lib/csstidy-1.2/class.csstidy.php 2007-09-08 19:16:07 UTC (rev 1186) +++ trunk/lib/csstidy-1.2/class.csstidy.php 2007-09-15 19:16:13 UTC (rev 1187) @@ -30,21 +30,21 @@ * * @version 1.2 */ -require('data.inc.php'); +require(dirname(__FILE__).'/data.inc.php'); /** * Contains a class for printing CSS code * * @version 1.0 */ -require('class.csstidy_print.php'); +require(dirname(__FILE__).'/class.csstidy_print.php'); /** * Contains a class for optimising CSS code * * @version 1.0 */ -require('class.csstidy_optimise.php'); +require(dirname(__FILE__).'/class.csstidy_optimise.php'); /** * CSS Parser class This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-08 19:16:06
|
Revision: 1186 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1186&view=rev Author: kerphi Date: 2007-09-08 12:16:07 -0700 (Sat, 08 Sep 2007) Log Message: ----------- apply the png transparency fix only to the pfc container + force some styles on other elements Modified Paths: -------------- trunk/themes/default/style.css.php Modified: trunk/themes/default/style.css.php =================================================================== --- trunk/themes/default/style.css.php 2007-09-07 16:43:34 UTC (rev 1185) +++ trunk/themes/default/style.css.php 2007-09-08 19:16:07 UTC (rev 1186) @@ -1,15 +1,8 @@ -img, div { +/* used to enable png transparency for IE6 */ +div#pfc_container img, div#pfc_container div { behavior: url("<?php echo $c->getFileUrlFromTheme('iepngfix.htc'); ?>"); } -/* -will break display (margins, paddings) on IE6 -div#pfc_container * { - border: none; - margin: 0; - padding: 0; -} -*/ div#pfc_container { margin: 0; padding: 0; border: 1px solid #555; @@ -24,7 +17,7 @@ } div#pfc_container a img { border: 0px; } - + #pfc_minmax { margin: 0; padding: 0; cursor: pointer; @@ -56,7 +49,8 @@ display: block; z-index: 50; border-bottom: 1px solid #555; -/* margin-bottom: -5px;*/ + /* margin-bottom: -5px;*/ + line-height: 100%; } ul#pfc_channels_list li { margin: 0; padding: 0; @@ -151,6 +145,7 @@ ul.pfc_nicklist li { margin: 0 0 5px 0; padding: 0; border-bottom: 1px solid #AAA; + background-image: none; } ul.pfc_nicklist img { vertical-align: middle; /* fix icon position problem in IE6 */ @@ -211,6 +206,11 @@ div#pfc_input_container input { margin: 0; padding: 0; } + +div#pfc_input_container table { border: none; margin: 0; padding: 0; } +div#pfc_input_container tbody { border: none; margin: 0; padding: 0; } +div#pfc_input_container td { border: none; margin: 0; padding: 0; } + div#pfc_input_container td.pfc_td2 { padding-right: 5px; width: 100%; @@ -373,14 +373,19 @@ div.pfc_nickwhois table { width: 120px; } + +div.pfc_nickwhois table { border: none; margin: 0; padding: 0; } +div.pfc_nickwhois tbody { border: none; margin: 0; padding: 0; } +div.pfc_nickwhois td { border: none; margin: 0; padding: 0 0 0 2px; } + td.pfc_nickwhois_c1 { font-weight: bold; } td.pfc_nickwhois_c2 { } .pfc_nickwhois_pv { - margin:0; padding: 0; - text-align: center; + margin:0; padding: 0 0 0 2px; + text-align: left; } .pfc_nickwhois_pv a { text-decoration: none; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-07 17:28:28
|
Revision: 1185 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1185&view=rev Author: kerphi Date: 2007-09-07 09:43:34 -0700 (Fri, 07 Sep 2007) Log Message: ----------- - remove the unused max_refresh_delay parameter - simplify the ajax request handling Modified Paths: -------------- trunk/data/public/js/pfcclient.js trunk/src/pfcglobalconfig.class.php trunk/themes/default/chat.js.tpl.php Modified: trunk/data/public/js/pfcclient.js =================================================================== --- trunk/data/public/js/pfcclient.js 2007-09-07 15:06:54 UTC (rev 1184) +++ trunk/data/public/js/pfcclient.js 2007-09-07 16:43:34 UTC (rev 1185) @@ -44,7 +44,6 @@ this.timeout = null; this.refresh_delay = pfc_refresh_delay; - this.max_refresh_delay = pfc_max_refresh_delay; this.last_response_time = new Date().getTime(); this.last_request_time = new Date().getTime(); @@ -191,13 +190,6 @@ trace('handleResponse: '+cmd + "-"+resp+"-"+param); } - // store the new refresh time - this.last_response_time = new Date().getTime(); - - // calculate the ping and display it - this.ping = this.last_response_time - this.last_request_time; - if ($('pfc_ping')) $('pfc_ping').innerHTML = this.ping+'ms'; - if (cmd == "connect") { if (resp == "ok") @@ -1027,6 +1019,9 @@ */ sendRequest: function(cmd, recipientid) { + // do not send another ajax requests if the last one is not yet finished + if (cmd == '/update' && this.pfc_ajax_connected) return; + if (cmd != "/update") { // setup a new timeout to update the chat in 5 seconds (in refresh_delay more exactly) @@ -1036,12 +1031,42 @@ if (pfc_debug) trace('sendRequest: '+cmd); } - - this.last_request_time = new Date().getTime(); + + // prepare the command string var rx = new RegExp('(^\/[^ ]+) *(.*)','ig'); if (!recipientid) recipientid = this.gui.getTabId(); cmd = cmd.replace(rx, '$1 '+this.clientid+' '+(recipientid==''?'0':recipientid)+' $2'); - return pfc_handleRequest(cmd); //eval('pfc_handleRequest(cmd);'); + + // send the real ajax request + var url = pfc_server_script_url; + var params = $H(); + params['pfc_ajax'] = 1; + params['f'] = 'handleRequest'; + params['cmd'] = cmd; + new Ajax.Request(url, { + method: 'post', + parameters: params, + onCreate: function(transport) { + this.pfc_ajax_connected = true; + // request time counter used by ping indicator + this.last_request_time = new Date().getTime(); + }.bind(this), + onSuccess: function(transport) { + if (!transport.status) return; // fix strange behavior on KHTML + + // request time counter used by ping indicator + this.last_response_time = new Date().getTime(); + // evaluate the javascript response + eval( transport.responseText ); + }.bind(this), + onComplete: function(transport) { + this.pfc_ajax_connected = false; + + // calculate the ping and display it + this.ping = Math.abs(this.last_response_time - this.last_request_time); + if ($('pfc_ping')) $('pfc_ping').innerHTML = this.ping+'ms'; + }.bind(this) + }); }, /** Modified: trunk/src/pfcglobalconfig.class.php =================================================================== --- trunk/src/pfcglobalconfig.class.php 2007-09-07 15:06:54 UTC (rev 1184) +++ trunk/src/pfcglobalconfig.class.php 2007-09-07 16:43:34 UTC (rev 1185) @@ -161,14 +161,6 @@ * (Default value: 5000 - 5,000ms = 5 seconds)</p> */ var $refresh_delay = 5000; - - /** - * <p>Indicate the maximum number of seconds to wait before the server response. - * If the latest refresh command is not received in this delay an other one will be created. - * This parameter is not implemented in the current version of phpfreechat. - * (Default value: 60000 - 60,000ms = 60 seconds)</p> - */ - var $max_refresh_delay = 60000; /** * <p>This is the time of inactivity to wait before a user is disconnected (in milliseconds). Modified: trunk/themes/default/chat.js.tpl.php =================================================================== --- trunk/themes/default/chat.js.tpl.php 2007-09-07 15:06:54 UTC (rev 1184) +++ trunk/themes/default/chat.js.tpl.php 2007-09-07 16:43:34 UTC (rev 1185) @@ -24,7 +24,6 @@ var pfc_clientid = <?php echo $json->encode(md5(uniqid(rand(), true))); ?>; var pfc_title = <?php echo $json->encode($title); ?>; var pfc_refresh_delay = <?php echo $json->encode($refresh_delay); ?>; -var pfc_max_refresh_delay = <?php echo $json->encode($max_refresh_delay); ?>; var pfc_start_minimized = <?php echo $json->encode($start_minimized); ?>; var pfc_nickmarker = <?php echo $json->encode($nickmarker); ?>; var pfc_clock = <?php echo $json->encode($clock); ?>; @@ -51,8 +50,9 @@ var pfc_nickname_color_list = <?php echo $json->encode($nickname_colorlist); ?>; var pfc_theme = <?php echo $json->encode($theme); ?>; var pfc_isready = false; +var pfc_server_script_url = <?php echo $json->encode($c->server_script_url); ?>; -/* prototype ajax config */ +// todo : move this code in pfcClient function pfc_loadChat() { var url = '<?php echo $c->server_script_url; ?>'; var params = $H(); @@ -66,22 +66,7 @@ } }); } -function pfc_handleRequest(cmd) { - var url = '<?php echo $c->server_script_url; ?>'; - var params = $H(); - params['pfc_ajax'] = 1; - params['f'] = 'handleRequest'; - params['cmd'] = cmd; - new Ajax.Request(url, { - method: 'get', - parameters: params, - onSuccess: function(transport) { - eval( transport.responseText ); - } - }); -} - window.onload = function () { pfc = new pfcClient(); if (pfc_isready) pfc_loadChat(pfc_theme); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-07 15:06:53
|
Revision: 1184 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1184&view=rev Author: kerphi Date: 2007-09-07 08:06:54 -0700 (Fri, 07 Sep 2007) Log Message: ----------- Italian and German translation update (thanks to michfress and Ernst) Modified Paths: -------------- trunk/i18n/de_DE-informal/main.php trunk/i18n/it_IT/main.php Modified: trunk/i18n/de_DE-informal/main.php =================================================================== --- trunk/i18n/de_DE-informal/main.php 2007-09-06 19:18:04 UTC (rev 1183) +++ trunk/i18n/de_DE-informal/main.php 2007-09-07 15:06:54 UTC (rev 1184) @@ -26,6 +26,7 @@ * @author BSEMF <bsemfger <at> aim.com> * @author Karsten Hens www.karsten-hens.de * @author Thomas Stueven (ak Troubadix) <thomas.stueven <at> online.de> + * @author Michael Freßmann www.4horsemen.de */ // line 45 in phpfreechatconfig.class.php @@ -41,7 +42,7 @@ $GLOBALS["i18n"]["Text cannot be empty"] = "Text darf nicht fehlen"; // line 392 in phpfreechat.class.php -$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s ändert seinen Nicknamen zu %s"; +$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s ändert den Nicknamen zu %s"; // line 398 in phpfreechat.class.php $GLOBALS["i18n"]["%s is connected"] = "%s ist verbunden"; @@ -161,10 +162,10 @@ $GLOBALS["i18n"]["Show smiley box"] = "Smileybox einblenden"; // line 88 in pfcclient.js.tpl.php -$GLOBALS["i18n"]["Hide online users box"] = "Liste der Online Benutzer verstecken"; +$GLOBALS["i18n"]["Hide online users box"] = "Liste der Online-Benutzer verstecken"; // line 89 in pfcclient.js.tpl.php -$GLOBALS["i18n"]["Show online users box"] = "Liste der Online Benutzer zeigen"; +$GLOBALS["i18n"]["Show online users box"] = "Liste der Online-Benutzer zeigen"; // line 75 in pfccommand.class.php $GLOBALS["i18n"]["%s must be implemented"] = "%s muss implementiert werden"; @@ -255,7 +256,7 @@ $GLOBALS["i18n"]["'%s' parameter must be a boolean"] = "Der Parameter '%s' muss ein Boolean sein"; // line 271 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "Der Parameter '%s' muss eine Zeichenkette sein"; +$GLOBALS["i18n"]["'%s' parameter must be a charatere string"] = "Der Parameter '%s' muss eine Zeichenkette sein"; // line 395 in pfcglobalconfig.class.php $GLOBALS["i18n"]["'%s' must be writable"] = "'%s' muss beschreibbar sein"; @@ -312,13 +313,13 @@ $GLOBALS["i18n"]["Send"] = "Senden"; // line 86 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: connect error"] = "Mysql container: Verbindungsfehler"; +$GLOBALS["i18n"]["Mysql container: connect error"] = "MySQL container: Verbindungsfehler"; // line 101 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "Mysql container: Fehler beim erstellen der Datenbank %s"; +$GLOBALS["i18n"]["Mysql container: create database error '%s'"] = "MySQL container: Fehler beim erstellen der Datenbank %s"; // line 112 in mysql.class.php -$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "Mysql container: Fehler beim erstellen einer Tabelle %s"; +$GLOBALS["i18n"]["Mysql container: create table error '%s'"] = "MySQL container: Fehler beim erstellen einer Tabelle %s"; // line 80 in chat.js.tpl.php $GLOBALS["i18n"]["You are not allowed to speak to yourself"] = "Du kannst nicht mit dir selber sprechen"; @@ -333,10 +334,10 @@ $GLOBALS["i18n"]["Disable sound notifications"] = "Akustische Signale ausschalten"; // line 23 in kick.class.php -$GLOBALS["i18n"]["no reason"] = "kein grund"; +$GLOBALS["i18n"]["no reason"] = "kein Grund"; // line 24 in banlist.class.php -$GLOBALS["i18n"]["The banished user list is:"] = "Die verbannten Benutzer sind:"; +$GLOBALS["i18n"]["The banished user list is:"] = "Die gebannten Benutzer sind:"; // line 39 in banlist.class.php $GLOBALS["i18n"]["'/unban {nickname}' will unban the user identified by {nickname}"] = "'/unban {nickname}' hebt die Verbannung für den Benutzer {nickname} auf"; @@ -344,63 +345,62 @@ // line 43 in kick.class.php $GLOBALS["i18n"]["kicked from %s by %s - reason: %s"] = "rausgeworfen aus %s durch %s - Grund: %s"; - // line 20 in quit.class.php -$GLOBALS["i18n"]["%s quit (%s)"] = ""; +$GLOBALS["i18n"]["%s quit (%s)"] = "%s verließ den Chat (%s)"; // line 124 in chat.js.tpl.php -$GLOBALS["i18n"]["Chat loading ..."] = ""; +$GLOBALS["i18n"]["Chat loading ..."] = "Der Chat lädt"; // line 124 in chat.js.tpl.php -$GLOBALS["i18n"]["Please wait"] = ""; +$GLOBALS["i18n"]["Please wait"] = "Warte bitte"; // 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 ist offenbar entweder abgestellt oder wird nicht von deinem Browser unterstützt."; // 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."] = "Dieses Programm erfordert, dass %s korrekt läuft."; // 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."] = ""; // 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."] = "Bitte wechsele auf einen Browser mit %s-Unterstützung und versuche es nochmal."; // 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."] = "In älteren Internet-Explorer-Versionen als 7.0 wurde Ajax mittles ActiveX implementiert. Bitte stelle ActiveX in den Sicherheitseinstellungen deines Browsers an, oder wechsle auf einen Browser mit Ajax-Unterstützung und versuche es erneut."; // 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 existiert nicht, data_public_path kann nicht installiert werden."; // 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"] = "Du musst % betreten, um Benutzer in diesen Kanal einladen zu können."; // 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"] = "Eine Eingabe ist erforderlich."; // 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"] = "Abbrechen"; // line 430 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["cannot create %s"] = ""; +$GLOBALS["i18n"]["cannot create %s"] = "%s kann nicht erzeugt werden."; // line 436 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["cannot copy %s in %s"] = ""; +$GLOBALS["i18n"]["cannot copy %s in %s"] = "%s kann nicht nach %s kopiert werden."; // 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"] = "Fehler: '%s' wurde nicht gefunden, prüfe bitte, ob dein theme_path '%s' und dein Theme '%s' korrekt sind."; // 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 ?"] = "Willst du diesen Reiter wirklich schließen?"; // line 42 in ban.class.php -$GLOBALS["i18n"]["%s banished from %s by %s"] = ""; +$GLOBALS["i18n"]["%s banished from %s by %s"] = "%s wurde aus % von % gebannt."; // line 461 in phpfreechat.class.php $GLOBALS["i18n"]["You are trying to speak to a unknown (or not connected) user"] = ""; Modified: trunk/i18n/it_IT/main.php =================================================================== --- trunk/i18n/it_IT/main.php 2007-09-06 19:18:04 UTC (rev 1183) +++ trunk/i18n/it_IT/main.php 2007-09-07 15:06:54 UTC (rev 1184) @@ -384,21 +384,20 @@ // line 479 in phpfreechat.class.php $GLOBALS["i18n"]["Cancel"] = "Annulla"; - // line 430 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["cannot create %s"] = ""; +$GLOBALS["i18n"]["cannot create %s"] = "impossibile creare %s"; // line 436 in pfcglobalconfig.class.php -$GLOBALS["i18n"]["cannot copy %s in %s"] = ""; +$GLOBALS["i18n"]["cannot copy %s in %s"] = "impossibile copiare %s in %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"] = "Errore: %s non può essere trovata, gentilmente controlla che la path del tema '%s' e il tema '%s' siano corretti"; // 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 ?"] = "Sei sicuro di voler chiudere questo Tab?"; // line 42 in ban.class.php -$GLOBALS["i18n"]["%s banished from %s by %s"] = ""; +$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"] = ""; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gpi...@us...> - 2007-09-06 19:18:09
|
Revision: 1183 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1183&view=rev Author: gpinzone Date: 2007-09-06 12:18:04 -0700 (Thu, 06 Sep 2007) Log Message: ----------- Fixed IE Javascript problem. Modified Paths: -------------- trunk/data/public/js/pfcresource.js Modified: trunk/data/public/js/pfcresource.js =================================================================== --- trunk/data/public/js/pfcresource.js 2007-09-06 17:51:11 UTC (rev 1182) +++ trunk/data/public/js/pfcresource.js 2007-09-06 19:18:04 UTC (rev 1183) @@ -76,18 +76,18 @@ return this.smileyskeys.sort( function (a,b) { - a = a.unescapeHTML(); - b = b.unescapeHTML(); + var x = a.unescapeHTML(); + var y = b.unescapeHTML(); // Replace " with " for IE and Webkit browsers. // The prototype.js version 1.5.1.1 unescapeHTML() function does not do this. if (is_ie || is_webkit) { - a = a.replace(/"/g,'"'); - b = b.replace(/"/g,'"'); + x = x.replace(/"/g,'"'); + y = y.replace(/"/g,'"'); } - return (b.length - a.length); + return (y.length - x.length); } ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-06 17:51:17
|
Revision: 1182 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1182&view=rev Author: kerphi Date: 2007-09-06 10:51:11 -0700 (Thu, 06 Sep 2007) Log Message: ----------- Optimization when reading new messages: do not use readdir() anymore, just trust content of messages file index Modified Paths: -------------- trunk/src/pfccontainer.class.php Modified: trunk/src/pfccontainer.class.php =================================================================== --- trunk/src/pfccontainer.class.php 2007-09-06 17:09:01 UTC (rev 1181) +++ trunk/src/pfccontainer.class.php 2007-09-06 17:51:11 UTC (rev 1182) @@ -413,24 +413,10 @@ $c =& pfcGlobalConfig::Instance(); if ($chan == NULL) $chan = 'SERVER'; - // read new messages id - $new_msgid_list = array(); - $new_from_id = $from_id; - $msgid_list = $this->getMeta("channelid-to-msg", $this->encode($chan)); - for($i = 0; $i<count($msgid_list["value"]); $i++) - { - $msgidtmp = $msgid_list["value"][$i]; - - if ($msgidtmp > $from_id) - { - if ($msgidtmp > $new_from_id) $new_from_id = $msgidtmp; - $new_msgid_list[] = $msgidtmp; - } - } - - // read messages content and parse content + // read new messages content + parse content + $new_from_id = $this->getLastId($chan); $datalist = array(); - foreach ( $new_msgid_list as $mid ) + for ( $mid = $from_id; $mid <= $new_from_id; $mid++ ) { $line = $this->getMeta("channelid-to-msg", $this->encode($chan), $mid, true); $line = $line["value"][0]; @@ -446,11 +432,9 @@ $data["param"] = pfc_make_hyperlink($formated_line[4]); $datalist[$data["id"]] = $data; } - } - ksort($datalist); - + } return array("data" => $datalist, - "new_from_id" => $new_from_id ); + "new_from_id" => $new_from_id+1 ); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gpi...@us...> - 2007-09-06 17:08:59
|
Revision: 1181 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1181&view=rev Author: gpinzone Date: 2007-09-06 10:09:01 -0700 (Thu, 06 Sep 2007) Log Message: ----------- Move sort to loadSmileyBox(). Modified Paths: -------------- trunk/data/public/js/pfcclient.js trunk/data/public/js/pfcgui.js trunk/data/public/js/pfcresource.js Modified: trunk/data/public/js/pfcclient.js =================================================================== --- trunk/data/public/js/pfcclient.js 2007-09-06 15:39:43 UTC (rev 1180) +++ trunk/data/public/js/pfcclient.js 2007-09-06 17:09:01 UTC (rev 1181) @@ -1460,7 +1460,7 @@ // try to parse smileys var smileys = this.res.getSmileyHash(); - var sl = this.res.getSmileyKeysSorted(); + var sl = this.res.getSmileyKeys(); // Keys should be sorted by length from pfc.gui.loadSmileyBox() for(var i = 0; i < sl.length; i++) { // We don't want to replace smiley strings inside of tags. Modified: trunk/data/public/js/pfcgui.js =================================================================== --- trunk/data/public/js/pfcgui.js 2007-09-06 15:39:43 UTC (rev 1180) +++ trunk/data/public/js/pfcgui.js 2007-09-06 17:09:01 UTC (rev 1181) @@ -402,17 +402,17 @@ var container = $('pfc_smileys'); var smileys = pfc.res.getSmileyReverseHash();//getSmileyHash(); var sl = smileys.keys(); + pfc.res.sortSmileyKeys(); // Sort smiley keys once. for(var i = 0; i < sl.length; i++) { s_url = sl[i]; s_symbol = smileys[sl[i]]; s_symbol = s_symbol.unescapeHTML(); // Replace " with " for IE and Webkit browsers. - // The prototype.js version 1.5.1.1 does not do this. - // IE and Webkit detection from prototype.js - if (window.attachEvent && !window.opera || navigator.userAgent.indexOf('AppleWebKit/') > -1) + // The prototype.js version 1.5.1.1 unescapeHTML() function does not do this. + if (is_ie || is_webkit) s_symbol = s_symbol.replace(/"/g,'"'); - + var img = document.createElement('img'); img.setAttribute('src', s_url); img.setAttribute('alt', s_symbol); @@ -764,5 +764,5 @@ soundcontainerbox.setAttribute('id', 'pfc_sound_container'); container.appendChild(soundcontainerbox); */ - } + } }; Modified: trunk/data/public/js/pfcresource.js =================================================================== --- trunk/data/public/js/pfcresource.js 2007-09-06 15:39:43 UTC (rev 1180) +++ trunk/data/public/js/pfcresource.js 2007-09-06 17:09:01 UTC (rev 1181) @@ -12,7 +12,7 @@ this.fileurl = $H(); this.smileys = $H(); this.smileysreverse = $H(); - this.smileyskeyssorted = new Array(); + this.smileyskeys = new Array(); }, setLabel: function(key, value) @@ -49,9 +49,7 @@ { this.smileys[key] = value; this.smileysreverse[value] = key; - //this.smileyskeyssorted.push(key); - // Sort keys by longest to shortest. This prevents a smiley like :) from being used on >:) - this.smileyskeyssorted.sort(function (a,b){return (b.unescapeHTML().length - a.unescapeHTML().length);}) + this.smileyskeys.push(key); }, getSmiley: function(key) { @@ -68,11 +66,31 @@ { return this.smileysreverse; }, - getSmileyKeysSorted: function() + getSmileyKeys: function() { - return this.smileyskeyssorted; + return this.smileyskeys; + }, + sortSmileyKeys: function() + { + // Sort keys by longest to shortest. This prevents a smiley like :) from being used on >:) + return this.smileyskeys.sort( + function (a,b) + { + a = a.unescapeHTML(); + b = b.unescapeHTML(); + + // Replace " with " for IE and Webkit browsers. + // The prototype.js version 1.5.1.1 unescapeHTML() function does not do this. + if (is_ie || is_webkit) + { + a = a.replace(/"/g,'"'); + b = b.replace(/"/g,'"'); + } + + return (b.length - a.length); + } + ); } - }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-06 15:40:54
|
Revision: 1179 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1179&view=rev Author: kerphi Date: 2007-09-06 08:18:01 -0700 (Thu, 06 Sep 2007) Log Message: ----------- fix javascript syntax problem for IE Modified Paths: -------------- trunk/data/public/js/pfcresource.js Modified: trunk/data/public/js/pfcresource.js =================================================================== --- trunk/data/public/js/pfcresource.js 2007-09-06 14:30:28 UTC (rev 1178) +++ trunk/data/public/js/pfcresource.js 2007-09-06 15:18:01 UTC (rev 1179) @@ -49,7 +49,7 @@ { this.smileys[key] = value; this.smileysreverse[value] = key; - this.smileyskeyssorted.push(key); + //this.smileyskeyssorted.push(key); // Sort keys by longest to shortest. This prevents a smiley like :) from being used on >:) this.smileyskeyssorted.sort(function (a,b){return (b.unescapeHTML().length - a.unescapeHTML().length);}) }, @@ -71,7 +71,7 @@ getSmileyKeysSorted: function() { return this.smileyskeyssorted; - }, + } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-09-06 15:40:35
|
Revision: 1180 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1180&view=rev Author: kerphi Date: 2007-09-06 08:39:43 -0700 (Thu, 06 Sep 2007) Log Message: ----------- New display_ping parameter used to show/hide the ping information near the phpfreechat linkback logo Modified Paths: -------------- trunk/data/public/js/pfcclient.js trunk/src/pfcglobalconfig.class.php trunk/themes/default/chat.html.tpl.php Modified: trunk/data/public/js/pfcclient.js =================================================================== --- trunk/data/public/js/pfcclient.js 2007-09-06 15:18:01 UTC (rev 1179) +++ trunk/data/public/js/pfcclient.js 2007-09-06 15:39:43 UTC (rev 1180) @@ -196,7 +196,7 @@ // calculate the ping and display it this.ping = this.last_response_time - this.last_request_time; - $('pfc_ping').innerHTML = this.ping+'ms'; + if ($('pfc_ping')) $('pfc_ping').innerHTML = this.ping+'ms'; if (cmd == "connect") { Modified: trunk/src/pfcglobalconfig.class.php =================================================================== --- trunk/src/pfcglobalconfig.class.php 2007-09-06 15:18:01 UTC (rev 1179) +++ trunk/src/pfcglobalconfig.class.php 2007-09-06 15:39:43 UTC (rev 1180) @@ -370,6 +370,14 @@ * (Default value: 40)</p> */ var $short_url_width = 40; + + /** + * <p>Used to show/hide the ping information near the phpfreechat linkback logo. + * The ping is the time between a client request and a server response. + * More the ping is low, faster the chat is responding. + * (Default value: true)</p> + */ + var $display_ping = true; /** * <p>Used to hide the phpfreechat linkback logo. Modified: trunk/themes/default/chat.html.tpl.php =================================================================== --- trunk/themes/default/chat.html.tpl.php 2007-09-06 15:18:01 UTC (rev 1179) +++ trunk/themes/default/chat.html.tpl.php 2007-09-06 15:39:43 UTC (rev 1180) @@ -49,7 +49,10 @@ title="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" /> </a> <?php } ?> + +<?php if ($display_ping) { ?> <span id="pfc_ping" title="<?php echo _pfc("Ping"); ?>"></span> +<?php } ?> <div class="pfc_btn"> <img src="<?php echo $c->getFileUrlFromTheme('images/logout.gif'); ?>" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |