<div class="input-label"> <label for="enable_cookie_law"><?php _se('是否开启百度智能云图像审核'); ?></label> <div class="c5 phablet-c1"> <select type="text" name="is_censor" id="is_censor" class="text-input"><?php echo CHV\Render\get_select_options_html([1 => _s('Enabled'), 0 => _s('Disabled')], CHV\Settings::get('is_censor')); ?></select> </div> <div class="input-below"><?php _se('是否开启百度智能云图像审核'); ?></div> </div> <div class="input-label"> <label for="sdk_pup_url">应用 AppID</label> <div class="c9 phablet-c1"><input type="text" name="baidu_app_id" id="baidu_app_id" class="text-input" value="<?php echo CHV\Settings::get('baidu_app_id', true); ?>" placeholder="<?php _se('Empty'); ?>"></div> <div class="input-below input-warning red-warning"><?php echo get_input_errors()['baidu_app_id']; ?></div> <div class="input-below"><?php _se('内容审核-应用 AppID,获取地址: https://console.bce.baidu.com/ai/#/ai/antiporn/app/list'); ?></div> </div> <div class="input-label"> <label for="sdk_pup_url">应用 API Key</label> <div class="c9 phablet-c1"><input type="text" name="baidu_app_key" id="baidu_app_key" class="text-input" value="<?php echo CHV\Settings::get('baidu_app_key', true); ?>" placeholder="<?php _se('Empty'); ?>"></div> <div class="input-below input-warning red-warning"><?php echo get_input_errors()['baidu_app_key']; ?></div> <div class="input-below"><?php _se('内容审核-应用 API Key,获取地址同上'); ?></div> </div> <div class="input-label"> <label for="sdk_pup_url">应用 Secret Key</label> <div class="c9 phablet-c1"><input type="text" name="baidu_app_secret" id="baidu_app_secret" class="text-input" value="<?php echo CHV\Settings::get('baidu_app_secret', true); ?>" placeholder="<?php _se('Empty'); ?>"></div> <div class="input-below input-warning red-warning"><?php echo get_input_errors()['baidu_app_secret']; ?></div> <div class="input-below"><?php _se('内容审核-应用 Secret Key,获取地址同上'); ?></div> </div>