[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

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


Generated: Sat Aug 24 01:03:14 2019 Cross-referenced by PHPXref 0.7.1