simpleadmingallery.phtml
1.11 KB
<?php
$params=$this->getRequest()->getParams();
D::ulli('Test sg.phtml',1,1);
?>
<?php $NcTextsForCustomer = Mage::helper('anc_text/ncmodel')->getNcTextsForAlbum($params['id']); ?>
<ul class="gallery AncGalleryTexts">
<?php foreach($NcTextsForCustomer as $nctext ): ?>
<?php $NcTextPath = Mage::helper('anc_text/nctext')->getNcTextPath($nctext['entity_id'], 'relative', 'original'); ?>
<?php $nctext_title = Mage::helper('anc_text/nctext')->getNcTextMetaDataAsHtml($nctext['entity_id']); ?>
<a data-site="<?php echo $this->getUrl('anctext/customer/showNcTextForm', array('id'=>$nctext['entity_id'])) ?>" class="anctext-showNcTextForm" rel="prettyPhoto[pp_gal2]" href="<?php echo DS.$NcTextPath ?>" title="<?php echo $nctext_title; ?>">
<!--<img height="50" src="<?php // echo DS.$NcTextPath ?>" class="anc-text-draggable" id="<?php // echo $nctext['entity_id'] ?>" />-->
<!--<div title="<?php // echo $nctext_title;?>"><?php // echo $nctext['name'].' ';?></div>-->
<span title="<?php echo $nctext_title;?>"><?php echo $nctext['name'].' ';?> </span>
</a>
<span> </span>
<?php endforeach; ?>
</ul>