Skip to content
Permalink
Browse files

Include vendor logo on init screen

  • Loading branch information...
NEMS Linux
NEMS Linux committed Sep 7, 2019
1 parent d1c13f2 commit 22ed7b9ace868bad777a817aef9adda06b3c57e5
Showing with 12 additions and 0 deletions.
  1. +12 −0 init.php
@@ -116,6 +116,18 @@ function resizeIframe(obj) {
</div>
</div>
</div>
<?php
if (file_exists('/var/www/html/vendor/logo.png')) {
echo '<div class="text-center img-center"><p style="font-size: 0.5em; color:#aaa; margin: 30px 0 0px 0; padding: 0 !important;">Distributed By:</p>';
if (file_exists('/var/www/html/vendor/url.txt')) {
$vendorurl = trim(file_get_contents('/var/www/html/vendor/url.txt'));
echo '<a style="margin: 0; padding: 0 0 20px 0;" href="' . $vendorurl . '" target="_blank"><img src="/vendor/logo.png" class="img-responsive" style="max-height:60px;" /></a>';
} else {
echo '<img src="/vendor/logo.png" class="img-responsive" style="max-height:60px;" />';
}
echo '</div>';
}
?>

</div>
</div>

0 comments on commit 22ed7b9

Please sign in to comment.
You can’t perform that action at this time.