View file phpbb/ads/adm/style/settings_ads.html

File size: 2.16Kb
{% include 'overall_header.html' %}

<a id="maincontent"></a>

<h1>{{ lang('SETTINGS') }}</h1>

{% if S_ERROR %}
	<div class="errorbox">
		<h3>{{ lang('WARNING') }}</h3>
		<p>{{ ERROR_MSG }}</p>
	</div>
{% endif %}

<form id="acp_addmanagement_settings" method="post" action="{{ U_ACTION }}">
	<fieldset>
		<legend>{{ lang('ADBLOCKER_LEGEND') }}</legend>
		<dl>
			<dt><label for="adblocker_message">{{ lang('ADBLOCKER_MESSAGE') ~ lang('COLON') }}</label><br /><span>{{ lang('ADBLOCKER_MESSAGE_EXPLAIN') }}</span></dt>
			<dd>
				<select name="adblocker_message" id="adblocker_message">
					{% for ad_block_mode in AD_BLOCK_MODES %}
						<option value="{{ ad_block_mode }}"{% if ad_block_mode == AD_BLOCK_CONFIG %} selected="selected"{% endif %}>{{ lang('ADBLOCKER_MODES', ad_block_mode) }}</option>
					{% endfor %}
				</select>
			</dd>
		</dl>
	</fieldset>
	<fieldset>
		<legend>{{ lang('CLICKS_VIEWS_LEGEND') }}</legend>
		<dl>
			<dt><label for="enable_views">{{ lang('ENABLE_VIEWS') ~ lang('COLON') }}</label><br /><span>{{ lang('ENABLE_VIEWS_EXPLAIN') }}</span></dt>
			<dd><label><input type="radio" class="radio" id="enable_views" name="enable_views" value="1"{% if ENABLE_VIEWS %} checked{% endif %} /> {{ lang('YES') }}</label>
				<label><input type="radio" class="radio" name="enable_views" value="0"{% if not ENABLE_VIEWS %} checked{% endif %} /> {{ lang('NO') }}</label></dd>
		</dl>
		<dl>
			<dt><label for="enable_clicks">{{ lang('ENABLE_CLICKS') ~ lang('COLON') }}</label><br /><span>{{ lang('ENABLE_CLICKS_EXPLAIN') }}</span></dt>
			<dd><label><input type="radio" class="radio" id="enable_clicks" name="enable_clicks" value="1"{% if ENABLE_CLICKS %} checked{% endif %} /> {{ lang('YES') }}</label>
				<label><input type="radio" class="radio" name="enable_clicks" value="0"{% if not ENABLE_CLICKS %} checked{% endif %} /> {{ lang('NO') }}</label></dd>
		</dl>
	</fieldset>
	<fieldset class="submit-buttons">
		<input class="button1" type="submit" id="submit" name="submit" value="{{ lang('SUBMIT') }}" />&nbsp;
		<input class="button2" type="reset" id="reset" name="reset" value="{{ lang('RESET') }}" />
		{{ S_FORM_TOKEN }}
	</fieldset>
</form>

{% include 'overall_footer.html' %}