Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: kerphi/phpfreechat
base: master
...
head fork: kerphi/phpfreechat
compare: 0.9.2
Checking mergeability… Don't worry, you can still create the pull request.
  • 7 commits
  • 7 files changed
  • 0 commit comments
  • 1 contributor
View
6 contrib/pfcInstaller/createinstaller.php
@@ -1,4 +1,10 @@
<?php
+
+// on desactive le timeout car se script met bcp de temps a s'executer
+ini_set('max_execution_time', -1);
+// on desactive la limite de memoire car ce scrite peut manger bcp de memoire
+ini_set('memory_limit', -1);
+
if (version_compare(phpversion(), '5.0.0', '<')){
die("PHP5 is required for this verson of the installer devkit");
}
View
36 demo/demo41_in_greek.php
@@ -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"] = "el_GR";
+$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>
View
1  demo/index.php
@@ -65,6 +65,7 @@
<li><a href="demo38_in_norwegian_bokmal.php">demo38 - the norwegian bokmal translation of the chat</a></li>
<li><a href="demo39_in_bosnian.php">demo39 - the bosnian translation of the chat</a></li>
<li><a href="demo40_in_turkish.php">demo40 - the turkish translation of the chat</a></li>
+ <li><a href="demo41_in_greek.php">demo41 - the greek translation of the chat</a></li>
</ul>
</body>
View
121 i18n/el_GR/main.php
@@ -0,0 +1,121 @@
+<?php
+/**
+ * i18n/el_GR/main.php
+ *
+ * Copyright © 2006 Stephane Gully <stephane.gully@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ */
+
+/**
+ * Greek translation of the messages (utf8 encoded!)
+ *
+ * @translated by Speedy <el99059@mail.ntua.gr>
+ */
+
+// line 45 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["My Chat"] = "H συζήτηση μου";
+
+// line 201 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "%s δεν βρέθηκε, %s η βιβλιοθήκη δεν μπόρεσε να βρεθεί.";
+
+// line 355 in phpfreechat.class.php
+$GLOBALS["i18n"]["Please enter your nickname"] = "Παρακαλώ εισάγετε ψευδώνυμο.";
+
+// line 565 in phpfreechat.class.php
+$GLOBALS["i18n"]["Text cannot be empty"] = "Το κείμενο δεν μπορεί να είναι άδειο.";
+
+// line 392 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s αλλάζει το ψευδώνυμο του σε %s";
+
+// line 398 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s is connected"] = "%s συνδέθηκε";
+
+// line 452 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s quit"] = "%s έφυγε";
+
+// line 468 in phpfreechat.class.php
+$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s αποσυνδέθηκε (timeout)";
+
+// line 262 in phpfreechat.class.php
+$GLOBALS["i18n"]["Unknown command [%s]"] = "Άγνωστη εντολή [%s]";
+
+// line 149 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s δεν υπάρχει: %s";
+
+// line 180 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["You need %s"] = "Χρειάζεσαι %s";
+
+// line 241 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s δεν υπάρχει, %s η βιβλιοθήκη δεν μπορεί να βρεθεί";
+
+// line 280 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s doesn't exist"] = "%s δεν υπάρχει";
+
+// line 433 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s directory must be specified"] = "%s φάκελος πρέπει να είναι συγκεκριμένος.";
+
+// line 439 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s must be a directory"] = "%s πρέπει να είναι φάκελος";
+
+// line 446 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s can't be created"] = "%s δεν μπορεί να δημιουργηθεί";
+
+// line 451 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not writeable"] = "%s δεν είναι δυνατόν να εγγραφεί.";
+
+// line 496 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not readable"] = "%s δεν είναι δυνατόν να διαβαστεί";
+
+// line 469 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a file"] = "%s δεν είναι αρχείο";
+
+// line 491 in phpfreechatconfig.class.php
+$GLOBALS["i18n"]["%s is not a directory"] = "%s δεν είναι φάκελος";
+
+// line 23 in chat.html.tpl.php
+$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]";
+
+// line 296 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide nickname marker"] = "Απόκρυψη χρωμάτων ψευδωνύμων";
+
+// line 304 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show nickname marker"] = "Εμφάνιση χρωμάτων ψευδωνύμων";
+
+// line 389 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Disconnect"] = "Αποσυνδέση";
+
+// line 395 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Connect"] = "Σύνδεση";
+
+// line 427 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Magnify"] = "Μεγέθυνση";
+
+// line 434 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Cut down"] = "Σμίκρυνση";
+
+// line 345 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Hide dates and hours"] = "Απόκρυψη ημερομηνίας και ώρας";
+
+// line 353 in javascript1.js.tpl.php
+$GLOBALS["i18n"]["Show dates and hours"] = "Εμφάνιση ημερομηνίας και ώρας";
+
+// line 21 in chat.html.tpl.php
+$GLOBALS["i18n"]["Enter your message here"] = "Εισάγετε το μήνυμα σας εδώ ";
+
+// line 24 in chat.html.tpl.php
+$GLOBALS["i18n"]["Enter your nickname here"] = "Εισάγετε το ψευδώνυμο σας εδώ";
+?>
View
2  src/phpfreechatconfig.class.php
@@ -391,12 +391,14 @@ function init()
// check the width parameter is not used
// because of a display bug in IE
+ /*
if ( $this->width != "" &&
$this->width != "auto" )
{
$this->errors[] = "Do not uses 'width' parameter because of a display bug in IE6, please look at this workaround : http://www.phpfreechat.net/forum/viewtopic.php?pid=867#p867";
$ok = false;
}
+ */
// load smileys from file
if ($ok)
View
68 themes/blune/templates/style.css.tpl.php
@@ -1,34 +1,38 @@
-
-div#<?php echo $prefix; ?>container {
- color: #2A4064;
- background-color: #BEC5D0;
- background-image: url(<?php echo $c->getFileUrlFromTheme('images/shade.gif'); ?>);
-}
-
-div.<?php echo $prefix; ?>message {
- background-color:#CED4DF;
-}
-
-div.<?php echo $prefix; ?>oldmsg {
- background-color:#DCDEE4;
-}
-
-span.<?php echo $prefix; ?>nick {
-color:#2A4064;
-}
-
-div.<?php echo $prefix; ?>btn img:hover {
- border: 1px solid #000;
-}
-
-div#<?php echo $prefix; ?>online {
- height: 48%;
-}
-
-div#<?php echo $prefix; ?>smileys {
- height: 48%;
-}
-
+
+div#<?php echo $prefix; ?>container {
+ color: #2A4064;
+ background-color: #BEC5D0;
+ background-image: url(<?php echo $c->getFileUrlFromTheme('images/shade.gif'); ?>);
+}
+
+div#<?php echo $prefix; ?>chat {
+ background-color:#CED4DF;
+}
+
+div.<?php echo $prefix; ?>message {
+ background-color:#CED4DF;
+}
+
+div.<?php echo $prefix; ?>oldmsg {
+ background-color:#DCDEE4;
+}
+
+span.<?php echo $prefix; ?>nick {
+ color:#2A4064;
+}
+
+div.<?php echo $prefix; ?>btn img:hover {
+ border: 1px solid #000;
+}
+
+div#<?php echo $prefix; ?>online {
+ height: 48%;
+}
+
+div#<?php echo $prefix; ?>smileys {
+ height: 48%;
+}
+
p#<?php echo $prefix; ?>errors {
display: none;
margin-top: 5px;
@@ -36,7 +40,7 @@
height: 18px;
border: black solid 1px;
- color: #EC4A1F;
+ color: #EC4A1F;
background-color: #BEC5D0;
text-align: center;
font-style: italic;
View
2  version
@@ -1 +1 @@
-0.9.1
+0.9.2

No commit comments for this range

Something went wrong with that request. Please try again.