[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

   1  <?php
   2  gp_title(
   3      sprintf(
   4          /* translators: %s: project name */
   5          __( 'Edit project "%s" &lt; GlotPress', 'glotpress' ),
   6          $project->name
   7      )
   8  );
   9  gp_breadcrumb_project( $project );
  10  gp_tmpl_header();
  11  ?>
  12  <h2>
  13      <?php
  14      printf(
  15          /* translators: %s: project name */
  16          __( 'Edit project "%s"', 'glotpress' ),
  17          esc_html( $project->name )
  18      );
  19      ?>
  20  </h2>
  21  <form action="" method="post">
  22      <?php gp_tmpl_load( 'project-form', get_defined_vars() ); ?>
  23      <p>
  24          <input type="submit" name="submit" value="<?php esc_attr_e( 'Save', 'glotpress' ); ?>" id="submit" />
  25          <span class="or-cancel"><?php _e( 'or', 'glotpress' ); ?> <a href="<?php echo esc_url( gp_url_project( $project ) ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a></span>
  26      </p>
  27      <?php gp_route_nonce_field( 'edit-project_' . $project->id ); ?>
  28  </form>
  29  <?php
  30  gp_tmpl_footer();


Generated: Thu Nov 26 01:02:01 2020 Cross-referenced by PHPXref 0.7.1