diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-02-01 17:44:49 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-02-01 17:44:49 +0000 |
commit | 70b5f9b61ecb4c8056ff78b1ef40451daa454d80 (patch) | |
tree | 4a3482b7e5b76899164260101d2b920df0ebe995 /index.php | |
parent | 1226733f9ad7434d2f1769a8882845451039e57c (diff) | |
download | pkgsubmit-70b5f9b61ecb4c8056ff78b1ef40451daa454d80.tar pkgsubmit-70b5f9b61ecb4c8056ff78b1ef40451daa454d80.tar.gz pkgsubmit-70b5f9b61ecb4c8056ff78b1ef40451daa454d80.tar.bz2 pkgsubmit-70b5f9b61ecb4c8056ff78b1ef40451daa454d80.tar.xz pkgsubmit-70b5f9b61ecb4c8056ff78b1ef40451daa454d80.zip |
Display a banner when present
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -316,6 +316,12 @@ header(sprintf('X-BS-Buildtime-Average: %5.2f', $buildtime_avg)); <h1><?php echo $title ?></h1> <?php + +$bannerfile = dirname(__FILE__) . '/banner.html'; +if (file_exists($bannerfile)) { + echo file_get_contents($bannerfile); +} + if (!is_null($g_user) || $_GET['package']) echo '<a href="/">« Back to full list</a>'; |