diff --git a/Theme/Backend/accounts-list.tpl.php b/Theme/Backend/accounts-list.tpl.php
index 0a3857f..5736da3 100644
--- a/Theme/Backend/accounts-list.tpl.php
+++ b/Theme/Backend/accounts-list.tpl.php
@@ -33,7 +33,7 @@ echo $this->getData('nav')->render(); ?>
|
|
- getData('list:elements') as $key => $value) : $c++;
+ getData('list:elements') as $key => $value) : ++$c;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId());
$color = 'darkred';
if ($value->getStatus() === AccountStatus::ACTIVE) { $color = 'green'; }
diff --git a/Theme/Backend/accounts-single.tpl.php b/Theme/Backend/accounts-single.tpl.php
index 73957b4..915b39e 100644
--- a/Theme/Backend/accounts-single.tpl.php
+++ b/Theme/Backend/accounts-single.tpl.php
@@ -113,7 +113,7 @@ echo $this->getData('nav')->render(); ?>
= $this->getHtml('ID', '0', '0'); ?>
| = $this->getHtml('Name') ?>
|
- getGroups(); foreach ($groups as $key => $value) : $c++;
+ getGroups(); foreach ($groups as $key => $value) : ++$c;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
|
@@ -158,7 +158,7 @@ echo $this->getData('nav')->render(); ?>
| = $this->getHtml('Comp'); ?>
| = $this->getHtml('Perm'); ?>
|
- $value) : $c++; $permission = $value->getPermission(); ?>
+ $value) : ++$c; $permission = $value->getPermission(); ?>
|
|
diff --git a/Theme/Backend/groups-list.tpl.php b/Theme/Backend/groups-list.tpl.php
index 6eca865..1ef3ad0 100644
--- a/Theme/Backend/groups-list.tpl.php
+++ b/Theme/Backend/groups-list.tpl.php
@@ -29,7 +29,7 @@ echo $this->getData('nav')->render(); ?>
|
|
|
- getData('list:elements') as $key => $value) : $c++;
+ getData('list:elements') as $key => $value) : ++$c;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId());
$color = 'darkred';
if ($value->getStatus() === \phpOMS\Account\GroupStatus::ACTIVE) { $color = 'green'; }
diff --git a/Theme/Backend/groups-single.tpl.php b/Theme/Backend/groups-single.tpl.php
index 3681ece..4d96408 100644
--- a/Theme/Backend/groups-single.tpl.php
+++ b/Theme/Backend/groups-single.tpl.php
@@ -68,7 +68,7 @@ echo $this->getData('nav')->render(); ?>
= $this->getHtml('ID', '0', '0'); ?>
| = $this->getHtml('Name'); ?>
|
- $value) : $c++; ?>
+ $value) : ++$c; ?>
|
| = $value->getName1(); ?>
@@ -126,7 +126,7 @@ echo $this->getData('nav')->render(); ?>
|
- $value) : $c++; $permission = $value->getPermission(); ?>
+ $value) : ++$c; $permission = $value->getPermission(); ?>
|
|
@@ -212,7 +212,7 @@ echo $this->getData('nav')->render(); ?>
| = $this->getHtml('ID', '0', '0'); ?>
| Name
|
- $value) : $c++; ?>
+ $value) : ++$c; ?>
|
|
|