fix missing bold for your account item
[brisk.git] / web / commons.js
index 721b816..762b600 100644 (file)
@@ -41,10 +41,8 @@ var mlang_commons = { 'imgload_a' : { 'it' : 'Immagini caricate ',
                                       'en' : 'Exit.' },
                       'tit_list'  : { '0'  : { 'it' : '',
                                                'en' : '' },
-                                      '1'  : { 'it' : '(solo aut.)',
-                                               'en' : '(only aut.)' },
-                                      '2'  : { 'it' : '(isolam.to)',
-                                               'en' : '(isolation)' } },
+                                      '1'  : { 'it' : '(autenticati)',
+                                               'en' : '(authenticated)' } },
                       'tos_refu'  : { 'it' : 'Rifiutando di sottoscrivere i nuovi termini del servizio non ti sarà più possibile accedere come utente registrato al sito, sei proprio sicuro di voler rifiutare le nuove condizioni d\'uso ?',
                                       'en' : 'EN Rifiutando di sottoscrivere i nuovi termini del servizio non ti sarà più possibile accedere come utente registrato al sito, sei proprio sicuro di voler rifiutare le nuove condizioni d\'uso ?'
                                     }
@@ -571,7 +569,7 @@ function sleep(st, delay)
               delay, st);
 }
 
-function slowimg(img,x1,y1,deltat,free,action,srcend) {
+function slowimg(img, x1, y1, deltat, free, action, card_id_end) {
     this.img = img;
 
     // this.x0  = parseInt(document.defaultView.getComputedStyle(this.img, "").getPropertyValue("left"));
@@ -584,7 +582,7 @@ function slowimg(img,x1,y1,deltat,free,action,srcend) {
     this.deltat = deltat;
     this.free = free;
     this.action = action;
-    this.srcend = srcend;
+    this.card_id_end = card_id_end;
 }
 
 slowimg.prototype = {
@@ -604,7 +602,7 @@ slowimg.prototype = {
     deltat:   40,
     tout: 0,
     action: null,
-    srcend: null,
+    card_id_end: null,
 
     setstart: function(x0,y0)
     {
@@ -678,8 +676,8 @@ slowimg.prototype = {
                this.st.st_loc++;
                this.st = null;
            }
-           if (this.srcend != null) {
-               this.img.src = this.srcend;
+           if (this.card_id_end != null) {
+               this.img.setAttribute('data-card-id', this.card_id_end);
            }
        }
     }