public static function admin() { parent::admin(); $list = array(1 => __('First page')); if (get_option('show_on_front') == 'page') { self::$option = array('front-page' => 'Posts Page'); self::$question = 'Show widget on the posts page?'; } self::mkGUI(self::$type, self::$option[self::$name], self::$question, NULL, self::$except, $list); }
<div id="dynwid"> <?php $DW_Role = new DW_Role(); $DW_Role->admin(); $DW_Date = new DW_Date(); $DW_Date->admin(); $DW_WPML = new DW_WPML(); $DW_WPML->admin(); $DW_QT = new DW_QT(); $DW_QT->admin(); $DW_Browser = new DW_Browser(); $DW_Browser->admin(); $DW_Tpl = new DW_Tpl(); $DW_Tpl->admin(); $DW_Front_page = new DW_Front_page(); $DW_Front_page->admin(); $DW_Single = new DW_Single(); $DW_Single->admin(); $DW_Attachment = new DW_Attachment(); $DW_Attachment->admin(); $DW_Page = new DW_Page(); $DW_Page->admin(); $DW_Author = new DW_Author(); $DW_Author->admin(); $DW_Category = new DW_Category(); $DW_Category->admin(); $DW_Tag = new DW_Tag(); $DW_Tag->admin(); $DW_Archive = new DW_Archive(); $DW_Archive->admin();