<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>

</head>
<body>
<style type="text/css">
img {
max-width: 100%; height: auto;
}
</style>
<div class="content">
<h3>
Jean-Baptiste Kempf pushed to branch master
at <a href="https://code.videolan.org/VideoLAN.org/websites">VideoLAN organization / websites</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://code.videolan.org/VideoLAN.org/websites/commit/4f428a686976279a0c62abefb61023102b41f03a">4f428a68</a></strong>
<div>
<span>by David Loiret</span>
<i>at 2016-05-11T15:22:13+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap">menus: add sponsor if available

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org></pre>
</li>
<li>
<strong><a href="https://code.videolan.org/VideoLAN.org/websites/commit/f725647c61d7a64d8d31031f0b60f1ea43207202">f725647c</a></strong>
<div>
<span>by David Loiret</span>
<i>at 2016-05-11T15:22:13+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap">menus: hide donate box if user is located in Singapor

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org></pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#620f2ecad2bb6f74b2fcd0134963a841" style="text-decoration: none">
www.videolan.org/include/menus.php
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="620f2ecad2bb6f74b2fcd0134963a841">
<a href="https://code.videolan.org/VideoLAN.org/websites/compare/81ba36e5d044eaff7289e3a3413ca9d4bb9d208f...f725647c61d7a64d8d31031f0b60f1ea43207202#diff-0">
<strong>
www.videolan.org/include/menus.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="background: #ffdddd; color: #000000">--- a/www.videolan.org/include/menus.php
</span><span style="background: #ddffdd; color: #000000">+++ b/www.videolan.org/include/menus.php
</span><span style="color: #aaaaaa">@@ -5,6 +5,11 @@ require_once($_SERVER["DOCUMENT_ROOT"]."/include/donate.php");
</span> /* Menus */
 function draw_menus( $nobanner, $alternate_lang, $imgSrc, $b_show_donate )
 {
<span style="background: #ddffdd; color: #000000">+    global $sponsor;
+    if (function_exists('geoip_db_avail') && (geoip_db_avail(GEOIP_COUNTRY_EDITION) &&
+        geoip_country_code_by_name($_SERVER['REMOTE_ADDR']) == 'SG' )) {
+        $b_show_donate = false;
+    }
</span> ?>
 <nav id="nav" class="navbar navbar-default navbar-fixed-top">
  <div class="container">
<span style="color: #aaaaaa">@@ -99,6 +104,13 @@ function draw_menus( $nobanner, $alternate_lang, $imgSrc, $b_show_donate )
</span>             </li>
         </ul>
         <?php } ?>
<span style="background: #ddffdd; color: #000000">+        <?php if (isset($sponsor) && !$b_show_donate) { ?>
+            <div class="navbar-header pull-right">
+                <div id="sponsor">
+                    <?php echo $sponsor ?>
+                </div>
+            </div>
+        <?php } ?>
</span>     </div>
  </div>
 </nav>
</code></pre>

<br>
</li>

</div>
<div class="footer" style="margin-top: 10px">
<p style="color: #777; font-size: small">

<br>
<a href="https://code.videolan.org/VideoLAN.org/websites/compare/81ba36e5d044eaff7289e3a3413ca9d4bb9d208f...f725647c61d7a64d8d31031f0b60f1ea43207202">View it on GitLab</a>.
<br>
You're receiving this email because of your account on code.videolan.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.

</p>
</div>
</body>
</html>