Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/09/2011 10:06:53 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Introduce views API into plugin. Allows for creating specific topic views with code rather than with templates. The 'no-replies' view is included as default. Props GautamGupta via Google Code-in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-settings.php

    r2787 r2789  
    207207
    208208            <input name="_bbp_user_slug" type="text" id="_bbp_user_slug" value="<?php form_option( '_bbp_user_slug' ); ?>" />
     209
     210<?php
     211}
     212
     213/**
     214 * View slug setting field
     215 *
     216 * @since bbPress (r2789)
     217 *
     218 * @uses form_option() To output the option value
     219 */
     220function bbp_admin_setting_callback_view_slug() {
     221?>
     222
     223            <input name="_bbp_view_slug" type="text" id="_bbp_view_slug" value="<?php form_option( '_bbp_view_slug' ); ?>" />
    209224
    210225<?php
Note: See TracChangeset for help on using the changeset viewer.