X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=5f2e3c7e430b97265d8e72156a184047ab1ccf7f;hb=bc9829daa12627ea4f7822ae399788752f1f5c0d;hp=7c365bbdab7c5dbf7abb5d71fc01cf3d154f49f9;hpb=68321894ffcbf36cafd3528e79141436c15e98e1;p=brisk.git
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index 7c365bb..5f2e3c7 100644
--- a/web/Obj/brisk.phh
+++ b/web/Obj/brisk.phh
@@ -122,12 +122,12 @@ $G_false = FALSE;
$G_lng = langtolng($G_lang);
$G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
-$G_brisk_version = "2.2.0 - trusty";
+$G_brisk_version = "2.3.0 - trusty";
/* MLANG: ALL THE INFO STRINGS IN brisk.phh */
-$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': bug della carta coperta risolto, assenso all\'apertura del tavolo non revocabile, multi-lingua quasi ultimato.',
+$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': aggiunte le classifiche (menu Start->classifiche).',
'Se vuoi iscriverti alla Mailing List, cliccala!' ),
- 'en' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NEWS: Multi-language support',
+ 'en' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NEWS: placings added (menu Start->placings)',
'If you want to subscribe our Mailing List, click it!' ) );
$G_room_help = array( 'it' => '
@@ -282,13 +282,14 @@ function csplitter($in, $sep)
$st = 0;
$id = 0;
$out = array();
-
+ $out[$id] = "";
for ($i = 0 ; $i < strlen($in) ; $i++) {
if ($st == 0) {
if ($in{$i} == '\\')
$st = 1;
else if ($in{$i} == $sep) {
$id++;
+ $out[$id] = "";
}
else {
$out[$id] .= $in{$i};
@@ -2411,6 +2412,19 @@ function log_legal($curtime, &$user, $where, $mesg)
}
}
+function log_points($curtime, &$user, $where, $mesg)
+{
+ GLOBAL $_SERVER;
+
+ if (($fp = @fopen(LEGAL_PATH."/points.log", 'a')) != FALSE) {
+ /* Unix time | session | nickname | IP | where was | mesg */
+ fwrite($fp, sprintf("%ld|%s|%s|%s|%s|%s|%s|\n", $curtime, $user->sess,
+ ($user->flags & USER_FLAG_AUTH ? 'A' : 'N'),
+ $user->name, $_SERVER['REMOTE_ADDR'], $where , $mesg));
+ fclose($fp);
+ }
+}
+
@@ -2466,6 +2480,12 @@ function show_notify($text, $tout, $butt, $w, $h)
return sprintf('var noti = new notify(gst,"%s",%d,"%s",%d,%d);', $text, $tout, $butt, $w, $h);
}
+function show_notify_opaque($text, $tout, $butt, $w, $h)
+{
+ log_main("SHOW_NOTIFY OPAQUE: ".$text);
+ return sprintf('var noti = new notify_ex(gst,"%s",%d,"%s",%d,%d, true);', $text, $tout, $butt, $w, $h);
+}
+
function root_wellcome($user)
{