<?php

do_action('bp_docs_before_doc_header');
?>

<?php 
/* Subnavigation on user pages is handled by BP's core functions */
if (!bp_is_user()) {
    ?>
	<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
		<?php 
    bp_docs_tabs(current_user_can('bp_docs_create'));
    ?>
	</div><!-- .item-list-tabs -->
<?php 
}
?>

<?php 
do_action('bp_docs_before_doc_header_content');
?>

<?php 
if (bp_docs_is_existing_doc()) {
    ?>

	<div id="bp-docs-single-doc-header">
		<?php 
    if (!bp_docs_is_theme_compat_active()) {
        ?>
			<h2 class="doc-title"><?php 
예제 #2
0
<?php

/* Subnavigation on user pages is handled by BP's core functions */
if (!bp_is_user()) {
    ?>
	<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
		<?php 
    bp_docs_tabs();
    ?>
	</div><!-- .item-list-tabs -->
<?php 
}
?>

<?php 
if (bp_docs_is_existing_doc()) {
    ?>

	<div id="bp-docs-single-doc-header">
		<h2 class="doc-title"><?php 
    the_title();
    ?>
</h2>

		<?php 
    if (apply_filters('bp_docs_allow_access_settings', true)) {
        ?>
			<div class="doc-permissions">

				<?php 
        bp_docs_doc_permissions_snapshot();
예제 #3
0
<?php

do_action('bp_docs_before_doc_header');
?>

<?php 
/* Subnavigation on user pages is handled by BP's core functions */
if (!bp_is_user()) {
    ?>
	<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
		<?php 
    bp_docs_tabs(bp_docs_current_user_can_create_in_context());
    ?>
	</div><!-- .item-list-tabs -->
<?php 
}
?>

<?php 
do_action('bp_docs_before_doc_header_content');
?>

<?php 
if (bp_docs_is_existing_doc()) {
    ?>

	<div id="bp-docs-single-doc-header">
		<?php 
    if (!bp_docs_is_theme_compat_active()) {
        ?>
			<h2 class="doc-title"><?php