Skip to content

Commit

Permalink
[TASK] Split blog backend modules
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Aug 19, 2019
1 parent 8a34e35 commit fd16da9
Show file tree
Hide file tree
Showing 43 changed files with 181 additions and 80 deletions.
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

$GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [
0 => 'LLL:EXT:blog/Resources/Private/Language/locallang_mod.xlf:blog-folder',
0 => 'LLL:EXT:blog/Resources/Private/Language/locallang_db.xlf:blog-folder',
1 => 'blog',
2 => 'apps-pagetree-folder-contains-blog',
];
Expand Down
4 changes: 4 additions & 0 deletions Resources/Private/Language/locallang_db.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<file t3:id="1557352031" source-language="en" datatype="plaintext" original="messages" date="2019-05-08T21:47:12Z" product-name="blog">
<header/>
<body>
<trans-unit id="blog-folder">
<source>Blog</source>
</trans-unit>

<trans-unit id="wizard.group.blog" xml:space="preserve">
<source>Blog</source>
</trans-unit>
Expand Down
14 changes: 14 additions & 0 deletions Resources/Private/Language/locallang_mod_blog.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1566248213" source-language="en" datatype="plaintext" original="messages" product-name="lang">
<header/>
<body>
<trans-unit id="mlang_labels_tablabel">
<source>Blog administration</source>
</trans-unit>
<trans-unit id="mlang_tabs_tab">
<source>Blog</source>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1557352032" source-language="en" datatype="plaintext" original="messages" date="2019-05-08T21:47:12Z" product-name="blog">
<file t3:id="1566248210" source-language="en" datatype="plaintext" original="messages" product-name="blog">
<header/>
<body>
<trans-unit id="mlang_labels_tablabel">
<source>Blog</source>
<source>Comments</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source>Blog</source>
<source>Comments</source>
</trans-unit>
<trans-unit id="mlang_tabs_tab">
<source>Blog</source>
</trans-unit>
<trans-unit id="blog-folder">
<source>Blog</source>
<source>Comments</source>
</trans-unit>
</body>
</file>
Expand Down
17 changes: 17 additions & 0 deletions Resources/Private/Language/locallang_mod_blog_posts.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1566248211" source-language="en" datatype="plaintext" original="messages" product-name="blog">
<header/>
<body>
<trans-unit id="mlang_labels_tablabel">
<source>Posts</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source>Posts</source>
</trans-unit>
<trans-unit id="mlang_tabs_tab">
<source>Posts</source>
</trans-unit>
</body>
</file>
</xliff>
17 changes: 17 additions & 0 deletions Resources/Private/Language/locallang_mod_blog_setup.xlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1566248212" source-language="en" datatype="plaintext" original="messages" product-name="blog">
<header/>
<body>
<trans-unit id="mlang_labels_tablabel">
<source>Setup</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source>Setup</source>
</trans-unit>
<trans-unit id="mlang_tabs_tab">
<source>Setup</source>
</trans-unit>
</body>
</file>
</xliff>
3 changes: 3 additions & 0 deletions Resources/Private/Layouts/Backend.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<f:flashMessages />
<f:render section="Intro" arguments="{_all}" />
<f:render section="Content" arguments="{_all}" />
8 changes: 0 additions & 8 deletions Resources/Private/Layouts/BackendSystem.html

This file was deleted.

8 changes: 0 additions & 8 deletions Resources/Private/Layouts/BackendWeb.html

This file was deleted.

5 changes: 0 additions & 5 deletions Resources/Private/Partials/Backend/NavigationSystem.html

This file was deleted.

8 changes: 0 additions & 8 deletions Resources/Private/Partials/Backend/NavigationWeb.html

This file was deleted.

2 changes: 1 addition & 1 deletion Resources/Private/Templates/Backend/Comments.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<f:layout name="BackendWeb" />
<f:layout name="Backend" />
<f:section name="Intro">
<h1><f:translate key="backend.headline.comments" /></h1>
<p class="lead"><f:translate key="backend.lead.comments" /></p>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Backend/Posts.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<f:layout name="BackendWeb" />
<f:layout name="Backend" />
<f:section name="Intro">
<h1><f:translate key="backend.headline.posts" /></h1>
<p class="lead"><f:translate key="backend.lead.posts" /></p>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Backend/SetupWizard.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<f:layout name="BackendSystem" />
<f:layout name="Backend" />
<f:section name="Intro">
<h1><f:translate key="backend.headline.setup_wizard" /></h1>
<p class="lead"><f:translate key="backend.lead.blogs" /></p>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Icons/apps-pagetree-blog-author.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/Icons/apps-pagetree-blog-category.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/Icons/apps-pagetree-blog-comment-todo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/Icons/apps-pagetree-blog-comment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/Icons/apps-pagetree-blog-post.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/Icons/apps-pagetree-blog-tag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Resources/Public/Icons/apps-pagetree-blog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions Resources/Public/Icons/module-blog-comments.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions Resources/Public/Icons/module-blog-posts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Resources/Public/Icons/module-blog-setup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fd16da9

Please sign in to comment.