Skip to content

Commit 68c740a

Browse files
author
Kristan Kenney
committed
Remove pre-release note from bottom of page
1 parent 0f24b31 commit 68c740a

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

web/templates/footer.html

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
</div>
2-
<!--
3-
<? if (($_SESSION['RELEASE_BRANCH'] !== "release") && ($_SESSION['RELEASE_BRANCH'] !== "beta")) { ?>
4-
<div class="footer-banner alpha" id="banner">
5-
<div>
6-
<b>Pre-release development build for testing purposes only.</b> Please report bugs or issues to our development team on <a href="https://github.com/hestiacp/hestiacp/"><i class="fab fa-github icon-large icon-pad-right"></i>GitHub</a>.<br> Hestia Control Panel <b>v<?php echo $_SESSION['VERSION']; ?></b> (code branch <b><?php echo $_SESSION['RELEASE_BRANCH']; ?></b>)
7-
</div>
8-
<div style="margin-top: 4px;"><a href="javascript:elementHideShow('banner');">Hide</a></div>
9-
</div>
10-
<?}?>
11-
<? if ($_SESSION['RELEASE_BRANCH'] === "beta") { ?>
12-
<div class="footer-banner beta" id="banner">
13-
<div>
14-
<b>Thank you for testing <?=_('Hestia Control Panel')?> v<?=$_SESSION['VERSION']?>!</b><br> Please report any issues that you encounter to our development team on <a href="https://github.com/hestiacp/hestiacp/"><i class="fab fa-github icon-large icon-pad-right"></i>GitHub</a>.
15-
</div>
16-
<div style="margin-top: 4px;"><a href="javascript:elementHideShow('banner');">Hide</a></div>
17-
</div>
18-
<?}?>
19-
-->
20-
<? if ($_SESSION['user'] === 'admin') {?>
2+
<? if ($_SESSION['userContext'] === 'admin') && ($_SESSION['POLICY_SYSTEM_HIDE_SERVICES'] !== 'yes') {?>
213
<? if ($_SESSION['UPDATE_AVAILABLE'] === "yes") { ?>
224
<div class="footer-banner updates" id="banner">
235
<div>

0 commit comments

Comments
 (0)