mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Encode Page Title
This commit is contained in:
@@ -14,7 +14,7 @@ if (str_contains(basename($_SERVER["PHP_SELF"]), "admin_")) { ?>
|
||||
</div> <!-- ./wrapper -->
|
||||
|
||||
<!-- Set the browser window title to the clients name -->
|
||||
<script>document.title = "<?php echo "$tab_title - $page_title"; ?>"</script>
|
||||
<script>document.title = <?php echo json_encode("$tab_title - $page_title"); ?>;</script>
|
||||
|
||||
<!-- REQUIRED SCRIPTS -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user