projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
old unused code removed
[brisk.git]
/
web
/
briskin5
/
Obj
/
briskin5.phh
diff --git
a/web/briskin5/Obj/briskin5.phh
b/web/briskin5/Obj/briskin5.phh
index
daf02b3
..
3e3fd5a
100644
(file)
--- a/
web/briskin5/Obj/briskin5.phh
+++ b/
web/briskin5/Obj/briskin5.phh
@@
-1109,7
+1109,7
@@
class Bin5 {
$dt, $user->flags, xcape($user->name), xcape($user_mesg));
$user_cur->step_inc();
}
$dt, $user->flags, xcape($user->name), xcape($user_mesg));
$user_cur->step_inc();
}
- log_legal($curtime,
'xxx'
, $user, ($user->stat == 'room' ? 'room' : 'table '.$user->table_orig),$user_mesg);
+ log_legal($curtime,
$user->ip
, $user, ($user->stat == 'room' ? 'room' : 'table '.$user->table_orig),$user_mesg);
}
}
}
}
@@
-1428,7
+1428,7
@@
function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again)
$ret .= "setTimeout(preload_images, 500, g_preload_img_arr, g_imgct);";
}
if (!$is_again)
$ret .= "setTimeout(preload_images, 500, g_preload_img_arr, g_imgct);";
}
if (!$is_again)
- $ret .= table_wel
l
come($user);
+ $ret .= table_welcome($user);
if ($is_transition && !$is_again) { // appena seduti al tavolo, play della mucca
$ret .= playsound("cow.mp3");
if ($is_transition && !$is_again) { // appena seduti al tavolo, play della mucca
$ret .= playsound("cow.mp3");
@@
-1690,7
+1690,7
@@
function show_table_info(&$bri, &$table, $table_pos)
}
$old_multer = $table->multer(FALSE);
if ($old_multer > 1) {
}
$old_multer = $table->multer(FALSE);
if ($old_multer > 1) {
- $noty .= sprintf($mlang_bin5_bin5['info_omul'][$G_lang],
$old_multer
);
+ $noty .= sprintf($mlang_bin5_bin5['info_omul'][$G_lang],
multoval($old_multer)
);
}
$noty .= "<hr><br>";
}
}
$noty .= "<hr><br>";
}
@@
-1723,7
+1723,7
@@
function show_table_info(&$bri, &$table, $table_pos)
$multer = $table->multer(TRUE);
if ($multer > 1) {
$multer = $table->multer(TRUE);
if ($multer > 1) {
- $noty .= sprintf($mlang_bin5_bin5['info_mult'][$G_lang],
$multer
);
+ $noty .= sprintf($mlang_bin5_bin5['info_mult'][$G_lang],
multoval($multer)
);
}
$noty .= "<hr><br>";
$ret .= show_notify($noty, 3000, $mlang_bin5_bin5['btn_bkgame'][$G_lang], 500, 400);
}
$noty .= "<hr><br>";
$ret .= show_notify($noty, 3000, $mlang_bin5_bin5['btn_bkgame'][$G_lang], 500, 400);
@@
-1737,7
+1737,7
@@
function show_table_info(&$bri, &$table, $table_pos)
return ($ret);
}
return ($ret);
}
-function table_wel
l
come($user)
+function table_welcome($user)
{
GLOBAL $table_wellarr, $G_lang;
$ret = "";
{
GLOBAL $table_wellarr, $G_lang;
$ret = "";