'Slide Image', 'desc' => 'Copy paste the uploaded image url here.', 'id' => $prefix.'slide', 'type' => 'text' ), ); // enqueue scripts and styles, but only if is_admin if(is_admin()) { wp_enqueue_script('jquery-ui-datepicker'); wp_enqueue_script('jquery-ui-slider'); wp_enqueue_script('custom-js', get_template_directory_uri().'/js/custom-js.js'); wp_enqueue_style('jquery-ui-custom', get_template_directory_uri().'/css/jquery-ui-custom.css'); } // add some custom js to the head of the page add_action('admin_head','add_custom_scripts'); function add_custom_scripts() { global $custom_meta_fields, $post; $output = ''; echo $output; } // The Callback function show_custom_meta_box() { global $custom_meta_fields, $post; // Use nonce for verification echo ''; // Begin the field table and loop echo ''; foreach ($custom_meta_fields as $field) { // get value of this field if it exists for this post $meta = get_post_meta($post->ID, $field['id'], true); // begin a table row with echo ''; } // end foreach echo '
'; switch($field['type']) { // text case 'text': echo '
'.$field['desc'].''; break; // textarea case 'textarea': echo '
'.$field['desc'].''; break; // checkbox case 'checkbox': echo ' '; break; // select case 'select': echo '
'.$field['desc'].''; break; // radio case 'radio': foreach ( $field['options'] as $option ) { echo '
'; } echo ''.$field['desc'].''; break; // checkbox_group case 'checkbox_group': foreach ($field['options'] as $option) { echo '
'; } echo ''.$field['desc'].''; break; // tax_select case 'tax_select': echo '
Manage '.$taxonomy->label.''; break; // post_list case 'post_list': $items = get_posts( array ( 'post_type' => $field['post_type'], 'posts_per_page' => -1 )); echo '
'.$field['desc'].''; break; // date case 'date': echo '
'.$field['desc'].''; break; // slider case 'slider': $value = $meta != '' ? $meta : '0'; echo '

'.$field['desc'].''; break; // image case 'image': $image = get_template_directory_uri().'/images/image.png'; echo ''; if ($meta) { $image = wp_get_attachment_image_src($meta, 'medium'); $image = $image[0]; } echo '
 Remove Image
'.$field['desc'].''; break; // repeatable case 'repeatable': echo '+
    '; $i = 0; if ($meta) { foreach($meta as $row) { echo '
  • ||| -
  • '; $i++; } } else { echo '
  • ||| -
  • '; } echo '
'.$field['desc'].''; break; } //end switch echo '
'; // end table } /* function remove_taxonomy_boxes() { remove_meta_box('categorydiv', 'post', 'side'); } add_action( 'admin_menu' , 'remove_taxonomy_boxes' ); */ // Save the Data function save_custom_meta($post_id) { global $custom_meta_fields; // verify nonce if (!wp_verify_nonce($_POST['custom_meta_box_nonce'], basename(__FILE__))) return $post_id; // check autosave if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; // check permissions if ('page' == $_POST['post_type']) { if (!current_user_can('edit_page', $post_id)) return $post_id; } elseif (!current_user_can('edit_post', $post_id)) { return $post_id; } // loop through fields and save the data foreach ($custom_meta_fields as $field) { if($field['type'] == 'tax_select') continue; $old = get_post_meta($post_id, $field['id'], true); $new = $_POST[$field['id']]; if ($new && $new != $old) { update_post_meta($post_id, $field['id'], $new); } elseif ('' == $new && $old) { delete_post_meta($post_id, $field['id'], $old); } } // enf foreach // save taxonomies $post = get_post($post_id); $category = $_POST['category']; wp_set_object_terms( $post_id, $category, 'category' ); } add_action('save_post', 'save_custom_meta'); ?> 'Project Gunrunner' Whistleblower Says ATF Sent Him Termination Notice - Axis : Axis
Comments Off on ‘Project Gunrunner’ Whistleblower Says ATF Sent Him Termination Notice

Cefalu first told FoxNews.com about the ATF’s embattled anti-gun smuggling operation in December, before the first reports on the story appeared in February. “Simply put, we knowingly let hundreds of guns and dozens of identified bad guys go across the border,” Cefalu said at the time.

Since then, Cefalu’s claims have been vindicated, as a number of agents with first-hand knowledge of the case came forward. The scandal over Project Gunrunner led to congressional hearings, a presidential reprimand – Obama called the operation “a serious mistake” – and speculation that ATF chief Ken Melson will resign.

Yet last week, Cefalu, who has worked for the agency for 24 years, was forced to turn in his gun and badge. He can appeal but will be on “paid administrative leave” during the process.

Cefalu’s dismissal follows a string of allegations that the ATF retaliates against whistleblowers. When the Project Gunrunner scandal broke, Sen. Chuck Grassley, R-Iowa, wrote the ATF that an agent who had been giving his staff members information about the scandal had been “allegedly accused… of misconduct” by the agent’s boss for talking with Grassley’s staffers.

And two days before Cefalu was served with termination papers, Rep. Darrell Issa, R-Calif., chairman of the House Committee on Oversight and Government Reform, sent a letter to the ATF warning officials not to retaliate against whistleblowers.

ATF spokesman Drew Wade denied in a statement to FoxNews.com that the bureau is retaliating, but he declined to comment about Cefalu’s case. “ATF will not comment on specific, ongoing personnel matters. It is illegal to use disciplinary actions to retaliate against employees, and ATF does not engage in such improper reprisals.”

The ATF’s termination letter to Cefalu, obtained by FoxNews.com, makes no mention of Cefalu’s role in the latest scandal.

“You think they would just come out and say that?” Cefalu said.

The letter instead says that Cefalu should be fired because he leaked documents on a website he helped create, CleanupATF.org, and showed a “lack of candor” on past projects, in particular a 2005 operation that Cefalu led. Cefalu admits he made information about the case public but says he did so only after redacting sensitive parts and exhausting internal channels.

In the 2005 case, local police wanted to wiretap a suspect to gather evidence, but Cefalu objected, saying it would be illegal to use wiretaps until all other options for gathering evidence had been tried.

Cefalu was then removed from the case. But he continued to speak out and file internal complaints about what he viewed as illegal ATF wiretapping. And that’s when his life became difficult.

“That was the beginning of the end,” Cefalu told FoxNews.com.

Read more: http://www.foxnews.com/politics/2011/06/27/atf-to-fire-gunrunner-whistleblower/#ixzz1QVwUIJ5F