<?php if (bp_is_group_creation_step('group-avatar')) { ?> <?php do_action('bp_before_group_avatar_creation_step'); ?> <?php if ('upload-image' == bp_get_avatar_admin_step()) { ?> <div class="left-menu"> <?php bp_new_group_avatar(); ?> </div><!-- .left-menu --> <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.", 'vibe'); ?> </p> <p> <input type="file" name="file" id="file"/> <input type="submit" name="upload" id="upload" value="<?php _e('Upload Image', 'vibe');
<h3 class="double-border bottom">Step 4 - Upload Guild Avatar</h2> <ul> <li>Upload an image to use as the guild avatar.</li> <li>The image will be shown on the main group page, and in search results.</li> <li>Avatars are automatically resized to 200 pixel jpegs after cropping.</li> <li>You may skip the avatar upload process by hitting the "Next Step" button.</li> </ul> </div> <?php if ('upload-image' == bp_get_avatar_admin_step()) { ?> <fieldset> <div class="form-left"> <?php bp_new_group_avatar($args = array('type' => 'full', 'width' => 200, 'height' => 200, 'no_grav' => true)); ?> <input type="file" name="file" id="file" /> <?php if (bp_get_group_has_avatar()) { ?> <?php bp_button(array('id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'button', 'link_href' => bp_get_group_avatar_delete_link(), 'link_title' => __('Delete Avatar', 'buddypress'), 'link_text' => '<i class="fa fa-remove"></i>Delete Avatar', 'wrapper' => false)); ?> <?php } ?> </div> <div class="form-right">
<?php if (bp_is_group_creation_step('group-avatar')) { ?> <?php do_action('bp_before_group_avatar_creation_step'); ?> <?php if ('upload-image' == bp_get_avatar_admin_step()) { ?> <div class="left-menu"> <?php bp_new_group_avatar('width=35&height=35'); ?> </div><!-- .left-menu --> <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.", 'huddle'); ?> </p> <p> <input type="file" name="file" id="file" /> <input type="submit" class="btn-gray" name="upload" id="upload" value="<?php _e('Upload Image', 'huddle'); ?>
<?php if (bp_is_group_creation_step('group-avatar')) { ?> <?php do_action('bp_before_group_avatar_creation_step'); ?> <?php if ('upload-image' == bp_get_avatar_admin_step()) { ?> <div class="left-menu"> <?php bp_new_group_avatar('type=thumb&width=256&height=256'); ?> </div><!-- .left-menu --> <div class="main-column"> <p>Ladda upp en bild att använda som gruppbild/avatar. Denna bild visas i gruppvyer och i sökresultat.</p> <p> <input type="file" name="file" id="file" /> <input type="submit" name="upload" id="upload" class="btn btn-primary" value="<?php _e('Upload Image', 'buddypress'); ?> " /> <input type="hidden" name="action" id="action" value="bp_avatar_upload" /> </p>