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


PHP event_multiedit_form函数代码示例

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


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

示例1: plugin_multiedit_form

function plugin_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('changestatus' => gTxt('changestatus'), 'changeorder' => gTxt('changeorder'), 'delete' => gTxt('delete'));
    return event_multiedit_form('plugin', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:psic,项目名称:websites,代码行数:5,代码来源:txp_plugin.php

示例2: author_multiedit_form

function author_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('changeprivilege' => gTxt('changeprivilege'), 'resetpassword' => gTxt('resetpassword'), 'delete' => gTxt('delete'));
    return event_multiedit_form('admin', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:5,代码来源:txp_admin.php

示例3: log_multiedit_form

function log_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('delete' => gTxt('delete'));
    return event_multiedit_form('log', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:psic,项目名称:websites,代码行数:5,代码来源:txp_log.php

示例4: discuss_multiedit_form

function discuss_multiedit_form()
{
    return event_multiedit_form('discuss');
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:4,代码来源:txp_discuss.php

示例5: link_multiedit_form

function link_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('changecategory' => gTxt('changecategory'), 'delete' => gTxt('delete'));
    return event_multiedit_form('link', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:joebushi,项目名称:textpattern,代码行数:5,代码来源:txp_link.php

示例6: list_multiedit_form

function list_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('changesection' => gTxt('changesection'), 'changecategory1' => gTxt('changecategory1'), 'changecategory2' => gTxt('changecategory2'), 'changestatus' => gTxt('changestatus'), 'changecomments' => gTxt('changecomments'), 'changeauthor' => gTxt('changeauthor'), 'delete' => gTxt('delete'));
    return event_multiedit_form('list', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:joebushi,项目名称:textpattern,代码行数:5,代码来源:txp_list.php

示例7: file_multiedit_form

function file_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('changecategory' => gTxt('changecategory'), 'changeauthor' => gTxt('changeauthor'), 'delete' => gTxt('delete'));
    if (has_single_author('txp_file')) {
        unset($methods['changeauthor']);
    }
    if (!has_privs('file.delete.own') && !has_privs('file.delete')) {
        unset($methods['delete']);
    }
    return event_multiedit_form('file', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:11,代码来源:txp_file.php

示例8: list_multiedit_form

function list_multiedit_form()
{
    return event_multiedit_form('list');
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:4,代码来源:txp_list.php

示例9: discuss_multiedit_form

function discuss_multiedit_form()
{
    $methods = array('ban' => gTxt('ban'), 'delete' => gTxt('delete'), 'spam' => gTxt('spam'), 'unmoderated' => gTxt('unmoderated'), 'visible' => gTxt('visible'));
    return event_multiedit_form('discuss', $methods);
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:5,代码来源:txp_discuss.php

示例10: list_multiedit_form

function list_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('changesection' => gTxt('changesection'), 'changecategory1' => gTxt('changecategory1'), 'changecategory2' => gTxt('changecategory2'), 'changestatus' => gTxt('changestatus'), 'changecomments' => gTxt('changecomments'), 'changeauthor' => gTxt('changeauthor'), 'delete' => gTxt('delete'));
    if (has_single_author('textpattern', 'AuthorID')) {
        unset($methods['changeauthor']);
    }
    if (!has_privs('article.delete.own') && !has_privs('article.delete')) {
        unset($methods['delete']);
    }
    return event_multiedit_form('list', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:11,代码来源:txp_list.php

示例11: discuss_multiedit_form

function discuss_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('visible' => gTxt('show'), 'unmoderated' => gTxt('hide_unmoderated'), 'spam' => gTxt('hide_spam'), 'ban' => gTxt('ban_author'), 'delete' => gTxt('delete'));
    return event_multiedit_form('discuss', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:5,代码来源:txp_discuss.php

示例12: author_multiedit_form

function author_multiedit_form($page, $sort, $dir, $crit, $search_method)
{
    $methods = array('changeprivilege' => gTxt('changeprivilege'), 'resetpassword' => gTxt('resetpassword'), 'delete' => gTxt('delete'));
    if (safe_count('txp_users', '1=1') <= 1) {
        unset($methods['delete']);
    }
    // Sorry guy, you're last.
    return event_multiedit_form('admin', $methods, $page, $sort, $dir, $crit, $search_method);
}
开发者ID:psic,项目名称:websites,代码行数:9,代码来源:txp_admin.php

示例13: permlinks_multiedit_form

 function permlinks_multiedit_form($page, $sort, $dir, $crit, $search_method)
 {
     $methods = array('delete' => gTxt('delete'));
     return event_multiedit_form($this->parent->event, $methods, $page, $sort, $dir, $crit, $search_method);
 }
开发者ID:gbp,项目名称:gbp_permanent_links,代码行数:5,代码来源:gbp_permanent_links.php

示例14: link_multiedit_form

function link_multiedit_form()
{
    return event_multiedit_form('link');
}
开发者ID:bgarrels,项目名称:textpattern,代码行数:4,代码来源:txp_link.php


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