diff options
| author | spiderr <spiderr@bitweaver.org> | 2019-04-17 12:19:39 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2019-04-17 12:19:39 -0400 |
| commit | aa5341bf98d6d5622cb4a0cb2d0883d9f4c49b21 (patch) | |
| tree | c55f4f43206fb56bafade068168e338a21f3b0aa | |
| parent | c56a84224a60bdb897b1e0842116b6a306b53de3 (diff) | |
| download | boards-aa5341bf98d6d5622cb4a0cb2d0883d9f4c49b21.tar.gz boards-aa5341bf98d6d5622cb4a0cb2d0883d9f4c49b21.tar.bz2 boards-aa5341bf98d6d5622cb4a0cb2d0883d9f4c49b21.zip | |
clean up board level New Topic
| -rw-r--r-- | templates/list_topics.tpl | 5 | ||||
| -rw-r--r-- | view_board_inc.php | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index fdbc637..fbd6da2 100644 --- a/templates/list_topics.tpl +++ b/templates/list_topics.tpl @@ -48,10 +48,7 @@ {if !$gBitSystem->isFeatureActive('boards_thread_verbrose')} <tr> <th style="width:5%;"> - {form class="form-inline" action="`$comments_return_url`#editcomments"} - <input type="hidden" name="post_comment_request" value="1" /> - <input type="submit" class="btn btn-xs btn-primary" value="{tr}New Topic{/tr}" /> - {/form} + <a href="{$comments_return_url}&post_comment_request=1#editcomments" class="btn btn-primary btn-xs">{tr}New Topic{/tr}</a> </th> <th style="width:40%;">{tr}Title{/tr}</th> <th style="width:5%;">{tr}Replies{/tr}</th> diff --git a/view_board_inc.php b/view_board_inc.php index 4e982e8..8f626e7 100644 --- a/view_board_inc.php +++ b/view_board_inc.php @@ -25,6 +25,8 @@ if ( @BitBase::verifyId( $_REQUEST['migrate_board_id'] ) ) { } } +$_REQUEST['board_id'] = BitBase::getParameter( $_REQUEST, 'b' ); + // Load up the board require_once( BOARDS_PKG_PATH.'lookup_inc.php' ); |
