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