new year icons added
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 1 Jan 2013 11:56:34 +0000 (12:56 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 1 Jan 2013 11:56:34 +0000 (12:56 +0100)
web/Obj/brisk.phh
web/Obj/user.phh
web/brisk.css
web/index.php
web/room.js

index 0d28447..c7233f5 100644 (file)
@@ -1466,6 +1466,18 @@ class Room
         else if (strcasecmp($st_str, "pulizie") == 0) {
           $st = USER_FLAG_S_MOP;
         }
+        else if (strcasecmp($st_str, "babbo") == 0) {
+          $st = USER_FLAG_S_BABBO;
+        }
+        else if (strcasecmp($st_str, "renna") == 0) {
+          $st = USER_FLAG_S_RENNA;
+        }
+        else if (strcasecmp($st_str, "pupazzo") == 0) {
+          $st = USER_FLAG_S_PUPAZ;
+        }
+        else if (strcasecmp($st_str, "vischio") == 0) {
+          $st = USER_FLAG_S_VISCH;
+        }
         else {
           /* MLANG: "Questo stato non esiste." */
           $to_user = sprintf('chatt_sub("%s", [2,"%s"],"%s");', $dt, NICKSERV, $mlang_brisk['statunkn'][$G_lang]);
index ad63154..4beaa5f 100644 (file)
@@ -46,6 +46,10 @@ define('USER_FLAG_S_RABB',  0x800); // done
 define('USER_FLAG_S_SOCC',  0x900); // done
 define('USER_FLAG_S_BABY',  0xa00); // done
 define('USER_FLAG_S_MOP',   0xb00); // done
+define('USER_FLAG_S_BABBO',   0xc00); // done
+define('USER_FLAG_S_RENNA',   0xd00); // done
+define('USER_FLAG_S_PUPAZ',   0xe00); // done
+define('USER_FLAG_S_VISCH',   0xf00); // done
 
 define('USER_FLAG_S_ALL',   0xf00); // done
 
index b918872..82fbe90 100644 (file)
@@ -22,7 +22,7 @@
  */
 
 body {
-    background-image: url('img/icefallbg.jpg'); 
+    background-image: url('img/snowy.jpg');
     background-color: #fafafa;
     background-repeat: no-repeat;
     background-position: center center; 
index d380c15..0534005 100644 (file)
@@ -88,6 +88,14 @@ $mlang_room = array( 'userpasserr'  => array('it' => 'Utente e/o password errati
                                              'en' => 'baby'),
                      'st_mop_desc'  => array('it' => 'pulizie',
                                              'en' => 'mop'),
+                     'st_babbo_desc'  => array('it' => 'babbo',
+                                             'en' => 'mop'),
+                     'st_renna_desc'  => array('it' => 'renna',
+                                             'en' => 'mop'),
+                     'st_pupaz_desc'  => array('it' => 'pupazzo',
+                                             'en' => 'mop'),
+                     'st_visch_desc'  => array('it' => 'vischio',
+                                             'en' => 'mop'),
                      
                      'tit_ticker'   => array('it' => 'scrivi un invito al tavolo e clicca',
                                              'en' => 'write an invitation at the table and click'),
@@ -564,7 +572,7 @@ google_color_url = "000000";
 <a target="_blank" href="http://www.alternativeoutput.it/briskhome.php#prop" 
    onmouseover="menu_hide(0,1);"
    title="'.$mlang_room['tit_pro'][$G_lang].'">'.$mlang_room['itm_pro'][$G_lang].'</a><br>
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,1);"
    title="credits" onclick="act_about();">about</a><br>
 
@@ -575,15 +583,15 @@ google_color_url = "000000";
 <hr>
 
 <!--
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,1);"
    title="perché supportare brisk?" onclick="act_whysupport();">supportare?</a><br>
 -->
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,1);"
    title="'.$mlang_room['tit_cla'][$G_lang].'" onclick="act_placing();">'.$mlang_room['itm_cla'][$G_lang].'</a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,1);"
    title="'.$mlang_room['tit_rmap'][$G_lang].'" onclick="act_roadmap();">'.$mlang_room['itm_rmap'][$G_lang].'</a><br>
 
@@ -641,92 +649,120 @@ google_color_url = "000000";
           .$mlang_room['stat_desc'][$G_lang].
 '</a><br>
 <div id="menu_state" class="webstart">
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st normale\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_norm_desc'][$G_lang].
 '</a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st pausa\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_paus_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_pau.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st fuori\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_out_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_out.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st cane\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_dog_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_dog.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st cibo\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_food_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_eat.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st lavoro\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_work_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_wrk.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st sigaretta\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_smok_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_smk.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st presente\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_pres_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_eye.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st coniglio\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_rabb_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_rabbit.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st calcio\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_socc_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_soccer.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st pupo\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_baby_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_baby.png"></a><br>
 
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st pulizie\'); menu_over(-1,this);">'
           // MLANG
           .$mlang_room['st_mop_desc'][$G_lang].
 '&nbsp;<img class="unbo" src="img/st_mop.png"></a><br>
 
+<a href="#"
+   onmouseover="menu_hide(0,2);"
+   title="" onclick="act_chatt(\'/st babbo\'); menu_over(-1,this);">'
+          // MLANG
+          .$mlang_room['st_babbo_desc'][$G_lang].
+'&nbsp;<img class="unbo" src="img/st_babbo.png"></a><br>
+
+<a href="#"
+   onmouseover="menu_hide(0,2);"
+   title="" onclick="act_chatt(\'/st renna\'); menu_over(-1,this);">'
+          // MLANG
+          .$mlang_room['st_renna_desc'][$G_lang].
+'&nbsp;<img class="unbo" src="img/st_renna.png"></a><br>
+
+<a href="#"
+   onmouseover="menu_hide(0,2);"
+   title="" onclick="act_chatt(\'/st pupazzo\'); menu_over(-1,this);">'
+          // MLANG
+          .$mlang_room['st_pupaz_desc'][$G_lang].
+'&nbsp;<img class="unbo" src="img/st_pupaz.png"></a><br>
+
+<a href="#"
+   onmouseover="menu_hide(0,2);"
+   title="" onclick="act_chatt(\'/st vischio\'); menu_over(-1,this);">'
+          // MLANG
+          .$mlang_room['st_visch_desc'][$G_lang].
+'&nbsp;<img class="unbo" src="img/st_visch.png"></a><br>
+
 <!--
-<a href="#" 
+<a href="#"
    onmouseover="menu_hide(0,2);"
    title="" onclick="act_chatt(\'/st coniglio\'); menu_over(-1,this);">'
           // MLANG
index 29619a8..c8c5052 100644 (file)
@@ -86,6 +86,22 @@ function state_add(flags)
             name = "st_mop.png";
             tit = (g_lang == 'en' ? "Mop time" : "sto rassettando");
             break;
+        case 0xc00:
+            name = "st_babbo.png";
+            tit = (g_lang == 'en' ? "Sto dando i regali" : "sto dando i regali");
+            break;
+        case 0xd00:
+            name = "st_renna.png";
+            tit = (g_lang == 'en' ? "in giro per regali" : "in giro per regali");
+            break;
+        case 0xe00:
+            name = "st_pupaz.png";
+            tit = (g_lang == 'en' ? "Neve a gogò" : "neve a gogò");
+            break;
+        case 0xf00:
+            name = "st_visch.png";
+            tit = (g_lang == 'en' ? "aspettando sotto al vischio" : "aspettando sotto al vischio");
+            break;
         default:
             break;
         }