示例#1
0
<div class='items_addPhoto_tool_select pie_choice'>
	<h2>Select a photo from my albums</h2>
	
	<?php 
echo Pie_Html::hidden(compact('queried_facebook'));
?>
	<?php 
echo Pie_Html::label('albums');
?>
Choose an album:</label>
	<?php 
echo Pie_Html::select('albums', array('id' => 'albums'));
?>
		<?php 
echo Pie_Html::options($albums);
?>
	</select>
	<?php 
echo Pie_Html::div('photos', 'items_addPhoto_tool_photos');
?>
		<?php 
echo Pie::view('items/tool/addPhotoList.php', compact('photos'));
?>
	</div>
	<?php 
if (Pie_Request::accepts('text/fbml')) {
    ?>
		<fb:js-string var="fbml.<?php 
    echo Pie_Html::getIdPrefix();
    ?>
throbber">