[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-templates/ -> glossary-new.php (source)

   1  <?php
   2  gp_title( __( 'Create New Glossary &lt; GlotPress', 'glotpress' ) );
   3  gp_breadcrumb( array(
   4      gp_project_links_from_root( $project ),
   5      gp_link_get( gp_url_project_locale( $project->path, $locale->slug, $translation_set->slug ), $translation_set->name ),
   6      __( 'Create Glossary', 'glotpress' )
   7  ) );
   8  gp_tmpl_header();
   9  ?>
  10  
  11  <h2><?php _e( 'Create New Glossary', 'glotpress' ); ?></h2>
  12  <form action="" method="post">
  13      <p>
  14          <label for="glossary-new-description"><?php _e( 'Description (optional)', 'glotpress' ); ?></label> <span class="ternary"><?php _e( 'can include HTML', 'glotpress' ); ?></span><br/>
  15          <textarea class="glossary-description" id="glossary-new-description" name="glossary[description]"></textarea>
  16      </p>
  17      <p>
  18          <input type="hidden" name="glossary[translation_set_id]" value="<?php echo esc_attr( $glossary->translation_set_id ); ?>"/>
  19          <input type="submit" name="submit" value="<?php esc_attr_e( 'Create', 'glotpress' ); ?>" id="submit" />
  20          <span class="or-cancel"><?php _e( 'or', 'glotpress' ); ?> <a href="<?php echo gp_url_project_locale( $project, $locale->slug, $translation_set->slug ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a></span>
  21      </p>
  22      <?php gp_route_nonce_field( 'add-glossary' ); ?>
  23  </form>
  24  
  25  <?php gp_tmpl_footer();


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