-
-
= __('app.home'); ?> /
= __('app.edit_option', ['name' => __('app.' . $post['post_type'])]); ?>
+
+
= __('app.edit_' . $post['post_type']); ?>
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/resources/views/qa/content/user/setting/avatar.php b/resources/views/qa/content/user/setting/avatar.php
index 4aca212a..ad15e034 100644
--- a/resources/views/qa/content/user/setting/avatar.php
+++ b/resources/views/qa/content/user/setting/avatar.php
@@ -59,6 +59,6 @@
\ No newline at end of file
diff --git a/resources/views/qa/content/user/setting/notifications.php b/resources/views/qa/content/user/setting/notifications.php
index d89a4f3c..1c48b145 100644
--- a/resources/views/qa/content/user/setting/notifications.php
+++ b/resources/views/qa/content/user/setting/notifications.php
@@ -20,6 +20,6 @@ $form->html_form(UserData::getUserTl(), config('form/user-notifications'));
\ No newline at end of file
diff --git a/resources/views/qa/content/user/setting/security.php b/resources/views/qa/content/user/setting/security.php
index f0b1c752..5ab7e349 100644
--- a/resources/views/qa/content/user/setting/security.php
+++ b/resources/views/qa/content/user/setting/security.php
@@ -20,6 +20,6 @@ $form->html_form(UserData::getUserTl(), config('form/user-security'));
\ No newline at end of file
diff --git a/resources/views/qa/content/user/setting/setting.php b/resources/views/qa/content/user/setting/setting.php
index 11e3a668..26d12f05 100644
--- a/resources/views/qa/content/user/setting/setting.php
+++ b/resources/views/qa/content/user/setting/setting.php
@@ -1,4 +1,4 @@
-
+
= Tpl::insert('/content/user/setting/nav', ['data' => $data]); ?>
@@ -91,6 +91,6 @@
\ No newline at end of file
diff --git a/resources/views/test/content/facets/topic.php b/resources/views/test/content/facets/topic.php
new file mode 100644
index 00000000..30bd1c3c
--- /dev/null
+++ b/resources/views/test/content/facets/topic.php
@@ -0,0 +1,14 @@
+
+
+
+ = Tpl::insert('/content/facets/topic-header', ['topic' => $topic, 'data' => $data]); ?>
+ = Tpl::insert('/content/post/post', ['data' => $data]); ?>
+ = Html::pagination($data['pNum'], $data['pagesCount'], $data['sheet'], url('topic', ['slug' => $topic['facet_slug']])); ?>
+
+
+
+
+
= __('app.remote'); ?>
+
+
+
diff --git a/resources/views/test/content/post/link.php b/resources/views/test/content/post/link.php
new file mode 100644
index 00000000..d3afb2da
--- /dev/null
+++ b/resources/views/test/content/post/link.php
@@ -0,0 +1,31 @@
+
+
+
+
+ = Html::votes($data['site'], 'item', 'ps', 'bi-heart mr10'); ?>
+
+
= $data['site']['item_title']; ?>
+
+
+
+
+
+
+
+ = Html::fragment(Content::text($data['site']['item_content'], 'line'), 200); ?>
+
+
+
+
= __('app.domain') . ': ' . $data['domain']; ?>
+
+
+
+ = Tpl::insert('/content/post/post', ['data' => $data]); ?>
+ = Html::pagination($data['pNum'], $data['pagesCount'], null, url('domain', ['domain' => $data['site']['item_domain']])); ?>
+
diff --git a/resources/views/test/footer.php b/resources/views/test/footer.php
index 91313a7f..caa4adf3 100644
--- a/resources/views/test/footer.php
+++ b/resources/views/test/footer.php
@@ -2,10 +2,10 @@
diff --git a/routes/main.php b/routes/main.php
index d16c87a4..1f1627d9 100644
--- a/routes/main.php
+++ b/routes/main.php
@@ -45,7 +45,6 @@ Route::before('Designator', [UserData::USER_FIRST_LEVEL, '>='])->getGroup();
// end
Route::get('/add/post/{topic_id}')->controller('Post\AddPostController', ['post'])->where(['topic_id' => '[0-9]+']);
- Route::get('/add/page/{topic_id}')->controller('Post\AddPostController', ['page'])->where(['topic_id' => '[0-9]+']);
Route::get('/post/img/{id}/remove')->controller('Post\EditPostController@imgPostRemove')->where(['id' => '[0-9]+']);
Route::get('/@{login}/delete/cover')->controller('User\SettingController@coverRemove')->where(['login' => '[A-Za-z0-9]+'])->name('delete.cover');