Skip to content
Commits on Source (2)
......@@ -270,7 +270,7 @@ function start_head( $title,
}
/* Actual start of the body */
function start_body( $body_color, $language, $b_show_donate = true, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel )
function start_body( $body_color, $language, $b_show_donate = true, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel, $show_vdd_banner )
{
echo "<body class='$new_design_class'>";
echo "<div id='bodyInner' class='$body_color'>";
......@@ -307,6 +307,11 @@ function start_body( $body_color, $language, $b_show_donate = true, $nobanner, $
</div>
</div>
<?php } ?>
<?php if ($show_vdd_banner) { ?>
<a href='/videolan/events/vdd17'>
<?php image( 'events/vdd17/banner01.jpg' , 'VDD17 Videolan banner', 'vdd17-videolan-banner img-responsive center-block'); ?>
</a>
<?php } ?>
</div>
<?php
}
......@@ -328,10 +333,11 @@ if(!isset($nobanner)) $nobanner = false;
if(!isset($show_donate)) $show_donate = true;
if(!isset($new_design)) $new_design = false;
if(!isset($show_sponsors_carousel)) $show_sponsors_carousel = false;
if(!isset($show_vdd_banner)) $show_vdd_banner = true;
$new_design_class = $new_design ? 'new-design' : '';
/* render the page */
start_head( preg_replace( "/<[^>]*>/", "" , $title ), $body_color, $language,
$additional_css, $additional_js, $additional_meta, $alternate_lang, $body_onload, $body_onunload, $new_design );
start_body( $body_color, $language, $show_donate, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel );
start_body( $body_color, $language, $show_donate, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel, $show_vdd_banner );
?>
......@@ -3,6 +3,7 @@
$body_color = "green";
$new_design = true;
$show_vdd_banner = false;
$lang = "en";
$menu = array( "videolan", "events" );
......@@ -21,9 +22,11 @@
<h4>Paris, France</h4>
</div>
</div>
</div>
<div class="container">
<div id="sponsors">
<h5>Sponsors</h5>
<?php image( 'events/vdd17/sponsors/youtube_logo.svg' , 'Youtube', 'youtube-logo'); ?>
<h5>Sponsors</h5>
<?php image( 'events/vdd17/sponsors/youtube_logo.svg' , 'Youtube', 'youtube-logo'); ?>
</div>
</div>
</header>
......@@ -37,7 +40,7 @@
<p>For its <b>ninth edition</b>, people from the VideoLAN and open source multimedia communities will meet on the
<strong>22nd and 24th of September 2017</strong>, to gather, work, discuss and meet, in: <strong>Paris, France</strong>!</p>
<p>This event is focused on technical discussions and decisions about <strong>multimedia</strong>.</p>
<?php image( 'events/vdd17/banner01.jpg' , 'VDD17 Videolan banner', 'vdd17-videolan-banner img-responsive center-block'); ?>
</div>
</div>
</div>
......
......@@ -105,7 +105,7 @@ h2 {
#sponsors {
position: absolute;
top: 100px;
bottom: -170px;
right: 15px;
}
......@@ -114,6 +114,10 @@ h2 {
height: 38px;
}
header-bg .container {
.header-bg .container {
position: relative;
}
.vdd17-videolan-banner {
margin-top: 10px;
}