[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

   1  <?php
   2  gp_title( __( 'Create New Project &lt; GlotPress', 'glotpress' ) );
   3  gp_breadcrumb(
   4      array(
   5          __( 'Create New Project', 'glotpress' ),
   6      )
   7  );
   8  gp_tmpl_header();
   9  ?>
  10  <h2><?php _e( 'Create New Project', 'glotpress' ); ?></h2>
  11  <form action="" method="post">
  12      <?php gp_tmpl_load( 'project-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_public_root() ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a>
  16      </div>
  17      <?php gp_route_nonce_field( 'add-project' ); ?>
  18  </form>
  19  <?php
  20  gp_tmpl_footer();


Generated: Mon Mar 4 01:01:32 2024 Cross-referenced by PHPXref 0.7.1