+
+
+
+ @include('admin.snippets.hasError', ['field' => 'parentPage'])
+
+
+
@if($module->support_categories && count($categories))
-
-
+
+
-
@endif
-
\ No newline at end of file
+
+
+
+
+
+
diff --git a/modules/Blog/Article/composer.json b/modules/Blog/Article/composer.json
deleted file mode 100644
index a7baacdf..00000000
--- a/modules/Blog/Article/composer.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name": "pingpong-modules/article",
- "description": "",
- "authors": [
- {
- "name": "Pingpong Labs",
- "email": "pingpong.labs@gmail.com"
- }
- ],
- "autoload": {
- "psr-4": {
- "Modules\\Article\\": ""
- }
- }
-}
\ No newline at end of file
diff --git a/modules/Blog/Comments/Config/config.php b/modules/Blog/Comments/Config/config.php
deleted file mode 100644
index 248333ab..00000000
--- a/modules/Blog/Comments/Config/config.php
+++ /dev/null
@@ -1,12 +0,0 @@
- 'Comments',
- 'translatedName' => 'comments::module.name',
- 'translatedDescription' => 'comments::module.description',
- 'alias' => 'blog-comments',
- 'handler' => \Modules\Blog\Comments\Handlers\Comments::class,
- 'providers' => [\Modules\Blog\Comments\Providers\CommentsServiceProvider::class],
- 'files' => ['start.php'],
- 'order' => 0,
-];
\ No newline at end of file
diff --git a/modules/Blog/Comments/Entities/.gitkeep b/modules/Blog/Comments/Entities/.gitkeep
deleted file mode 100644
index e69de29b..00000000
diff --git a/modules/Blog/Comments/Handlers/Comments.php b/modules/Blog/Comments/Handlers/Comments.php
deleted file mode 100644
index b2674d0d..00000000
--- a/modules/Blog/Comments/Handlers/Comments.php
+++ /dev/null
@@ -1,37 +0,0 @@
-dropdown(trans('comments::module.name'), function ($sub) {
- $sub->route('comments.overview', trans('comments::module.overview'), [], 10, ['icon' => 'fa fa-fw fa-commenting-o']);
- }, 10, ['icon' => 'fa fa-fw fa-comments-o']);
- }
-}
\ No newline at end of file
diff --git a/modules/Blog/Comments/Http/Controllers/ArticleListController.php b/modules/Blog/Comments/Http/Controllers/ArticleListController.php
deleted file mode 100644
index 33ad274f..00000000
--- a/modules/Blog/Comments/Http/Controllers/ArticleListController.php
+++ /dev/null
@@ -1,12 +0,0 @@
- 'web', 'prefix' => 'comments', 'namespace' => 'Modules\Blog\Comments\Http\Controllers'], function()
-{
- Route::get('/', 'CommentsController@index')->name('comments.overview');
-});
\ No newline at end of file
diff --git a/modules/Blog/Comments/Providers/CommentsServiceProvider.php b/modules/Blog/Comments/Providers/CommentsServiceProvider.php
deleted file mode 100644
index adb026f2..00000000
--- a/modules/Blog/Comments/Providers/CommentsServiceProvider.php
+++ /dev/null
@@ -1,89 +0,0 @@
-registerTranslations();
- $this->registerConfig();
- $this->registerViews();
- }
-
- /**
- * Register the service provider.
- *
- * @return void
- */
- public function register()
- {
- }
-
- /**
- * Register config.
- *
- * @return void
- */
- protected function registerConfig()
- {
- $this->publishes([__DIR__.'/../Config/config.php' => config_path('comments.php')]);
- $this->mergeConfigFrom(__DIR__.'/../Config/config.php', 'comments');
- }
-
- /**
- * Register views.
- *
- * @return void
- */
- public function registerViews()
- {
- $viewPath = base_path('resources/views/modules/comments');
- $sourcePath = __DIR__.'/../Resources/views';
-
- $this->publishes([$sourcePath => $viewPath]);
-
- $this->loadViewsFrom(array_merge(array_map(function ($path) {
- return $path . '/modules/comments';
- }, \Config::get('view.paths')), [$sourcePath]), 'comments');
- }
-
- /**
- * Register translations.
- *
- * @return void
- */
- public function registerTranslations()
- {
- $langPath = base_path('resources/lang/modules/comments');
-
- if (is_dir($langPath)) {
- $this->loadTranslationsFrom($langPath, 'comments');
- } else {
- $this->loadTranslationsFrom(__DIR__ .'/../Resources/lang', 'comments');
- }
- }
-
- /**
- * Get the services provided by the provider.
- *
- * @return array
- */
- public function provides()
- {
- return array();
- }
-
-}
diff --git a/modules/Blog/Comments/Resources/lang/en/module.php b/modules/Blog/Comments/Resources/lang/en/module.php
deleted file mode 100644
index e83dd573..00000000
--- a/modules/Blog/Comments/Resources/lang/en/module.php
+++ /dev/null
@@ -1,6 +0,0 @@
- 'Comments',
- 'description' => "Bring comment support to blog module",
- 'overview' => 'All comments'
-];
\ No newline at end of file
diff --git a/modules/Blog/Comments/start.php b/modules/Blog/Comments/start.php
deleted file mode 100644
index 7be329cb..00000000
--- a/modules/Blog/Comments/start.php
+++ /dev/null
@@ -1,15 +0,0 @@
-