mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
[ticket/12369] Add template var {BODY_CLASS} to HTML body
http://tracker.phpbb.com/browse/PHPBB3-12369 PHPBB3-12369
This commit is contained in:
parent
f0176b5393
commit
5bb0c65c24
@ -4928,7 +4928,8 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||
'LOGGED_IN_USER_LIST' => $online_userlist,
|
||||
'RECORD_USERS' => $l_online_record,
|
||||
'PRIVATE_MESSAGE_COUNT' => (!empty($user->data['user_unread_privmsg'])) ? $user->data['user_unread_privmsg'] : 0,
|
||||
'HIDDEN_FIELDS_FOR_JUMPBOX' => $hidden_fields_for_jumpbox,
|
||||
'HIDDEN_FIELDS_FOR_JUMPBOX' => $hidden_fields_for_jumpbox,
|
||||
'BODY_CLASS' => '',
|
||||
|
||||
'UNREAD_NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
|
||||
'NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
|
||||
|
@ -48,7 +48,7 @@
|
||||
{$STYLESHEETS}
|
||||
|
||||
</head>
|
||||
<body id="phpbb" class="nojs section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
|
||||
<body id="phpbb" class="nojs section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}">
|
||||
|
||||
<!-- EVENT overall_header_body_before -->
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
</head>
|
||||
|
||||
<body id="phpbb" class="nojs {S_CONTENT_DIRECTION}">
|
||||
<body id="phpbb" class="nojs {S_CONTENT_DIRECTION} {BODY_CLASS}">
|
||||
|
||||
<!-- EVENT simple_header_body_before -->
|
||||
|
||||
|
@ -132,7 +132,7 @@ function marklist(id, name, state)
|
||||
{$STYLESHEETS}
|
||||
|
||||
</head>
|
||||
<body class="{S_CONTENT_DIRECTION}">
|
||||
<body class="{S_CONTENT_DIRECTION} {BODY_CLASS}">
|
||||
|
||||
<!-- EVENT overall_header_body_before -->
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<link rel="stylesheet" href="{T_STYLESHEET_LANG_LINK}" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body class="{S_CONTENT_DIRECTION}">
|
||||
<body class="{S_CONTENT_DIRECTION} {BODY_CLASS}">
|
||||
<!-- EVENT simple_header_body_before -->
|
||||
<a name="top"></a>
|
||||
<div id="wrapcentre">
|
||||
|
Loading…
x
Reference in New Issue
Block a user