[ticket/11103] Add title/view all link to subsilver2

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-10-16 17:28:45 -05:00
parent 901739b0c6
commit a080af4b05
2 changed files with 64 additions and 26 deletions

View file

@ -152,28 +152,40 @@ function marklist(id, name, state)
<!-- IF S_NOTIFICATIONS_DISPLAY --> <!-- IF S_NOTIFICATIONS_DISPLAY -->
[ <a href="#" id="notification_list_button" title="{NOTIFICATIONS_COUNT}" onclick="$('#notification_list').toggle();">{NOTIFICATIONS_COUNT}</a> ] &bull; [ <a href="#" id="notification_list_button" title="{NOTIFICATIONS_COUNT}" onclick="$('#notification_list').toggle();">{NOTIFICATIONS_COUNT}</a> ] &bull;
<div id="notification_list" class="notification_list"> <div id="notification_list" class="notification_list">
<table class="tablebg" width="310px" cellspacing="1"> <div class="row1 header">
<!-- BEGIN notifications --> {L_NOTIFICATIONS}
<tr class="row<!-- IF notifications.UNREAD -->2<!-- ELSE -->1<!-- ENDIF -->"> </div>
<!-- IF notifications.AVATAR -->
<td width="50px"> <div class="notification_scroll">
{notifications.AVATAR} <table class="tablebg" width="310px" cellspacing="1">
</td> <!-- BEGIN notifications -->
<td valign="top"> <tr class="row<!-- IF notifications.UNREAD -->2<!-- ELSE -->1<!-- ENDIF -->">
<!-- ELSE --> <!-- IF notifications.AVATAR -->
<td colspan="2" valign="top"> <td width="50px">
<!-- ENDIF --> {notifications.AVATAR}
<!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF --> </td>
{notifications.FORMATTED_TITLE} <td valign="top">
<!-- IF notifications.URL --></a><!-- ENDIF --><br /> <!-- ELSE -->
{notifications.TIME} <td colspan="2" valign="top">
<!-- IF not notifications.URL and notifications.UNREAD -->
<br /><a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a>
<!-- ENDIF --> <!-- ENDIF -->
</td> <div class="notification_title">
</tr> <!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF -->
<!-- END notifications --> {notifications.FORMATTED_TITLE}
</table> <!-- IF notifications.URL --></a><!-- ENDIF -->
<br />{notifications.TIME}
<!-- IF not notifications.URL and notifications.UNREAD -->
<br /><a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a>
<!-- ENDIF -->
</div>
</td>
</tr>
<!-- END notifications -->
</table>
</div>
<div class="row1 footer">
<a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>
</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>&nbsp;<!-- 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>&nbsp;<!-- ENDIF -->

View file

@ -181,7 +181,7 @@ p.datetime {
p.searchbar { p.searchbar {
padding: 2px 0; padding: 2px 0;
white-space: nowrap; white-space: nowrap;
} }
p.searchbarreg { p.searchbarreg {
margin: 0; margin: 0;
@ -464,7 +464,7 @@ textarea {
background-color: #FAFAFA; background-color: #FAFAFA;
color: #333333; color: #333333;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 1.3em; font-size: 1.3em;
line-height: 1.4em; line-height: 1.4em;
font-weight: normal; font-weight: normal;
border: 1px solid #A9B8C2; border: 1px solid #A9B8C2;
@ -1145,15 +1145,41 @@ a.imageset {
#notification_list { #notification_list {
display: none; display: none;
position: absolute; position: absolute;
width: 330px; width: 310px;
max-height: 350px;
z-index: 1; z-index: 1;
}
#notification_list .notification_scroll {
max-height: 350px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
background-color: #FFFFFF; }
#notification_list .notification_title {
width: 240px;
}
#notification_list .header {
width: 298px;
padding: 5px;
font-weight: bold;
border: 1px solid #A9B8C2;
border-bottom: 0;
}
#notification_list .footer {
width: 300px;
text-align: center;
font-size: 1.2em;
border: 1px solid #A9B8C2;
border-top: 0;
} }
.notification_list img { .notification_list img {
max-width: 50px; max-width: 50px;
max-height: 50px; max-height: 50px;
}
#notification_list .footer > a {
display: block;
} }