- <p> <!–{if empty($_G[‘disabledwidthauto’]) && $_G[‘setting’][‘switchwidthauto’]}–></p><p> <a href=”javascript:;” id=”switchwidth” onclick=”widthauto(this)” title=”{if widthauto()}{lang switch_narrow}{else}{lang switch_wide}{/if}” class=”switchwidth”><!–{if widthauto()}–>{lang switch_narrow}<!–{else}–>{lang switch_wide}<!–{/if}–></a></p><p> <!–{/if}–></p>
复制代码,
- <p> <!–{if empty($_G[‘disabledwidthauto’]) && $_G[‘setting’][‘switchwidthauto’]}–></p><p> <a href=”javascript:;” id=”switchwidth” onclick=”widthauto(this)” title=”{if widthauto()}{lang switch_narrow}{else}{lang switch_wide}{/if}” class=”switchwidth”><!–{if widthauto()}–>{lang switch_narrow}<!–{else}–>{lang switch_wide}<!–{/if}–></a></p><p> <!–{/if}–></p>
复制代码
这段代码是我们设置了宽屏 和窄屏可以自由切换的时候,就有他输出宽屏和窄屏的切换按钮