25 lines
1.1 KiB
PHP
25 lines
1.1 KiB
PHP
|
<h3><?php _e('URL Backend Configuration', 'comicpress') ?></h3>
|
||
|
<div id="comicpress-url-backend-configuration" class="comicpress-holder">
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
<?php _e('URL Pattern:', 'comicpress') ?>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input style="font-size: 1.5em; width: 100%" type="text" name="cp[backend_options][filesystem][search_pattern]" value="<?php echo $pattern ?>" />
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p>
|
||
|
<?php _e('<strong>URL Pattern</strong> is similar to how WordPress permalinks are constructed:', 'comicpress') ?>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li><?php _e('<strong>%wordpress%</strong>: the local path to the WordPress installation', 'comicpress') ?></li>
|
||
|
<li><?php _e('<strong>%type%</strong>: the image type short name', 'comicpress') ?></li>
|
||
|
<li><?php _e('<strong>%type-folder%</strong>: the image type folder', 'comicpress') ?></li>
|
||
|
<li><?php _e('<strong>%date-(pattern)%</strong>: the date of the post as run through the date() function. Ex: <em>%date-Y-m-d%</em>', 'comicpress') ?></li>
|
||
|
</ul>
|
||
|
<input class="button-primary" type="submit" value="<?php _e('Submit Updated ComicPress Options', 'comicpress') ?>" />
|
||
|
</div>
|