[ 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' ),  $project->name ) );
   3  gp_breadcrumb_project( $project );
   4  wp_enqueue_script( 'mass-create-sets-page' );
   5  wp_localize_script( '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;'),
   8  ));
   9  gp_tmpl_header();
  10  ?>
  11  <h2><?php _e('Mass-create Translation Sets'); ?></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.'); ?></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:');  ?></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 echo esc_attr( __('Create Translation Sets') ); ?>" id="submit" /></p>
  22  </form>
  23  <?php gp_tmpl_footer();


Generated: Thu May 24 03:59:35 2012 Hosted by follow the white rabbit.