Discuz widthauto函数 自动宽度
// 宽度自动函数function widthauto() { global $_G; if($_G['disabledwidthauto']) { return 0; } if(!empty($_G['widthauto'])) { return $_G['widthauto'] > 0 ? 1 : 0; } if($_G['setting']['switchwidthauto'] && !empty($_G['cookie']['widthauto'])) { return $_G['cookie']['widthauto'] > 0 ? 1 : 0; } else { return $_G['setting']['allowwidthauto'] ? 0 : 1; }}
页:
[1]