From 378ded5e3b2c5827d9d622c323e483f5163d75ae Mon Sep 17 00:00:00 2001 From: Peter Rotich Date: Thu, 20 Feb 2014 19:56:21 +0000 Subject: [PATCH] Use the company name for the copyright. --- include/class.company.php | 14 +++++++++++--- include/client/footer.inc.php | 8 ++++---- include/staff/footer.inc.php | 2 +- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/include/class.company.php b/include/class.company.php index 5122239f23..2c87582591 100644 --- a/include/class.company.php +++ b/include/class.company.php @@ -47,12 +47,20 @@ function getVar($name) { } } - 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 3398d1b934..b6b024d582 100644 --- a/include/client/footer.inc.php +++ b/include/client/footer.inc.php @@ -1,13 +1,13 @@

Please Wait!

Please wait... it will take a second!

-
+ - + diff --git a/include/staff/footer.inc.php b/include/staff/footer.inc.php index aa4e2f1130..a77bc0f4a1 100644 --- a/include/staff/footer.inc.php +++ b/include/staff/footer.inc.php @@ -1,6 +1,6 @@ isStaff()) { ?>