Example #1
0
							<label for="media_title"><?php 
    esc_html_e('Title : ', 'buddypress-media');
    ?>
</label>
							<?php 
    rtmedia_title_input();
    ?>
						</div>

						<div class="rtmedia-editor-description rtm-field-wrap">
							<label for='description'><?php 
    esc_html_e('Description: ', 'buddypress-media');
    ?>
</label>
							<?php 
    rtmedia_description_input($editor = false, true);
    RTMediaMedia::media_nonce_generator(rtmedia_id(), true);
    ?>
						</div>

						<?php 
    do_action('rtmedia_album_edit_fields', 'album-edit');
    ?>

						<div>
							<input type="submit" name="submit" class='rtmedia-save-album'
							       value="<?php 
    esc_attr_e('Save Changes', 'buddypress-media');
    ?>
"/>
							<a class="button rtm-button rtm-button-back"
</label>
								<?php 
        rtmedia_title_input();
        ?>
							</div>
							<!--This function shows the privacy dropdown-->
							<?php 
        echo rtmedia_edit_media_privacy_ui();
        ?>
							<div class="rtmedia-editor-description rtm-field-wrap">
								<label><?php 
        _e('Description: ', 'rtmedia');
        ?>
</label>
								<?php 
        echo rtmedia_description_input($editor = false);
        RTMediaMedia::media_nonce_generator(rtmedia_id());
        ?>
							</div>
							<!-- Use this hook to add new fields to the edit form-->
							<?php 
        do_action('rtmedia_add_edit_fields', rtmedia_type());
        ?>
						</div>
						<!-- use this hook to add content of a new tab-->
						<?php 
        do_action('rtmedia_add_edit_tab_content', rtmedia_type());
        ?>
					</div>
					<div class="rtmedia-editor-buttons">
						<input type="submit" class="button rtm-button rtm-button-save" value="<?php