customer_galleries.phtml
1.32 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="anctext-customer_galleries anc-menu-box">
<div class="anctext-customer_galleries-header anc-menu-box-header">Texte</div>
<div id="accordion" class="anc-menu-box-content">
<?php if($this->getIfGalleryCategory()): ?>
<h3 class="anctext-gallerie-header anc-menu-box-content-subheader">Vorlagen</h3>
<div class="anc-menu-box-content-subcontent">
<?php echo $this->getLayout()
->getBlockSingleton('anc_text/galleriesmanager')
->setTemplate('anc/text/customer_galleriescategory.phtml')
->setSelectorIdDropzoneCategory()
->toHtml(); ?>
</div>
<?php endif; ?>
<h3 class="anctext-gallerie-header anc-menu-box-content-subheader">Eigene Texte</h3>
<div class="anc-menu-box-content-subcontent">
<?php echo $this->getLayout()
->getBlockSingleton('anc_text/galleriesmanager')
->setTemplate('anc/text/customer_galleriesown.phtml')
->setSelectorIdDropzoneOwn($this->getSelectorIdDropzoneOwn())
->toHtml(); ?>
</div>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
Anc_Text_Type.customerGallerysimplePrettyPhoto();
});
jQuery(function() {
jQuery( "#accordion" ).accordion();
});
</script>
</div>