コード例 #1
0
ファイル: default.php プロジェクト: sansandeep143/av
        <?php 
if ($this->folder->isCartable() && $this->params->get('use_cart', '1') == 1) {
    ?>
            <a href="#" class="btn btn-primary imagetypeselection-show"><?php 
    echo JText::_('COM_EVENTGALLERY_PRODUCT_BUY_IMAGES');
    ?>
</a>
        <?php 
}
?>

        <?php 
if ($this->folder->isCartable() && $this->params->get('show_cart_connector', 0) == 1) {
    ?>
            <a href="<?php 
    echo EventgalleryHelpersCartconnector::getLink($this->file->getFolderName(), $this->file->getFileName());
    ?>
" class="btn button-cart-connector" title="<?php 
    echo JText::_('COM_EVENTGALLERY_CART_CONNECTOR');
    ?>
"
               data-folder="<?php 
    echo $this->file->getFolderName();
    ?>
"
               data-file="<?php 
    echo $this->file->getFileName();
    ?>
"><i class="eventgallery-icon-cart-connector-small"></i></a>
        <?php 
}
コード例 #2
0
ファイル: ajaxpaging.php プロジェクト: sansandeep143/av
    echo $entry->getImageUrl(50, 50, false, false);
    ?>
"
                               data-folder="<?php 
    echo $entry->getFolderName();
    ?>
"
                               data-file="<?php 
    echo $entry->getFileName();
    ?>
"
                               <?php 
    if ($this->params->get('show_cart_connector', 0) == 1) {
        ?>
							       data-cart-connector-link="<?php 
        echo rawurlencode(EventgalleryHelpersCartconnector::getLink($this->entry->getFolderName(), $this->entry->getFileName()));
        ?>
"
							   <?php 
    }
    ?>
                               data-id="folder=<?php 
    echo $entry->getFolderName();
    ?>
&amp;file=<?php 
    echo $entry->getFileName();
    ?>
"
                               data-width="<?php 
    echo $entry->getWidth();
    ?>