diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-05-27 18:41:31 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-05-27 18:41:31 +0200 |
commit | 2aef05106c89077d75f36afa5f2b01b8bcac47d9 (patch) | |
tree | 85823929b092c5122384824d722f1b9a481d191a /phpBB/styles/prosilver/template/mcp_post.html | |
parent | 29b957eea48879d68550437fdb55b9f07f59384d (diff) | |
parent | 0acaa7722956635b8f17e19cddc6f02a602b7352 (diff) | |
download | forums-2aef05106c89077d75f36afa5f2b01b8bcac47d9.tar forums-2aef05106c89077d75f36afa5f2b01b8bcac47d9.tar.gz forums-2aef05106c89077d75f36afa5f2b01b8bcac47d9.tar.bz2 forums-2aef05106c89077d75f36afa5f2b01b8bcac47d9.tar.xz forums-2aef05106c89077d75f36afa5f2b01b8bcac47d9.zip |
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: (21 commits)
[ticket/12155] Remove use of !important and move reddish color back to .button
[ticket/12155] Reposition the button icons to the left side while we're at it.
[ticket/12155] Get rid of line-height value causing alignment issues in FF.
[ticket/12155] Get rid of the <span> where possible and fix buttons in Safari.
[ticket/12155] Fix misplaced semicolon and ensure that value comparison works.
[ticket/12155] Combine the post and topic/PM button icons into a single sprite
[ticket/12155] Move icon class directly to <a> and use <span> consistently.
[ticket/12155] Remove star hack from padding-right property of .button.
[ticket/12155] Fix tabbing and put one selector per line if string is too long
[ticket/12155] Make opacity transition faster and fix background image paths.
[ticket/12155] Keep the selection method consistent with the one below it.
[ticket/12155] Fade out the buttons when leaving the post.
[ticket/12155] Display the buttons only when hovering the post.
[ticket/12155] Make the buttons bigger on touch devices.
[ticket/12155] Clean up icons.
[ticket/12155] Remove unused font.
[ticket/12155] Remove obsolete images.
[ticket/12155] Use the new .button class as the basis for the post buttons.
[ticket/12155] Move existing button style to a more generic class.
[ticket/12155] Remove obsolete language images.
...
Diffstat (limited to 'phpBB/styles/prosilver/template/mcp_post.html')
-rw-r--r-- | phpBB/styles/prosilver/template/mcp_post.html | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html index 2b4ebec5c8..10ec6f3ea9 100644 --- a/phpBB/styles/prosilver/template/mcp_post.html +++ b/phpBB/styles/prosilver/template/mcp_post.html @@ -50,13 +50,20 @@ <div class="postbody"> <h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3> - <!-- IF U_EDIT --> - <ul class="profile-icons"> - <li class="edit-icon"><a href="{U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li> + <ul class="post-buttons"> + <li id="expand"> + <a href="#post_details" onclick="viewableArea(getElementById('post_details'), true); var rev_text = getElementById('expand').getElementsByTagName('a').item(0).firstChild; if (rev_text.data.trim() == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data.trim() == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}';} return false;"> + {L_EXPAND_VIEW} + </a> + </li> + <!-- IF U_EDIT --> + <li> + <a href="{U_EDIT}" title="{L_EDIT_POST}" class="button icon-button edit-icon"> + <span>{L_EDIT_POST}</span> + </a> + </li> + <!-- ENDIF --> </ul> - <!-- ENDIF --> - - <span class="right-box" id="expand"><a href="#post_details" onclick="viewableArea(getElementById('post_details'), true); var rev_text = getElementById('expand').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'}; return false;">{L_EXPAND_VIEW}</a></span> <!-- IF S_PM --> <p class="author"> |