예제 #1
0
?>
</p>
	
	<table class="form-table">
		<tbody>
			<tr valign="top">
				<th scope="row"> 
					<label for="send_after"><?php 
_e("Message Delay", "thankmelater");
?>
</label>
				</th>
				<td>
					<?php 
list($time, $base) = TML_form::get_natural_time($send_after);
list($time_pm, $base_pm) = TML_form::get_natural_time($send_after_plus_minus);
printf(__("%1\$s%2\$s &plusmn; %3\$s%4\$s", "thankmelater"), TML_form::input_small_text("send_after", $time, 1), TML_form::input_select_base("send_after_base", $base, 2), TML_form::input_small_text("send_after_plus_minus", $time_pm, 3), TML_form::input_select_base("send_after_plus_minus_base", $base_pm, 4));
?>
				</td>
			</tr>
			
			<tr valign="top">
				<th scope="row"> 
					<label for="restrict_by_tags"><?php 
_e("Restrict by Tags", "thankmelater");
?>
</label>
				</th>
				<td>
					<?php 
$restrict_type = $restrict_by_tags_type;
예제 #2
0
					<span class="setting-description"><?php 
_e("The amount of time for Thank Me Later to ignore comments after the last comment made by the user.", "thankmelater");
?>
</span>
				</td>
			</tr>
			<tr valign="top">
				<th scope="row"> 
					<label for="send_gap"><?php 
_e("Send Gap", "thankmelater");
?>
</label>
				</th>
				<td>
					<?php 
list($time, $base) = TML_form::get_natural_time($send_gap);
printf(__("%1\$s%2\$s", "thankmelater"), TML_form::input_small_text("send_gap", $time, 6), TML_form::input_select_base("send_gap_base", $base, 7));
?>
					<span class="setting-description"><?php 
_e("The amount of time to wait before sending another message. For example, '2 weeks' will mean the user gets at most one email in any 2 week period. Enter '0' to remove this constraint. (Be aware that '0' may cause e-mails to arrive in a different order. It may be sensible to choose a non-zero value). This option is similar to 'Comment Gap', but is probably more useful.", "thankmelater");
?>
</span>
				</td>
			</tr>
			<tr valign="top">
				<th scope="row"> 
					<?php 
_e("Opt out", "thankmelater");
?>
				</th>
				<td>