Ejemplo n.º 1
0
                echo ' id="setting_' . mobileview_get_tab_setting_class_name() . '"';
            }
            ?>
>
							
							<?php 
            if (file_exists(dirname(__FILE__) . '/options/' . mobileview_get_tab_setting_type() . '.php')) {
                ?>
								<?php 
                include 'options/' . mobileview_get_tab_setting_type() . '.php';
                ?>
							<?php 
            } else {
                ?>
								<?php 
                do_action('mobileview_show_custom_setting', mobileview_get_tab_setting_type());
                ?>
							<?php 
            }
            ?>
						</div>
					<?php 
        }
        ?>
				</div>				
			<?php 
    }
    ?>
	
			
			<br class="clearer" />		
Ejemplo n.º 2
0
function mobileview_tab_setting_get_tags()
{
    global $mobileview_tab_section_setting;
    $tags = array();
    switch (mobileview_get_tab_setting_type()) {
        case 'checkbox':
        case 'text':
        case 'textarea':
            $tags = $mobileview_tab_section_setting[4];
            break;
        case 'list':
            $tags = $mobileview_tab_section_setting[5];
            break;
        case 'custom-latest':
            $tags = $mobileview_tab_section_setting[4];
            break;
    }
    return apply_filters('mobileview_tab_setting_tags', $tags);
}