Add Proper footers to Guest Area and client portal

This commit is contained in:
johnnyq
2026-08-31 13:24:32 -04:00
parent 364c9e2134
commit c89e3a90d4
3 changed files with 44 additions and 19 deletions

View File

@@ -1,18 +1,6 @@
<?php
?>
<?php
if (basename(dirname($_SERVER['REQUEST_URI'])) === 'guest') { ?>
<p class="text-center">
<?php
echo escapeHtml($session_company_name);
if (!$config_whitelabel_enabled) {
echo '<br><small class="text-muted">Powered by ITFlow</small>';
}
?>
</p>
<?php } ?>
</div><!-- /.container-fluid -->
</div> <!-- /.app-content -->
</main> <!-- /.app-main -->
@@ -32,6 +20,23 @@ if (basename(dirname($_SERVER['REQUEST_URI'])) === 'guest') { ?>
</footer>
<?php } ?>
<?php /* The guest portal shares this file and the same .app-wrapper grid (its
own guest_header.php opens it), so its footer goes in the same row.
guest_header.php renders no .app-header and no .app-sidebar, which the
grid handles on its own - the sidebar column is `auto` and the header
row is min-content, so both collapse to zero and .app-main still takes
the 1fr. */ ?>
<?php if (basename(dirname($_SERVER['REQUEST_URI'])) === 'guest') { ?>
<footer class="app-footer py-2 text-center">
<?php
echo escapeHtml($session_company_name);
if (!$config_whitelabel_enabled) {
echo '<br><small class="text-muted">Powered by ITFlow</small>';
}
?>
</footer>
<?php } ?>
</div> <!-- /.app-wrapper -->
<!-- Set the browser window title to the clients name -->