customer_galleries.phtml
1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?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>