[ 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      <?php if ( $can_edit ) : ?>
  12          <button class="ok" data-nonce="<?php echo esc_attr( wp_create_nonce( 'add-translation_' . $translation->original_id ) ); ?>">
  13              <?php echo $can_approve_translation ? __( 'Add translation &rarr;', 'glotpress' ) : __( 'Suggest new translation &rarr;', 'glotpress' ); ?>
  14          </button>
  15      <?php endif; ?>
  16      <?php _e( 'or', 'glotpress' ); ?> <a href="#" class="close"><?php _e( 'Cancel', 'glotpress' ); ?></a>
  17  </div>


Generated: Thu Mar 21 01:01:48 2019 Cross-referenced by PHPXref 0.7.1