<?php wp_nonce_field('plugin-name-action_edit_' . $widget_id); ?> <input type="hidden" name="dynwid_save" value="yes" /> <input type="hidden" name="widget_id" value="<?php echo $widget_id; ?> " /> <input type="hidden" id="returnurl" name="returnurl" value="<?php echo !empty($return_url) ? trailingslashit(admin_url()) . $return_url : ''; ?> " /> <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();
/** * dynWid::registerOverrulers() Overrule module regsitering * */ public function registerOverrulers() { include_once DW_MODULES . 'browser_module.php'; include_once DW_MODULES . 'date_module.php'; include_once DW_MODULES . 'day_module.php'; include_once DW_MODULES . 'week_module.php'; include_once DW_MODULES . 'role_module.php'; include_once DW_MODULES . 'shortcode_module.php'; include_once DW_MODULES . 'tpl_module.php'; include_once DW_MODULES . 'url_module.php'; include_once DW_MODULES . 'device_module.php'; include_once DW_MODULES . 'ip_module.php'; include_once DW_MODULES . 'fimage_module.php'; DW_Browser::checkOverrule('DW_Browser'); DW_Date::checkOverrule('DW_Date'); DW_Day::checkOverrule('DW_Day'); DW_Week::checkOverrule('DW_Week'); DW_Role::checkOverrule('DW_Role'); DW_Shortcode::checkOverrule('DW_Shortcode'); DW_Tpl::checkOverrule('DW_Tpl'); DW_URL::checkOverrule('DW_URL'); DW_Device::checkOverrule('DW_Device'); DW_IP::checkOverrule('DW_IP'); DW_Fimage::checkOverrule('DW_Fimage'); // WPML Plugin Support include_once DW_MODULES . 'wpml_module.php'; DW_WPML::detectLanguage(); // QT Plugin Support // include_once(DW_MODULES . 'qt_module.php'); // DW_QT::detectLanguage(); }
/** * dynWid::registerOverrulers() Overrule module regsitering * */ public function registerOverrulers() { include_once DW_MODULES . 'browser_module.php'; include_once DW_MODULES . 'date_module.php'; include_once DW_MODULES . 'role_module.php'; include_once DW_MODULES . 'tpl_module.php'; DW_Browser::checkOverrule('DW_Browser'); DW_Date::checkOverrule('DW_Date'); DW_Role::checkOverrule('DW_Role'); DW_Tpl::checkOverrule('DW_Tpl'); // WPML Plugin Support include_once DW_MODULES . 'wpml_module.php'; DW_WPML::detectLanguage(); // QT Plugin Support include_once DW_MODULES . 'qt_module.php'; DW_QT::detectLanguage(); }