Skip to content
Snippets Groups Projects
Commit f66a7f0f authored by Peter Rotich's avatar Peter Rotich
Browse files

footer: htmlchars company name

parent d93bb51b
Branches
Tags
No related merge requests found
</div> </div>
</div> </div>
<div id="footer"> <div id="footer">
<p><?php echo __('Copyright &copy;'); ?> <?php echo date('Y'); ?> <?php echo (string) $ost->company ?: 'osTicket.com'; ?> - <?php echo __('All rights reserved.'); ?></p> <p><?php echo __('Copyright &copy;'); ?> <?php echo date('Y'); ?> <?php
echo Format::htmlchars((string) $ost->company ?: 'osTicket.com'); ?> - <?php echo __('All rights reserved.'); ?></p>
<a id="poweredBy" href="http://osticket.com" target="_blank"><?php echo __('Helpdesk software - powered by osTicket'); ?></a> <a id="poweredBy" href="http://osticket.com" target="_blank"><?php echo __('Helpdesk software - powered by osTicket'); ?></a>
</div> </div>
<div id="overlay"></div> <div id="overlay"></div>
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
</div> </div>
<?php if (!isset($_SERVER['HTTP_X_PJAX'])) { ?> <?php if (!isset($_SERVER['HTTP_X_PJAX'])) { ?>
<div id="footer"> <div id="footer">
<?php echo __('Copyright &copy;') ?> 2006-<?php echo date('Y'); ?>&nbsp;<?php echo (string) $ost->company ?: 'osTicket.com'; ?>&nbsp;<?php echo __('All Rights Reserved.'); ?> <?php echo __('Copyright &copy;') ?> 2006-<?php echo date('Y'); ?>&nbsp;<?php
echo Format::htmlchars((string) $ost->company ?: 'osTicket.com'); ?>&nbsp;<?php echo __('All Rights Reserved.'); ?>
</div> </div>
<?php <?php
if(is_object($thisstaff) && $thisstaff->isStaff()) { ?> if(is_object($thisstaff) && $thisstaff->isStaff()) { ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment