| @@ -1,45 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | -defined('ABSPATH') || die('Restricted Access'); | |
| 3 | -?> | |
| 4 | -<form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm"> | |
| 5 | - <div id="acym_content" class="acym__language__modal popup_size"> | |
| 6 | - <div class="cell grid-x grid-margin-x text-right margin-bottom-0 margin-y"> | |
| 7 | - <h1 class="cell medium-auto medium-text-left text-center hide-for-small-only hide-for-medium-only acym__title acym__title__secondary"> | |
| 8 | - <?php echo esc_html(acym_translation('ACYM_FILE').' : '.$data['file']->name); ?> | |
| 9 | - </h1> | |
| 10 | - <?php | |
| 11 | - ?> | |
| 12 | - <a href="#customcontent" id="edit_translation" class="cell medium-6 large-shrink button button-secondary"><?php echo esc_html( | |
| 13 | - acym_translation('ACYM_EDIT') | |
| 14 | - ); ?></a> | |
| 15 | - <button data-task="saveLanguage" class="acy_button_submit button medium-6 large-shrink cell"> | |
| 16 | - <?php echo esc_html(acym_translation('ACYM_SAVE')); ?> | |
| 17 | - </button> | |
| 18 | - </div> | |
| 19 | - <div class="cell acym__language__modal__existing acym__content<?php if (ACYM_CMS === 'wordpress') echo ' is-hidden'; ?>"> | |
| 20 | - <i id="load_latest_spinner" class="acymicon-circle-o-notch acymicon-spin" style="display: none;"></i> | |
| 21 | - <textarea readonly rows="18" name="content" id="translation" class="acym__language__modal__existing__translation"><?php echo esc_html( | |
| 22 | - str_replace( | |
| 23 | - '&', | |
| 24 | - '&', | |
| 25 | - $data['file']->content | |
| 26 | - ) | |
| 27 | - ); ?></textarea> | |
| 28 | - </div> | |
| 29 | - <div class="grid-x acym__content acym__language__modal__custom margin-top-2" id="customcontent"> | |
| 30 | - <h6 class="cell large-7 acym__title acym__title__secondary margin-bottom-0"><?php echo esc_html(acym_translation('ACYM_CUSTOM_TRANS')); ?></h6> | |
| 31 | - <div class="cell large-5 grid-x align-right"> | |
| 32 | - <button id="copy_translations" class="button"><?php echo esc_html(acym_translation('ACYM_COPY_DEFAULT_TRANSLATIONS')); ?></button> | |
| 33 | - </div> | |
| 34 | - <div class="cell margin-top-1"> | |
| 35 | - <?php echo esc_html(acym_translation('ACYM_CUSTOM_TRANS_DESC')); ?> | |
| 36 | - <textarea rows="10" name="customcontent" class="acym__language__modal__body"><?php echo esc_html( | |
| 37 | - str_replace('&', '&', $data['file']->customcontent) | |
| 38 | - ); ?></textarea> | |
| 39 | - </div> | |
| 40 | - </div> | |
| 41 | - <div class="clr"></div> | |
| 42 | - <input type="hidden" name="code" value="<?php echo esc_attr($data['file']->name); ?>" /> | |
| 43 | - <?php acym_formOptions(); ?> | |
| 44 | - </div> | |
| 45 | -</form> | |