Disable short_header_with_subject for mobile clients.

This commit is contained in:
Retro_Guy 2024-12-03 03:06:45 -07:00
parent fc4d9b27e8
commit e801841038
1 changed files with 6 additions and 0 deletions

View File

@ -562,6 +562,12 @@ function show_header_short($head, $group, $local_poster = false)
global $article_show, $text_header, $file_article, $file_thread, $attachment_show;
global $file_attachment, $CONFIG, $config_name, $sitelink;
global $OVERRIDES;
/* Mobile specific settings */
if (get_client_user_agent_info() == 'mobile') {
$OVERRIDES['short_header_show_from_in_subject'] = false;
}
if (isset($OVERRIDES['short_header_show_from_in_subject']) && $OVERRIDES['short_header_show_from_in_subject'] == true) {
show_header_short_with_subject($head, $group, $local_poster);
return;