aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-12-05 22:36:21 -0800
committerCesar G <prototech91@gmail.com>2013-12-05 23:44:07 -0800
commit58a07647595a617c7c0c73b4dbde3b5858b29227 (patch)
tree6932cfc53f352455c9b52a39fec4a19cabb7769a /phpBB/adm/style
parent97558e5fd489f1cb4d4b7bae025842ff467d97d9 (diff)
downloadforums-58a07647595a617c7c0c73b4dbde3b5858b29227.tar
forums-58a07647595a617c7c0c73b4dbde3b5858b29227.tar.gz
forums-58a07647595a617c7c0c73b4dbde3b5858b29227.tar.bz2
forums-58a07647595a617c7c0c73b4dbde3b5858b29227.tar.xz
forums-58a07647595a617c7c0c73b4dbde3b5858b29227.zip
[ticket/12038] AJAXify move up/down buttons in custom profile fields page.
PHPBB3-12038
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r--phpBB/adm/style/acp_profile.html16
1 files changed, 5 insertions, 11 deletions
diff --git a/phpBB/adm/style/acp_profile.html b/phpBB/adm/style/acp_profile.html
index 3546873f6c..25120fe71c 100644
--- a/phpBB/adm/style/acp_profile.html
+++ b/phpBB/adm/style/acp_profile.html
@@ -201,17 +201,11 @@
<td>{fields.FIELD_TYPE}</td>
<td style="text-align: center;"><a href="{fields.U_ACTIVATE_DEACTIVATE}" data-ajax="activate_deactivate">{fields.L_ACTIVATE_DEACTIVATE}</a><!-- IF fields.S_NEED_EDIT --> | <a href="{fields.U_TRANSLATE}" style="color: red;">{L_TRANSLATE}</a><!-- ENDIF --></td>
- <td style="width: 80px; text-align: right; white-space: nowrap;">
- <!-- IF fields.S_FIRST_ROW && not fields.S_LAST_ROW -->
- {ICON_MOVE_UP_DISABLED}
- <a href="{fields.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
- <!-- ELSEIF not fields.S_FIRST_ROW && not fields.S_LAST_ROW-->
- <a href="{fields.U_MOVE_UP}">{ICON_MOVE_UP}</a>
- <a href="{fields.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
- <!-- ELSEIF fields.S_LAST_ROW && not fields.S_FIRST_ROW -->
- <a href="{fields.U_MOVE_UP}">{ICON_MOVE_UP}</a>
- {ICON_MOVE_DOWN_DISABLED}
- <!-- ENDIF -->
+ <td class="actions" style="width: 80px;">
+ <span class="up-disabled" style="display:none;">{ICON_MOVE_UP_DISABLED}</span>
+ <span class="up"><a href="{fields.U_MOVE_UP}" data-ajax="row_up">{ICON_MOVE_UP}</a></span>
+ <span class="down-disabled" style="display:none;">{ICON_MOVE_DOWN_DISABLED}</span>
+ <span class="down"><a href="{fields.U_MOVE_DOWN}" data-ajax="row_down">{ICON_MOVE_DOWN}</a></span>
<!-- IF not fields.S_NEED_EDIT -->
<a href="{fields.U_EDIT}">{ICON_EDIT}</a>
<!-- ELSE -->