projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new class transport iframe decoupled from xynt_streaming to allow multiple transports
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
0c94fce
..
a94412e
100644
(file)
--- a/
web/Obj/brisk.phh
+++ b/
web/Obj/brisk.phh
@@
-984,7
+984,7
@@
class Room {
$ret = "gst.st = ".($user_cur->step+1)."; ".($remove_wagon ? sprintf("tra.rem(%d);",$table_idx) : "");
if ($from_table && ($user_cur->table == $table_idx || $user->idx_get() == $i)) {
$ret = "gst.st = ".($user_cur->step+1)."; ".($remove_wagon ? sprintf("tra.rem(%d);",$table_idx) : "");
if ($from_table && ($user_cur->table == $table_idx || $user->idx_get() == $i)) {
- $ret .= 'gst.st_loc++;
h
stm.stop(); window.onunload = null; window.onbeforeunload = null; document.location.assign("index.php");|';
+ $ret .= 'gst.st_loc++;
x
stm.stop(); window.onunload = null; window.onbeforeunload = null; document.location.assign("index.php");|';
// $ret .= 'gst.st_loc++; document.location.assign("index.php");|';
log_main("DOCUMENT.index.php: from table");
}
// $ret .= 'gst.st_loc++; document.location.assign("index.php");|';
log_main("DOCUMENT.index.php: from table");
}
@@
-1219,7
+1219,7
@@
class Room {
$only_you = FALSE;
// common settings
$only_you = FALSE;
// common settings
- $msg =
substr($mesg, 6, 128
);
+ $msg =
mb_substr($mesg, 6, 128, "UTF-8"
);
$curtime = time();
$dt = date("H:i ", $curtime);
$target = "";
$curtime = time();
$dt = date("H:i ", $curtime);
$target = "";
@@
-2677,7
+2677,7
@@
function validate_sess($sess)
function validate_name($name)
{
function validate_name($name)
{
-
$name_new = str_replace(' ', '_', substr(trim($name),0,12
));
+
$name_new = str_replace(' ', '_', mb_substr(trim($name),0,12, "UTF-8"
));
for ($i = 0 ; $i < strlen($name_new) ; $i++) {
$c = $name_new[$i];
for ($i = 0 ; $i < strlen($name_new) ; $i++) {
$c = $name_new[$i];