| 1 |
<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_head', $head_info); ?> |
| 2 |
|
| 3 |
<?php foreach ($items as $item): ?> |
| 4 |
<label> |
| 5 |
<?php $checked = (in_array($item->value, $value)); ?> |
| 6 |
<input <?php if($checked) echo 'checked'; ?> class="vp-input<?php if($checked) echo " checked"; ?>" type="checkbox" name="<?php echo $name; ?>" value="<?php echo $item->value; ?>" /> |
| 7 |
<img src="<?php echo VP_Util_Res::img($item->img); ?>" alt="<?php echo $item->label; ?>" class="vp-js-tipsy image-item" style="<?php VP_Util_Text::print_if_exists($item_max_width, 'max-width: %spx; '); ?><?php VP_Util_Text::print_if_exists($item_max_height, 'max-height: %spx; '); ?>" original-title="<?php echo $item->label; ?>" /> |
| 8 |
</label> |
| 9 |
<?php endforeach; ?> |
| 10 |
|
| 11 |
<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_foot'); ?> |