Ejemplo n.º 1
0
Archivo: form.php Proyecto: rodhoff/MNW
							</td>
						</tr>
<?php 
if (hikashop_level(1)) {
    echo $this->loadTemplate('restrictions');
} else {
    ?>
						<tr>
							<td class="key">
									<?php 
    echo JText::_('RESTRICTIONS');
    ?>
							</td>
							<td>
								<?php 
    echo hikashop_getUpgradeLink('essential');
    ?>
							</td>
						</tr>
<?php 
    JPluginHelper::importPlugin('hikashop');
    $dispatcher = JDispatcher::getInstance();
    $html = array();
    $dispatcher->trigger('onDiscountBlocksDisplay', array(&$this->element, &$html));
    if (!empty($html)) {
        echo implode("\r\n", $html);
    }
}
?>
					</table>
<?php 
Ejemplo n.º 2
0
    }
}
?>
				<tr class="hikashop_product_access_row">
					<td colspan="2">
						<fieldset class="adminform">
						<legend><?php 
echo JText::_('ACCESS_LEVEL');
?>
</legend>
						<?php 
if (hikashop_level(2)) {
    $acltype = hikashop_get('type.acl');
    echo $acltype->display('product_access', @$this->element->product_access, 'product');
} else {
    echo hikashop_getUpgradeLink('business');
}
?>
						</fieldset>
					</td>
				</tr>
				<tr class="hikashop_product_custom_html_row">
					<td colspan="2">
<?php 
$html = array();
$dispatcher->trigger('onProductDisplay', array(&$this->element, &$html));
if (!empty($html)) {
    foreach ($html as $h) {
        echo $h;
    }
}