Beispiel #1
0
                ?>
								<li>
								<?php 
            }
            ?>
									<a href="#<?php 
            echo $submenu->get_name();
            ?>
" class="vp-js-menu-goto vp-menu-goto">
										<?php 
            $sub_icon = $submenu->get_icon();
            $font_awesome = VP_Util_Res::is_font_awesome($sub_icon);
            if ($font_awesome !== false) {
                VP_Util_Text::print_if_exists($font_awesome, '<i class="fa %s"></i>');
            } else {
                VP_Util_Text::print_if_exists(VP_Util_Res::img($sub_icon), '<i class="custom-menu-icon" style="background-image: url(\'%s\');"></i>');
            }
            ?>
										<span><?php 
            echo $submenu->get_title();
            ?>
</span>
									</a>
								</li>
								<?php 
        }
        ?>
							</ul>
							<?php 
    }
    ?>
Beispiel #2
0
    }
    ?>
 class="vp-input<?php 
    if ($checked) {
        echo " checked";
    }
    ?>
" name="<?php 
    echo $name;
    ?>
" value="<?php 
    echo $item->value;
    ?>
" />
	<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; ');
    VP_Util_Text::print_if_exists($item_max_height, 'max-height: %spx; ');
    ?>
" original-title="<?php 
    echo $item->label;
    ?>
" />
</label>
<?php 
}