Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/30/2005 06:59:31 AM (17 years ago)
Author:
matt
Message:

Major new tag functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-templates/post-form.php

    r89 r101  
    11
    22<form class="postform" method="post" action="<?php option('uri'); ?>bb-post.php">
    3 <?php if ( is_forum() ) : ?>
     3<?php if ( is_forum() || is_tag() ) : ?>
    44<p>Before posting a new topic, <a href="<?php option('uri'); ?>search.php">be sure to search</a> to see if one has been started already.</p>
    55<p>
    6   <label>Topic:<br />
    7   <input name="topic" type="text" id="topic" size="50" maxlength="80" />
     6  <label>Topic title: (be brief and descriptive)<br />
     7  <input name="topic" type="text" id="topic" size="50" maxlength="80" tabindex="1" />
    88</label>
    99</p>
    1010<?php endif; ?>
    1111<p><label>Post:<br />
    12   <textarea name="post_content" cols="50" rows="8" id="post_content"></textarea>
     12  <textarea name="post_content" cols="50" rows="8" id="post_content" tabindex="2"></textarea>
    1313  </label>
    1414</p>
     15<?php if ( is_forum() || is_tag() ) : ?>
     16<p>Enter a few words (called <a href="<?php tag_page_link(); ?>">tags</a>) separated by spaces to help someone find your topic:<br />
     17<input name="tags" type="text" size="50" maxlength="100" value="<?php tag_name(); ?> " tabindex="3" />
     18</p>
     19<?php endif; ?>
     20<?php if ( is_tag() ) : ?>
     21<p>Pick a section:<br />
     22<?php forum_dropdown(); ?></p>
     23<?php endif; ?>
    1524<p class="submit">
    16   <input type="submit" name="Submit" value="Send Post &raquo;" />
     25  <input type="submit" name="Submit" value="Send Post &raquo;" tabindex="6" />
    1726<?php if ( is_forum() ) : ?>
    1827<input type="hidden" name="forum_id" value="<?php forum_id(); ?>" />
Note: See TracChangeset for help on using the changeset viewer.