]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
typos fixed
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 31 Oct 2013 17:20:12 +0000 (18:20 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 31 Oct 2013 17:20:12 +0000 (18:20 +0100)
web/briskin5/Obj/briskin5.phh
web/briskin5/index_wr.php
web/commons.js
web/index_wr.php
web/xynt-streaming.js

index 99085a8a6d4f97cd85c473cf9e3ad65ebed7c36c..7988b8af951644b8f0c2ad7b7aed853ed7dab389 100644 (file)
@@ -1630,6 +1630,9 @@ function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again)
         $ret .= show_table_info(&$bri, &$table, $table_pos);
         $ret .= "setTimeout(preload_images, 500, g_preload_img_arr, g_imgct);";
     }
+    else {
+        $ret .= "\$('imgct').innerHTML = \$('imgct').innerHTML = mlang_commons['imgload_a'][g_lang]+\"100%.\";";
+    }
     if (!$is_again)
         $ret .= table_welcome($user);
 
index 3ededa9766151705191131af715321c5bdbc1542..27e32d1e36ce2f29f78241f0ec40a39c3c17d23f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /*
- *  brisk - index_wr.php
+ *  brisk - briskin5/index_wr.php
  *
  *  Copyright (C) 2006-2012 Matteo Nastasi
  *                          mailto: nastasi@alternativeoutput.it
index 3021613698b926a68c64f26668b4c9c94faba812..192094d4e013f2d2b21f819881ec84ac216294f0 100644 (file)
@@ -25,7 +25,7 @@ var PLAYERS_N = 3;
 var EXIT_BAN_TIME = 3600;
 var cookiepath = "/brisk/";
 
-var mlang_commons = { 'imgload_a' : { 'it' : 'Immagine caricate ', 
+var mlang_commons = { 'imgload_a' : { 'it' : 'Immagini caricate ',
                                       'en' : 'Loaded images ' },
                       'imgload_b' : { 'it' : '%.', 
                                       'en' : '%.' },
index 61d6b825eba80c3928a0cbec6c00cb3c80f24a91..a9d890674049b05c40d4f89674beda16b8e0622a 100644 (file)
@@ -682,11 +682,8 @@ function index_wr_main(&$room, $remote_addr_full, $get, $post, $cookie)
                         //         // CHECK
                         while (array_pop($user_cur->comm) != NULL);
           
-                        $ret = "";
-                        $ret .= sprintf('gst.st_loc++; gst.st=%d; createCookie("table_idx", %d, 24*365, cookiepath); createCookie("table_token", "%s", 24*365, cookiepath); createCookie("lang", "%s", 24*365, cookiepath); xstm.stop(); window.onunload = null ; window.onbeforeunload = null ; document.location.assign("briskin5/index.php");|', $user_cur->step+1, $table_idx, $table_token, $G_lang);
-                        
-                        $user_cur->comm[$user_cur->step % COMM_N] = $ret;
                         $user_cur->trans_step = $user_cur->step + 1;
+                        $user_cur->comm[$user_cur->step % COMM_N] = sprintf('gst.st_loc++; gst.st=%d; createCookie("table_idx", %d, 24*365, cookiepath); createCookie("table_token", "%s", 24*365, cookiepath); createCookie("lang", "%s", 24*365, cookiepath); xstm.stop(); window.onunload = null ; window.onbeforeunload = null ; document.location.assign("briskin5/index.php");|', $user_cur->step+1, $table_idx, $table_token, $G_lang);
                         log_wr("TRANS ATTIVATO");
                         
                         $user_cur->stat_set('table');
index 507490fb019171062d1c3d69e56ce334cb84db86..72923402614da62b514cc4727056bd6471dfc106 100644 (file)
@@ -869,6 +869,7 @@ xynt_streaming.prototype = {
                //xx this.hbit("+");
 
                 // alert("SINGLE: ["+singlecomm+"]");
+                // window.console.log("["+singlecomm+"]");
                this.cmdproc(singlecomm);
                again = 1;
            }