td_util::tooltip_html(' <h3>Category template:</h3> <p>From here you can change the category header.</p> <ul> <li>This setting can be overwritten on a per category basis from the boxes below</li> <li>Some of the headers also show the category description</li> <li>For advanced users who want to customize the category header, here is the <a target="_blank" href="http://forum.tagdiv.com/api-category-top-section-template-introduction/">API documentation</a></li> <li>Have fun finding the header that you like!</li> </ul> ', 'right'); ?> </p> </div> <div class="td-box-control-full"> <?php echo td_panel_generator::visual_select_o(array('ds' => 'td_option', 'option_id' => 'tds_category_template', 'values' => td_api_category_template::_helper_to_panel_values())); ?> </div> </div> <div class="td-box-section-separator"></div> <!-- Category top posts style --> <div class="td-box-row"> <div class="td-box-description"> <span class="td-box-title">Category top posts style</span> <p> Set top post style <?php
/** * Created by ra on 1/13/2015. */ $category_id = td_util::get_http_post_val('category_id'); ?> <!-- Category template --> <div class="td-box-row"> <div class="td-box-description"> <span class="td-box-title">分类模板</span> <p>这是分类页眉</p> </div> <div class="td-box-control-full"> <?php echo td_panel_generator::visual_select_o(array('ds' => 'td_category', 'item_id' => $category_id, 'option_id' => 'tdc_category_template', 'values' => td_api_category_template::_helper_to_panel_values('default+get_all'))); ?> </div> </div> <div class="td-box-section-separator"></div> <!-- Category top posts style --> <div class="td-box-row"> <div class="td-box-description"> <span class="td-box-title">分类顶部文章风格</span> <p>设置页脚布局</p> </div> <div class="td-box-control-full"> <?php