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); $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_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>'; $email = '<a class="editable" href="' . $email_uri . '">' . $profiledata['user_email'] . '</a>';
} else { } else {

View file

@ -183,6 +183,7 @@ div#autocomplete_popup div.title {
font-size: 11px; font-size: 11px;
font-weight: bold; font-weight: bold;
padding: 6px 8px 7px; padding: 6px 8px 7px;
cursor: move;
} }
div#autocomplete_popup div.close { div#autocomplete_popup div.close {
@ -200,7 +201,7 @@ div#autocomplete_popup div.close {
div#autocomplete_popup input { div#autocomplete_popup input {
font-size: 16px; font-size: 16px;
margin: 20px 0 0; margin: 20px 0 0;
width: 83px; width: 180px;
} }
div#autocomplete_popup span.regenerate { div#autocomplete_popup span.regenerate {

View file

@ -117,7 +117,7 @@ $template->assign_vars([
'IMG' => $_main, 'IMG' => $_main,
'TEXT_BUTTONS' => $bb_cfg['text_buttons'], 'TEXT_BUTTONS' => $bb_cfg['text_buttons'],
'POST_BTN_SPACER' => $bb_cfg['text_buttons'] ? '&nbsp;' : '', '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="" />', '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 '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'], 'POST_IMG_WIDTH_DECR_JS' => $bb_cfg['topic_left_column_witdh'] + $bb_cfg['post_img_width_decr'],

View file

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