diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index adb8716..75cb759 100755 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -9,5 +9,5 @@ jobs: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: 'Thank you for createing this issue. We will check it as soon as possible.' + issue-message: 'Thank you for creating this issue. We will check it as soon as possible.' pr-message: 'Thank you for your pull request. We will check it as soon as possible.' diff --git a/Admin/Install/SearchCommands.php b/Admin/Install/SearchCommands.php index b77759d..a380018 100644 --- a/Admin/Install/SearchCommands.php +++ b/Admin/Install/SearchCommands.php @@ -23,6 +23,7 @@ return [ 'dest' => '\Modules\News\Controller\SearchController:searchGeneral', 'verb' => RouteVerb::ANY, 'active' => true, + 'order' => 6, 'permission' => [ 'module' => SearchController::NAME, 'type' => PermissionType::READ, diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 736935b..3e4bf31 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -286,9 +286,11 @@ final class ApiController extends Controller $newsArticle->comments = $commnetList; } + /* if ($request->hasData('tags')) { $newsArticle->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request); } + */ return $newsArticle; } diff --git a/Theme/Backend/dashboard-news.tpl.php b/Theme/Backend/dashboard-news.tpl.php index e6389db..a924ef0 100755 --- a/Theme/Backend/dashboard-news.tpl.php +++ b/Theme/Backend/dashboard-news.tpl.php @@ -22,7 +22,7 @@ use phpOMS\Uri\UriFactory; $newsList = $this->data['news'] ?? []; ?>
-
+
getHtml('News', 'News'); ?>
@@ -68,5 +68,5 @@ $newsList = $this->data['news'] ?? []; - + \ No newline at end of file diff --git a/Theme/Backend/news-dashboard.tpl.php b/Theme/Backend/news-dashboard.tpl.php index 50dcd8a..66db9e8 100755 --- a/Theme/Backend/news-dashboard.tpl.php +++ b/Theme/Backend/news-dashboard.tpl.php @@ -30,7 +30,7 @@ echo $this->data['nav']->render(); ?> $url = UriFactory::build('{/base}/news/article?id=' . $news->id); $profile = UriFactory::build('profile/view?{?}&id=' . $news->createdBy->id); ?> -
+
id, $seen)) ? '' : ''; ?> printHtml($news->title); ?> @@ -56,7 +56,7 @@ echo $this->data['nav']->render(); ?> getHtml('More', '0', '0'); ?>
- +