X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Frules_base.phh;h=6f93892f5fe8361561c426bc674a5ab13f614ec7;hb=bf3f1b6064a7f23cc8e38d69ecc16eb4b3f3e031;hp=b102f8f4957c9bc0b883ac15380e73d9a92aa70c;hpb=14ad625280a22b32bb9d6035c24b868a77f630aa;p=brisk.git diff --git a/web/briskin5/Obj/rules_base.phh b/web/briskin5/Obj/rules_base.phh index b102f8f..6f93892 100644 --- a/web/briskin5/Obj/rules_base.phh +++ b/web/briskin5/Obj/rules_base.phh @@ -26,8 +26,8 @@ require_once("briskin5.phh"); $mlang_bin5_rules = array( // br, hr, b, /b, win, fri - 'info_part' => array( 'it' => 'Ha chiamato %3$s%5$s%4$s (punti torneo %7$d), il socio era %3$s%6$s%4$s,%1$s', - 'en' => 'The declarer was %3$s%5$s%4$s (tournment points %7$d), the partner was %3$s%6$s%4$s,%1$s'), + 'info_part' => array( 'it' => 'Ha chiamato %3$s%5$s%4$s, il socio era %3$s%6$s%4$s,%1$s', + 'en' => 'The declarer was %3$s%5$s%4$s, the partner was %3$s%6$s%4$s,%1$s'), // br, hr, b, /b 'info_capp' => array( 'it' => 'hanno fatto %3$scappotto%4$s EBBRAVI!.%1$s', 'en' => 'and they made %3Dscapot%4$s WELL DONE!.%1$s'), @@ -46,8 +46,8 @@ $mlang_bin5_rules = array( 'en' => 'lost'), // br, hr, b, /b, win_name - 'info_alon' => array( 'it' => '%3$s%5$s%4$s si è chiamato in mano (punti torneo %6$d),%1$s', - 'en' => '%3$s%5$s%4$s play alone against each other (tournment points %6$d),%1$s'), + 'info_alon' => array( 'it' => '%3$s%5$s%4$s si è chiamato in mano,%1$s', + 'en' => '%3$s%5$s%4$s play alone against each other,%1$s'), // br, hr, b, /b, old_asta_pnt, old_pnt, winornot 'info_aleaa' => array( 'it' => 'doveva fare %3$salmeno %5$d%4$s punti e ne ha fatti %3$s%6$d%4$s: ha %3$s%7$s%4$s.%1$s', 'en' => 'he/she had to do %3$sat least %5$d%4$s points and they had made %3$s%6$d%4$s: he/she had %3$s%7$s%4$s.%1$s'), @@ -73,6 +73,7 @@ $mlang_bin5_rules = array( abstract class Rules { var $table; + var $id; abstract function engine(&$bri, $curtime, $action, $user); @@ -80,6 +81,22 @@ abstract class Rules { { $this->table = $table; } + + function id_get() + { + return ($this->id); + } + + function tourn_points(&$user, $i) + { + return; + } + + function tourn_points_max($user) + { + return 0; + } + } ?> \ No newline at end of file