PluginProbe
WP Ultimate Post Grid / 2.6.0
WP Ultimate Post Grid v2.6.0
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
wp-ultimate-post-grid / vendor / vafpress / views / control / checkimage.php

checkimage.php in WP Ultimate Post Grid 2.6.0, at vendor/vafpress/views/control/checkimage.php

11 lines 842 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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'); ?>