diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index f7c3d69..7353a63 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Employees", - "uri": "{/prefix}humanresource/staff/list", + "uri": "{/lang}/{/app}/humanresource/staff/list", "target": "self", "icon": null, "order": 1, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/prefix}humanresource/staff/list", + "uri": "{/lang}/{/app}/humanresource/staff/list", "target": "self", "icon": null, "order": 1, @@ -49,7 +49,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/prefix}humanresource/staff/create?{?}", + "uri": "{/lang}/{/app}/humanresource/staff/create?{?}", "target": "self", "icon": null, "order": 5, @@ -67,7 +67,7 @@ "type": 2, "subtype": 1, "name": "Departments", - "uri": "{/prefix}humanresource/department/list", + "uri": "{/lang}/{/app}/humanresource/department/list", "target": "self", "icon": null, "order": 1, @@ -81,7 +81,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/prefix}humanresource/department/list", + "uri": "{/lang}/{/app}/humanresource/department/list", "target": "self", "icon": null, "order": 1, @@ -99,7 +99,7 @@ "type": 2, "subtype": 1, "name": "Positions", - "uri": "{/prefix}humanresource/position/list", + "uri": "{/lang}/{/app}/humanresource/position/list", "target": "self", "icon": null, "order": 1, @@ -113,7 +113,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/prefix}humanresource/position/list", + "uri": "{/lang}/{/app}/humanresource/position/list", "target": "self", "icon": null, "order": 1, @@ -129,7 +129,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/prefix}humanresource/position/create?{?}", + "uri": "{/lang}/{/app}/humanresource/position/create?{?}", "target": "self", "icon": null, "order": 5, diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index e4eaf7e..bb25116 100755 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -43,7 +43,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Parent'); ?> $value) : ++$c; - $url = UriFactory::build('hr/department/single?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/lang}/{/app}/hr/department/single?{?}&id=' . $value->getId()); ?> getId(); ?> printHtml($value->name); ?> diff --git a/Theme/Backend/staff-list.tpl.php b/Theme/Backend/staff-list.tpl.php index 325a1d4..0e1e864 100755 --- a/Theme/Backend/staff-list.tpl.php +++ b/Theme/Backend/staff-list.tpl.php @@ -42,13 +42,13 @@ echo $this->getData('nav')->render(); ?> getHtml('Status'); ?> $value) : ++$c; - $url = UriFactory::build('humanresource/staff/profile?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/lang}/{/app}/humanresource/staff/profile?{?}&id=' . $value->getId()); ?> <?= $this->getHtml('IMG_alt_staff'); ?> + UriFactory::build('{/lang}/{/app}/' . $value->profile->image->getPath()); ?>"> getId(); ?> printHtml( \sprintf('%3$s %2$s %1$s', $value->profile->account->name1, $value->profile->account->name2, $value->profile->account->name3) diff --git a/Theme/Backend/staff-profile.tpl.php b/Theme/Backend/staff-profile.tpl.php index 31300f2..e26dbe2 100755 --- a/Theme/Backend/staff-profile.tpl.php +++ b/Theme/Backend/staff-profile.tpl.php @@ -55,8 +55,8 @@ echo $this->getData('nav')->render(); ?> $employee->image instanceof NullMedia ? ($employee->profile->image instanceof NullMedia ? UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') : - UriFactory::build('' . $employee->profile->image->getPath())) : - UriFactory::build('' . $employee->image->getPath()); ?>" + UriFactory::build('{/lang}/{/app}/' . $employee->profile->image->getPath())) : + UriFactory::build('{/lang}/{/app}/' . $employee->image->getPath()); ?>" > diff --git a/info.json b/info.json index 389a217..23cef81 100755 --- a/info.json +++ b/info.json @@ -12,7 +12,7 @@ }, "creator": { "name": "Karaka", - "website": "www.spl1nes.com" + "website": "jingga.app" }, "description": "Human Resources module.", "directory": "HumanResourceManagement",