public function __construct()
 {
     $this->set_parent_slug('ms_tpls');
     //***
     $args = array('labels' => array('name' => __('Post Templates', 'newsplus'), 'singular_name' => __('Post Template', 'newsplus'), 'add_new' => __('Add New Post Template', 'newsplus'), 'add_new_item' => __('Add New Post Template', 'newsplus'), 'edit_item' => __('Edit Post Template', 'newsplus'), 'new_item' => __('New Post Template', 'newsplus'), 'view_item' => __('View Post Template', 'newsplus'), 'search_items' => __('Search Post Template', 'newsplus'), 'not_found' => __('No Post Templates found', 'newsplus'), 'not_found_in_trash' => __('No Post Templates found in Trash', 'newsplus'), 'parent_item_colon' => ''), 'public' => false, 'archive' => false, 'exclude_from_search' => true, 'publicly_queryable' => true, 'show_ui' => true, 'query_var' => true, 'capability_type' => 'post', '_builtin' => false, 'has_archive' => false, 'hierarchical' => true, 'menu_position' => null, 'supports' => array('title', 'excerpt'), 'rewrite' => array('slug' => $this->slug), 'show_in_admin_bar' => false, 'taxonomies' => array(), 'menu_icon' => '');
     parent::__construct($args);
 }
 public function __construct()
 {
     $this->set_parent_slug('mail_subscriber');
     //AJAX
     add_action('wp_ajax_ms_save_mail_html', array(&$this, 'save_mail_html'));
     //***
     $args = array('labels' => array('name' => __('NewsPlus', 'newsplus'), 'singular_name' => __('Mail', 'newsplus'), 'add_new' => __('Add New Mail', 'newsplus'), 'add_new_item' => __('Add New Mail', 'newsplus'), 'edit_item' => __('Edit Mail', 'newsplus'), 'new_item' => __('New Mail', 'newsplus'), 'view_item' => __('View Mail', 'newsplus'), 'search_items' => __('Search Mails', 'newsplus'), 'not_found' => __('No Mails found', 'newsplus'), 'not_found_in_trash' => __('No Mails found in Trash', 'newsplus'), 'parent_item_colon' => ''), 'public' => true, 'archive' => true, 'exclude_from_search' => true, 'publicly_queryable' => true, 'show_ui' => true, 'query_var' => true, 'capability_type' => 'post', 'has_archive' => false, 'hierarchical' => true, 'menu_position' => null, 'supports' => array('title', 'excerpt'), 'rewrite' => array('slug' => $this->slug), 'show_in_admin_bar' => false, 'taxonomies' => array('mail_subscriber_types'), 'menu_icon' => '');
     //*** taxonomies ****
     register_taxonomy("mail_subscriber_types", array($this->slug), array("hierarchical" => true, "labels" => array('name' => __('Mail Groups', 'newsplus'), 'singular_name' => __('Mail Groups', 'newsplus'), 'add_new' => __('Add New Mail Group', 'newsplus'), 'add_new_item' => __('Add New Mail Group', 'newsplus'), 'edit_item' => __('Edit Mail Group', 'newsplus'), 'new_item' => __('New Mail Group', 'newsplus'), 'view_item' => __('View Mail Group', 'newsplus'), 'search_items' => __('Search Mail Groups', 'newsplus'), 'not_found' => __('No Mail Groups found', 'newsplus'), 'not_found_in_trash' => __('No Mail Groups found in Trash', 'newsplus'), 'parent_item_colon' => ''), "singular_label" => __('mail_subscriber_type', 'newsplus'), "rewrite" => true, 'show_in_nav_menus' => false, 'capabilities' => array('manage_terms'), 'show_ui' => true));
     add_filter("manage_" . $this->slug . "_posts_columns", array(&$this, "show_edit_columns"));
     add_action("manage_" . $this->slug . "_posts_custom_column", array(&$this, "show_edit_columns_content"));
     //***
     add_filter('manage_edit-mail_subscriber_types_columns', array(&$this, 'manage_edit_category_columns'), 10, 2);
     add_action('manage_mail_subscriber_types_custom_column', array(&$this, 'manage_category_custom_column'), 10, 3);
     //***
     parent::__construct($args);
 }