[www-doc] [Git][VideoLAN.org/websites][master] Deleted 1 commit: Use drawScreenshots function in download pages
Jean-Baptiste Kempf
gitlab at videolan.org
Tue Jan 19 21:02:18 CET 2016
Jean-Baptiste Kempf pushed to branch master at VideoLAN organization / websites
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
Deleted commits:
2c86c09e by David Loiret at 2016-01-19T20:59:42Z
Use drawScreenshots function in download pages
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
- - - - -
16 changed files:
- www.videolan.org/vlc/download-altlinux.php
- www.videolan.org/vlc/download-android.php
- www.videolan.org/vlc/download-appletv.php
- www.videolan.org/vlc/download-archlinux.php
- www.videolan.org/vlc/download-chromeos.php
- www.videolan.org/vlc/download-debian.php
- www.videolan.org/vlc/download-fedora.php
- www.videolan.org/vlc/download-freebsd.php
- www.videolan.org/vlc/download-gentoo.php
- www.videolan.org/vlc/download-ios.php
- www.videolan.org/vlc/download-redhat.php
- www.videolan.org/vlc/download-slackware.php
- www.videolan.org/vlc/download-suse.php
- www.videolan.org/vlc/download-ubuntu.php
- www.videolan.org/vlc/download-windowsphone.php
- www.videolan.org/vlc/download-winrt.php
Changes:
=====================================
www.videolan.org/vlc/download-altlinux.php
=====================================
--- a/www.videolan.org/vlc/download-altlinux.php
+++ b/www.videolan.org/vlc/download-altlinux.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-android.php
=====================================
--- a/www.videolan.org/vlc/download-android.php
+++ b/www.videolan.org/vlc/download-android.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-appletv.php
=====================================
--- a/www.videolan.org/vlc/download-appletv.php
+++ b/www.videolan.org/vlc/download-appletv.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-archlinux.php
=====================================
--- a/www.videolan.org/vlc/download-archlinux.php
+++ b/www.videolan.org/vlc/download-archlinux.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-chromeos.php
=====================================
--- a/www.videolan.org/vlc/download-chromeos.php
+++ b/www.videolan.org/vlc/download-chromeos.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-debian.php
=====================================
--- a/www.videolan.org/vlc/download-debian.php
+++ b/www.videolan.org/vlc/download-debian.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-fedora.php
=====================================
--- a/www.videolan.org/vlc/download-fedora.php
+++ b/www.videolan.org/vlc/download-fedora.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-freebsd.php
=====================================
--- a/www.videolan.org/vlc/download-freebsd.php
+++ b/www.videolan.org/vlc/download-freebsd.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-gentoo.php
=====================================
--- a/www.videolan.org/vlc/download-gentoo.php
+++ b/www.videolan.org/vlc/download-gentoo.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-ios.php
=====================================
--- a/www.videolan.org/vlc/download-ios.php
+++ b/www.videolan.org/vlc/download-ios.php
@@ -22,18 +22,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-redhat.php
=====================================
--- a/www.videolan.org/vlc/download-redhat.php
+++ b/www.videolan.org/vlc/download-redhat.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-slackware.php
=====================================
--- a/www.videolan.org/vlc/download-slackware.php
+++ b/www.videolan.org/vlc/download-slackware.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-suse.php
=====================================
--- a/www.videolan.org/vlc/download-suse.php
+++ b/www.videolan.org/vlc/download-suse.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-ubuntu.php
=====================================
--- a/www.videolan.org/vlc/download-ubuntu.php
+++ b/www.videolan.org/vlc/download-ubuntu.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-windowsphone.php
=====================================
--- a/www.videolan.org/vlc/download-windowsphone.php
+++ b/www.videolan.org/vlc/download-windowsphone.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
=====================================
www.videolan.org/vlc/download-winrt.php
=====================================
--- a/www.videolan.org/vlc/download-winrt.php
+++ b/www.videolan.org/vlc/download-winrt.php
@@ -20,18 +20,7 @@
<section class="download-wrapper">
<div class="row reorder-xs">
<?php
- echo '<div class="v-align carousel-padding-xs col-xs-12 col-sm-5 col-sm-offset-1 col-sm-pull-1"><div id="header-carousel">';
- $first = true;
- foreach($screenshots as $screenshot) {
- $src = $first ? $screenshot['src'] : '';
- $srcLazy = $first ? '' : $screenshot['src'];
- $dom = '<div class="screenshot2">';
- $dom .= '<img src="'.$src.'" alt="'.$screenshot['name'].'" data-lazy="'.$srcLazy.'">';
- $dom .= '</div>';
- echo $dom;
- $first = false;
- }
- echo '</div></div>';
+ echo drawScreenshots($screenshots);
?>
<div class="v-align col-sm-5">
<div class="center-font-xs">
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/2c86c09e77382b5a5b8c359c7061194847eec12b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20160119/41a77d72/attachment.html>
More information about the www-doc
mailing list