function bb_new_topic_forum_dropdown($args = '')
{
    if (!is_array($args)) {
        $args = array('callback' => 'bb_current_user_can', 'callback_args' => array('write_topic'));
    }
    if (!isset($args['callback']) && !isset($args['callback_args'])) {
        $args['callback'] = 'bb_current_user_can';
        $args['callback_args'] = array('write_topic');
    }
    bb_forum_dropdown($args);
}
예제 #2
0
function forum_dropdown($c = false, $a = false)
{
    bb_log_deprecated('function', __FUNCTION__, 'bb_forum_dropdown');
    bb_forum_dropdown($c, $a);
}
예제 #3
0
				</label>
				<label class="radios">
					<input type="radio" name="move_topics" id="move-topics-move" value="move" checked="checked" /> <?php 
        _e('Move topics from this forum into the replacement forum below.');
        ?>
				</label>
			</div>
		</div>
		<div id="option-forum-delete-contents">
			<label for="move-topics-forum"><?php 
        _e('Replacement forum');
        ?>
</label>
			<div class="inputs">
				<?php 
        bb_forum_dropdown(array('id' => 'move_topics_forum', 'callback' => 'strcmp', 'callback_args' => array($deleted_forum->forum_id), 'selected' => $deleted_forum->forum_parent));
        ?>
			</div>
		</div>
	</fieldset>
	<fieldset class="submit">
		<?php 
        bb_nonce_field('delete-forums');
        ?>
		<input type="hidden" name="action" value="delete" />
		<input type="hidden" name="forum_id" value="<?php 
        echo $deleted_forum->forum_id;
        ?>
" />
		<a href="<?php 
        bb_uri('bb-admin/forums.php', null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_ADMIN);