From 7ab8303c7e2f2910f53053f0f55a3b3b17701794 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 20 Sep 2017 23:06:04 +0200 Subject: [PATCH] Pages, and static pages --- bl-kernel/admin/controllers/edit-page.php | 2 +- bl-kernel/admin/controllers/new-page.php | 2 +- bl-kernel/admin/views/edit-page.php | 3 ++- bl-kernel/admin/views/new-page.php | 2 +- bl-languages/en.json | 15 ++++++++------- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/bl-kernel/admin/controllers/edit-page.php b/bl-kernel/admin/controllers/edit-page.php index bf8e98ed..5c27b8e4 100644 --- a/bl-kernel/admin/controllers/edit-page.php +++ b/bl-kernel/admin/controllers/edit-page.php @@ -45,4 +45,4 @@ if ($page===false) { } // Title of the page -$layout['title'] .= ' - '.$Language->g('Edit Content').' - '.$page->title(); \ No newline at end of file +$layout['title'] .= ' - '.$Language->g('Edit page').' - '.$page->title(); \ No newline at end of file diff --git a/bl-kernel/admin/controllers/new-page.php b/bl-kernel/admin/controllers/new-page.php index 699bfefd..ce11e39a 100644 --- a/bl-kernel/admin/controllers/new-page.php +++ b/bl-kernel/admin/controllers/new-page.php @@ -26,4 +26,4 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { // ============================================================================ // Title of the page -$layout['title'] .= ' - '.$Language->g('New content'); \ No newline at end of file +$layout['title'] .= ' - '.$Language->g('New page'); \ No newline at end of file diff --git a/bl-kernel/admin/views/edit-page.php b/bl-kernel/admin/views/edit-page.php index f1445ff1..45cfbb87 100644 --- a/bl-kernel/admin/views/edit-page.php +++ b/bl-kernel/admin/views/edit-page.php @@ -186,7 +186,8 @@ echo '
'; 'name'=>'position', 'value'=>$page->position(), 'class'=>'uk-width-1-1 uk-form-medium', - 'label'=>$L->g('Position') + 'label'=>$L->g('Position'), + 'tip'=>$L->g('This field is used when you order the pages by position') )); // External Coverimage diff --git a/bl-kernel/admin/views/new-page.php b/bl-kernel/admin/views/new-page.php index a7470b84..315e7cb3 100644 --- a/bl-kernel/admin/views/new-page.php +++ b/bl-kernel/admin/views/new-page.php @@ -161,7 +161,7 @@ echo '
'; 'value'=>'1', 'class'=>'uk-width-1-1 uk-form-medium', 'label'=>$L->g('Position'), - 'tip'=>$L->g('This field is used when you order the page by position') + 'tip'=>$L->g('This field is used when you order the pages by position') )); // External Coverimage diff --git a/bl-languages/en.json b/bl-languages/en.json index d8674137..32b3bb70 100644 --- a/bl-languages/en.json +++ b/bl-languages/en.json @@ -30,16 +30,16 @@ "website": "Website", "publish": "Publish", "manage": "Manage", - "content": "Content", + "category": "Category", "categories": "Categories", "users": "Users", "settings": "Settings", "general": "General", "advanced": "Advanced", - "new-content": "New content", - "manage-content": "Manage content", - "add-new-content": "Add new content", + + + "new-category": "New category", "you-do-not-have-sufficient-permissions": "You do not have sufficient permissions", "add-a-new-user": "Add a new user", @@ -84,7 +84,7 @@ "external-cover-image": "External cover image", "parent": "Parent", "full-image-url": "Full image URL.", - "this-field-is-used-when-you-order-the-content-by-position": "This field is used when you order the content by position.", + "position": "Position", "friendly-url": "Friendly URL", "image-description": "Image description", @@ -131,7 +131,7 @@ "editor": "Editor", "administrator": "Administrator", "edit-user": "Edit user", - "edit-content": "Edit content", + "profile": "Profile", "change-password": "Change password", "enabled": "Enabled", @@ -210,5 +210,6 @@ "edit-page": "Edit page", "create-a-new-category-to-organize-your-pages": "Create a new category to organize your pages", "edit-or-delete-pages-from-your-site": "Edit or delete pages from your site", - "add-new-page": "Add new page" + "add-new-page": "Add new page", + "this-field-is-used-when-you-order-the-pages-by-position": "This field is used when you order the pages by position." } \ No newline at end of file