mirror of
https://github.com/itflow-org/itflow
synced 2026-09-14 18:55:12 +00:00
Add Proper footers to Guest Area and client portal
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user