Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
vdd17: add VDD17 banner
· 2a51f4ec
David Loiret
authored
Aug 16, 2017
and
Hugo Beauzée-Luyssen
committed
Aug 16, 2017
Signed-off-by:
Hugo Beauzée-Luyssen
<
hugo@beauzee.fr
>
2a51f4ec
vdd17: update sponsors position
· b8a766ec
David Loiret
authored
Aug 16, 2017
and
Hugo Beauzée-Luyssen
committed
Aug 16, 2017
Signed-off-by:
Hugo Beauzée-Luyssen
<
hugo@beauzee.fr
>
b8a766ec
Hide whitespace changes
Inline
Side-by-side
www.videolan.org/images/events/vdd17/banner01.jpg
0 → 100644
View file @
b8a766ec
33 KiB
www.videolan.org/include/header.php
View file @
b8a766ec
...
...
@@ -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
);
?>
www.videolan.org/videolan/events/vdd17/index.php
View file @
b8a766ec
...
...
@@ -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>
...
...
www.videolan.org/videolan/events/vdd17/style.css
View file @
b8a766ec
...
...
@@ -105,7 +105,7 @@ h2 {
#sponsors
{
position
:
absolute
;
to
p
:
10
0px
;
bot
to
m
:
-17
0px
;
right
:
15px
;
}
...
...
@@ -114,6 +114,10 @@ h2 {
height
:
38px
;
}
header-bg
.container
{
.
header-bg
.container
{
position
:
relative
;
}
.vdd17-videolan-banner
{
margin-top
:
10px
;
}