本文整理汇总了PHP中bp_group_admin_form_action函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_group_admin_form_action函数的具体用法?PHP bp_group_admin_form_action怎么用?PHP bp_group_admin_form_action使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_group_admin_form_action函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bp_group_admin_tabs
<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
<ul>
<?php
bp_group_admin_tabs();
?>
</ul>
</div><!-- .item-list-tabs -->
<form action="<?php
bp_group_admin_form_action();
?>
" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data" role="main">
<?php
do_action('bp_before_group_admin_content');
?>
<?php
/* Edit Group Details */
if (bp_is_group_admin_screen('edit-details')) {
?>
<?php
do_action('bp_before_group_details_admin');
?>
<label for="group-name"><?php
_e('Group Name (required)', 'buddypress');
?>
</label>
<input type="text" name="group-name" id="group-name" value="<?php
示例2: bp_group_mod_memberlist
bp_group_mod_memberlist(true);
?>
</div>
<?php
}
?>
<div class="info-group">
<h4><?php
_e("Members", "buddypress");
?>
</h4>
<form action="<?php
bp_group_admin_form_action('manage-members');
?>
" name="group-members-form" id="group-members-form" class="standard-form" method="post">
<?php
if (bp_group_has_members('per_page=15&exclude_banned=false')) {
?>
<?php
if (bp_group_member_needs_pagination()) {
?>
<div id="member-count" class="pag-count">
<?php
bp_group_member_pagination_count();
?>
</div>
示例3: _e
</ul>
</div>
<div id="main">
<h2><?php
_e('Delete Group', 'buddypress');
?>
</h2>
<?php
do_action('template_notices');
?>
<form action="<?php
bp_group_admin_form_action('delete-group');
?>
" name="group-delete-form" id="group-delete-form" class="standard-form" method="post">
<div id="message" class="info">
<p><?php
_e('WARNING: Deleting this group will completely remove ALL content associated with it. There is no way back, please be careful with this option.', 'buddypress');
?>
</p>
</div>
<input type="checkbox" name="delete-group-understand" id="delete-group-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-group-button').disabled = ''; } else { document.getElementById('delete-group-button').disabled = 'disabled'; }" /> <?php
_e('I understand the consequences of deleting this group.', 'buddypress');
?>
<p><input type="submit" disabled="disabled" value="<?php
_e('Delete Group', 'buddypress');
示例4: _e
</ul>
</div>
<div id="content">
<h2><?php
_e('Group Settings', 'buddypress');
?>
</h2>
<?php
do_action('template_notices');
?>
<form action="<?php
bp_group_admin_form_action('group-settings');
?>
" name="group-settings-form" id="group-settings-form" class="standard-form" method="post">
<?php
if (function_exists('bp_wire_install')) {
?>
<div class="checkbox">
<label><input type="checkbox" name="group-show-wire" id="group-show-wire" value="1"<?php
bp_group_show_wire_setting();
?>
/> <?php
_e('Enable comment wire', 'buddypress');
?>
</label>
</div>
示例5: _e
</ul>
</div>
<div id="main">
<h2><?php
_e('Group Avatar', 'buddypress');
?>
</h2>
<?php
do_action('template_notices');
?>
<form action="<?php
bp_group_admin_form_action('group-avatar');
?>
" name="group-avatar-form" id="group-avatar-form" class="standard-form" method="post" enctype="multipart/form-data">
<div class="page-menu">
<?php
bp_group_current_avatar();
?>
</div>
<div class="main-column">
<p><?php
_e("Upload an image to use as an avatar for this group. The image will be shown on the main group page, and in search results.", 'buddypress');
?>
</p>
示例6: _e
</ul>
</div>
<div id="content">
<h2><?php
_e('Edit Details', 'buddypress');
?>
</h2>
<?php
do_action('template_notices');
?>
<form action="<?php
bp_group_admin_form_action('edit-details');
?>
" name="edit-details-form" id="edit-details-form" class="standard-form" method="post">
<label for="group-name">* <?php
_e('Group Name', 'buddypress');
?>
</label>
<input type="text" name="group-name" id="group-name" value="<?php
bp_group_name();
?>
" />
<label for="group-desc">* <?php
_e('Group Description', 'buddypress');
?>
</label>