[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-templates/ -> translation-row-editor-actions.php (source)

   1  <?php
   2  /**
   3   * Template for the action buttons displayed below the editor
   4   *
   5   * @package    GlotPress
   6   * @subpackage Templates
   7   */
   8  
   9  ?>
  10  <div class="actions">
  11      <div class="button-group">
  12          <?php if ( $can_edit ) : ?>
  13              <button class="button is-primary ok" data-nonce="<?php echo esc_attr( wp_create_nonce( 'add-translation_' . $translation->original_id ) ); ?>">
  14                  <?php echo $can_approve_translation ? __( 'Add translation &rarr;', 'glotpress' ) : __( 'Suggest new translation &rarr;', 'glotpress' ); ?>
  15              </button>
  16          <?php endif; ?>
  17          <button type="button" href="#" class="button is-link close"><?php _e( 'Cancel', 'glotpress' ); ?></button>
  18      </div>
  19  </div>


Generated: Thu Nov 21 01:01:07 2024 Cross-referenced by PHPXref 0.7.1