92 lines
3.7 KiB
PHP
92 lines
3.7 KiB
PHP
<?php
|
|
global $bp;
|
|
?>
|
|
<div class="left-menu">
|
|
</div>
|
|
|
|
<div class="main-column">
|
|
<?php if ($event != 'create') : ?>
|
|
<p><?php _e("Search for members to dedicate:", 'bp-dedication') ?></span></p>
|
|
<form action="<?php bp_dedication_new_dedication_form_action() ?>" method="post" id="new-dedication-form" enctype="multipart/form-data">
|
|
<ul class="first acfb-holder">
|
|
<li>
|
|
<label>Dedication text</label>
|
|
<input type="text" name="dedication-text" class="dedication-text" id="dedication-text"/>
|
|
|
|
</li>
|
|
<li>
|
|
<label>¿Private dedication?</label>
|
|
<input name="private-dedication" type="checkbox" />This dedication is private.
|
|
</li>
|
|
<li>
|
|
<label>Video for dedication</label>
|
|
<input type="text" name="video-url" class="video-url" id="video-url" />
|
|
</li>
|
|
<li>
|
|
<label>Artist name</label>
|
|
<input type="text" name="artist-name" class="artist-name" id="artist-name"/>
|
|
|
|
</li>
|
|
<li>
|
|
<label>Song name</label>
|
|
<input type="text" name="song-name" class="song-name" id="song-name"/>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><?php _e('Select friend from the directory:', 'bp-invite-anyone') ?> </p>
|
|
|
|
<div id="invite-anyone-member-list">
|
|
<ul>
|
|
<?php bp_new_dedication_invite_member_list() ?>
|
|
</ul>
|
|
|
|
<?php wp_nonce_field('groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user') ?>
|
|
</div>
|
|
|
|
<div id="message" class="info">
|
|
<p><?php _e('Select people to invite.', 'bp-invite-anyone'); ?></p>
|
|
</div>
|
|
|
|
<?php do_action('bp_before_group_send_invites_list') ?>
|
|
|
|
<?php /* The ID 'friend-list' is important for AJAX support. */ ?>
|
|
<ul id="invite-anyone-invite-list" class="item-list">
|
|
<?php if (bp_group_has_invites()) : ?>
|
|
|
|
<?php while (bp_group_invites()) : bp_group_the_invite(); ?>
|
|
|
|
<li id="<?php bp_group_invite_item_id() ?>">
|
|
<?php bp_group_invite_user_avatar() ?>
|
|
|
|
<h4><?php bp_group_invite_user_link() ?></h4>
|
|
<span class="activity"><?php bp_group_invite_user_last_active() ?></span>
|
|
|
|
<?php do_action('bp_group_send_invites_item') ?>
|
|
|
|
<div class="action">
|
|
<a class="remove" href="<?php bp_group_invite_user_remove_invite_url() ?>" id="<?php bp_group_invite_item_id() ?>"><?php _e('Remove Invite', 'buddypress') ?></a>
|
|
|
|
<?php do_action('bp_group_send_invites_item_action') ?>
|
|
</div>
|
|
</li>
|
|
|
|
<?php endwhile; ?>
|
|
<?php endif; ?>
|
|
</ul>
|
|
|
|
<?php do_action('bp_after_group_send_invites_list') ?>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
<input type="submit" name="submit" id="submit" value="<?php _e('Send Invites', 'buddypress') ?>" />
|
|
<?php wp_nonce_field('groups_send_invites', '_wpnonce_send_invites') ?>
|
|
|
|
<input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id() ?>" />
|
|
|
|
</form>
|
|
<?php endif; ?>
|
|
</div>
|
|
<?php do_action('bp_before_group_send_invites_content'); ?>
|
|
|
|
<div class="clear"></div>
|