-
Reinhold Kainhofer authored
Initial commit, raw plugin structure, assigning random order numbers and retrieving them again works...
Reinhold Kainhofer authoredInitial commit, raw plugin structure, assigning random order numbers and retrieving them again works...
settings.php 1.26 KiB
<div class="wrap">
<h2>OpenTools Advanced ordernumbers</h2>
<form method="post" action="options.php">
<?php @settings_fields('create_ordernumber-group'); ?>
<?php @do_settings_fields('create_ordernumber-group'); ?>
<table class="form-table">
<tr valign="top">
<th scope="row"><label for="customize_ordernumber">Customize Order Numbers</label></th>
<td><input type="text" name="customize_ordernumber" id="customize_ordernumber" value="<?php echo get_option('customize_ordernumber'); ?>" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="ordernumber_format">Order Number Format</label></th>
<td><input type="text" name="ordernumber_format" id="ordernumber_format" value="<?php echo get_option('ordernumber_format'); ?>" /></td>
</tr>
<tr valign="top">
<th scope="row"><label for="ordernumber_counter_scope">Scope of the Counter</label></th>
<td><input type="text" name="ordernumber_counter_scope" id="ordernumber_counter_scope" value="<?php echo get_option('ordernumber_counter_scope'); ?>" /></td>
</tr>
</table>
<?php @submit_button(); ?>
</form>
</div>