From 1449555d15916ff7987e68861b587a920463a9b0 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 15:47:23 +0200 Subject: Edit contact languages --- include/clients-view.php | 80 ++++++------ include/contacts-edit.php | 3 + include/contacts-overview.php | 280 +++++++++++++++++++++--------------------- 3 files changed, 186 insertions(+), 177 deletions(-) (limited to 'include') diff --git a/include/clients-view.php b/include/clients-view.php index 101d530..514e4e4 100644 --- a/include/clients-view.php +++ b/include/clients-view.php @@ -22,43 +22,45 @@ require_once('./login.php'); $_client = new client($_pdo, $_id); ?>
# | -Name | -Address | -Tools | -
---|---|---|---|
{$contact->getId()} | -{$contact->getName()} | -
- {$contact->getAddress()} - {$contact->getPostalCode()} - {$contact->getCity()} - {$contact->getCountry()} - |
- - - - | -
There are no contacts in the database. Why not create one? |
# | +Name | +Address | +Language | +Tools | +
---|---|---|---|---|
{$contact->getId()} | +{$contact->getName()} | +
+ {$contact->getAddress()} + {$contact->getPostalCode()} + {$contact->getCity()} + {$contact->getCountry()} + |
+ {$contact->getLanguage()} | ++ + + | +
There are no contacts in the database. Why not create one? |
# | -Name | -Address | -Tools | -{$contact->getId()} | -
- {$contact->getName()} - ({$contact->getClient()->getName()}) - |
-
- {$contact->getEmail()} - - {$contact->getAddress()} - " . ($contact->getAddress_2() != '' ? "{$contact->getAddress_2()} " : "") . " - {$contact->getPostalCode()} - {$contact->getCity()} - {$contact->getCountry()} - |
- - - - | - "; - } - if (count($contacts) == 0) { - echo "
---|---|---|---|---|
There are no contacts in the database. Why not start with creating one, on the right? |
# | +Name | +Address | +Language | +Tools | +{$contact->getId()} | +
+ {$contact->getName()} + ({$contact->getClient()->getName()}) + |
+
+ {$contact->getEmail()} + + {$contact->getAddress()} + " . ($contact->getAddress_2() != '' ? "{$contact->getAddress_2()} " : "") . " + {$contact->getPostalCode()} + {$contact->getCity()} + {$contact->getCountry()} + |
+ + {$contact->getLanguage()} + | ++ + + | + "; + } + if (count($contacts) == 0) { + echo "
---|---|---|---|---|
There are no contacts in the database. Why not start with creating one, on the right? |