mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 06:55:25 +02:00
[ticket/16281] Fix Ajax refresh-data for extensions' Tab
PHPBB3-16281
This commit is contained in:
parent
314dfb294a
commit
7e5d0b9ec8
@ -1,6 +1,7 @@
|
|||||||
{% for action in enabled.actions %}
|
{% for action in enabled.actions %}
|
||||||
<a href="{{ action.U_ACTION }}"{% if action.L_ACTION_EXPLAIN %} title="{{ action.L_ACTION_EXPLAIN }}"{% endif %}{% if action.COLOR %} style="color: {{ action.COLOR }};"{% endif %} data-ajax="{{ action.ACTION_AJAX }}" data-refresh="true">{{ action.L_ACTION }}</a>{% if not action.S_LAST_ROW %} | {% endif %}
|
<a href="{{ action.U_ACTION }}"{% if action.L_ACTION_EXPLAIN %} title="{{ action.L_ACTION_EXPLAIN }}"{% endif %}{% if action.COLOR %} style="color: {{ action.COLOR }};"{% endif %} data-ajax="{{ action.ACTION_AJAX }}" data-refresh="true">{{ action.L_ACTION }}</a>{% if not action.S_LAST_ROW %} | {% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for action in disabled.actions %}
|
{% for action in disabled.actions %}
|
||||||
<a href="{{ action.U_ACTION }}"{% if action.L_ACTION_EXPLAIN %} title="{{ action.L_ACTION_EXPLAIN }}"{% endif %}{% if action.COLOR %} style="color: {{ action.COLOR }};"{% endif %} data-ajax="{{ action.ACTION_AJAX }}" data-refresh="true">{{ action.L_ACTION }}</a>{% if not action.S_LAST_ROW %} | {% endif %}
|
<a href="{{ action.U_ACTION }}"{% if action.L_ACTION_EXPLAIN %} title="{{ action.L_ACTION_EXPLAIN }}"{% endif %}{% if action.COLOR %} style="color: {{ action.COLOR }};"{% endif %} data-ajax="{{ action.ACTION_AJAX }}" data-refresh="true">{{ action.L_ACTION }}</a>{% if not action.S_LAST_ROW %} | {% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -246,11 +246,10 @@ class acp_extensions
|
|||||||
$data = [
|
$data = [
|
||||||
'EXT_ENABLE_SUCCESS' => true,
|
'EXT_ENABLE_SUCCESS' => true,
|
||||||
'ACTIONS' => $actions,
|
'ACTIONS' => $actions,
|
||||||
];
|
'REFRESH_DATA' => [
|
||||||
|
'url' => '',
|
||||||
$data['REFRESH_DATA'] = [
|
'time' => 0,
|
||||||
'url' => '',
|
],
|
||||||
'time' => 0,
|
|
||||||
];
|
];
|
||||||
|
|
||||||
$json_response = new \phpbb\json_response;
|
$json_response = new \phpbb\json_response;
|
||||||
@ -310,11 +309,10 @@ class acp_extensions
|
|||||||
$data = [
|
$data = [
|
||||||
'EXT_DISABLE_SUCCESS' => true,
|
'EXT_DISABLE_SUCCESS' => true,
|
||||||
'ACTIONS' => $actions,
|
'ACTIONS' => $actions,
|
||||||
];
|
'REFRESH_DATA' => [
|
||||||
|
'url' => '',
|
||||||
$data['REFRESH_DATA'] = [
|
'time' => 0,
|
||||||
'url' => '',
|
],
|
||||||
'time' => 0,
|
|
||||||
];
|
];
|
||||||
|
|
||||||
$json_response = new \phpbb\json_response;
|
$json_response = new \phpbb\json_response;
|
||||||
@ -380,11 +378,10 @@ class acp_extensions
|
|||||||
$data = [
|
$data = [
|
||||||
'EXT_DELETE_DATA_SUCCESS' => true,
|
'EXT_DELETE_DATA_SUCCESS' => true,
|
||||||
'ACTIONS' => $actions,
|
'ACTIONS' => $actions,
|
||||||
];
|
'REFRESH_DATA' => [
|
||||||
|
'url' => '',
|
||||||
$data['REFRESH_DATA'] = [
|
'time' => 0,
|
||||||
'url' => '',
|
],
|
||||||
'time' => 0,
|
|
||||||
];
|
];
|
||||||
|
|
||||||
$json_response = new \phpbb\json_response;
|
$json_response = new \phpbb\json_response;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user