Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Quick Topic feature #3800

Merged
merged 10 commits into from
May 18, 2024
2 changes: 1 addition & 1 deletion sources/ElkArte/AdminController/ManageDraftsModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static function addCoreFeature(&$core_features)
'setting_callback' => static function ($value) {
require_once(SUBSDIR . '/ScheduledTasks.subs.php');
toggleTaskStatusByName('remove_old_drafts', $value);
$modules = array('admin', 'post', 'display', 'profile', 'personalmessage');
$modules = ['admin', 'post', 'display', 'profile', 'personalmessage', 'messageindex'];

// Enabling, let's register the modules and prepare the scheduled task
if ($value)
Expand Down
10 changes: 9 additions & 1 deletion sources/ElkArte/Controller/Display.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,16 @@ public function action_display()
'width' => '100%',
'smiley_container' => 'smileyBox_message',
'bbc_container' => 'bbcBox_message',
// We do XML preview here.
// We submit/switch to full post page for the preview
'preview_type' => 1,
'buttons' => [
'more' => [
'type' => 'submit',
'name' => 'more_options',
'value' => $txt['post_options'],
'options' => ''
]
],
];

// Load the template basics now as template_layers is requested by the prepare_context event
Expand Down
Loading
Loading