Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/12/2009 05:38:07 AM (15 years ago)
Author:
sambauers
Message:

Better looking move topic form. Fixes #1164.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.bb-template.php

    r2323 r2349  
    15241524        return;
    15251525
    1526     $r = $before . '<form id="topic-move" method="post" action="' . bb_get_uri( 'bb-admin/topic-move.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ) . '">' . "\n";
    1527     $r .= '<fieldset>' . "\n";
    1528     $r .= '<div>' . "\n";
     1526    $r = $before . '<form id="topic-move" method="post" action="' . bb_get_uri( 'bb-admin/topic-move.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ) . '"><fieldset><div>' . "\n";
    15291527    $r .= '<input type="hidden" name="topic_id" value="' . $topic->topic_id . '" />' . "\n";
    15301528    $r .= '<label for="forum-id">'. __( 'Move to' ) . '</label>' . "\n";
     
    15321530    $r .= bb_nonce_field( 'move-topic_' . $topic->topic_id, '_wpnonce', true , false );
    15331531    $r .= '<input type="submit" name="Submit" value="' . __( 'Move' ) . '" />' . "\n";
    1534     $r .= '</div>' . "\n";
    1535     $r .= '</fieldset>' . "\n";
    1536     $r .= '</form>' . $after;
     1532    $r .= '</div></fieldset></form>' . $after;
    15371533
    15381534    return $r;
Note: See TracChangeset for help on using the changeset viewer.