diff --git a/include/class.company.php b/include/class.company.php index 5122239f238b67064ee8c9e5655d2abb0172943d..2c8758259197c15c5a817005a0346842566796a0 100644 --- a/include/class.company.php +++ b/include/class.company.php @@ -47,12 +47,20 @@ class Company { } } - function asVar() { + function getInfo() { + return $this->getForm()->getClean(); + } + + function getName() { return $this->getVar('name'); } - function getInfo() { - return $this->getForm()->getClean(); + function asVar() { + return $this->getName(); + } + + function __toString() { + return $this->getName(); } /** diff --git a/include/client/footer.inc.php b/include/client/footer.inc.php index 3398d1b93414fbdc978efb85e6d99d0893c95b18..b6b024d5826a9c1c9b02303364ac3476d40c1f41 100644 --- a/include/client/footer.inc.php +++ b/include/client/footer.inc.php @@ -1,13 +1,13 @@ </div> </div> <div id="footer"> - <p>Copyright © <?php echo date('Y'); ?> <a href="http://osticket.com" target="_blank" title="osTicket">osTicket.com</a> - All rights reserved.</p> - <a id="poweredBy" href="http://osticket.com" target="_blank">Powered by osTicket</a> + <p>Copyright © <?php echo date('Y'); ?> <?php echo $ost->company :? 'osTicket.com'; ?> - All rights reserved.</p> + <a id="poweredBy" href="http://osticket.com" target="_blank">Helpdesk software - powered by osTicket</a> </div> <div id="overlay"></div> <div id="loading"> <h4>Please Wait!</h4> <p>Please wait... it will take a second!</p> -</div> +</div> </body> -</html> +</html> diff --git a/include/staff/footer.inc.php b/include/staff/footer.inc.php index aa4e2f1130aae8899778d30ff16f92bb1ce27dad..a77bc0f4a1b2311ccfa8520ea7dbde9eaaada839 100644 --- a/include/staff/footer.inc.php +++ b/include/staff/footer.inc.php @@ -1,6 +1,6 @@ </div> <div id="footer"> - Copyright © 2006-<?php echo date('Y'); ?> osTicket.com. All Rights Reserved. + Copyright © 2006-<?php echo date('Y'); ?> <?php echo $ost->company ?: 'osTicket.com'; ?> All Rights Reserved. </div> <?php if(is_object($thisstaff) && $thisstaff->isStaff()) { ?>