You appear to be a bot. Output may be restricted
Description
Usage
cookie_cat_load_temp_xml();
Parameters
Returns
voidSource
File name: cookie-cat/admin/cookie-cat.phpLines:
1 to 20 of 20
function cookie_cat_load_temp_xml() { $load_xml = bw_array_get( $_REQUEST, "_cookie_cat_load_xml", null ); if ( $load_xml ) { $temp_xml = cookie_cat_load_feed(); $tempxml = cookie_cat_write_temp_xml( $temp_xml ); $last_loaded = bw_format_date( null, "Y-m-d H:i:s"); bw_update_option( "last_loaded", $last_loaded, "cookie_cat_saved" ); } else { $tempxml = cookie_cat_default_temp_xml(); //bw_get_option( "tempxml", "cookie_cat_options" ); bw_trace2( $tempxml, "tempxml", false ); $last_loaded = bw_get_option( "last_loaded", "cookie_cat_saved" ); } if ( $tempxml ) { p( "Latest XML loaded on $last_loaded." ); $url = bw_file2url( $tempxml ); $link = retlink( null, $url, $tempxml, "View the temporary XML file" ); p( "Temporary XML file: $link" ); } }View on GitHub View on Trac