From: Matteo Nastasi (mop) Date: Sat, 31 Oct 2015 11:40:48 +0000 (+0100) Subject: check for matches and games counter of TOS version X-Git-Tag: v5.3.0~61 X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=152b9a21a2a057869ed1f459ad375c9cb3396ea5 check for matches and games counter of TOS version --- diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index cc24d3d..1eb6f94 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -152,7 +152,7 @@ $mlang_brisk = array( 'btn_backstand'=> array( 'it' => 'torna in piedi', $G_lng = langtolng($G_lang); $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); -$G_brisk_version = "5.1.2"; +$G_brisk_version = "5.1.3"; /* MLANG: ALL THE INFO STRINGS IN brisk.phh */ $root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': comando /info e doppio click sugli utenti registrati, nuovi utenti apprendisti, info su numero di mani e di partite.', @@ -1704,8 +1704,8 @@ class Brisk "Normale" : "Stato sconosciuto"))), "guar" => ($user_item->type & USER_FLAG_TY_APPR ? "" : $guar_login), - "match" => $user_item->match_cnt, - "game" => $user_item->game_cnt, + "match" => (versions_cmp($user_tos_vers, "1.4") < 0 ? "non autorizzato" : $user_item->match_cnt) , + "game" => (versions_cmp($user_tos_vers, "1.4") < 0 ? "non autorizzato" : $user_item->game_cnt), "friend" => "unknown")); }