A lot of things
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"from_class": "XF\\Entity\\ApprovalQueue",
|
||||
"to_class": "RomhackPlaza\\Master\\XF\\Entity\\ApprovalQueue",
|
||||
"execute_order": 10,
|
||||
"active": true
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"from_class": "XF\\Pub\\Controller\\MiscController",
|
||||
"to_class": "RomhackPlaza\\Master\\XF\\Pub\\Controller\\MiscController",
|
||||
"execute_order": 10,
|
||||
"active": true
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"from_class": "XF\\Service\\Report\\CreatorService",
|
||||
"to_class": "RomhackPlaza\\Master\\XF\\Service\\Report\\CreatorService",
|
||||
"execute_order": 10,
|
||||
"active": true
|
||||
}
|
||||
@@ -1,8 +1,17 @@
|
||||
{
|
||||
"XF-Entity-ApprovalQueue_RomhackPlaza-Master-XF-Entity-ApprovalQueue.json": {
|
||||
"hash": "f4364e1ec74dfa80ff24368486e66ffb"
|
||||
},
|
||||
"XF-Entity-Forum_RomhackPlaza-Master-XF-Entity-Forum.json": {
|
||||
"hash": "c7747b6ea6bd924d2d02e82917ff0df3"
|
||||
},
|
||||
"XF-Entity-User_RomhackPlaza-Master-XF-Entity-User.json": {
|
||||
"hash": "811593d6f012a53b9fa2ced871de96a9"
|
||||
},
|
||||
"XF-Pub-Controller-MiscController_RomhackPlaza-Master-XF-Pub-Controller-MiscController.json": {
|
||||
"hash": "1071fd498b2958031153de55eb4ca66a"
|
||||
},
|
||||
"XF-Service-Report-CreatorService_RomhackPlaza-Master-XF-Service-Report-CreatorService.json": {
|
||||
"hash": "2def6639766241a5f2ff3c10fc168731"
|
||||
}
|
||||
}
|
||||
@@ -5,10 +5,22 @@
|
||||
"club-entity.json": {
|
||||
"hash": "ed572323131987e295051165e4ec3c5e"
|
||||
},
|
||||
"rhpz_entry_featurerequest-approval_queue_handler_class.json": {
|
||||
"hash": "0452fab1abce77fa92858ee46c615d8a"
|
||||
},
|
||||
"rhpz_entry_featurerequest-entity.json": {
|
||||
"hash": "62ab52f94cdc49ced9c18dd31eaf7f8c"
|
||||
},
|
||||
"romhackplaza_entry-entity.json": {
|
||||
"hash": "8686ffd261eb8c1698a3ec6e31118f02"
|
||||
},
|
||||
"romhackplaza_entry-report_handler_class.json": {
|
||||
"hash": "3e3d009b1b4671a506accc2e920307b2"
|
||||
},
|
||||
"romhackplaza_news-entity.json": {
|
||||
"hash": "97f9641ceb338c2fdd489e2eed7fb7d1"
|
||||
},
|
||||
"romhackplaza_news-report_handler_class.json": {
|
||||
"hash": "8af48d739b42b8794fd802eaf72e2025"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "rhpz_entry_featurerequest",
|
||||
"field_name": "approval_queue_handler_class",
|
||||
"field_value": "RomhackPlaza\\Master\\ApprovalQueue\\EntryFeaturedRequest"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "rhpz_entry_featurerequest",
|
||||
"field_name": "entity",
|
||||
"field_value": "RomhackPlaza\\Master\\Entity\\EntryFeaturedRequest"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "romhackplaza_news",
|
||||
"field_name": "entity",
|
||||
"field_value": "RomhackPlaza\\Master\\Entity\\News"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"content_type": "romhackplaza_news",
|
||||
"field_name": "report_handler_class",
|
||||
"field_value": "RomhackPlaza\\Master\\Report\\News"
|
||||
}
|
||||
@@ -10,6 +10,17 @@
|
||||
|
||||
namespace RomhackPlaza\Master\XF\Entity
|
||||
{
|
||||
class XFCP_ApprovalQueue extends \XF\Entity\ApprovalQueue {}
|
||||
class XFCP_Forum extends \XF\Entity\Forum {}
|
||||
class XFCP_User extends \XF\Entity\User {}
|
||||
}
|
||||
|
||||
namespace RomhackPlaza\Master\XF\Pub\Controller
|
||||
{
|
||||
class XFCP_MiscController extends \XF\Pub\Controller\MiscController {}
|
||||
}
|
||||
|
||||
namespace RomhackPlaza\Master\XF\Service\Report
|
||||
{
|
||||
class XFCP_CreatorService extends \XF\Service\Report\CreatorService {}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
"members.json": {
|
||||
"hash": "cad1568d161bea1a7dd1f286b8788e2d"
|
||||
},
|
||||
"news.json": {
|
||||
"hash": "c42353e9a510b365d09f2b64af401e55"
|
||||
},
|
||||
"pages.json": {
|
||||
"hash": "8d75bf99b2fb6528f84433f4519d4da3"
|
||||
},
|
||||
@@ -45,7 +48,7 @@
|
||||
"hash": "e14613a1bd0f1e1fadc084a009801570"
|
||||
},
|
||||
"rom_patcher.json": {
|
||||
"hash": "2a2af404aa6395b02c711867a7287a6f"
|
||||
"hash": "dff75392eea1fdffdaec193913d5d8a0"
|
||||
},
|
||||
"submissions_queue.json": {
|
||||
"hash": "071c745afd8f28cf9505702496f72a18"
|
||||
|
||||
13
_output/navigation/news.json
Normal file
13
_output/navigation/news.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parent_navigation_id": "website",
|
||||
"display_order": 250,
|
||||
"navigation_type_id": "basic",
|
||||
"type_config": {
|
||||
"link": "{$xf.options.homePageUrl}/news",
|
||||
"display_condition": "",
|
||||
"extra_attributes": {
|
||||
"icon": "newspaper"
|
||||
}
|
||||
},
|
||||
"enabled": true
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
"display_order": 100,
|
||||
"navigation_type_id": "basic",
|
||||
"type_config": {
|
||||
"link": "{$xf.options.homePageUrl}/tools/rom-patcher",
|
||||
"link": "{$xf.options.homePageUrl}/patch",
|
||||
"display_condition": "",
|
||||
"extra_attributes": {
|
||||
"icon": "stamp"
|
||||
|
||||
@@ -71,6 +71,12 @@
|
||||
"version_string": "1.0.0",
|
||||
"hash": "ef53538ae41a651c7f72ab6cb1135d8c"
|
||||
},
|
||||
"nav.news.txt": {
|
||||
"global_cache": false,
|
||||
"version_id": 1000000,
|
||||
"version_string": "1.0.0",
|
||||
"hash": "dd1ba1872df91985ed1ca4cde2dfe669"
|
||||
},
|
||||
"nav.pages.txt": {
|
||||
"global_cache": false,
|
||||
"version_id": 1000000,
|
||||
|
||||
1
_output/phrases/nav.news.txt
Normal file
1
_output/phrases/nav.news.txt
Normal file
@@ -0,0 +1 @@
|
||||
News
|
||||
@@ -10,5 +10,8 @@
|
||||
},
|
||||
"public_romhackplaza_entry_.json": {
|
||||
"hash": "2c40d7266fcc22a5727830a69af2360c"
|
||||
},
|
||||
"public_romhackplaza_news_.json": {
|
||||
"hash": "a012e23a91029aead56b061747d0334a"
|
||||
}
|
||||
}
|
||||
11
_output/routes/public_romhackplaza_news_.json
Normal file
11
_output/routes/public_romhackplaza_news_.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"route_type": "public",
|
||||
"route_prefix": "romhackplaza_news",
|
||||
"sub_name": "",
|
||||
"format": ":int<id>",
|
||||
"build_class": "",
|
||||
"build_method": "",
|
||||
"controller": "RomhackPlaza\\Master:News",
|
||||
"context": "",
|
||||
"action_prefix": ""
|
||||
}
|
||||
@@ -7,5 +7,8 @@
|
||||
},
|
||||
"public/rhpz_category_view_clubs_submit_button.json": {
|
||||
"hash": "a24a5a4b130b6198de7ef37610aa1a7d"
|
||||
},
|
||||
"public/rhpz_forum_overview_wrapper_search_button.json": {
|
||||
"hash": "af109f16aca8a12c4f8496fc4431f4b8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"template": "forum_overview_wrapper",
|
||||
"description": "Add Search button",
|
||||
"execution_order": 10,
|
||||
"enabled": true,
|
||||
"action": "str_replace",
|
||||
"find": "\t\t<xf:button href=\"{{ $xf.options.forumsDefaultPage == 'new_posts' ? link('forums/new-posts') : link('whats-new/posts') }}\" icon=\"bolt\">\n\t\t\t{{ phrase('new_posts') }}\n\t\t</xf:button>",
|
||||
"replace": "\t\t$0\n\t\t<xf:button href=\"{{ link('search') }}\" icon=\"magnifying-glass\">\n\t\t\t{{ phrase('search') }}\n\t\t</xf:button>"
|
||||
}
|
||||
@@ -9,6 +9,11 @@
|
||||
"version_string": "1.0.0",
|
||||
"hash": "da1f9c78c4e33597062258c0bba3cb4d"
|
||||
},
|
||||
"public/approval_item_entry_featured_request.html": {
|
||||
"version_id": 1000000,
|
||||
"version_string": "1.0.0",
|
||||
"hash": "1383f7fa1680c2da22cfc08aa1ad55f5"
|
||||
},
|
||||
"public/club_delete_confirm.html": {
|
||||
"version_id": 1000000,
|
||||
"version_string": "1.0.0",
|
||||
@@ -28,5 +33,10 @@
|
||||
"version_id": 1000000,
|
||||
"version_string": "1.0.0",
|
||||
"hash": "d6c5c25a9af81a7da2bd8e2b9f74229e"
|
||||
},
|
||||
"public/report_content_romhackplaza_news.html": {
|
||||
"version_id": 1000000,
|
||||
"version_string": "1.0.0",
|
||||
"hash": "d6c5c25a9af81a7da2bd8e2b9f74229e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<xf:macro id="approval_queue_macros::item_message_type"
|
||||
arg-content="{$content}"
|
||||
arg-user="{$content.User}"
|
||||
arg-messageHtml="{$content.entry_title}"
|
||||
arg-contentDate="{$content.featured_request_date}"
|
||||
arg-typePhraseHtml="Featured Request"
|
||||
arg-headerPhrase="{$content.entry_title}"
|
||||
arg-spamDetails="{$spamDetails}"
|
||||
arg-unapprovedItem="{$unapprovedItem}"
|
||||
arg-handler="{$handler}"
|
||||
/>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="block-row block-row--separated">
|
||||
{{ phrase('content:') }}
|
||||
{$report.content_info.description}
|
||||
</div>
|
||||
Reference in New Issue
Block a user