diff options
author | Callum Macrae <callum@lynxphp.com> | 2011-11-17 17:37:51 +0000 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:09:22 +0200 |
commit | 05a88966d4d7156417c151d657989dca4ae01b87 (patch) | |
tree | 8715155650e47bc0f3ceab68c3b9b4996c1d44cd /phpBB/adm/style | |
parent | f9ddeacd8e25f74845704d1186dbc4edde6a71d7 (diff) | |
download | forums-05a88966d4d7156417c151d657989dca4ae01b87.tar forums-05a88966d4d7156417c151d657989dca4ae01b87.tar.gz forums-05a88966d4d7156417c151d657989dca4ae01b87.tar.bz2 forums-05a88966d4d7156417c151d657989dca4ae01b87.tar.xz forums-05a88966d4d7156417c151d657989dca4ae01b87.zip |
[ticket/10272] Renamed AJAX callback act_deact to activate_deactivate.
PHPBB3-10272
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r-- | phpBB/adm/style/acp_bots.html | 2 | ||||
-rw-r--r-- | phpBB/adm/style/acp_profile.html | 2 | ||||
-rw-r--r-- | phpBB/adm/style/acp_styles.html | 2 | ||||
-rw-r--r-- | phpBB/adm/style/ajax.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/adm/style/acp_bots.html b/phpBB/adm/style/acp_bots.html index 3a5ef72acd..87679fc33a 100644 --- a/phpBB/adm/style/acp_bots.html +++ b/phpBB/adm/style/acp_bots.html @@ -76,7 +76,7 @@ <!-- IF bots.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> <td style="width: 50%;">{bots.BOT_NAME}</td> <td style="width: 15%; white-space: nowrap;" align="center"> {bots.LAST_VISIT} </td> - <td style="text-align: center;"> <a href="{bots.U_ACTIVATE_DEACTIVATE}" data-ajax="act_deact">{bots.L_ACTIVATE_DEACTIVATE}</a> </td> + <td style="text-align: center;"> <a href="{bots.U_ACTIVATE_DEACTIVATE}" data-ajax="activate_deactivate">{bots.L_ACTIVATE_DEACTIVATE}</a> </td> <td style="text-align: center;"> <a href="{bots.U_EDIT}">{L_EDIT}</a> </td> <td style="text-align: center;"> <a href="{bots.U_DELETE}" data-ajax="row_delete">{L_DELETE}</a> </td> <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{bots.BOT_ID}" /></td> diff --git a/phpBB/adm/style/acp_profile.html b/phpBB/adm/style/acp_profile.html index d0920774f1..4a6df768a8 100644 --- a/phpBB/adm/style/acp_profile.html +++ b/phpBB/adm/style/acp_profile.html @@ -195,7 +195,7 @@ <td>{fields.FIELD_IDENT}</td> <td>{fields.FIELD_TYPE}</td> - <td style="text-align: center;"><a href="{fields.U_ACTIVATE_DEACTIVATE}" data-ajax="act_deact">{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="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 --> diff --git a/phpBB/adm/style/acp_styles.html b/phpBB/adm/style/acp_styles.html index 0b98dea603..a166623f89 100644 --- a/phpBB/adm/style/acp_styles.html +++ b/phpBB/adm/style/acp_styles.html @@ -288,7 +288,7 @@ </td> <td style="text-align: center;"> <!-- IF S_STYLE --> - <a href="{installed.U_STYLE_ACT_DEACT}" data-ajax="act_deact">{installed.L_STYLE_ACT_DEACT}</a> | + <a href="{installed.U_STYLE_ACT_DEACT}" data-ajax="activate_deactive">{installed.L_STYLE_ACT_DEACT}</a> | <!-- ENDIF --> {installed.S_ACTIONS} <!-- IF S_STYLE --> diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js index 869126ab76..88c28fe071 100644 --- a/phpBB/adm/style/ajax.js +++ b/phpBB/adm/style/ajax.js @@ -46,7 +46,7 @@ phpbb.add_ajax_callback('forum_down', function() { * It does this by replacing the text, and replacing all instances of "activate" * in the href with "deactivate", and vice versa. */ -phpbb.add_ajax_callback('act_deact', function(res) { +phpbb.add_ajax_callback('activate_deactivate', function(res) { el = $(this); el.text(res.text); var new_href = el.attr('href'); |