[ Index ] |
PHP Cross Reference of GlotPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Templates: Delete Project 4 * 5 * @package GlotPress 6 * @subpackage Templates 7 * @since 2.0.0 8 */ 9 10 gp_title( 11 sprintf( 12 /* translators: %s: project name */ 13 __( 'Delete project "%s" < GlotPress', 'glotpress' ), 14 $project->name 15 ) 16 ); 17 gp_breadcrumb_project( $project ); 18 gp_tmpl_header(); 19 ?> 20 <h2> 21 <?php 22 printf( 23 /* translators: %s: project name */ 24 __( 'Delete project "%s"', 'glotpress' ), 25 esc_html( $project->name ) 26 ); 27 ?> 28 </h2> 29 <form action="" method="post"> 30 <p> 31 <?php _e( 'Note this will delete all translations, translation sets and child projects!', 'glotpress' ); ?> 32 </p> 33 34 <div class="button-group"> 35 <input class="button is-destructive" type="submit" name="submit" value="<?php esc_attr_e( 'Delete', 'glotpress' ); ?>" id="submit" /> 36 <a class="button is-link" href="<?php echo esc_url( gp_url_project( $project ) ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a> 37 </div> 38 39 <?php gp_route_nonce_field( 'delete-project_' . $project->id ); ?> 40 </form> 41 <?php 42 gp_tmpl_footer();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:01:07 2024 | Cross-referenced by PHPXref 0.7.1 |