projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aggiunta classe hover per le immagini
[brisk.git]
/
web
/
brisk.phh
diff --git
a/web/brisk.phh
b/web/brisk.phh
index
31f0238
..
11f44d2
100644
(file)
--- a/
web/brisk.phh
+++ b/
web/brisk.phh
@@
-29,13
+29,13
@@
define(COMM_GEN_N, 50);
define(SESS_LEN, 13);
define(STREAM_TIMEOUT, 20);
define(EXPIRE_TIME_RD, 180);
define(SESS_LEN, 13);
define(STREAM_TIMEOUT, 20);
define(EXPIRE_TIME_RD, 180);
-define(EXPIRE_TIME_SMAMMA,
18
0);
+define(EXPIRE_TIME_SMAMMA,
36
0);
define(GARBAGE_TIMEOUT, 10);
define(NICKSERV, "<i>SERVER</i>");
define(BRISK_DEBUG, FALSE);
// define(DEBUGGING, "local");
define(GARBAGE_TIMEOUT, 10);
define(NICKSERV, "<i>SERVER</i>");
define(BRISK_DEBUG, FALSE);
// define(DEBUGGING, "local");
-$G_brisk_version = "0.4.
5
";
+$G_brisk_version = "0.4.
6
";
$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.').',
'Se vuoi iscriverti alla <a target="_blank" href="http://www.milug.org/cgi-bin/mailman/listinfo/ml-briscola">Mailing List</a>, cliccala!' );
$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.').',
'Se vuoi iscriverti alla <a target="_blank" href="http://www.milug.org/cgi-bin/mailman/listinfo/ml-briscola">Mailing List</a>, cliccala!' );
@@
-1263,6
+1263,11
@@
function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again)
if (!$is_again)
$ret .= table_wellcome($user);
if (!$is_again)
$ret .= table_wellcome($user);
+ if ($is_transition && !$is_again) { // appena seduti al tavolo, play della mucca
+ $ret .= playsound("cow.mp3");
+ }
+
+
/* CARDS */
if ($is_transition) { // && $user->subst == "asta" superfluo
$ret .= "|";
/* CARDS */
if ($is_transition) { // && $user->subst == "asta" superfluo
$ret .= "|";
@@
-1521,4
+1526,9
@@
function validate_name($name)
return (FALSE);
}
return (FALSE);
}
+function playsound($filename)
+{
+ return (sprintf('playsound("flasou", "%s");', $filename));
+}
+
?>
?>