X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=inline;f=web%2FObj%2Fbrisk.phh;h=64ed2b3c5b4efd9267a5aaced46255c54cb13c88;hb=8bb224a0ce40e72e2c3f1ae82957cd10e449c22b;hp=138be3ce31f902aa5a368967782f60a22043df51;hpb=30d5705359b6344845856a85c3e463d804890ddf;p=brisk.git
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index 138be3c..64ed2b3 100644
--- a/web/Obj/brisk.phh
+++ b/web/Obj/brisk.phh
@@ -132,9 +132,9 @@ $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
$G_brisk_version = "2.5.0";
/* MLANG: ALL THE INFO STRINGS IN brisk.phh */
-$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': informazioni al tavolo sul chiamante, stato di supporter del sito per gli utenti, nuovo stato \'faccende\'.',
+$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': informazioni al tavolo sul chiamante, nuovo stato di supporter del sito.',
'Se vuoi iscriverti alla Mailing List, cliccala!' ),
- 'en' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NEWS: caller information on the table, new supporter status for users, new mop status for users.',
+ 'en' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NEWS: caller information on the table, new supporter status.',
'If you want to subscribe our Mailing List, click it!' ) );
$G_room_help = array( 'it' => '
@@ -278,6 +278,22 @@ Copyright 2006-2009 Matteo Nasta
Copyright 2006-2009 Matteo Nastasi (aka mop)
');
+$escinp_from = array( "\"" );
+$escinp_to = array( """ );
+
+function escinput($s)
+{
+ GLOBAL $escinp_from, $escinp_to;
+
+ return str_replace($escinp_from, $escinp_to, $s);
+}
+
+function eschtml($s)
+{
+ return htmlentities($s);
+}
+
+
function langtolng($lang)
{
GLOBAL $G_lang;
@@ -2031,11 +2047,13 @@ class Room {
}
} // if ($ghost > -1) {
- log_main(sprintf("TROVATO LIBERO A [%d] sess [%s] name [%s]", $idx, $sess, $name_new));
$real_idx = $idx;
if ($login_exists)
$idx = -($idx + 1);
- return ($this->user[$real_idx]);
+ log_main(sprintf("TROVATO LIBERO A [%d] sess [%s] name [%s] count [%d] [%s]", $idx, $sess, $name_new, count($this->user),$this->user[$real_idx]->name));
+
+ $ret = $this->user[$real_idx];
+ return ($ret);
}
return ($G_false);