Initial implementation of whitelabelling

This commit is contained in:
wrongecho
2024-09-05 10:31:18 +01:00
parent 0f6ed69008
commit 4458c87463
11 changed files with 107 additions and 8 deletions

View File

@@ -154,7 +154,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['login'])) {
<?php
if (!empty($config_smtp_host)) { ?>
<h6 class="text-center"><a href="login_reset.php">Forgot password?</a></h6>
<h5 class="text-center"><a href="login_reset.php">Forgot password?</a></h5>
<?php } ?>
</form>
@@ -178,6 +178,12 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['login'])) {
</div>
<!-- /.login-box -->
<?php
//if (!$config_whitelabel_enabled) {
// echo '<small class="text-muted">Powered by ITFlow</small>';
//}
?>
<!-- jQuery -->
<script src="../plugins/jquery/jquery.min.js"></script>

View File

@@ -11,7 +11,15 @@
<br>
<hr>
<p class="text-center"><?php echo nullable_htmlentities($session_company_name); ?></p>
<p class="text-center">
<?php
echo nullable_htmlentities($session_company_name);
// if (!$config_whitelabel_enabled) {
// echo '<br><small class="text-muted">Powered by ITFlow</small>';
// }
?>
</p>
<?php require_once "../inc_confirm_modal.php"; ?>