"; echo $output; } function widget_series_list_register() { $id = ""; // #, if we want to do more than 1 in the future. $name = __("Series List{$id}"); register_sidebar_widget($name, array("InSeriesWidgets", 'widget_series_list'), "is_series_list", 0 /* $id */); register_widget_control($name, array("InSeriesWidgets", 'widget_series_list_control'), 460, 350, 0 /* $id */); } /**************************************************************************\ * Table of Contents * \**************************************************************************/ function widget_series_toc($args, $classname, $index) { $options = get_option('in_series'); $options = $options['series_toc_widget'][$index]; $format = array(); // $format['format_series_list_entry'] = ; $format['format_toc_block'] = "