<div value="<?php 
echo $slider_design;
?>
" class="selectable_option slider_image_preview" preview="<?php 
echo tf_config_extimage($ext_name . '/designs/' . $slider_design, 'preview.jpg');
?>
">
    <div class="over_thumb selected"></div>
    <img src="<?php 
echo tf_config_extimage($ext_name . '/designs/' . $slider_design, 'preview_small.jpg');
?>
" border="0" />
</div>
">
                <?php 
    if (count($atts['options']) == 0) {
        ?>
                    <input type="hidden" class="instant_shc" value="<?php 
        echo htmlentities($shortcode['function'](NULL, NULL));
        ?>
"/>
                <?php 
    }
    ?>
                <img title="<?php 
    echo $atts['name'];
    ?>
" class="shc_icon" src="<?php 
    echo tf_config_extimage($ext_name, $sh_type . '.jpg');
    ?>
" />
                <h3><?php 
    echo $atts['name'];
    ?>
</h3>
                <div class="description">   
                    <?php 
    echo $atts['desc'];
    ?>
                </div>
            </div>
            <?php 
    unset($atts);
}
示例#3
0
<?php

/**
 * Defined number of placeholders
 *
 * @since  Gameszone 1.0
 */
$cfg['max_placeholders'] = 1;
$cfg['select_options'] = array('post_types' => array('post' => array('name' => __('Posts', 'tfuse'), 'has_id' => TRUE, 'has_templates' => FALSE, 'default_number' => 1), 'page' => array('name' => __('Pages', 'tfuse'), 'has_id' => TRUE, 'has_templates' => TRUE, 'default_number' => 1, 'templates' => array())), 'categories' => array('category' => array('name' => __('Categories', 'tfuse'), 'has_id' => TRUE, 'has_templates' => FALSE, 'default_number' => 1)), 'other' => array('is_archive' => array('name' => __('Archives', 'tfuse'), 'has_id' => FALSE, 'has_templates' => FALSE, 'default_number' => 1), 'is_front_page' => array('name' => __('Front Page', 'tfuse'), 'has_id' => FALSE, 'has_templates' => FALSE, 'default_number' => 1), 'is_blogpage' => array('name' => __('Blog Page', 'tfuse'), 'has_id' => FALSE, 'has_templates' => FALSE, 'default_number' => 1), 'is_search' => array('name' => __('Search Page', 'tfuse'), 'has_id' => FALSE, 'has_templates' => FALSE, 'default_number' => 1), 'is_404' => array('name' => __('404 Error Page', 'tfuse'), 'has_id' => FALSE, 'has_templates' => FALSE, 'default_number' => 1)));
#define number of placeholders for custom post types, defined manually
$cfg['post_types'] = array('review' => 1, 'game' => 1, 'attachment' => 1, 'gallery' => 1, 'video' => 1, 'testimonials' => 1);
#define number of placeholders for custom taxonomies, defined manually
$cfg['taxonomies'] = array('reviews' => 1, 'games' => 1, 'videos' => 1, 'galleries' => 1, 'events' => 1, 'genres' => 1, 'platforms' => 1, 'genres_game' => 1, 'platforms_game' => 1, 'age_ratings' => 1, 'producers_game' => 1);
$url = tf_config_extimage($this->ext->sidebars->_the_class_name, '');
$cfg['sidebar_positions_options'] = array(1 => array('id' => 'sidebars_positions_1', 'options' => array('full' => array($url . 'placeholder_1/full.png', __('No sidebar on the page', 'tfuse')), 'left' => array($url . 'placeholder_1/left.png', __('Align to the left', 'tfuse')), 'right' => array($url . 'placeholder_1/right.png', __('Align to the right', 'tfuse')))));
$cfg['sidebar_disabled_types'] = array();
$cfg['sidebars_colors'] = array(1 => 'blue');