function notes_column_content($name)
 {
     global $post, $ppn_db_notes, $wpdb;
     switch ($name) {
         case 'ppn_notes':
             $latest_note = $wpdb->get_row('SELECT noteid, notecontent, author, notetime FROM ' . $ppn_db_notes . ' WHERE postid = ' . $post->ID . ' ORDER BY notetime DESC LIMIT 1', OBJECT);
             if ($latest_note) {
                 $author_name = ppnFunctionCollection::get_author_name($latest_note->author);
                 print '[<em>' . date(__('M j, Y \\a\\t G:i', 'peters_post_notes'), strtotime($latest_note->notetime)) . ', ' . $author_name . '</em>]<br />' . $latest_note->notecontent;
             } else {
                 print '-';
             }
     }
 }
 static function submit_settings()
 {
     $ppn_settings = ppnFunctionCollection::get_settings();
     foreach ($ppn_settings as $setting_name => $setting_value) {
         if (isset($_POST['ppn_' . $setting_name])) {
             $ppn_settings[$setting_name] = $_POST['ppn_' . $setting_name];
         } elseif (in_array($setting_name, array('super_roles', 'super_caps', 'superedit_roles', 'superedit_caps'))) {
             $ppn_settings[$setting_name] = array();
         }
     }
     update_option('ppn_settings', $ppn_settings);
     return array('success', __('Successfully updated plugin settings', 'peters_post_notes'));
 }