コード例 #1
0
ファイル: single.php プロジェクト: narabikke/wordpress
                	<div class="picture-outer-container">
                		<div class="picture-inner-container">
			                <div class="picture-middle">
				                <img src="<?php 
    bp_album_picture_middle_url();
    ?>
" />
				                <?php 
    bp_album_adjacent_links();
    ?>
			                </div>
		                </div>
	                </div>

					<p class="picture-description"><?php 
    bp_album_picture_desc();
    ?>
</p>
	                <p class="picture-meta">
	                <?php 
    bp_album_picture_edit_link();
    ?>
	                <?php 
    bp_album_picture_delete_link();
    ?>
</p>

				<?php 
    bp_album_load_subtemplate(apply_filters('bp_album_template_screen_comments', 'album/comments'));
    ?>
			
コード例 #2
0
function bp_album_screen_single_image()
{
    ?>
	<?php 
    if (bp_album_has_pictures()) {
        bp_album_the_picture();
        ?>



		<div class="picture-single">

			<div class="single-picture-links"><?php 
        bp_album_adjacent_links();
        ?>
</div>
			<h3><?php 
        bp_album_picture_title();
        ?>
</h3>
        	<div class="picture-outer-container">
        		<div class="picture-inner-container">
	                <div class="picture-middle">
		                <img src="<?php 
        bp_album_picture_middle_url();
        ?>
" />
	                </div>
                </div>
            </div>



			<p class="picture-description"><?php 
        bp_album_picture_desc();
        ?>
</p>

            <div class="single-picture-meta">
            	<div class="picture-edit-link"><?php 
        bp_album_picture_edit_link();
        ?>
</div>
            	<div class="picture-delete-link"><?php 
        bp_album_picture_delete_link();
        ?>
</div>
            </div>
         </div>
         <div class="activity">
		<?php 
        bp_album_load_subtemplate(apply_filters('bp_album_template_screen_comments', 'album/comments'));
        ?>
         </div>


			<?php 
    } else {
        ?>

		<div id="message" class="info activity">
			<p><?php 
        echo bp_word_or_name(__("This url is not valid.", 'bp-album'), __("Either this url is not valid or picture has restricted access.", 'bp-album'), false, false);
        ?>
</p>
		</div>

	<?php 
    }
    ?>

<?php 
}