[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-templates/ -> translation-set-new.php (source)

   1  <?php
   2  gp_title( __( 'Create New Translation Set &lt; GlotPress', 'glotpress'  ) );
   3  $project? gp_breadcrumb_project( $project ) : gp_breadcrumb( array( __( 'New Translation Set', 'glotpress' ) ) );
   4  
   5  // jQuery is required for the 'translation-set-form' template.
   6  gp_enqueue_script( 'jquery' );
   7  
   8  gp_tmpl_header();
   9  ?>
  10  <h2><?php _e( 'Create New Translation Set', 'glotpress'  ); ?></h2>
  11  <form action="" method="post">
  12  <?php gp_tmpl_load( 'translation-set-form', get_defined_vars()); ?>
  13      <p>
  14          <input type="submit" name="submit" value="<?php esc_attr_e( 'Create', 'glotpress' ); ?>" id="submit" />
  15          <span class="or-cancel"><?php _e( 'or', 'glotpress' ); ?> <a href="<?php echo gp_url_project( $project )?>"><?php _e( 'Cancel', 'glotpress' ); ?></a></span>
  16      </p>
  17      <?php gp_route_nonce_field( 'add-translation-set' ); ?>
  18  </form>
  19  <?php gp_tmpl_footer();


Generated: Tue Jan 22 01:02:31 2019 Cross-referenced by PHPXref 0.7.1