|
|
原有的不能设置站点风格,导致更改栏目是补充风格。
admin/site.php 的 editcategoryurl() 的 240行
//获取站点模板信息
pc_base::load_app_func('global');
$template_list = template_list($siteid, 0);
foreach ($template_list as $k=>$v) {
$template_list[$v['dirname']] = $v['name'] ? $v['name'] : $v['dirname'];
unset($template_list[$k]);
}
修改模版 admin /templete/ site_editcategoryurl.tpl.php
增加
<tr>
<th ><?php echo L('available_styles');?>:</th>
<td>
<?php echo form::select($template_list, $setting['template_list'], 'name="setting[template_list]" id="template_list"', L('please_select'))?>
</td>
</tr>
|
|