Description
Usage
cookie_cat_options();Parameters
Returns
voidSource
File name: cookie-cat/admin/cookie-cat.phpLines:
1 to 19 of 19
function cookie_cat_options() { p( "" ); $option = "cookie_cat_options"; $options = bw_form_start( $option, "cookie_cat_options" ); $options = bw_reset_options( $option, $options, "cookie_cat_default_options", "_cookie_cat_reset" ); bw_trace2( $options ); $len = 100; bw_form_start( $option, 'cookie_cat_options' ); bw_textfield_arr( $option, "cookie cat url - you shouldn't need to change this", $options, "url", 100 ); bw_textarea_arr( $option, "Plugin list. These are the active plugins.", $options, "plugins", $len, 5 ); bw_textarea_arr( $option, "Extra values. e.g. ,wordpress,PHP,comments", $options, "extras", $len, 2 ); //bw_textarea-arr( $option, "Cookie list", $options, "cookies", $len, 5 ); bw_checkbox_arr( $option, "Default <b>browser=y</b> for the [cookies] shortcode", $options, "browser" ); bw_tablerow( array( "", "<input type=\"submit\" name=\"ok\" value=\"Save options\" class=\"button-primary\"/>") ); etag( "table" ); etag( "form" ); cookie_cat_reset_form(); bw_flush(); }View on GitHub View on Trac
Called by
Invoked by
Calls
1 to 11 of 11
- bw_checkbox_arr() – Create a checkbox for an array options field
- bw_flush() – Use bw_flush() to echo the contents of $bwecho then empty it
- bw_form_start() – Start of a WordPress form for options fields
- bw_reset_options() – Reset the options to the default fields
- bw_tablerow() – Display a table row or table head row when $tdtag = "th"
- bw_textarea_arr() – Create a textarea for an array options field
- bw_textfield_arr() – Create a textfield for an array options field
- bw_trace2() – Trace $value to the trace log file if tracing is active
- cookie_cat_reset_form() –
- etag() – Output an end tag
- p() – Output a paragraph of translatable text
