@@ -107,18 +107,18 @@ class="button-secondary">
107
107
<textarea
108
108
id="import-code-value"
109
109
name="<?php echo esc_attr ( $ this ->parent ->args ['opt_name ' ] ); ?> [import_code]"
110
- class="large-text no-update" rows="2 "></textarea>
110
+ class="large-text no-update" rows="3 "></textarea>
111
111
</div>
112
112
<div id="redux-import-link-wrapper">
113
113
<p class="description" id="import-link-description">
114
114
<?php // phpcs:ignore WordPress.NamingConventions.ValidHookName ?>
115
115
<?php echo esc_html ( apply_filters ( 'redux-import-link-description ' , esc_html__ ( 'Input the URL to another sites options set and hit Import to load the options from that site. ' , 'redux-framework ' ) ) ); ?>
116
116
</p>
117
- <textarea
117
+ <input
118
118
class="large-text no-update"
119
119
id="import-link-value"
120
120
name="<?php echo esc_attr ( $ this ->parent ->args ['opt_name ' ] ); ?> [import_link]"
121
- rows="2"></textarea >
121
+ rows="2"/ >
122
122
</div>
123
123
<p id="redux-import-action">
124
124
<input
@@ -146,23 +146,18 @@ class="button-primary"
146
146
</div>
147
147
<?php $ link = admin_url ( 'admin-ajax.php?action=redux_download_options- ' . $ this ->parent ->args ['opt_name ' ] . '&secret= ' . $ secret ); ?>
148
148
<p>
149
- <a data-secret="<?php echo $ secret ; ?> " id=" redux-export-code-copy" class="button-secondary">
149
+ <button id="redux-export-code-copy" class="button-secondary" data-secret="<?php echo esc_attr ( $ secret ) ; ?> " data-copy=" <?php esc_attr_e ( ' Copy Data ' , ' redux-framework ' ); ?> " data-copied=" <?php esc_attr_e ( ' Data Copied! ' , ' redux-framework ' ); ?> ">
150
150
<?php esc_html_e ( 'Copy Data ' , 'redux-framework ' ); ?>
151
- </a>
151
+ </button>
152
152
<a href="<?php echo esc_url ( $ link ); ?> " id="redux-export-code-dl" class="button-primary">
153
- <?php esc_html_e ( 'Download Data File ' , 'redux-framework ' ); ?>
153
+ <?php esc_html_e ( 'Export File ' , 'redux-framework ' ); ?>
154
154
</a>
155
- <a href="javascript:void(0);" id="redux-export-link" class="button-secondary">
155
+ <a href="javascript:void(0);" id="redux-export-link" class="button-secondary" data-copy=" <?php esc_attr_e ( ' Copy Export URL ' , ' redux-framework ' ); ?> " data-copied=" <?php esc_attr_e ( ' URL Copied! ' , ' redux-framework ' ); ?> " data-url=" <?php echo esc_url ( $ link ); ?> ">
156
156
<?php esc_html_e ( 'Copy Export URL ' , 'redux-framework ' ); ?>
157
157
</a>
158
158
</p>
159
159
<p></p>
160
- <textarea class="large-text no-update" id="redux-export-code" rows="2"></textarea>
161
- <textarea
162
- class="large-text no-update"
163
- id="redux-export-link-value"
164
- data-url="<?php echo esc_url ( $ link ); ?> "
165
- rows="2"><?php echo esc_url ( $ link ); ?> </textarea>
160
+ <textarea class="large-text no-update" id="redux-export-code" rows="1"></textarea>
166
161
<?php
167
162
}
168
163
0 commit comments