[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

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


Generated: Sat Aug 24 01:03:14 2019 Cross-referenced by PHPXref 0.7.1