Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/10/2014 02:26:39 AM (11 years ago)
Author:
boonebgorges
Message:

Add a Permalink row and a Visit Group button to group administration screen

Fixes #5606

Props dcavins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-admin.php

    r8234 r8412  
    519519                                    <div class="inside">
    520520                                        <input type="text" name="bp-groups-name" id="bp-groups-name" value="<?php echo esc_attr( stripslashes( $group_name ) ) ?>" />
     521                                        <div id="bp-groups-permalink-box">
     522                                            <strong><?php esc_html_e( 'Permalink:', 'buddypress' ) ?></strong> <span id="sample-permalink"><?php bp_group_permalink( $group ) ?></span> <a href="<?php echo bp_group_permalink( $group ) ?>" class="button button-small" id="bp-groups-visit-group"><?php esc_html_e( 'Visit Group', 'buddypress' ) ?></a>
     523                                        </div>
     524
    521525
    522526                                        <?php wp_editor( stripslashes( $group->description ), 'bp-groups-description', array( 'media_buttons' => false, 'teeny' => true, 'textarea_rows' => 5, 'quicktags' => array( 'buttons' => 'strong,em,link,block,del,ins,img,code,spell,close' ) ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.