mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-29 18:50:25 +02:00
[ticket/11936] Use "no_avatar.gif" if needed in Notification window
This commit is contained in:
parent
b7f1f3d38f
commit
25f287a991
@ -115,7 +115,7 @@
|
||||
<!-- BEGIN notifications -->
|
||||
<li class="<!-- IF notifications.UNREAD --> bg2<!-- ENDIF -->">
|
||||
<!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||
{notifications.AVATAR}
|
||||
<!-- IF notifications.AVATAR -->{notifications.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->
|
||||
<div class="notification_text">
|
||||
<p>{notifications.FORMATTED_TITLE}</p>
|
||||
<p>» {notifications.TIME}</p>
|
||||
|
@ -163,14 +163,10 @@ function marklist(id, name, state)
|
||||
<table class="tablebg" width="310px" cellspacing="1">
|
||||
<!-- BEGIN notifications -->
|
||||
<tr class="row<!-- IF notifications.UNREAD -->2<!-- ELSE -->1<!-- ENDIF -->">
|
||||
<!-- IF notifications.AVATAR -->
|
||||
<td width="50px">
|
||||
{notifications.AVATAR}
|
||||
</td>
|
||||
<td valign="top">
|
||||
<!-- ELSE -->
|
||||
<td colspan="2" valign="top">
|
||||
<!-- ENDIF -->
|
||||
<td width="50px">
|
||||
<!-- IF notifications.AVATAR -->{notifications.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->
|
||||
</td>
|
||||
<td valign="top">
|
||||
<div class="notification_title">
|
||||
<!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||
{notifications.FORMATTED_TITLE}
|
||||
|
Loading…
x
Reference in New Issue
Block a user