mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Minor improvements (#914)
This commit is contained in:
parent
cb48b4dd98
commit
5e42154272
4 changed files with 8 additions and 6 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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'] ? ' ' : '',
|
'POST_BTN_SPACER' => $bb_cfg['text_buttons'] ? ' ' : '',
|
||||||
'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'],
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue