Discuz!x3.3 积分不足下载附件,提示积分充值
template/default/forum/attachpay.htm搜索:
<!--{if $status != 1}-->
<label><input name="buyall" type="checkbox" class="pc" value="yes" />{lang buy_all_attch}</label>
<button class="pn pnc" type="submit" name="paysubmit" value="true"><span><!--{if $status == 0}-->{lang pay_attachment}<!--{else}-->{lang free_buy}<!--{/if}--></span></button>
<!--{/if}-->
下面添加:
<!--{if $status == 1}-->
<a href="home.php?mod=spacecp&ac=credit&op=buy" target="_blank"><button class="pn pnc" type="button"><span>积分充值</span></button></a>
<!--{/if}-->
覆盖同名文件,更新缓存,完成
页:
[1]