[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-templates/ -> project-mass-create-sets.php (source)

   1  <?php
   2  gp_title( sprintf( __( 'Mass-create Translation Sets &lt; %s &lt; GlotPress', 'glotpress' ),  $project->name ) );
   3  gp_breadcrumb_project( $project );
   4  gp_enqueue_scripts( 'gp-mass-create-sets-page' );
   5  wp_localize_script( 'gp-mass-create-sets-page', '$gp_mass_create_sets_options', array(
   6      'url' => gp_url_join( gp_url_current(), 'preview' ),
   7      'loading' => __( 'Loading translation sets to create&hellip;', 'glotpress' ),
   8  ));
   9  gp_tmpl_header();
  10  ?>
  11  <h2><?php _e( 'Mass-create Translation Sets', 'glotpress' ); ?></h2>
  12  <p><?php _e( 'Here you can mass-create translation sets in this project.
  13  The list of translation sets will be mirrored with the sets of a project you choose.
  14  Usually this is one of the parent projects.', 'glotpress' ); ?></p>
  15  <form action="<?php echo esc_url( gp_url_current() ); ?>" method="post">
  16      <dl>
  17          <dt><label for="project_id"><?php _e( 'Project to take translation sets from:', 'glotpress' );  ?></label></dt>
  18          <dd><?php echo gp_projects_dropdown( 'project_id', null ); ?></dd>
  19      </dl>
  20      <div id="preview"></div>
  21      <p><input type="submit" name="submit" value="<?php esc_attr_e( 'Create Translation Sets', 'glotpress' ); ?>" id="submit" /></p>
  22      <?php gp_route_nonce_field( 'mass-create-transation-sets_' . $project->id ); ?>
  23  </form>
  24  <?php gp_tmpl_footer();


Generated: Mon Dec 16 01:01:59 2019 Cross-referenced by PHPXref 0.7.1