[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-forums/bbpress/bb-templates/kakumei/ -> edit-form.php (source)

   1  <?php if ( !bb_get_user( get_post_author_id() ) ) : ?>
   2  
   3      <?php bb_load_template( 'post-form-anonymous.php' ); ?>
   4  
   5  <?php endif; ?>
   6  
   7  <?php if ( $topic_title ) : ?>
   8  <p role="main">
   9      <label for="topic"><?php _e( 'Topic:' ); ?><br />
  10          <input name="topic" type="text" id="topic" size="50" maxlength="80" tabindex="31" value="<?php echo esc_attr( get_topic_title() ); ?>" />
  11      </label>
  12  </p>
  13  <?php endif; do_action( 'edit_form_pre_post' ); ?>
  14  
  15  <p>
  16      <label for="post_content"><?php _e( 'Post:' ); ?><br />
  17          <textarea name="post_content" cols="50" rows="8" tabindex="32" id="post_content"><?php echo apply_filters( 'edit_text', get_post_text() ); ?></textarea>
  18      </label>
  19  </p>
  20  
  21  <?php if ( bb_get_user( get_post_author_id() ) && bb_is_subscriptions_active() ) : ?>
  22  <p id="post-form-subscription-container" class="left">
  23      <?php bb_user_subscribe_checkbox( 'tab=33' ); ?>
  24  </p>
  25  <?php endif; ?>
  26  
  27  <p class="submit">
  28      <input type="submit" name="Submit" value="<?php esc_attr_e( 'Edit Post &raquo;' ); ?>" tabindex="34" />
  29      <input type="hidden" name="post_id" value="<?php post_id(); ?>" />
  30      <input type="hidden" name="topic_id" value="<?php topic_id(); ?>" />
  31  </p>
  32  
  33  <p><?php _e( 'Allowed markup:' ); ?> <code><?php allowed_markup(); ?></code>. <br /><?php _e( 'Put code in between <code>`backticks`</code>.' ); ?></p>


Generated: Thu Dec 7 01:01:35 2017 Cross-referenced by PHPXref 0.7.1