diff --git a/site/plugins/admin/views/templates/content/entries/add.php b/site/plugins/admin/views/templates/content/entries/add.php deleted file mode 100644 index c9340bcd..00000000 --- a/site/plugins/admin/views/templates/content/entries/add.php +++ /dev/null @@ -1,57 +0,0 @@ -display(); -Themes::view('admin/views/partials/navbar') - ->assign('links', [ - 'entries' => [ - 'link' => Http::getBaseUrl() . '/admin/entries', - 'title' => __('admin_entries'), - 'attributes' => ['class' => 'navbar-item'] - ], - 'entries_add' => [ - 'link' => Http::getBaseUrl() . '/admin/entries/add?entry=' . Http::get('entry'), - 'title' => __('admin_create_new_entry'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->display(); -Themes::view('admin/views/partials/content-start')->display(); -?> - -
-
- - - -
- 'entryTitle']) ?> - 'form-control', 'id' => 'entryTitle', 'required', 'data-validation' => 'length required', 'data-validation-length' => 'min1', 'data-validation-error-msg' => __('admin_error_title_empty_input')]) ?> -
-
- 'entrySlug']) ?> - 'form-control', 'id' => 'entrySlug', 'required', 'data-validation' => 'length required', 'data-validation-allowing' => '-_', 'data-validation-length' => 'min1', 'data-validation-error-msg' => __('admin_error_name_empty_input')]) ?> -
-
- - -
-
-
- - 'btn btn-black']) ?> - - -display() ?> -display() ?> diff --git a/site/plugins/admin/views/templates/content/entries/index.html b/site/plugins/admin/views/templates/content/entries/index.html index f38bced2..a68e7ec1 100644 --- a/site/plugins/admin/views/templates/content/entries/index.html +++ b/site/plugins/admin/views/templates/content/entries/index.html @@ -43,14 +43,14 @@ - {{ tr('admin_delete') }} + {{ tr('admin_delete') }} {% endfor %} diff --git a/site/plugins/admin/views/templates/content/entries/list.php b/site/plugins/admin/views/templates/content/entries/list.php deleted file mode 100644 index c3968a63..00000000 --- a/site/plugins/admin/views/templates/content/entries/list.php +++ /dev/null @@ -1,83 +0,0 @@ - - - -display() ?> -assign('links', [ - 'entries' => [ - 'link' => Http::getBaseUrl() . '/admin/entries', - 'title' => __('admin_entries'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->assign('buttons', [ - 'entries' => [ - 'link' => Http::getBaseUrl() . '/admin/entries/add?entry=' . Http::get('entry'), - 'title' => __('admin_create_new_entry'), - 'attributes' => ['class' => 'float-right btn'] - ] - ]) - ->display() -?> -display() ?> - - 0): ?> - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - 0): ?> - () - - -
- - - -
- -
- - - - -display() ?> -display() ?> diff --git a/site/plugins/admin/views/templates/content/entries/move.html b/site/plugins/admin/views/templates/content/entries/move.html index f08ce944..5e811286 100644 --- a/site/plugins/admin/views/templates/content/entries/move.html +++ b/site/plugins/admin/views/templates/content/entries/move.html @@ -11,7 +11,7 @@
- {% for key, value in entries_list %} {% endfor %} diff --git a/site/plugins/admin/views/templates/content/entries/move.php b/site/plugins/admin/views/templates/content/entries/move.php deleted file mode 100644 index e58cdc74..00000000 --- a/site/plugins/admin/views/templates/content/entries/move.php +++ /dev/null @@ -1,44 +0,0 @@ - - -display(); - Themes::view('admin/views/partials/navbar') - ->assign('links', [ - 'entries' => [ - 'link' => Http::getBaseUrl() . '/admin/entries', - 'title' => __('admin_entries'), - 'attributes' => ['class' => 'navbar-item'] - ], - 'entries_move' => [ - 'link' => Http::getBaseUrl() . '/admin/entries/move', - 'title' => __('admin_move'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->assign('entry', $entry) - ->display(); - Themes::view('admin/views/partials/content-start')->display(); -?> - -
-
- - - - - -
- - 'form-control')) ?> -
- 'btn btn-black btn-fill btn-wd']) ?> - -
-
- -display() ?> -display() ?> diff --git a/site/plugins/admin/views/templates/content/entries/rename.php b/site/plugins/admin/views/templates/content/entries/rename.php deleted file mode 100644 index 7b3439b4..00000000 --- a/site/plugins/admin/views/templates/content/entries/rename.php +++ /dev/null @@ -1,46 +0,0 @@ -display(); -Themes::view('admin/views/partials/navbar') - ->assign('links', [ - 'entries' => [ - 'link' => Http::getBaseUrl() . '/admin/entries', - 'title' => __('admin_entries'), - 'attributes' => ['class' => 'navbar-item'] - ], - 'entries_add' => [ - 'link' => Http::getBaseUrl() . '/admin/entries/rename', - 'title' => __('admin_rename'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->assign('entry', $entry) - ->display(); -Themes::view('admin/views/partials/content-start')->display(); -?> - -
-
- - - - - -
- 'entryName']) ?> - 'form-control', 'id' => 'entryName', 'required', 'data-validation' => 'length required', 'data-validation-allowing' => '-_', 'data-validation-length' => 'min1', 'data-validation-error-msg' => __('admin_error_title_empty_input')]) ?> -
- 'btn btn-black btn-fill btn-wd']) ?> - -
-
- -display() ?> -display() ?> diff --git a/site/plugins/admin/views/templates/content/entries/type.php b/site/plugins/admin/views/templates/content/entries/type.php deleted file mode 100644 index b0c9b1e2..00000000 --- a/site/plugins/admin/views/templates/content/entries/type.php +++ /dev/null @@ -1,42 +0,0 @@ - - -display(); - Themes::view('admin/views/partials/navbar') - ->assign('links', [ - 'entries' => [ - 'link' => Http::getBaseUrl() . '/admin/entries', - 'title' => __('admin_entries'), - 'attributes' => ['class' => 'navbar-item'] - ], - 'entries_move' => [ - 'link' => Http::getBaseUrl() . '/admin/entries/move', - 'title' => __('admin_type'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->assign('entry', Http::get('entry')) - ->display(); - Themes::view('admin/views/partials/content-start')->display(); -?> - -
-
- - - -
- - 'form-control']) ?> -
- 'btn btn-black btn-fill btn-wd']) ?> - -
-
- -display() ?> -display() ?>