[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-templates/ -> project-import.php (source)

   1  <?php
   2  gp_title( $kind == 'originals'?
   3       sprintf( __('Import Originals &lt; %s &lt; GlotPress'), esc_html( $project->name ) ) :
   4      sprintf( __('Import Translations &lt; %s &lt; GlotPress'), esc_html( $project->name ) ) );
   5  gp_breadcrumb_project( $project );
   6  gp_tmpl_header();
   7  ?>
   8  <h2><?php echo $kind == 'originals'? __('Import Originals') : __('Import Translations'); ?></h2>
   9  <form action="" method="post" enctype="multipart/form-data">
  10      <dl>
  11      <dt><label for="import-file"><?php _e('Import File:'); ?></label></dt>
  12      <dd><input type="file" name="import-file" id="import-file" /></dd>
  13  <?php
  14      $format_slugs = array_keys( GP::$formats );
  15      $format_dropdown = gp_select( 'format', array_combine( $format_slugs, $format_slugs ), 'po' );
  16  ?>
  17      <dt><label    for="format"><?php _e('Format:'); ?></label></dt>
  18      <dd><?php echo $format_dropdown; ?></dd>
  19      <dt><input type="submit" value="<?php echo esc_attr( __('Import') ); ?>"></dt>
  20  </form>
  21  <?php gp_tmpl_footer(); ?>


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