本文整理汇总了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);
}
示例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);
}
示例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);
}
示例4: discuss_multiedit_form
function discuss_multiedit_form()
{
return event_multiedit_form('discuss');
}
示例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);
}
示例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);
}
示例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);
}
示例8: list_multiedit_form
function list_multiedit_form()
{
return event_multiedit_form('list');
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例14: link_multiedit_form
function link_multiedit_form()
{
return event_multiedit_form('link');
}