aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_reasons.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/acp_reasons.html')
-rw-r--r--phpBB/adm/style/acp_reasons.html20
1 files changed, 16 insertions, 4 deletions
diff --git a/phpBB/adm/style/acp_reasons.html b/phpBB/adm/style/acp_reasons.html
index 93d23563e2..8648fb18c5 100644
--- a/phpBB/adm/style/acp_reasons.html
+++ b/phpBB/adm/style/acp_reasons.html
@@ -64,11 +64,23 @@
<br /><span>{reasons.REASON_DESCRIPTION}</span>
</td>
<td style="width: 100px;">{reasons.REASON_COUNT}</td>
- <td style="width: 15%; text-align: right; white-space: nowrap;">
- <!-- IF not reasons.S_FIRST_ROW --><a href="{reasons.U_MOVE_UP}">{ICON_MOVE_UP}</a> <!-- ENDIF -->
- <!-- IF not reasons.S_LAST_ROW --><a href="{reasons.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ENDIF -->
+ <td style="width: 80px; text-align: right; white-space: nowrap;">
+ <!-- IF reasons.S_FIRST_ROW && not reasons.S_LAST_ROW -->
+ {ICON_MOVE_UP_DISABLED}
+ <a href="{reasons.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
+ <!-- ELSEIF not reasons.S_FIRST_ROW && not reasons.S_LAST_ROW-->
+ <a href="{reasons.U_MOVE_UP}">{ICON_MOVE_UP}</a>
+ <a href="{reasons.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
+ <!-- ELSEIF reasons.S_LAST_ROW && not reasons.S_FIRST_ROW -->
+ <a href="{reasons.U_MOVE_UP}">{ICON_MOVE_UP}</a>
+ {ICON_MOVE_DOWN_DISABLED}
+ <!-- ENDIF -->
<a href="{reasons.U_EDIT}">{ICON_EDIT}</a>
- <!-- IF reasons.U_DELETE --><a href="{reasons.U_DELETE}">{ICON_DELETE}</a><!-- ENDIF -->
+ <!-- IF reasons.U_DELETE -->
+ <a href="{reasons.U_DELETE}">{ICON_DELETE}</a>
+ <!-- ELSE -->
+ {ICON_DELETE_DISABLED}
+ <!-- ENDIF -->
</td>
</tr>
<!-- END reasons -->