first commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace WPML\TM\Templates\Notices;
|
||||
|
||||
class AteLocked {
|
||||
public function renderUser( $model ) {
|
||||
?>
|
||||
<div class="wpmltm-notice">
|
||||
<h2><?php echo esc_html( $model->title ); ?></h2>
|
||||
<p><?php echo esc_html( $model->intro ); ?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
public function renderAdmin( $model ) {
|
||||
?>
|
||||
<div class="wpmltm-notice">
|
||||
<h2><?php echo esc_html( $model->title ); ?></h2>
|
||||
<p><?php echo esc_html( $model->intro ); ?></p>
|
||||
<?php wp_nonce_field( 'icl_doc_translation_method_cloned_nonce', 'icl_doc_translation_method_cloned_nonce' ); ?>
|
||||
<fieldset>
|
||||
<div>
|
||||
<label>
|
||||
<input type="radio" name="ate_locked_option" value="move" checked="checked">
|
||||
<span><?php echo esc_html( $model->radio_option_1 ); ?></span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label>
|
||||
<input type="radio" name="ate_locked_option" value="copy">
|
||||
<span><?php echo esc_html( $model->radio_option_2 ); ?></span>
|
||||
</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="wpmltm-notice__actions">
|
||||
<a class="wpmltm-notice__actions-btn" id="wpml_save_cloned_sites_report_type"
|
||||
href="#"><?php echo esc_html( $model->btn_text ); ?></a>
|
||||
<a class="wpmltm-notice__actions-link" href="https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/?utm_source=plugin&utm_medium=gui&utm_campaign=wpmltm">
|
||||
<?php echo esc_html( $model->link_text ); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<h3>{{ strings.title }}</h3>
|
||||
<p>{{ strings.body }}</p>
|
||||
<ul>
|
||||
{% for job in strings.jobs %}
|
||||
<li>{{ job }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p>{{ strings.bottom | raw }}</p>
|
||||
@@ -0,0 +1,13 @@
|
||||
<div id="wpml-tm-post-edit-alert" class="js-wpml-tm-post-edit-alert wpml-tm-post-edit-alert wpml-tm-post-edit-alert-in-progress" style="display: none;">
|
||||
{{ nonce | raw }}
|
||||
<p id="icl_side_by_site">
|
||||
{{ warning|raw }}
|
||||
<br /><br />
|
||||
{{ message|raw }}
|
||||
</p>
|
||||
<p class="text-center">
|
||||
<a class="js-wpml-tm-continue button button-secondary">{{ edit_anyway_button }}</a>
|
||||
<a class="js-wpml-tm-go-back button button-secondary">{{ go_back_button }}</a>
|
||||
</p>
|
||||
<p><label><input class="do-not-show-again" type="checkbox" value="1" data-action="{{ do_not_show_again_action }}">{{ do_not_show_again }}</label></p>
|
||||
</div>
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="error fade">
|
||||
<p id="icl_side_by_site">
|
||||
{{ warning|raw }}
|
||||
<br /><br />
|
||||
{{ check_dashboard|raw }}
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="error">
|
||||
<p>{{ warning|raw }}</p>
|
||||
<p>{{ use_tm_dashboard|raw }}</p>
|
||||
</div>'
|
||||
@@ -0,0 +1,10 @@
|
||||
<div id="wpml-tm-post-edit-alert" class="js-wpml-tm-post-edit-alert wpml-tm-post-edit-alert" style="display: none;">
|
||||
{{ nonce | raw }}
|
||||
<p>{{ warning|raw }}</p>
|
||||
<p class="text-center">
|
||||
<a class="js-wpml-tm-go-back button button-secondary">{{ go_back_button }}</a>
|
||||
<a class="js-wpml-tm-continue button button-secondary">{{ edit_anyway_button }}</a>
|
||||
<a class="js-wpml-tm-open-in-te wpml-button button button-primary" href="{{ translation_editor_url }}">{{ open_in_te_button }}</a>
|
||||
</p>
|
||||
<p><label><input class="do-not-show-again" type="checkbox" value="1" data-action="{{ do_not_show_again_action }}">{{ do_not_show_again }}</label></p>
|
||||
</div>
|
||||
@@ -0,0 +1,35 @@
|
||||
<div id="translation-service-instruction" class="notice wpml-notice otgs-is-dismissible">
|
||||
<h3>{{ strings.title }}</h3>
|
||||
|
||||
<p>{{ strings.description }}</p>
|
||||
|
||||
<p class="ts-instruction-video">
|
||||
<a href="{{ video_link }}" target="_blank">
|
||||
<img src="{{ image_url }}" alt="" width="440" height="230"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="ts-instruction-help">
|
||||
{{ strings.need_help }}
|
||||
<a href="{{ help_link }}" target="_blank">
|
||||
{{ strings.help_caption }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="ts-instruction-dismiss">
|
||||
<input type="checkbox" value="" id="checkbox-my-test-translation-went-fine" disabled="disabled" style="display: none;">
|
||||
<span id="this-stuff-is-important">
|
||||
{{ strings.this_stuff_is_important }}
|
||||
</span>
|
||||
<span id="my-test-translation-went-fine" style="display: none;">
|
||||
{{ strings.my_test_translation_went_fine }}
|
||||
<button class="js-ts-instruction-dismiss button button-secondary" id="dismiss-instruction" disabled="disabled" style="display: none;">
|
||||
{{ strings.dismiss }}
|
||||
</button>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<span class="js-ts-instruction-dismiss notice-dismiss" style="display:none">
|
||||
<span class="screen-reader-text">{{ strings.dismiss }}</span>
|
||||
</span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user