Commit:    5dc329196781e9805e1be24050e3fbda7aecc5d5
Author:    nlmark <[email protected]>         Thu, 31 Jul 2014 16:00:30 +0200
Parents:   19e5f8f43bbb0d226ea40066b40b50d176c92080
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=5dc329196781e9805e1be24050e3fbda7aecc5d5

Log:
Add mirror link back in the footer

As it was in the past and as it was agreed on when providing a mirror for most 
sponsors

Changed paths:
  M  include/footer.inc


Diff:
diff --git a/include/footer.inc b/include/footer.inc
index 4eb0870..9dbbc2b 100644
--- a/include/footer.inc
+++ b/include/footer.inc
@@ -55,6 +55,15 @@
         <li><a href="/mirrors.php">Mirror sites</a></li>
         <li><a href="/privacy.php">Privacy policy</a></li>
       </ul>
+      <ul class="footmenu">
+        <?php
+        if(is_primary_site() || is_backup_primary() || is_official_mirror()){
+            print '<li><a href="/mirror.php">This mirror</a> generously 
provided by: <a 
href="'.mirror_provider_url().'">'.mirror_provider().'</a></li>';
+        }else{
+            print '<li><a href="/mirror.php">This mirror</a> is an unofficial 
mirror</a></li>';
+        }
+        ?>
+      </ul>
       </div>
     </div>
   </footer>


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to