diff --git a/site/plugins/admin/views/templates/extends/templates/add.php b/site/plugins/admin/views/templates/extends/templates/add.php deleted file mode 100644 index 6a7e641a..00000000 --- a/site/plugins/admin/views/templates/extends/templates/add.php +++ /dev/null @@ -1,47 +0,0 @@ -display(); -Themes::view('admin/views/partials/navbar') - ->assign('links', [ - 'templates' => [ - 'link' => Http::getBaseUrl() . '/admin/templates', - 'title' => __('admin_templates'), - 'attributes' => ['class' => 'navbar-item'] - ], - 'templates_add' => [ - 'link' => Http::getBaseUrl() . '/admin/templates/add', - 'title' => __('admin_create_new_template'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->display(); -Themes::view('admin/views/partials/content-start')->display(); -?> - -
-
- - -
- 'templateName']) ?> - 'form-control', 'id' => 'templateName', 'required', 'data-validation' => 'length required', 'data-validation-allowing' => '-_', 'data-validation-length' => 'min1', 'data-validation-error-msg' => __('admin_error_name_empty_input')]) ?> -
-
- 'templateType']) ?> - __('admin_template'), 'partial' => __('admin_partial')], 'template', ['class' => 'form-control', 'id' => 'templateType']) ?> -
-
-
- 'btn btn-black']) ?> - - -display() ?> -display() ?> diff --git a/site/plugins/admin/views/templates/extends/templates/edit.php b/site/plugins/admin/views/templates/extends/templates/edit.php deleted file mode 100644 index f4e2ac89..00000000 --- a/site/plugins/admin/views/templates/extends/templates/edit.php +++ /dev/null @@ -1,50 +0,0 @@ -display(); -Themes::view('admin/views/partials/navbar') - ->assign('links', [ - 'template' => [ - 'link' => Http::getBaseUrl() . '/admin/templates/edit?template=' . Http::get('template') . '&type=' . $type, - 'title' => __('admin_template'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->assign('buttons', [ - 'save_entry' => [ - 'link' => 'javascript:;', - 'title' => __('admin_save'), - 'attributes' => ['class' => 'js-save-form-submit float-right btn'] - ] - ]) - ->display(); -Themes::view('admin/views/partials/content-start')->display(); -?> - -
-
- 'form']) ?> - - - - -
-
-
- 'form-control', 'style' => 'min-height:500px;', 'id' => 'codeMirrorEditor']) ?> -
-
-
- -
-
- -display() ?> -display() ?> diff --git a/site/plugins/admin/views/templates/extends/templates/list.php b/site/plugins/admin/views/templates/extends/templates/list.php deleted file mode 100644 index 0552d1c2..00000000 --- a/site/plugins/admin/views/templates/extends/templates/list.php +++ /dev/null @@ -1,87 +0,0 @@ - - - -display() ?> -assign('links', [ - 'templates' => [ - 'link' => Http::getBaseUrl() . '/admin/templates', - 'title' => __('admin_templates'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->assign('buttons', [ - 'entries' => [ - 'link' => Http::getBaseUrl() . '/admin/templates/add', - 'title' => __('admin_create_new_template'), - 'attributes' => ['class' => 'float-right btn'] - ] - ]) - ->display() -?> -display() ?> - - 0 || count($partials_list) > 0): ?> - - - - - - - - - - 0): ?> - - - - - - - - - 0): ?> - - - - - - - - - -
- - -
- - - -
- -
- - -
- - - -
- -
- - - - -display() ?> -display() ?> diff --git a/site/plugins/admin/views/templates/extends/templates/rename.php b/site/plugins/admin/views/templates/extends/templates/rename.php deleted file mode 100644 index 4b8a0d24..00000000 --- a/site/plugins/admin/views/templates/extends/templates/rename.php +++ /dev/null @@ -1,49 +0,0 @@ -display(); -Themes::view('admin/views/partials/navbar') - ->assign('links', [ - 'templates' => [ - 'link' => Http::getBaseUrl() . '/admin/templates', - 'title' => __('admin_templates'), - 'attributes' => ['class' => 'navbar-item'] - ], - 'templates_add' => [ - 'link' => Http::getBaseUrl() . '/admin/templates/rename?template=' . $name_current, - 'title' => __('admin_rename'), - 'attributes' => ['class' => 'navbar-item active'] - ] - ]) - ->display(); -Themes::view('admin/views/partials/content-start')->display(); -?> - -
-
- - - - -
- 'templateName']) ?> - 'form-control', 'id' => 'templateName', 'required', 'data-validation' => 'length required', 'data-validation-allowing' => '-_', 'data-validation-length' => 'min1', 'data-validation-error-msg' => __('admin_template_error_title_empty_input')]) ?> -
-
- 'templateType']) ?> - __('admin_template'), 'partial' => __('admin_partial')], $type, ['class' => 'form-control', 'id' => 'templateType']) ?> -
- 'btn btn-black btn-fill btn-wd']) ?> - -
-
- -display() ?> -display() ?>