first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<h3>
|
||||
{{ strings.title }}
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
{{ strings.message }}
|
||||
</p>
|
||||
<input type="hidden" name="wpml_set_translation_editor_nonce" value="{{ nonces.enable }}">
|
||||
<p class="js-done" style="display: none"><strong>{{ strings.enable_done }}</strong></p>
|
||||
<p class="js-error" style="display: none"><strong>{{ strings.enable_error }}</strong></p>
|
||||
@@ -0,0 +1,33 @@
|
||||
{% set count = 0 %}
|
||||
<h3>
|
||||
{{ strings.title }}
|
||||
</h3>
|
||||
|
||||
{% if strings.message %}
|
||||
<p>
|
||||
{{ strings.message }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<ul class="wpml-status-list wpml-plugins-status-list">
|
||||
{% for requirement in data.requirements %}
|
||||
<li>
|
||||
{% if requirement.missing %}
|
||||
<i class="otgs-ico-warning"></i>
|
||||
{% else %}
|
||||
<i class="otgs-ico-ok"></i>
|
||||
{% endif %}
|
||||
{{ requirement.name }}
|
||||
{% if requirement.missing and not requirement.disabled %}
|
||||
(<a href="{{ shared.install_link }}">{{ strings.install }}</a> | <a href="{{ requirement.url }}" target="_blank">{{ strings.download }}</a>)
|
||||
{% endif %}
|
||||
{% if requirement.disabled %}
|
||||
(<a data-wpml-activated="{{ strings.activated }}" data-wpml-error="{{ strings.error }}" data-wpml-activating="{{ strings.activating }}" data-wpml-disabled-plugin-nonce="{{ requirement.activation_nonce }}" class="wpml-requirements-disabled" data-plugin-file="{{ requirement.plugin_file }}" href="#">{{ strings.activate }}</a>)
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user