Minor improvements (#914)

This commit is contained in:
Roman Kelesidis 2023-09-25 16:27:13 +07:00 committed by GitHub
commit 5e42154272
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

View file

@ -49,7 +49,7 @@ if (IS_ADMIN) {
$rank_select = build_select('rank-sel', $rank_select, $user_rank);
}
if (bf($profiledata['user_opt'], 'user_opt', 'user_viewemail') || $profiledata['user_id'] == $userdata['user_id'] || IS_AM) {
if (bf($profiledata['user_opt'], 'user_opt', 'user_viewemail') || $profiledata['user_id'] == $userdata['user_id'] || IS_ADMIN) {
$email_uri = ($bb_cfg['board_email_form']) ? 'profile.php?mode=email&' . POST_USERS_URL . '=' . $profiledata['user_id'] : 'mailto:' . $profiledata['user_email'];
$email = '<a class="editable" href="' . $email_uri . '">' . $profiledata['user_email'] . '</a>';
} else {

View file

@ -16,7 +16,7 @@
background: url(../images/aerobg.png), -webkit-linear-gradient(top, rgba(200, 200, 200, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
background: url(../images/aerobg.png), -o-linear-gradient(top, rgba(200, 200, 200, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
background: url(../images/aerobg.png), -ms-linear-gradient(top, rgba(200, 200, 200, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#66c8c8c8', endColorstr='#ffffff', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#66c8c8c8', endColorstr='#ffffff', GradientType=0);
background: url(../images/aerobg.png), linear-gradient(top, rgba(200, 200, 200, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
background-size: cover;
-moz-background-size: cover;
@ -183,6 +183,7 @@ div#autocomplete_popup div.title {
font-size: 11px;
font-weight: bold;
padding: 6px 8px 7px;
cursor: move;
}
div#autocomplete_popup div.close {
@ -200,7 +201,7 @@ div#autocomplete_popup div.close {
div#autocomplete_popup input {
font-size: 16px;
margin: 20px 0 0;
width: 83px;
width: 180px;
}
div#autocomplete_popup span.regenerate {

View file

@ -117,7 +117,7 @@ $template->assign_vars([
'IMG' => $_main,
'TEXT_BUTTONS' => $bb_cfg['text_buttons'],
'POST_BTN_SPACER' => $bb_cfg['text_buttons'] ? '&nbsp;' : '',
'TOPIC_ATTACH_ICON' => '<img src="styles/images/icon_clip.gif" alt="" />',
'TOPIC_ATTACH_ICON' => '<img src="' . $_img . 'icon_clip.gif" alt="" />',
'OPEN_MENU_IMG_ALT' => '<img src="' . $_main . 'menu_open_1.gif" class="menu-alt1" alt="" />',
'TOPIC_LEFT_COL_SPACER_WITDH' => $bb_cfg['topic_left_column_witdh'] - 8, // 8px padding
'POST_IMG_WIDTH_DECR_JS' => $bb_cfg['topic_left_column_witdh'] + $bb_cfg['post_img_width_decr'],

View file

@ -184,8 +184,9 @@
</tr>
<!-- ENDIF -->
<!-- IF not SIG_DISALLOWED -->
<tr colspan="2" id="view_message" class="hidden">
<td colspan="2">
<tr id="view_message" class="hidden">
<td class="prof-title">{L_PREVIEW}:</td>
<td>
<div class="signature"></div>
</td>
</tr>