com web/php: Add mirror link back in the footer: include/footer.inc

From: 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-19705@lists.php.net to get a copy of this message
Commit: 096a5fdd2f7ac5dff2452a05db258a26a7fc5fb4 Author: nlmark <github@mscholten.eu> Thu, 31 Jul 2014 16:00:30 +0200 Parents: 7991548225a792c182ab231def4665982bcfa7e4 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=096a5fdd2f7ac5dff2452a05db258a26a7fc5fb4 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>

« previous php.webmaster (#19705) next »