2009-07-04 16:16:14 +00:00
|
|
|
<div class="wrap">
|
2009-07-05 20:00:09 +00:00
|
|
|
<h2><?php _e('ComicPress Config', 'comicpress') ?></h2>
|
2009-07-04 16:16:14 +00:00
|
|
|
<form method="post">
|
|
|
|
<input type="hidden" name="cp[_nonce]" value="<?php echo $nonce ?>" />
|
|
|
|
<table>
|
|
|
|
<tr>
|
2009-07-05 20:00:09 +00:00
|
|
|
<th scope="row"><?php _e('Master Comic Category', 'comicpress') ?></th>
|
2009-07-04 16:16:14 +00:00
|
|
|
<td>
|
2009-07-05 19:46:32 +00:00
|
|
|
<select name="cp[comic_category_id]">
|
|
|
|
<?php echo $this->create_category_options($root_categories, $this->comicpress_options['comicpress_category_id']) ?>
|
2009-07-04 16:16:14 +00:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2009-07-05 20:00:09 +00:00
|
|
|
<?php foreach (array(
|
|
|
|
'comic_dimensions' => __('Comic Image Dimensions', 'comicpress'),
|
|
|
|
'rss_dimensions' => __('RSS Feed Image Dimensions', 'comicpress'),
|
2009-07-07 02:45:17 +00:00
|
|
|
'archive_dimensions' => __('Archive Image Dimensions', 'comicpress'),
|
2009-07-05 20:00:09 +00:00
|
|
|
) as $field => $name) { ?>
|
|
|
|
<tr>
|
|
|
|
<th scope="row"><?php echo $name ?></th>
|
|
|
|
<td>
|
|
|
|
<?php echo $this->create_dimension_selector('cp[' . $field . ']', $this->comicpress_options[$field]) ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
|
|
|
<td><input type="submit" value="Submit Changes" /></td>
|
|
|
|
</tr>
|
2009-07-04 16:16:14 +00:00
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|