com web/php: Add mirror link back in the footer: include/footer.inc
| From: | Paul Dragoonis | Date: | Thu, 31 Jul 2014 14:00:30 +0000 |
| Subject: | com web/php: Add mirror link back in the footer: include/footer.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-21948@lists.php.net to get a copy of this message | ||
Commit: 5dc329196781e9805e1be24050e3fbda7aecc5d5
Author: nlmark <github@mscholten.eu> 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>