[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Templates: Delete Project
   4   *
   5   * @package GlotPress
   6   * @subpackage Templates
   7   * @since 2.0.0
   8   */
   9  
  10  gp_title( sprintf(
  11      /* translators: %s: project name */
  12      __( 'Delete project "%s" &lt; GlotPress', 'glotpress' ),
  13      $project->name
  14  ) );
  15  gp_breadcrumb_project( $project );
  16  gp_tmpl_header();
  17  ?>
  18  <h2>
  19      <?php
  20      printf(
  21          /* translators: %s: project name */
  22          __( 'Delete project "%s"', 'glotpress' ),
  23          esc_html( $project->name )
  24      );
  25      ?>
  26  </h2>
  27  <form action="" method="post">
  28      <p>
  29          <?php _e( 'Note this will delete all translations, translation sets and child projects!', 'glotpress' ); ?>
  30      </p>
  31      <p>
  32          <input type="submit" name="submit" value="<?php esc_attr_e( 'Delete', 'glotpress' ); ?>" id="submit" />
  33          <span class="or-cancel"><?php _e( 'or', 'glotpress' ); ?> <a href="<?php echo esc_url( gp_url_project( $project ) ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a></span>
  34      </p>
  35      <?php gp_route_nonce_field( 'delete-project_' . $project->id ); ?>
  36  </form>
  37  <?php gp_tmpl_footer();


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