Files
shop-praktikum/shop/source/tmp/smarty/b33208ab596d2e84d44ce676212fb275^%%05^050^05096B0C%%attributes.tpl.php
Nikolai Fesenko 8d227c9191 First upload
2025-02-02 13:37:56 +01:00

17 lines
1000 B
PHP

<?php /* Smarty version 2.6.34, created on 2025-02-01 09:42:16
compiled from page/details/inc/attributes.tpl */ ?>
<dl class="attributes dl-horizontal">
<?php $_from = $this->_tpl_vars['oView']->getAttributes(); if (($_from instanceof StdClass) || (!is_array($_from) && !is_object($_from))) { settype($_from, 'array'); }$this->_foreach['attribute'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['attribute']['total'] > 0):
foreach ($_from as $this->_tpl_vars['oAttr']):
$this->_foreach['attribute']['iteration']++;
?>
<dt id="attrTitle_<?php echo $this->_foreach['attribute']['iteration']; ?>
" class="hasTooltip" title="<?php echo $this->_tpl_vars['oAttr']->title; ?>
" data-placement="right" ><?php echo $this->_tpl_vars['oAttr']->title; ?>
</dt>
<dd id="attrValue_<?php echo $this->_foreach['attribute']['iteration']; ?>
"><?php echo $this->_tpl_vars['oAttr']->value; ?>
</dd>
<?php endforeach; endif; unset($_from); ?>
</dl>