[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php if ( !bb_is_topic() ) : ?>
   2  <p id="post-form-title-container">
   3      <label for="topic"><?php _e( 'Title' ); ?>
   4          <input name="topic" type="text" id="topic" size="50" maxlength="100" tabindex="34" />
   5      </label>
   6  </p>
   7  <?php endif; do_action( 'post_form_pre_post' ); ?>
   8  
   9  <p id="post-form-post-container">
  10      <label for="post_content"><?php _e( 'Post' ); ?>
  11          <textarea name="post_content" cols="50" rows="8" id="post_content" tabindex="35"></textarea>
  12      </label>
  13  </p>
  14  
  15  <?php if ( bb_is_user_logged_in() ) : /* Display Tags box to only logged in users */ ?>
  16  <p id="post-form-tags-container">
  17      <label for="tags-input"><?php _e( 'Tags (comma separated)' ); ?>
  18          <input id="tags-input" name="tags" type="text" size="50" maxlength="100" value="<?php bb_tag_name(); ?>" tabindex="36" />
  19      </label>
  20  </p>
  21  <?php endif; ?>
  22  
  23  <?php if ( bb_is_tag() || bb_is_front() ) : ?>
  24  <p id="post-form-forum-container">
  25      <label for="forum-id"><?php _e( 'Forum' ); ?>
  26          <?php bb_new_topic_forum_dropdown( 'tab=37' ); ?>
  27      </label>
  28  </p>
  29  <?php endif; ?>
  30  
  31  <?php if ( bb_is_user_logged_in() && bb_is_subscriptions_active() ) : ?>
  32  <p id="post-form-subscription-container" class="left">
  33      <?php bb_user_subscribe_checkbox( 'tab=38' ); ?>
  34  </p>
  35  <?php endif; ?>
  36  
  37  <p id="post-form-submit-container" class="submit">
  38      <input type="submit" id="postformsub" name="Submit" value="<?php esc_attr_e( 'Send Post &raquo;' ); ?>" tabindex="39" />
  39  </p>
  40  
  41  <div class="clear"></div>
  42  
  43  <p id="post-form-allowed-container" class="allowed"><?php _e( 'Allowed markup:' ); ?> <code><?php allowed_markup(); ?></code>. <br /><?php _e( 'You can also put code in between backtick ( <code>`</code> ) characters.' ); ?></p>


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