mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11921] Improve appearance of Notifications in linklist
PHPBB3-11921
This commit is contained in:
parent
40932c26ea
commit
9363986f43
8 changed files with 9 additions and 26 deletions
|
@ -417,11 +417,7 @@ $lang = array_merge($lang, array(
|
||||||
'NOT_WATCHING_FORUM' => 'You are no longer subscribed to updates on this forum.',
|
'NOT_WATCHING_FORUM' => 'You are no longer subscribed to updates on this forum.',
|
||||||
'NOT_WATCHING_TOPIC' => 'You are no longer subscribed to this topic.',
|
'NOT_WATCHING_TOPIC' => 'You are no longer subscribed to this topic.',
|
||||||
'NOTIFICATIONS' => 'Notifications',
|
'NOTIFICATIONS' => 'Notifications',
|
||||||
'NOTIFICATIONS_COUNT' => array(
|
'NOTIFICATIONS_COUNT' => 'Notifications (<strong>%d</strong>)',
|
||||||
0 => '%d Notifications',
|
|
||||||
1 => '<strong>%d</strong> Notification',
|
|
||||||
2 => '<strong>%d</strong> Notifications',
|
|
||||||
),
|
|
||||||
'NOTIFICATION_BOOKMARK' => '%1$s replied to the topic "%2$s" you have bookmarked.',
|
'NOTIFICATION_BOOKMARK' => '%1$s replied to the topic "%2$s" you have bookmarked.',
|
||||||
'NOTIFICATION_GROUP_REQUEST' => '%1$s is requesting to join the group %2$s.',
|
'NOTIFICATION_GROUP_REQUEST' => '%1$s is requesting to join the group %2$s.',
|
||||||
'NOTIFICATION_GROUP_REQUEST_APPROVED' => 'Your request to join the group %1$s has been approved.',
|
'NOTIFICATION_GROUP_REQUEST_APPROVED' => 'Your request to join the group %1$s has been approved.',
|
||||||
|
|
|
@ -535,7 +535,7 @@
|
||||||
/* Icon images
|
/* Icon images
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,
|
.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,
|
||||||
.rtl .icon-bookmark, .rtl .icon-bump, .rtl .icon-subscribe, .rtl .icon-unsubscribe, .rtl .icon-pages, .rtl .icon-search {
|
.rtl .icon-bookmark, .rtl .icon-bump, .rtl .icon-subscribe, .rtl .icon-unsubscribe, .rtl .icon-pages, .rtl .icon-search, .rtl .icon-notification {
|
||||||
background-position: 100% 50%;
|
background-position: 100% 50%;
|
||||||
padding: 1px 17px 0 0;
|
padding: 1px 17px 0 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,14 +91,14 @@ a.sendemail {
|
||||||
/* Icon images
|
/* Icon images
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
|
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
|
||||||
.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search {
|
.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search, .icon-notification {
|
||||||
background-position: 0 50%;
|
background-position: 0 50%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
padding: 1px 0 0 17px;
|
padding: 1px 0 0 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.linklist.bulletin li.icon-home:before, ul.linklist.bulletin li.icon-ucp:before,
|
ul.linklist.bulletin li.icon-home:before, ul.linklist.bulletin li.icon-ucp:before, ul.linklist.bulletin li.icon-notification:before,
|
||||||
ul.linklist.bulletin li.icon-bookmark:before, ul.linklist.bulletin li.icon-bump:before, ul.linklist.bulletin li.icon-subscribe:before, ul.linklist.bulletin li.icon-unsubscribe:before {
|
ul.linklist.bulletin li.icon-bookmark:before, ul.linklist.bulletin li.icon-bump:before, ul.linklist.bulletin li.icon-subscribe:before, ul.linklist.bulletin li.icon-unsubscribe:before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -707,6 +707,7 @@ a.sendemail {
|
||||||
.icon-unsubscribe { background-image: url("./images/icon_unsubscribe.gif"); }
|
.icon-unsubscribe { background-image: url("./images/icon_unsubscribe.gif"); }
|
||||||
.icon-pages { background-image: url("./images/icon_pages.gif"); }
|
.icon-pages { background-image: url("./images/icon_pages.gif"); }
|
||||||
.icon-search { background-image: url("./images/icon_search.gif"); }
|
.icon-search { background-image: url("./images/icon_search.gif"); }
|
||||||
|
.icon-notification { background-image: url("./images/icon_notification.gif"); }
|
||||||
|
|
||||||
/* Profile & navigation icons */
|
/* Profile & navigation icons */
|
||||||
.email-icon, .email-icon a { background-image: url("./images/icon_contact_email.gif"); }
|
.email-icon, .email-icon a { background-image: url("./images/icon_contact_email.gif"); }
|
||||||
|
|
|
@ -378,20 +378,6 @@ ul.linklist.bulletin li.no-bulletin:before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-notification:before, ul.linklist.bulletin li.icon-notification:before, .icon-notification:after {
|
|
||||||
display: inline;
|
|
||||||
font: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-notification:before, ul.linklist.bulletin li.icon-notification:before {
|
|
||||||
content: '[';
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-notification:after {
|
|
||||||
content: ']';
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Table styles
|
/* Table styles
|
||||||
----------------------------------------*/
|
----------------------------------------*/
|
||||||
table.table1 {
|
table.table1 {
|
||||||
|
|
BIN
phpBB/styles/prosilver/theme/images/icon_notification.gif
Normal file
BIN
phpBB/styles/prosilver/theme/images/icon_notification.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 614 B |
|
@ -152,7 +152,7 @@ function marklist(id, name, state)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="genmed">
|
<td class="genmed">
|
||||||
<!-- IF S_NOTIFICATIONS_DISPLAY and not S_IS_BOT and S_USER_LOGGED_IN -->
|
<!-- IF S_NOTIFICATIONS_DISPLAY and not S_IS_BOT and S_USER_LOGGED_IN -->
|
||||||
[ <a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification_list_button">{NOTIFICATIONS_COUNT}</a> ]
|
<a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification_list_button"><img src="{T_THEME_PATH}/images/icon_mini_notification.gif" width="12" height="13" alt="*" /> {NOTIFICATIONS_COUNT}</a>
|
||||||
<div id="notification_list" class="notification_list">
|
<div id="notification_list" class="notification_list">
|
||||||
<div class="row1 header">
|
<div class="row1 header">
|
||||||
{L_NOTIFICATIONS}
|
{L_NOTIFICATIONS}
|
||||||
|
@ -191,15 +191,15 @@ function marklist(id, name, state)
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF -->
|
|
||||||
<!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
|
|
||||||
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span class="error">{L_BOARD_DISABLED}</span><!-- ENDIF -->
|
|
||||||
<!-- IF not S_IS_BOT -->
|
<!-- IF not S_IS_BOT -->
|
||||||
<!-- IF S_USER_LOGGED_IN -->
|
<!-- IF S_USER_LOGGED_IN -->
|
||||||
<!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
|
<!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
|
||||||
<!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>
|
<!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- IF not S_IS_BOT --> <a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF -->
|
||||||
|
<!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
|
||||||
|
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span class="error">{L_BOARD_DISABLED}</span><!-- ENDIF -->
|
||||||
</td>
|
</td>
|
||||||
<td class="genmed" align="{S_CONTENT_FLOW_END}">
|
<td class="genmed" align="{S_CONTENT_FLOW_END}">
|
||||||
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
|
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
|
||||||
|
|
BIN
phpBB/styles/subsilver2/theme/images/icon_mini_notification.gif
Normal file
BIN
phpBB/styles/subsilver2/theme/images/icon_mini_notification.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 321 B |
Loading…
Add table
Reference in a new issue