diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 3387ffa..ab2f561 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Units", - "uri": "/{/lang}/backend/organization/unit/list?{?}", + "uri": "{/lang}/backend/organization/unit/list?{?}", "target": "self", "icon": null, "order": 1, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/organization/unit/list?{?}", + "uri": "{/lang}/backend/organization/unit/list?{?}", "target": "self", "icon": null, "order": 5, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/organization/unit/create?{?}", + "uri": "{/lang}/backend/organization/unit/create?{?}", "target": "self", "icon": null, "order": 25, @@ -65,7 +65,7 @@ "type": 2, "subtype": 1, "name": "Departments", - "uri": "/{/lang}/backend/organization/department/list?{?}", + "uri": "{/lang}/backend/organization/department/list?{?}", "target": "self", "icon": null, "order": 5, @@ -79,7 +79,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/organization/department/list?{?}", + "uri": "{/lang}/backend/organization/department/list?{?}", "target": "self", "icon": null, "order": 5, @@ -94,7 +94,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/organization/department/create?{?}", + "uri": "{/lang}/backend/organization/department/create?{?}", "target": "self", "icon": null, "order": 25, @@ -111,7 +111,7 @@ "type": 2, "subtype": 1, "name": "Positions", - "uri": "/{/lang}/backend/organization/position/list?{?}", + "uri": "{/lang}/backend/organization/position/list?{?}", "target": "self", "icon": null, "order": 20, @@ -125,7 +125,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/organization/position/list?{?}", + "uri": "{/lang}/backend/organization/position/list?{?}", "target": "self", "icon": null, "order": 5, @@ -140,7 +140,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/organization/position/create?{?}", + "uri": "{/lang}/backend/organization/position/create?{?}", "target": "self", "icon": null, "order": 25, diff --git a/Theme/Backend/Components/DepartmentTagSelector/department-selector.tpl.php b/Theme/Backend/Components/DepartmentTagSelector/department-selector.tpl.php index 8bb24f3..a03b92a 100644 --- a/Theme/Backend/Components/DepartmentTagSelector/department-selector.tpl.php +++ b/Theme/Backend/Components/DepartmentTagSelector/department-selector.tpl.php @@ -5,9 +5,9 @@ { "key": 1, "listener": "click", "action": [ {"key": 1, "type": "dom.popup", "selector": "#org-department-selector-tpl", "aniIn": "fadeIn", "id": "= $this->printHtml($this->getId()); ?>"}, - {"key": 2, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('/{/lang}/api/organization/department?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, + {"key": 2, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('{/lang}/api/organization/department?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, {"key": 3, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1}, - {"key": 4, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('/{/lang}/api/organization/department?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, + {"key": 4, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('{/lang}/api/organization/department?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, {"key": 5, "type": "dom.table.append", "id": "grp-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1} ] } diff --git a/Theme/Backend/Components/PositionTagSelector/position-selector.tpl.php b/Theme/Backend/Components/PositionTagSelector/position-selector.tpl.php index 0f6d0bc..28f895c 100644 --- a/Theme/Backend/Components/PositionTagSelector/position-selector.tpl.php +++ b/Theme/Backend/Components/PositionTagSelector/position-selector.tpl.php @@ -5,9 +5,9 @@ { "key": 1, "listener": "click", "action": [ {"key": 1, "type": "dom.popup", "selector": "#org-position-selector-tpl", "aniIn": "fadeIn", "id": "= $this->printHtml($this->getId()); ?>"}, - {"key": 2, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('/{/lang}/api/organization/position?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, + {"key": 2, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('{/lang}/api/organization/position?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, {"key": 3, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1}, - {"key": 4, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('/{/lang}/api/organization/position?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, + {"key": 4, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('{/lang}/api/organization/position?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, {"key": 5, "type": "dom.table.append", "id": "grp-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1} ] } diff --git a/Theme/Backend/Components/UnitTagSelector/unit-selector.tpl.php b/Theme/Backend/Components/UnitTagSelector/unit-selector.tpl.php index d0a36a0..761d901 100644 --- a/Theme/Backend/Components/UnitTagSelector/unit-selector.tpl.php +++ b/Theme/Backend/Components/UnitTagSelector/unit-selector.tpl.php @@ -5,9 +5,9 @@ { "key": 1, "listener": "click", "action": [ {"key": 1, "type": "dom.popup", "selector": "#org-unit-selector-tpl", "aniIn": "fadeIn", "id": "= $this->printHtml($this->getId()); ?>"}, - {"key": 2, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('/{/lang}/api/organization/unit?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, + {"key": 2, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('{/lang}/api/organization/unit?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, {"key": 3, "type": "dom.table.append", "id": "acc-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name"}, "position": -1}, - {"key": 4, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('/{/lang}/api/organization/unit?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, + {"key": 4, "type": "message.request", "uri": "= \phpOMS\Uri\UriFactory::build('{/lang}/api/organization/unit?filter=some&limit=10'); ?>", "method": "GET", "request_type": "json"}, {"key": 5, "type": "dom.table.append", "id": "grp-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name"}, "position": -1} ] } diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 548e138..ac471a8 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>