[ Index ] |
PHP Cross Reference of GlotPress |
[Summary view] [Print] [Text view]
1 <?php 2 gp_title( __( 'Create New Translation Set < GlotPress', 'glotpress' ) ); 3 $project ? gp_breadcrumb_project( $project ) : gp_breadcrumb( array( __( 'New Translation Set', 'glotpress' ) ) ); 4 5 // jQuery is required for the 'translation-set-form' template. 6 gp_enqueue_script( 'jquery' ); 7 8 gp_tmpl_header(); 9 ?> 10 <h2><?php _e( 'Create New Translation Set', 'glotpress' ); ?></h2> 11 <form action="" method="post"> 12 <?php gp_tmpl_load( 'translation-set-form', get_defined_vars() ); ?> 13 <div class="button-group"> 14 <input class="button is-primary" type="submit" name="submit" value="<?php esc_attr_e( 'Create', 'glotpress' ); ?>" id="submit" /> 15 <a class="button is-link" href="<?php echo esc_url( gp_url_project( $project ) ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a> 16 </div> 17 <?php gp_route_nonce_field( 'add-translation-set' ); ?> 18 </form> 19 <?php 20 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 |