mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/12680] Adds alternative text to contact icon in viewtopic.php
PHPBB3-12680
This commit is contained in:
parent
b6232aa9b2
commit
f7f80a424f
2 changed files with 9 additions and 1 deletions
|
@ -164,7 +164,7 @@
|
||||||
<div>
|
<div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.contact.U_PROFILE_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 550, 320); return false;"<!-- ENDIF -->>
|
<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.contact.U_PROFILE_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 550, 320); return false;"<!-- ENDIF -->>
|
||||||
<span class="contact-icon {postrow.contact.ID}-icon"></span>
|
<span class="contact-icon {postrow.contact.ID}-icon"><span>{postrow.contact.NAME}</span></span>
|
||||||
</a>
|
</a>
|
||||||
<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
|
<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -133,6 +133,14 @@ ul.linklist.bulletin li.small-icon:before {
|
||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contact-icons span.contact-icon span{
|
||||||
|
display: block;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Profile icons */
|
/* Profile icons */
|
||||||
.pm-icon { background-position: 0 0; }
|
.pm-icon { background-position: 0 0; }
|
||||||
.email-icon { background-position: -21px 0; }
|
.email-icon { background-position: -21px 0; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue