[ Index ] |
PHP Cross Reference of GlotPress |
[Summary view] [Print] [Text view]
1 <?php 2 gp_title( 3 sprintf( 4 /* translators: 1: Translation set name. 2: Project name. */ 5 __( 'Edit Translation Set < %1$s < %2$s < GlotPress', 'glotpress' ), 6 $set->name, 7 $project->name 8 ) 9 ); 10 gp_breadcrumb( 11 array( 12 gp_project_links_from_root( $project ), 13 gp_link_get( $url, $locale->english_name . 'default' !== $set->slug ? ' ' . $set->name : '' ), 14 ) 15 ); 16 17 // jQuery is required for the 'translation-set-form' template. 18 gp_enqueue_script( 'jquery' ); 19 20 gp_tmpl_header(); 21 ?> 22 <h2><?php _e( 'Edit Translation Set', 'glotpress' ); ?></h2> 23 <form action="" method="post"> 24 <?php gp_tmpl_load( 'translation-set-form', get_defined_vars() ); ?> 25 <div class="button-group"> 26 <input class="button is-primary" type="submit" name="submit" value="<?php esc_attr_e( 'Save', 'glotpress' ); ?>" id="submit" /> 27 <a class="button is-link" href="<?php echo esc_url( gp_url_project_locale( $project, $locale->slug, $set->slug ) ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a> 28 </div> 29 <?php gp_route_nonce_field( 'edit-translation-set_' . $set->id ); ?> 30 </form> 31 <?php 32 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 |