modular sidebanners refactoring
[brisk.git] / web / Obj / brisk.conf-templ.pho
index 034dee7..92fe8ee 100644 (file)
@@ -59,21 +59,24 @@ Torneo di briscola<br> chiamata - Milano<br> 17/05/2008</a>
 </div>
 <img class="nobohide" id="topbanner_big" src="img/bcm_tor080517.gif">';
 
-// is the first side banner active ?
-$G_with_sidebanner = TRUE;
-
-$G_sidebanner = '<div class="topbanner" style="background: #ffd780; border: solid 1px #ffae00; width: 60px; margin: auto;" id="sidebanner2">
-<a target="_blank" href="briskmeeting4.php">
-<img style="position: static; border: solid 0px black;" src="img/brisk_meeting_trinacria60b.png"  onMouseOver="show_bigpict($(\'sidebanner2\'), \'over\', 100, -80, \'\');" onMouseOut="show_bigpict($(\'sidebanner2\'), \'out\', 0, 0, \'\');"></div>
-<img class="nobohide" id="sidebanner2_big" src="img/brisk_meeting4big150.png">';
-
-// is the second side banner active ?
-$G_with_sidebanner2 = TRUE;
-
-$G_sidebanner2 = '<div class="topbanner" style="background: #ffd780; border: solid 1px #ffae00; width: 60px; margin: auto;" id="sidebanner2">
-<a target="_blank" href="briskmeeting4.php">
-<img style="position: static; border: solid 0px black;" src="img/brisk_meeting_trinacria60b.png"  onMouseOver="show_bigpict($(\'sidebanner2\'), \'over\', 100, -80, \'\');" onMouseOut="show_bigpict($(\'sidebanner2\'), \'out\', 0, 0, \'\');"></div>
-<img class="nobohide" id="sidebanner2_big" src="img/brisk_meeting4big150.png">';
+$G_sidebanner_idx = array( 0, 1, 0 );
+
+// sidebanners array
+$G_sidebanner = array(
+                      array('link' => 'http://www.alternativeoutput.it/brisk/bm33/',
+                            'title' => '3° BriskMeeting \'Isola delle Femmine\' - Sabato 11 Ottobre 2014 - Palermo (PA)',
+                            'icon_big' => 'bm33/img/bm33_500.jpg'
+                            // 'type' => 'meeting' or 'event'      // (default meeting with the correct icon)
+                            // 'icon' => 'img/brisk_meeting60.gif' // (default is the regulare meeting icon)
+                            // 'dx'
+                            // 'dy'                                // displacement of the big image
+                            ),
+
+                      array('link' => 'https://www.facebook.com/events/525109597594103/',
+                            'title' => 'BriskMeeting Busseto - Terra di Verdi - Sabato 4 Ottobre - Busseto (Parma)',
+                            'icon_big' => 'bm32/img/splash.jpg'
+                            )
+                      );
 
 // is poll active ?
 $G_with_poll = FALSE;