You appear to be a bot. Output may be restricted
Description
Display the cookie catalog
Usage
cookie_cat_catalog();
Parameters
Returns
voidSource
File name: cookie-cat/admin/cookie-cat.phpLines:
1 to 30 of 30
function cookie_cat_catalog() { $kvs = ""; $temp = bw_array_get( $_REQUEST, "_cookie_cat_temp_xml", "0"); $temping = bw_validate_torf( $temp, ",,on" ); if ( $temping ) { p( "Current cookie-cat catalog, using temporary XML file." ); $kvs .= kv( "temp", "Y" ); } else { p( "Current cookie-cat catalog." ); } bw_form(); //bw_trace2( $_REQUEST, "dollar request" ); $browser = bw_array_get( $_REQUEST, "_cookie_cat_browser", "0" ); //bw_trace2( $browser, "browser", false ); bw_checkbox( "_cookie_cat_browser", "Show browser cookies?", $browser ); bw_checkbox( "_cookie_cat_temp_xml", "Use temp XML file?", $temp ); $browser = bw_validate_torf( $browser, ",,on" ); if ( $browser ) { $kvs .= kv( "browser" , "Y" ); } else { bw_trace2( $browser, "browser not true" ); } $redisplay = "<input type=\"submit\" name=\"_cookie_cat_catalog\" value=\"Redisplay\" class=\"button-secondary\"/>"; e( $redisplay ); etag( "form" ); oik_require( "includes/oik-sc-help.php" ); bw_invoke_shortcode( "cookies", $kvs , "Cookie catalog" ); }View on GitHub View on Trac