From 5e42154272ace1394ecbb8339609d62648e7f87e Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 25 Sep 2023 16:27:13 +0700 Subject: [PATCH] Minor improvements (#914) --- library/includes/ucp/viewprofile.php | 2 +- styles/templates/default/css/youtube.css | 5 +++-- styles/templates/default/tpl_config.php | 2 +- styles/templates/default/usercp_register.tpl | 5 +++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/library/includes/ucp/viewprofile.php b/library/includes/ucp/viewprofile.php index 3dfc9b1be..674c6f466 100644 --- a/library/includes/ucp/viewprofile.php +++ b/library/includes/ucp/viewprofile.php @@ -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 = '' . $profiledata['user_email'] . ''; } else { diff --git a/styles/templates/default/css/youtube.css b/styles/templates/default/css/youtube.css index 6646f9c24..dcc4da9c8 100644 --- a/styles/templates/default/css/youtube.css +++ b/styles/templates/default/css/youtube.css @@ -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 { diff --git a/styles/templates/default/tpl_config.php b/styles/templates/default/tpl_config.php index 02da261ed..3b160d694 100644 --- a/styles/templates/default/tpl_config.php +++ b/styles/templates/default/tpl_config.php @@ -117,7 +117,7 @@ $template->assign_vars([ 'IMG' => $_main, 'TEXT_BUTTONS' => $bb_cfg['text_buttons'], 'POST_BTN_SPACER' => $bb_cfg['text_buttons'] ? ' ' : '', - 'TOPIC_ATTACH_ICON' => '', + 'TOPIC_ATTACH_ICON' => '', 'OPEN_MENU_IMG_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'], diff --git a/styles/templates/default/usercp_register.tpl b/styles/templates/default/usercp_register.tpl index 2094f34da..3b5dc0b09 100644 --- a/styles/templates/default/usercp_register.tpl +++ b/styles/templates/default/usercp_register.tpl @@ -184,8 +184,9 @@ - - + + {L_PREVIEW}: +