[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Templates: Delete Translation Set
   4   *
   5   * @package GlotPress
   6   * @subpackage Templates
   7   * @since 2.0.0
   8   */
   9  
  10  gp_title( sprintf( __( 'Delete Translation Set &lt; %s &lt; %s &lt; GlotPress', 'glotpress' ), $set->name, $project->name ) );
  11  gp_breadcrumb( array(
  12      gp_project_links_from_root( $project ),
  13      gp_link_get( $url, $locale->english_name . ( 'default' !== $set->slug ? ' ' . $set->name : '' ) ),
  14  ) );
  15  gp_tmpl_header();
  16  ?>
  17  <h2><?php _e( 'Delete Translation Set', 'glotpress' ); ?></h2>
  18  <form action="" method="post">
  19      <p>
  20          <?php _e( 'Note this will delete all translations associated with this set!', 'glotpress' ); ?>
  21      </p>
  22      <p>
  23          <input type="submit" name="submit" value="<?php esc_attr_e( 'Delete', 'glotpress' ); ?>" id="submit" />
  24          <span class="or-cancel"><?php _e( 'or', 'glotpress' ); ?> <a href="<?php echo esc_url( gp_url_project_locale( $project, $locale->slug, $set->slug ) ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a></span>
  25      </p>
  26      <?php gp_route_nonce_field( 'delete-translation-set_' . $set->id ); ?>
  27  </form>
  28  <?php gp_tmpl_footer();


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