customer_galleries.phtml 1.33 KB
<?php 
/**
 * @input $this->getIfGalleryCategory()
 * @input $this->getSelectorIdDropzoneOwn()
 */
?>

<div class="ancimage-customer_galleries anc-menu-box">
	<div class="ancimage-customer_galleries-header anc-menu-box-header">Motive</div>
	<div id="accordion" class="anc-menu-box-content">
		<?php if($this->getIfGalleryCategory()): ?>
			<h3 class="ancimage-gallerie-header anc-menu-box-content-subheader">Vorlagen</h3>
			<div class="anc-menu-box-content-subcontent">
				  <?php echo $this->getLayout()
								  ->getBlockSingleton('anc_image/galleriesmanager')
								  ->setTemplate('anc/image/customer_galleriescategory.phtml')
								  ->setSelectorIdDropzoneCategory()
								  ->toHtml(); ?>	
			</div>
		<?php endif; ?>
		<h3 class="ancimage-gallerie-header anc-menu-box-content-subheader">Eigene Motive</h3>
		<div class="anc-menu-box-content-subcontent">
			  <?php echo $this->getLayout()
							  ->getBlockSingleton('anc_image/galleriesmanager')
							  ->setTemplate('anc/image/customer_galleriesown.phtml')
							  ->setSelectorIdDropzoneOwn($this->getSelectorIdDropzoneOwn())
							  ->toHtml(); ?>
		</div>
	</div>
	<script type="text/javascript">
		jQuery(document).ready(function($) {
			Anc_Image_Type.customerGallerysimplePrettyPhoto();
		}); 		
		jQuery(function() {
		  jQuery( "#accordion" ).accordion();
		});		
	</script>
</div>