diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 63cf18f..ebf8900 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -43,10 +43,10 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/hr/department/single?{?}&id=' . $value->getId()); ?> - getId(), ENT_COMPAT, 'utf-8'); ?> - getName(), ENT_COMPAT, 'utf-8'); ?> + printHtml($value->getId()); ?> + printHtml($value->getName()); ?> - getParent()->getName(), ENT_COMPAT, 'utf-8'); ?> + printHtml($value->getParent()->getName()); ?> getHtml('Empty', 0, 0); ?> diff --git a/Theme/Backend/planning-dashboard.tpl.php b/Theme/Backend/planning-dashboard.tpl.php index 7a73bf3..832c7b7 100644 --- a/Theme/Backend/planning-dashboard.tpl.php +++ b/Theme/Backend/planning-dashboard.tpl.php @@ -1,5 +1,5 @@
-

app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang['HumanResourceManagement']['Vacation'] , ENT_COMPAT, 'utf-8'); ?>

+

printHtml($this->app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang['HumanResourceManagement']['Vacation'] ); ?>

@@ -26,13 +26,13 @@
app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang[0]['More'] , ENT_COMPAT, 'utf-8'); ?> + class="button">printHtml($this->app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang[0]['More'] ); ?>
-

app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang['HumanResourceManagement']['Shifts'] , ENT_COMPAT, 'utf-8'); ?>

+

printHtml($this->app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang['HumanResourceManagement']['Shifts'] ); ?>

@@ -59,13 +59,13 @@
app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang[0]['More'] , ENT_COMPAT, 'utf-8'); ?> + class="button">printHtml($this->app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang[0]['More'] ); ?>
-

app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang['HumanResourceManagement']['Personnel'] , ENT_COMPAT, 'utf-8'); ?>

+

printHtml($this->app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang['HumanResourceManagement']['Personnel'] ); ?>

@@ -92,7 +92,7 @@
app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang[0]['More'] , ENT_COMPAT, 'utf-8'); ?> + class="button">printHtml($this->app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang[0]['More'] ); ?>
diff --git a/Theme/Backend/staff-list.tpl.php b/Theme/Backend/staff-list.tpl.php index fd71b69..498a398 100644 --- a/Theme/Backend/staff-list.tpl.php +++ b/Theme/Backend/staff-list.tpl.php @@ -44,11 +44,11 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> - getId(), ENT_COMPAT, 'utf-8'); ?> - getAccount()->getName1(), ENT_COMPAT, 'utf-8'); ?> - - - + printHtml($value->getId()); ?> + printHtml($value->getAccount()->getName1()); ?> + printHtml('' ); ?> + printHtml('' ); ?> + printHtml('' ); ?> getHtml('Empty', 0, 0); ?> diff --git a/Theme/Backend/staff-single.tpl.php b/Theme/Backend/staff-single.tpl.php index 9855eb2..42ffa69 100644 --- a/Theme/Backend/staff-single.tpl.php +++ b/Theme/Backend/staff-single.tpl.php @@ -20,7 +20,7 @@ echo $this->getData('nav')->render(); ?>
getHtml('Name') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?>, getName1(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>, printHtml($account->getName1()); ?>
getHtml('Position') ?> Sailor @@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?> 06.09.1934
getHtml('Email') ?> - getEmail(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getEmail()); ?>
Address @@ -56,7 +56,7 @@ echo $this->getData('nav')->render(); ?> +01 12345-4567
getHtml('Status') ?> - getStatus(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getStatus()); ?>
@@ -69,19 +69,19 @@ echo $this->getData('nav')->render(); ?>
getHtml('Start') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>
getHtml('End') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>
getHtml('Hours') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>
getHtml('Vacation') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>
getHtml('Salary') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>
@@ -103,9 +103,9 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> - getId(), ENT_COMPAT, 'utf-8'); ?> - getNewestHistory()->getPosition(), ENT_COMPAT, 'utf-8'); ?> - getNewestHistory()->getPosition(), ENT_COMPAT, 'utf-8'); ?> + printHtml($value->getId()); ?> + printHtml($value->getNewestHistory()->getPosition()); ?> + printHtml($value->getNewestHistory()->getPosition()); ?> getHtml('Empty', 0, 0); ?> @@ -127,9 +127,9 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> - getId(), ENT_COMPAT, 'utf-8'); ?> - getNewestHistory()->getPosition(), ENT_COMPAT, 'utf-8'); ?> - getNewestHistory()->getPosition(), ENT_COMPAT, 'utf-8'); ?> + printHtml($value->getId()); ?> + printHtml($value->getNewestHistory()->getPosition()); ?> + printHtml($value->getNewestHistory()->getPosition()); ?> getHtml('Empty', 0, 0); ?> @@ -144,13 +144,13 @@ echo $this->getData('nav')->render(); ?>
getHtml('Date') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>
getHtml('SalaryType') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>
getHtml('Amount') ?> - getName3(), ENT_COMPAT, 'utf-8'); ?> + printHtml($account->getName3()); ?>