当前位置: 首页>>代码示例>>PHP>>正文


PHP ninja_forms_register_tab函数代码示例

本文整理汇总了PHP中ninja_forms_register_tab函数的典型用法代码示例。如果您正苦于以下问题:PHP ninja_forms_register_tab函数的具体用法?PHP ninja_forms_register_tab怎么用?PHP ninja_forms_register_tab使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ninja_forms_register_tab函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ninja_forms_register_login_settings_tab

function ninja_forms_register_login_settings_tab()
{
    $args = array('name' => __('Login / Logout', 'ninja-forms-feditor'), 'page' => 'ninja-forms-feditor', 'display_function' => '', 'save_function' => 'ninja_forms_feditor_save_login_settings', 'tab_reload' => true);
    if (function_exists('ninja_forms_register_tab')) {
        ninja_forms_register_tab('login_settings', $args);
    }
}
开发者ID:emtv,项目名称:hackmsi,代码行数:7,代码来源:login-settings.php

示例2: ninja_forms_register_tab_upload_settings

function ninja_forms_register_tab_upload_settings()
{
    $args = array('name' => 'Upload Settings', 'page' => 'ninja-forms-uploads', 'display_function' => '', 'save_function' => 'ninja_forms_save_upload_settings', 'tab_reload' => true);
    if (function_exists('ninja_forms_register_tab')) {
        ninja_forms_register_tab('upload_settings', $args);
    }
}
开发者ID:emtv,项目名称:hackmsi,代码行数:7,代码来源:upload-settings.php

示例3: ninja_forms_register_tab_browse_uploads

function ninja_forms_register_tab_browse_uploads()
{
    $args = array('name' => 'Browse Uploads', 'page' => 'ninja-forms-uploads', 'display_function' => 'ninja_forms_tab_browse_uploads', 'save_function' => 'ninja_forms_save_browse_uploads', 'show_save' => false, 'tab_reload' => false);
    if (function_exists('ninja_forms_register_tab')) {
        ninja_forms_register_tab('browse_uploads', $args);
    }
}
开发者ID:webtlp,项目名称:gdid,代码行数:7,代码来源:browse-uploads.php

示例4: ninja_forms_register_feditor_style_settings_tab

function ninja_forms_register_feditor_style_settings_tab()
{
    if (is_plugin_active('ninja-forms-style/ninja-forms-style.php')) {
        $args = array('name' => __('Layout & Styles', 'ninja-forms-feditor'), 'page' => 'ninja-forms-feditor', 'display_function' => '', 'save_function' => 'ninja_forms_feditor_save_feditor_style_settings', 'tab_reload' => true);
        if (function_exists('ninja_forms_register_tab')) {
            ninja_forms_register_tab('style_settings', $args);
        }
    }
}
开发者ID:emtv,项目名称:hackmsi,代码行数:9,代码来源:style-settings.php

示例5: ninja_forms_register_tab_system_status

 /**
  * Handles output of the reports page in admin.
  */
 public function ninja_forms_register_tab_system_status()
 {
     // include the file
     require_once NINJA_FORMS_DIR . "/includes/admin/pages/system-status.php";
     // add the arugements
     $args = array('name' => __('Ninja Forms System Status', 'ninja-forms'), 'page' => 'ninja-forms-system-status', 'display_function' => 'ninja_forms_tab_system_status', 'save_function' => '', 'show_save' => false);
     // register the tab
     ninja_forms_register_tab('system_status', $args);
 }
开发者ID:ramiy,项目名称:ninja-forms,代码行数:12,代码来源:class-nf-system-status.php

示例6: ninja_forms_register_tab_form_preview

function ninja_forms_register_tab_form_preview()
{
    if (isset($_REQUEST['form_id'])) {
        $form_id = absint($_REQUEST['form_id']);
    } else {
        $form_id = '';
    }
    $args = array('name' => __('Form Preview', 'ninja-forms'), 'page' => 'ninja-forms', 'display_function' => '', 'save_function' => '', 'disable_no_form_id' => true, 'show_save' => false, 'url' => ninja_forms_preview_link($form_id, false), 'target' => '_blank');
    ninja_forms_register_tab('form_preview', $args);
}
开发者ID:se7ven214,项目名称:Kungfuphp.local,代码行数:10,代码来源:form-preview.php

示例7: ninja_forms_register_tab_field_settings

function ninja_forms_register_tab_field_settings()
{
    if (isset($_REQUEST['form_id'])) {
        $form_id = absint($_REQUEST['form_id']);
    } else {
        $form_id = '';
    }
    $args = array('name' => __('Field Settings', 'ninja-forms'), 'page' => 'ninja-forms', 'display_function' => 'ninja_forms_tab_field_settings', 'save_function' => 'ninja_forms_save_field_settings', 'disable_no_form_id' => true, 'show_save' => false, 'tab_reload' => false);
    ninja_forms_register_tab('field_settings', $args);
}
开发者ID:serker72,项目名称:T3S,代码行数:10,代码来源:field-settings.php

示例8: ninja_forms_register_feditor_sub_edit_tab

function ninja_forms_register_feditor_sub_edit_tab()
{
    $args = array('name' => __('Submission Editing', 'ninja-forms-feditor'), 'page' => 'ninja-forms-feditor', 'display_function' => '', 'save_function' => 'ninja_forms_save_feditor_sub_edit', 'show_save' => false);
    if (function_exists('ninja_forms_register_tab')) {
        ninja_forms_register_tab('sub_editing', $args);
    }
    $args = array('page' => 'ninja-forms-feditor', 'tab' => 'sub_editing', 'slug' => 'rules', 'title' => __('Submission Editing Rules', 'ninja-forms-feditor'), 'display_function' => 'ninja_forms_feditor_sub_edit_rules', 'state' => 'closed', 'display_container' => false);
    if (function_exists('ninja_forms_register_tab_metabox')) {
        ninja_forms_register_tab_metabox($args);
    }
}
开发者ID:emtv,项目名称:hackmsi,代码行数:11,代码来源:sub-settings.php

示例9: ninja_forms_register_register_settings_tab

function ninja_forms_register_register_settings_tab()
{
    $args = array('name' => __('Register', 'ninja-forms-feditor'), 'page' => 'ninja-forms-feditor', 'display_function' => '', 'save_function' => 'ninja_forms_save_register_settings', 'tab_reload' => true);
    if (function_exists('ninja_forms_register_tab')) {
        ninja_forms_register_tab('register_settings', $args);
    }
    $args = array('page' => 'ninja-forms-feditor', 'tab' => 'register_settings', 'slug' => 'settings', 'title' => __('Registration Settings', 'ninja-forms-feditor'), 'display_function' => '', 'state' => 'open');
    if (function_exists('ninja_forms_register_tab_metabox')) {
        ninja_forms_register_tab_metabox($args);
    }
}
开发者ID:emtv,项目名称:hackmsi,代码行数:11,代码来源:register-settings.php

示例10: register_tab

 /**
  * Register our setting tab.
  * 
  * @access public
  *
  * @since 2.8
  * @return void
  */
 public function register_tab()
 {
     $form_id = isset($_REQUEST['form_id']) ? $_REQUEST['form_id'] : '';
     $action = isset($_REQUEST['notification-action']) ? $_REQUEST['notification-action'] : '';
     $output_form = false;
     $show_save = false;
     if ('edit' == $action || 'new' == $action) {
         $output_form = true;
         $show_save = true;
     }
     $args = array('name' => __('Email & Actions', 'ninja-forms'), 'page' => 'ninja-forms', 'display_function' => array($this, 'output_admin'), 'save_function' => array($this, 'save_admin'), 'disable_no_form_id' => true, 'show_save' => $show_save, 'tab_reload' => true, 'output_form' => $output_form);
     ninja_forms_register_tab('notifications', $args);
 }
开发者ID:tlandn,项目名称:akvo-sites-zz-template,代码行数:21,代码来源:notifications.php

示例11: ninja_forms_register_tab_addons

function ninja_forms_register_tab_addons()
{
    $args = array('name' => __('Extend Ninja Forms', 'ninja-forms'), 'page' => 'ninja-forms-extend', 'display_function' => 'ninja_forms_tab_addons', 'save_function' => '', 'show_save' => false);
    ninja_forms_register_tab('extend', $args);
}
开发者ID:brunolampada,项目名称:foss4g2014-wordpress,代码行数:5,代码来源:addons.php

示例12: ninja_forms_register_tab_addons

function ninja_forms_register_tab_addons()
{
    $args = array('name' => __('Extend Ninja Forms', 'ninja-forms'), 'page' => 'ninja-forms-extend', 'display_function' => 'ninja_forms_tab_addons', 'save_function' => '', 'show_save' => false, 'title' => '<div class="nf-brand-header"><div class="nf-logo"></div><div class="wpn-logo">brought by</div></div>');
    ninja_forms_register_tab('extend', $args);
}
开发者ID:idies,项目名称:escience-2016-wp,代码行数:5,代码来源:addons.php

示例13: ninja_forms_register_tab_impexp_backup

function ninja_forms_register_tab_impexp_backup()
{
    $args = array('name' => __('Backup / Restore', 'ninja-forms'), 'page' => 'ninja-forms-impexp', 'display_function' => 'ninja_forms_tab_impexp_backup', 'save_function' => 'ninja_forms_save_impexp_backup', 'show_save' => false);
    ninja_forms_register_tab('impexp_backup', $args);
}
开发者ID:HeliWang,项目名称:EngSoc-Website,代码行数:5,代码来源:impexp-backup.php

示例14: ninja_forms_register_tab_form_list

function ninja_forms_register_tab_form_list()
{
    $new_link = esc_url(add_query_arg(array('form_id' => 'new', 'tab' => 'form_settings')));
    $args = array('name' => __('All Forms', 'ninja-forms'), 'page' => 'ninja-forms', 'display_function' => 'ninja_forms_tab_form_list', 'save_function' => 'ninja_forms_save_form_list', 'show_save' => false, 'active_class' => 'form-list-active', 'inactive_class' => 'form-list-inactive', 'show_tab_links' => false, 'show_this_tab_link' => false, 'title' => '<h2>Forms <a href="' . $new_link . '" class="add-new-h2">' . __('Add New Form', 'ninja-forms') . '</a></h2>');
    ninja_forms_register_tab('form_list', $args);
}
开发者ID:brunolampada,项目名称:foss4g2014-wordpress,代码行数:6,代码来源:form-list.php

示例15: ninja_forms_register_tab_impexp_fields

function ninja_forms_register_tab_impexp_fields()
{
    $args = array('name' => __('Favorite Fields', 'ninja-forms'), 'page' => 'ninja-forms-impexp', 'display_function' => '', 'save_function' => 'ninja_forms_save_impexp_fields', 'show_save' => false);
    ninja_forms_register_tab('impexp_fields', $args);
}
开发者ID:idies,项目名称:escience-2016-wp,代码行数:5,代码来源:impexp-fields.php


注:本文中的ninja_forms_register_tab函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。