function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0) { $this->skipping_item = wptouch_menu_is_disabled($item->ID); if (!$this->skipping_item) { $output .= '<li class="' . wptouch_menu_walker_get_classes($item, $this->show_menu_icons) . '">'; $settings = wptouch_get_settings(); if ($this->show_menu_icons && $settings->enable_menu_icons) { $output .= '<img src="' . wptouch_get_menu_icon($item->ID) . '" alt="menu-icon" />'; } $this->last_item = $item; } }
function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0) { $output .= '<li class="' . wptouch_menu_walker_get_classes($item) . '">'; $output .= '<div class="drop-target" data-object-id="' . $item->ID . '">'; $output .= '<img src="' . wptouch_get_menu_icon($item->ID) . '" alt="menu-icon" />'; $output .= '</div>'; $output .= '<div class="menu-enable">'; $output .= '<input class="checkbox" type="checkbox" data-object-id="' . $item->ID . '"'; if (!wptouch_menu_is_disabled($item->ID)) { $output .= " checked "; } $output .= '/></div>'; $this->last_item = $item; }
" title="<?php wptouch_the_menu_id(); ?> "> <img src="<?php wptouch_the_menu_icon(); ?> " alt="" /> </div> <div class="menu-enable"> <input class="checkbox" type="checkbox" title="<?php wptouch_the_menu_id(); ?> " <?php if (!wptouch_menu_is_disabled()) { echo "checked"; } ?> /> </div> <span class="title"><?php wptouch_the_menu_item_title(); ?> </span> <div class="clearer"></div> <?php if (wptouch_menu_has_children()) {