diff --git a/app/Controllers/Facets/AddFacetController.php b/app/Controllers/Facets/AddFacetController.php index ea85b984..1e9335d5 100644 --- a/app/Controllers/Facets/AddFacetController.php +++ b/app/Controllers/Facets/AddFacetController.php @@ -24,7 +24,7 @@ class AddFacetController extends MainController return Tpl::LaRender( '/facets/add', [ - 'meta' => Meta::get(__('app.add_option', ['name' => __('app.topics')])), + 'meta' => Meta::get(__('app.add_' . $type)), 'data' => [ 'type' => $type, ] diff --git a/app/Controllers/Facets/EditFacetController.php b/app/Controllers/Facets/EditFacetController.php index 504dc486..a7b364cb 100644 --- a/app/Controllers/Facets/EditFacetController.php +++ b/app/Controllers/Facets/EditFacetController.php @@ -46,7 +46,7 @@ class EditFacetController extends MainController 'low_arr' => FacetModel::getLowLevelList($facet['facet_id']), 'user' => UserModel::getUser($facet['facet_user_id'], 'id'), 'sheet' => $facet['facet_type'] . 's', - 'type' => 'edit', + 'type' => $type, ] ] ); diff --git a/app/Controllers/Post/AddPostController.php b/app/Controllers/Post/AddPostController.php index 3ea5476a..b65ce938 100644 --- a/app/Controllers/Post/AddPostController.php +++ b/app/Controllers/Post/AddPostController.php @@ -43,10 +43,8 @@ class AddPostController extends MainController $topic_id = Request::getInt('topic_id'); $topic = FacetModel::getFacet($topic_id, 'id', 'topic'); - $puth = $type == 'page' ? '/page/add' : '/post/add'; - return Tpl::LaRender( - $puth, + '/post/add', [ 'meta' => Meta::get(__('app.add_option', ['name' => __('app.post')])), 'data' => [ diff --git a/app/Controllers/Post/EditPostController.php b/app/Controllers/Post/EditPostController.php index a1276c97..9bc77eb0 100644 --- a/app/Controllers/Post/EditPostController.php +++ b/app/Controllers/Post/EditPostController.php @@ -43,7 +43,7 @@ class EditPostController extends MainController return Tpl::LaRender( '/post/edit', [ - 'meta' => Meta::get(__('app.edit_option', ['name' => __('app.post')])), + 'meta' => Meta::get(__('app.edit_' . $post['post_type'])), 'data' => [ 'sheet' => 'edit-post', 'type' => 'edit', diff --git a/app/Languages/en/app.php b/app/Languages/en/app.php index 76d34d7d..ebca2f13 100644 --- a/app/Languages/en/app.php +++ b/app/Languages/en/app.php @@ -171,8 +171,13 @@ return [ 'edit' => 'Change', 'save' => 'Save', 'add' => 'Add', - 'add_option' => 'Add ({name})', - 'edit_option' => 'Change ({name})', + 'add_post' => 'Add post', + 'add_topic' => 'Add Topic', + 'add_blog' => 'Add blog', + 'edit_post' => 'Edit post', + 'edit_topic' => 'Edit Topic', + 'edit_blog' => 'Edit blog', + 'edit_page' => 'Edit page', 'being_developed' => 'Under development', 'activity' => 'Activity', @@ -338,22 +343,11 @@ return [ 'view_post_tl' => 'Who can view the post (from which TL)', 'invited_you' => 'You were invited by a member from this site. Enter invite', 'invite_features' => 'You can invite friends', - 'messages_info' => 'Private messages with site members', 'content_deleted' => '{name} deleted', - /* Setting */ - 'setting_info' => 'Fill in your name, this will help the participants to refer to you by your first name.

Tell us something about yourself. You have a great opportunity to open up to please others and seem like an interesting person..', - 'avatar_info' => 'Upload an avatar and cover photo for your profile.

When each user has a unique avatar, it becomes much easier to follow discussions!', - 'security_info' => 'Make sure all your passwords are 8 characters or more, ideally a lot more.', - 'login_info' => 'Authorization gives you the ability to publish posts, reply, comment and vote.', - 'recover_info' => 'After you click the "Reset" button, check your email...', - 'favorite_info' => 'Posts, comments and questions in your bookmarks', - 'preferences_info' => 'Posts you follow. You will be notified of all new replies', 'endless_scroll' => 'Enable infinite scroll?', 'notification_email' => 'Notify by email', - 'notifications_info' => 'You can mark all ads as read by clicking on the link: "I have read".', - 'notification_info' => 'You can unsubscribe from all email notifications in this section', 'notifications_limit' => 'Showing last 100 notifications', /* Notifications and logs */ diff --git a/app/Languages/en/help.php b/app/Languages/en/help.php new file mode 100644 index 00000000..81f581cc --- /dev/null +++ b/app/Languages/en/help.php @@ -0,0 +1,32 @@ + 'Fill in your name, this will help the participants to refer to you by your first name.

Tell us something about yourself. You have a great opportunity to open up to please others and seem like an interesting person.', + 'avatar_info' => 'Upload an avatar and cover photo for your profile.

When each user has a unique avatar, it becomes much easier to follow discussions!', + 'security_info' => 'Make sure all your passwords are 8 characters or more, ideally a lot more.', + 'login_info' => 'Authorization gives you the ability to publish posts, reply, comment and vote.', + 'recover_info' => 'After you click the "Reset" button, check your e-mail.', + 'favorite_info' => 'Posts, comments and questions in your bookmarks.', + 'preferences_info' => 'Posts you follow. You will be notified of all new replies.', + 'notifications_info' => 'You can mark all ads as read by clicking on the link: "I have read".', + 'notification_info' => 'You can unsubscribe from all email notifications in this section.', + + 'messages_info' => 'Private messages with site members. Refrain from spam, be respectful!', + + 'add_post' => 'The first paragraph will be the text preview for the feed page.

Try not to include photos and videos in it. If you need to add a photo, then add it for Overview.', + 'edit_page' => 'Official documentation should be error-free and written more in a formal manner.', + 'edit_post' => 'See what the post looks like on the feed page and in the full version. Improve it here.', + + 'add_topic' => 'A topic is a node (for navigation) used by the system to organize content. The theme is a single point of view, the interpretation of various things, phenomena and other concepts.', + 'add_blog' => 'Add a blog (in development).', + 'edit_topic' => 'Change theme (in development).', + 'edit_blog' => 'Edit blog (in development).', +]; diff --git a/app/Languages/ro/app.php b/app/Languages/ro/app.php index 0e39c16d..aabd38e1 100644 --- a/app/Languages/ro/app.php +++ b/app/Languages/ro/app.php @@ -171,8 +171,13 @@ return [ 'edit' => 'Schimbare', 'save' => 'Salva', 'add' => 'Adăuga', - 'add_option' => 'Adăuga ({name})', - 'edit_option' => 'Schimbare ({name})', + 'add_post' => 'Adaugă postare', + 'add_topic' => 'Adaugă subiect', + 'add_blog' => 'Adaugă blog', + 'edit_post' => 'Editează postarea', + 'edit_topic' => 'Editați subiectul', + 'edit_blog' => 'Editează blogul', + 'edit_page' => 'Editați pagina', 'being_developed' => 'In dezvoltare', 'activity' => 'Activitate', @@ -338,22 +343,11 @@ return [ 'view_post_tl' => 'Cine poate vizualiza postarea (din care TL)', 'invited_you' => 'Ai fost invitat de un membru de pe acest site. Introdu invitația', 'invite_features' => 'Puteți invita prieteni', - 'messages_info' => 'Mesaje private cu membrii site-ului', 'content_deleted' => '{name} îndepărtat', - /* Setare */ - 'setting_info' => 'Completează-ți numele, acest lucru îi va ajuta pe participanți să se refere la tine prin prenumele tău.

Spune-ne ceva despre tine. Ai o oportunitate grozavă să te deschizi pentru a le mulțumi altora și să pari o persoană interesantă.', - 'avatar_info' => 'Încarcă un avatar și o fotografie de copertă pentru profilul tău.

Când fiecare utilizator are un avatar unic, devine mult mai ușor să urmărești discuțiile!', - 'security_info' => 'Asigurați-vă că toate parolele dvs. au 8 caractere sau mai mult, în mod ideal, mult mai multe.', - 'login_info' => 'Autorizarea vă oferă posibilitatea de a publica postări, de a răspunde, de a comenta și de a vota.', - 'recover_info' => 'După ce faceți clic pe butonul „Resetare”, verificați-vă e-mailul...', - 'favorite_info' => 'Postări, comentarii și întrebări în marcajele dvs', - 'preferences_info' => 'Postări pe care le urmăriți. Veți fi notificat cu privire la toate răspunsurile noi', 'endless_scroll' => 'Activați derularea infinită?', 'notification_email' => 'Notificare prin e-mail', - 'notifications_info' => 'Puteți marca toate anunțurile ca citite făcând clic pe linkul: „Am citit”.', - 'notification_info' => 'Vă puteți dezabona de la toate notificările prin e-mail din această secțiune', 'notifications_limit' => 'Se afișează ultimele 100 de notificări', /* Уведомления и логи */ diff --git a/app/Languages/ro/help.php b/app/Languages/ro/help.php new file mode 100644 index 00000000..5c780748 --- /dev/null +++ b/app/Languages/ro/help.php @@ -0,0 +1,32 @@ + 'Completează-ți numele, acest lucru îi va ajuta pe participanți să se refere la tine prin prenumele tău.

Spune-ne ceva despre tine. Ai o oportunitate grozavă să te deschizi pentru a le mulțumi altora și să pari o persoană interesantă.', + 'avatar_info' => 'Încarcă un avatar și o fotografie de copertă pentru profilul tău.

Când fiecare utilizator are un avatar unic, devine mult mai ușor să urmărești discuțiile!', + 'security_info' => 'Asigurați-vă că toate parolele dvs. au 8 caractere sau mai mult, în mod ideal, mult mai multe.', + 'login_info' => 'Autorizarea vă oferă posibilitatea de a publica postări, de a răspunde, de a comenta și de a vota.', + 'recover_info' => 'După ce faceți clic pe butonul „Resetare”, verificați-vă e-mailul.', + 'favorite_info' => 'Postări, comentarii și întrebări în marcajele dvs.', + 'preferences_info' => 'Postări pe care le urmăriți. Veți fi notificat cu privire la toate răspunsurile noi.', + 'notifications_info' => 'Puteți marca toate anunțurile ca citite făcând clic pe linkul: „Am citit”.', + 'notification_info' => 'Vă puteți dezabona de la toate notificările prin e-mail din această secțiune.', + + 'messages_info' => 'Mesaje private cu membrii site-ului. Ferește-te de spam, fii respectuos!', + + 'add_post' => 'Primul paragraf va fi previzualizarea textului pentru pagina de feed.

Încercați să nu includeți fotografii și videoclipuri în el. Dacă trebuie să adăugați o fotografie, adăugați-o pentru Prezentare generală.', + 'edit_page' => 'Documentația oficială ar trebui să nu aibă erori și să fie scrisă mai mult într-o manieră formală.', + 'edit_post' => 'Vezi cum arată postarea pe pagina de feed și în versiunea completă. Îmbunătățiți-l aici.', + + 'add_topic' => 'Un subiect este un nod (pentru navigare) folosit de sistem pentru a organiza conținutul. Tema este un singur punct de vedere, interpretarea diferitelor lucruri, fenomene și alte concepte.', + 'add_blog' => 'Adăugați un blog (în dezvoltare).', + 'edit_topic' => 'Schimbați tema (în dezvoltare).', + 'edit_blog' => 'Изменить блог (в разработке).', +]; diff --git a/app/Languages/ru/app.php b/app/Languages/ru/app.php index 28ce79ba..2c51ea3a 100644 --- a/app/Languages/ru/app.php +++ b/app/Languages/ru/app.php @@ -171,8 +171,13 @@ return [ 'edit' => 'Изменить', 'save' => 'Сохранить', 'add' => 'Добавить', - 'add_option' => 'Добавить ({name})', - 'edit_option' => 'Изменить ({name})', + 'add_post' => 'Добавить пост', + 'add_topic' => 'Добавить тему', + 'add_blog' => 'Добавить блог', + 'edit_post' => 'Изменить пост', + 'edit_topic' => 'Изменить тему', + 'edit_blog' => 'Изменить блог', + 'edit_page' => 'Изменить страницу', 'being_developed' => 'В стадии разработки', 'activity' => 'Активность', @@ -338,22 +343,11 @@ return [ 'view_post_tl' => 'Кто может просматривать пост (с какого TL)', 'invited_you' => 'Вас пригласил участник с этого сайта. Введите инвайт', 'invite_features' => 'Вы можете пригласить друзей', - 'messages_info' => 'Личные сообщения с участниками сайта', 'content_deleted' => '{name} удален', - /* Setting */ - 'setting_info' => 'Заполните ваше имя, это поможет участникам обращаться к вам по имени.

Расскажи что-нибудь о себе. У вас отличная возможность раскрыться, чтобы понравиться окружающим и показаться интересной личностью.', - 'avatar_info' => 'Загрузите аватар и обложку для своего профиля.

Когда каждый пользователь имеет уникальный аватар, следить за обсуждениями становится значительно легче!', - 'security_info' => 'Убедитесь, что все ваши пароли имеют 8 символов и более, в идеале намного больше.', - 'login_info' => 'Авторизация дает вам возможность публиковать посты, отвечать, комментировать и голосовать.', - 'recover_info' => 'После того, как нажмете кнопку «Сбросить», проверьте свой e-mail...', - 'favorite_info' => 'Посты, комментарии и вопросы в ваших закладках', - 'preferences_info' => 'Посты, на которые вы подписаны. Вы будете получать уведомления о всех новых ответах', - 'endless_scroll' => 'Включить бесконечный скролл?', + 'endless_scroll' => 'Включить скролл в ленте?', 'notification_email' => 'Уведомлять по E-mail', - 'notifications_info' => 'Вы можете пометить все объявления, как прочитанные, нажать на ссылку: «Я прочитал».', - 'notification_info' => 'Вы можете отписаться от всех уведомлений на E-mail в этом разделе', 'notifications_limit' => 'Показаны последние 100 уведомлений', /* Уведомления и логи */ diff --git a/app/Languages/ru/help.php b/app/Languages/ru/help.php new file mode 100644 index 00000000..7e214bc4 --- /dev/null +++ b/app/Languages/ru/help.php @@ -0,0 +1,32 @@ + 'Заполните ваше имя, это поможет участникам обращаться к вам по имени.

Расскажи что-нибудь о себе. У вас отличная возможность раскрыться, чтобы понравиться окружающим и показаться интересной личностью.', + 'avatar_info' => 'Загрузите аватар и обложку для своего профиля.

Когда каждый пользователь имеет уникальный аватар, следить за обсуждениями становится значительно легче!', + 'security_info' => 'Убедитесь, что все ваши пароли имеют 8 символов и более, в идеале намного больше.', + 'login_info' => 'Авторизация дает вам возможность публиковать посты, отвечать, комментировать и голосовать.', + 'recover_info' => 'После того, как нажмете кнопку «Сбросить», проверьте свой e-mail.', + 'favorite_info' => 'Посты, комментарии и вопросы в ваших закладках.', + 'preferences_info' => 'Посты, на которые вы подписаны. Вы будете получать уведомления о всех новых ответах.', + 'notifications_info' => 'Вы можете пометить все объявления, как прочитанные, нажать на ссылку: «Я прочитал».', + 'notification_info' => 'Вы можете отписаться от всех уведомлений на E-mail в этом разделе.', + + 'messages_info' => 'Личные сообщения с участниками сайта. Воздерживайтесь от спама, проявляйте уважение!', + + 'add_post' => 'Первый абзац будет превью текста для страницы ленты.

Постарайтесь не включать фото и видео в него. Если необходимо добавить фото, то добавьте его для Обзора.', + 'edit_page' => 'Официальная документация должна быть без ошибок и написана больше в официальной манере.', + 'edit_post' => 'Посмотрите, как выглядит пост на странице ленты и в полной версии. Улучшите его тут.', + + 'add_topic' => 'Тема — то узел (для навигации), используемый системой для организации контента. Тема является единой точкой взода, интерпретацией различных вещей, явлений и других понятий.', + 'add_blog' => 'Добавить блог (в разработке).', + 'edit_topic' => 'Изменить тему (в разработке).', + 'edit_blog' => 'Изменить блог (в разработке).', +]; diff --git a/resources/views/default/content/facets/add.php b/resources/views/default/content/facets/add.php index 07c88da0..b8b22859 100644 --- a/resources/views/default/content/facets/add.php +++ b/resources/views/default/content/facets/add.php @@ -3,9 +3,9 @@ $form = new Forms(); $form->html_form(UserData::getUserTl(), config('form/facet.forma')); ?> -
+
-

()

+

@@ -19,4 +19,11 @@ $form->html_form(UserData::getUserTl(), config('form/facet.forma'));
-
\ No newline at end of file +
+ + \ No newline at end of file diff --git a/resources/views/default/content/facets/edit.php b/resources/views/default/content/facets/edit.php index e6e7f80e..d6524615 100644 --- a/resources/views/default/content/facets/edit.php +++ b/resources/views/default/content/facets/edit.php @@ -3,9 +3,9 @@ $fs = $data['facet']; $url = $fs['facet_type'] == 'category' ? url('web.dir', ['cat' => 'cat', 'slug' => $fs['facet_slug']]) : url($fs['facet_type'], ['slug' => $fs['facet_slug']]); ?> -
+
-

+

\ No newline at end of file +
+ \ No newline at end of file diff --git a/resources/views/default/content/messages/messages.php b/resources/views/default/content/messages/messages.php index 5a094f6d..668d293d 100644 --- a/resources/views/default/content/messages/messages.php +++ b/resources/views/default/content/messages/messages.php @@ -44,6 +44,6 @@ \ No newline at end of file diff --git a/resources/views/default/content/notification/index.php b/resources/views/default/content/notification/index.php index 24749d31..b6149302 100644 --- a/resources/views/default/content/notification/index.php +++ b/resources/views/default/content/notification/index.php @@ -37,6 +37,6 @@ \ No newline at end of file diff --git a/resources/views/default/content/post/add.php b/resources/views/default/content/post/add.php index d9c0a876..697aa72d 100644 --- a/resources/views/default/content/post/add.php +++ b/resources/views/default/content/post/add.php @@ -1,8 +1,6 @@ -
+
- - / - __('app.post')]); ?> +

@@ -117,4 +115,10 @@

-
\ No newline at end of file +
+ \ No newline at end of file diff --git a/resources/views/default/content/post/edit.php b/resources/views/default/content/post/edit.php index f2af9309..fb1314f6 100644 --- a/resources/views/default/content/post/edit.php +++ b/resources/views/default/content/post/edit.php @@ -1,8 +1,7 @@ -
+
- - / __('app.' . $post['post_type'])]); ?> +

@@ -173,4 +172,10 @@

-
\ No newline at end of file +
+ \ No newline at end of file diff --git a/resources/views/default/content/user/setting/avatar.php b/resources/views/default/content/user/setting/avatar.php index 782091a2..bd7588ef 100644 --- a/resources/views/default/content/user/setting/avatar.php +++ b/resources/views/default/content/user/setting/avatar.php @@ -59,6 +59,6 @@ \ No newline at end of file diff --git a/resources/views/default/content/user/setting/notifications.php b/resources/views/default/content/user/setting/notifications.php index 52572da3..b1436ef5 100644 --- a/resources/views/default/content/user/setting/notifications.php +++ b/resources/views/default/content/user/setting/notifications.php @@ -21,6 +21,6 @@ $form->html_form(UserData::getUserTl(), config('form/user-notifications')); \ No newline at end of file diff --git a/resources/views/default/content/user/setting/security.php b/resources/views/default/content/user/setting/security.php index 43699f03..47ffca04 100644 --- a/resources/views/default/content/user/setting/security.php +++ b/resources/views/default/content/user/setting/security.php @@ -22,6 +22,6 @@ $form->html_form(UserData::getUserTl(), config('form/user-security')); \ No newline at end of file diff --git a/resources/views/default/content/user/setting/setting.php b/resources/views/default/content/user/setting/setting.php index 6025d2a6..de5085a3 100644 --- a/resources/views/default/content/user/setting/setting.php +++ b/resources/views/default/content/user/setting/setting.php @@ -91,6 +91,6 @@ \ No newline at end of file diff --git a/resources/views/qa/content/facets/add.php b/resources/views/qa/content/facets/add.php index a341e268..3d9f40f6 100644 --- a/resources/views/qa/content/facets/add.php +++ b/resources/views/qa/content/facets/add.php @@ -3,9 +3,9 @@ $form = new Forms(); $form->html_form(UserData::getUserTl(), config('form/facet.forma')); ?> -
-
-

()

+
+
+

@@ -18,4 +18,11 @@ $form->html_form(UserData::getUserTl(), config('form/facet.forma'));
-
\ No newline at end of file +
+ + \ No newline at end of file diff --git a/resources/views/qa/content/facets/edit.php b/resources/views/qa/content/facets/edit.php index a94d96ec..720f6122 100644 --- a/resources/views/qa/content/facets/edit.php +++ b/resources/views/qa/content/facets/edit.php @@ -3,10 +3,9 @@ $fs = $data['facet']; $url = $fs['facet_type'] == 'category' ? url('web.dir', ['cat' => 'cat', 'slug' => $fs['facet_slug']]) : url($fs['facet_type'], ['slug' => $fs['facet_slug']]); ?> -
- +
-

+

-
\ No newline at end of file +
+ \ No newline at end of file diff --git a/resources/views/qa/content/messages/messages.php b/resources/views/qa/content/messages/messages.php index 8117947c..1af2779f 100644 --- a/resources/views/qa/content/messages/messages.php +++ b/resources/views/qa/content/messages/messages.php @@ -1,5 +1,5 @@
-
+

@@ -44,6 +44,6 @@
\ No newline at end of file diff --git a/resources/views/qa/content/notification/index.php b/resources/views/qa/content/notification/index.php index 19ade8dd..7e948c41 100644 --- a/resources/views/qa/content/notification/index.php +++ b/resources/views/qa/content/notification/index.php @@ -1,4 +1,4 @@ -
+

@@ -37,6 +37,6 @@
\ No newline at end of file diff --git a/resources/views/qa/content/post/add.php b/resources/views/qa/content/post/add.php index a9e9a75f..2165b52c 100644 --- a/resources/views/qa/content/post/add.php +++ b/resources/views/qa/content/post/add.php @@ -1,8 +1,6 @@
-
- - / - __('app.post')]); ?> +
+

@@ -60,7 +58,7 @@ '250px', 'type' => 'post-telo', 'id' => 0]); ?> - + [ [ @@ -117,4 +115,10 @@

-
\ No newline at end of file +
+ \ No newline at end of file diff --git a/resources/views/qa/content/post/edit.php b/resources/views/qa/content/post/edit.php index 44c794ea..f79d00d3 100644 --- a/resources/views/qa/content/post/edit.php +++ b/resources/views/qa/content/post/edit.php @@ -1,8 +1,7 @@
-
- - / __('app.' . $post['post_type'])]); ?> +
+

@@ -176,4 +175,10 @@

-
\ 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 @@ -
+
$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 @@ + +
+ + $topic, 'data' => $data]); ?> + $data]); ?> + $topic['facet_slug']])); ?> + + +
+ +
+
+ +
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 @@ +
+
+ +
+ +
+

+ + + + + +

+
+ +
+
+ + + + + +
+ +

+ +
+ + $data]); ?> + $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');