Пример #1
0
" />

			<p class="description">
				<?php 
printf(__('Email heading, default: <code>%s</code>', 'learn_press'), $this->default_heading);
?>
			</p>
		</td>
	</tr>
	<tr>
		<th scope="row">
			<label for="learn-press-emails-enrolled-course-email-format"><?php 
_e('Email format', 'learn_press');
?>
</label>
		</th>
		<td>
			<?php 
learn_press_email_formats_dropdown(array('name' => $settings_class->get_field_name('emails_enrolled_course[email_format]'), 'id' => 'learn_press_email_formats', 'selected' => $settings->get('emails_enrolled_course.email_format')));
?>
		</td>
	</tr>
	<?php 
$view = learn_press_get_admin_view('settings/emails/email-template.php');
include_once $view;
?>
	<?php 
do_action('learn_press_after_' . $this->id . '_' . $this->section['id'] . '_settings_fields', $settings);
?>
	</tbody>
</table>
Пример #2
0
" />

			<p class="description">
				<?php 
printf(__('Email subject, default: <code>%s</code>', 'learn_press'), $default);
?>
			</p>
		</td>
	</tr>
	<tr>
		<th scope="row">
			<label for="learn-press-emails-new-order-email-format"><?php 
_e('Email format', 'learn_press');
?>
</label>
		</th>
		<td>
			<?php 
learn_press_email_formats_dropdown(array('name' => $settings_class->get_field_name('emails_new_order[email_format]'), 'id' => 'learn_press_email_formats', 'selected' => $settings->get('emails_new_order.email_format', $default)));
?>
		</td>
	</tr>
	<?php 
$view = learn_press_get_admin_view('settings/emails/email-template.php');
include_once $view;
?>
	<?php 
do_action('learn_press_after_' . $this->id . '_' . $this->section['id'] . '_settings_fields', $settings);
?>
	</tbody>
</table>