aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/admin/tree/rangetree.php6
-rw-r--r--app/views/admin/tree/semtree.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin/tree/rangetree.php b/app/views/admin/tree/rangetree.php
index 1e3e945..8de11a2 100644
--- a/app/views/admin/tree/rangetree.php
+++ b/app/views/admin/tree/rangetree.php
@@ -1,9 +1,9 @@
<div data-studip-tree>
<studip-tree start-id="<?= htmlReady($startId) ?>" view-type="table" breadcrumb-icon="institute"
:with-search="false" :visible-children-only="false"
- :editable="true" edit-url="<?= $controller->url_for('admin/tree/edit') ?>"
- create-url="<?= $controller->url_for('admin/tree/create') ?>"
- delete-url="<?= $controller->url_for('admin/tree/delete') ?>"
+ :editable="true" edit-url="<?= URLHelper::getURL('dispatch.php/admin/tree/edit', [], true) ?>"
+ create-url="<?= URLHelper::getURL('dispatch.php/admin/tree/create', [], true) ?>"
+ delete-url="<?= URLHelper::getURL('dispatch.php/admin/tree/delete', [], true) ?>"
:with-courses="true" semester="<?= htmlReady($semester) ?>" :show-structure-as-navigation="true"
title="<?= _('Einrichtungshierarchie bearbeiten') ?>"></studip-tree>
</div>
diff --git a/app/views/admin/tree/semtree.php b/app/views/admin/tree/semtree.php
index 0c48245..dbdbe69 100644
--- a/app/views/admin/tree/semtree.php
+++ b/app/views/admin/tree/semtree.php
@@ -1,9 +1,9 @@
<div data-studip-tree>
<studip-tree start-id="<?= htmlReady($startId) ?>" view-type="table" breadcrumb-icon="literature"
:with-search="false" :visible-children-only="false"
- :editable="true" edit-url="<?= $controller->url_for('admin/tree/edit') ?>"
- create-url="<?= $controller->url_for('admin/tree/create') ?>"
- delete-url="<?= $controller->url_for('admin/tree/delete') ?>"
+ :editable="true" edit-url="<?= URLHelper::getURL('dispatch.php/admin/tree/edit', [], true) ?>"
+ create-url="<?= URLHelper::getURL('dispatch.php/admin/tree/create', [], true) ?>"
+ delete-url="<?= URLHelper::getURL('dispatch.php/admin/tree/delete', [], true) ?>"
:show-structure-as-navigation="true" :with-course-assign="true"
:with-courses="true" semester="<?= htmlReady($semester) ?>"
title="<?= _('Veranstaltungshierarchie bearbeiten') ?>"></studip-tree>