ui fix
This commit is contained in:
parent
c59275888f
commit
6d29b2fa06
@ -6,17 +6,15 @@
|
|||||||
<?php _e('Adding transcripts to your posts gives you better search engine visibility and helps disabled users enjoy your content.', 'what-did-they-say') ?>
|
<?php _e('Adding transcripts to your posts gives you better search engine visibility and helps disabled users enjoy your content.', 'what-did-they-say') ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3><?php _e('Getting Started', 'what-did-they-say') ?></h3>
|
<form method="post">
|
||||||
|
<input type="hidden" name="wdts[_nonce]" value="<?php echo $nonce ?>" />
|
||||||
|
<input type="hidden" name="wdts[module]" value="core-features" />
|
||||||
|
|
||||||
<p>
|
<h3><?php _e('Getting Started', 'what-did-they-say') ?></h3>
|
||||||
<?php if (current_user_can('manage_options')) { ?>
|
|
||||||
<?php _e('<strong>What Did They Say?!?</strong> can attempt to embed excerpts into your posts automatically:', 'what-did-they-say') ?>
|
<p>
|
||||||
<form method="post">
|
<?php if (current_user_can('manage_options')) { ?>
|
||||||
<input type="hidden" name="wdts[_nonce]" value="<?php echo $nonce ?>" />
|
<?php _e('<strong>What Did They Say?!?</strong> can attempt to embed excerpts into your posts automatically:', 'what-did-they-say') ?>
|
||||||
<input type="hidden" name="wdts[module]" value="core-features" />
|
|
||||||
<?php if ($options['search_integration']) { ?>
|
|
||||||
<input type="hidden" name="wdts[search_integration]" value="yes" />
|
|
||||||
<?php } ?>
|
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
name="wdts[automatic_embedding]"
|
name="wdts[automatic_embedding]"
|
||||||
@ -25,19 +23,18 @@
|
|||||||
<?php _e('Enable automatic transcript embedding', 'what-did-they-say') ?>
|
<?php _e('Enable automatic transcript embedding', 'what-did-they-say') ?>
|
||||||
</label>
|
</label>
|
||||||
<input type="submit" class="button" value="<?php _e('Submit', 'what-did-they-say') ?>" />
|
<input type="submit" class="button" value="<?php _e('Submit', 'what-did-they-say') ?>" />
|
||||||
</form>
|
|
||||||
<?php } else { ?>
|
|
||||||
<?php if ($options['automatic_embedding']) { ?>
|
|
||||||
<?php _e('<strong>What Did They Say?!?</strong> is set to attempt to embed excerpts into your posts automatically.', 'what-did-they-say') ?>
|
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<?php _e('<strong>What Did They Say?!?</strong> will not attempt to embed excerpts into your posts automatically.', 'what-did-they-say') ?>
|
<?php if ($options['automatic_embedding']) { ?>
|
||||||
|
<?php _e('<strong>What Did They Say?!?</strong> is set to attempt to embed excerpts into your posts automatically.', 'what-did-they-say') ?>
|
||||||
|
<?php } else { ?>
|
||||||
|
<?php _e('<strong>What Did They Say?!?</strong> will not attempt to embed excerpts into your posts automatically.', 'what-did-they-say') ?>
|
||||||
|
<?php } ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } ?>
|
</p>
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<?php _e('If the automatic embedding method doesn\'t work or you desire more control, you can add the following Template Tags to the appropriate location in your posts Loop:', 'what-did-they-say') ?>
|
<?php _e('If the automatic embedding method doesn\'t work or you desire more control, you can add the following Template Tags to the appropriate location in your posts Loop:', 'what-did-they-say') ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<?php
|
<?php
|
||||||
@ -46,18 +43,12 @@
|
|||||||
transcripts_display(); the_media_transcript_queue_editor();
|
transcripts_display(); the_media_transcript_queue_editor();
|
||||||
} ?></pre>
|
} ?></pre>
|
||||||
|
|
||||||
<h3><?php _e('Search Results', 'what-did-they-say') ?></h3>
|
<h3><?php _e('Search Results', 'what-did-they-say') ?></h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<?php _e('When someone searches your site, <strong>What Did They Say?!?</strong> can search your transcripts, too.', 'what-did-they-say') ?>
|
<?php _e('When someone searches your site, <strong>What Did They Say?!?</strong> can search your transcripts, too.', 'what-did-they-say') ?>
|
||||||
|
|
||||||
<?php if (current_user_can('manage_options')) { ?>
|
<?php if (current_user_can('manage_options')) { ?>
|
||||||
<form method="post">
|
|
||||||
<input type="hidden" name="wdts[_nonce]" value="<?php echo $nonce ?>" />
|
|
||||||
<input type="hidden" name="wdts[module]" value="core-features" />
|
|
||||||
<?php if ($options['automatic_embedding']) { ?>
|
|
||||||
<input type="hidden" name="wdts[automatic_embedding]" value="yes" />
|
|
||||||
<?php } ?>
|
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
name="wdts[search_integration]"
|
name="wdts[search_integration]"
|
||||||
@ -66,27 +57,28 @@
|
|||||||
<?php _e('Enable transcript search integration', 'what-did-they-say') ?>
|
<?php _e('Enable transcript search integration', 'what-did-they-say') ?>
|
||||||
</label>
|
</label>
|
||||||
<input type="submit" class="button" value="<?php _e('Submit', 'what-did-they-say') ?>" />
|
<input type="submit" class="button" value="<?php _e('Submit', 'what-did-they-say') ?>" />
|
||||||
</form>
|
|
||||||
<?php } else { ?>
|
|
||||||
<?php if ($options['search_integration']) { ?>
|
|
||||||
<?php _e('<strong>What Did They Say?!?</strong> is set to search transcripts when your site is searched.', 'what-did-they-say') ?>
|
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<?php _e('<strong>What Did They Say?!?</strong> will not search transcripts when your site is searched.', 'what-did-they-say') ?>
|
<?php if ($options['search_integration']) { ?>
|
||||||
|
<?php _e('<strong>What Did They Say?!?</strong> is set to search transcripts when your site is searched.', 'what-did-they-say') ?>
|
||||||
|
<?php } else { ?>
|
||||||
|
<?php _e('<strong>What Did They Say?!?</strong> will not search transcripts when your site is searched.', 'what-did-they-say') ?>
|
||||||
|
<?php } ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<?php _e('If you want transcript excerpts to appear in your search results, add the following Template Tag to your search results Loop:', 'what-did-they-say') ?>
|
<?php _e('If you want transcript excerpts to appear in your search results, add the following Template Tag to your search results Loop:', 'what-did-they-say') ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<php if (function_exists('the_matching_transcript_excerpts')) {
|
<php if (function_exists('the_matching_transcript_excerpts')) {
|
||||||
the_matching_transcript_excerpts();
|
the_matching_transcript_excerpts();
|
||||||
} ?></pre>
|
} ?></pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
$link = '<a href="#" onclick="make_active($(\'wdts-tab-default-styles\')); return false;">' . __('Styles', 'what-did-they-say') . '</a>';
|
$link = '<a href="#" onclick="make_active($(\'wdts-tab-default-styles\')); return false;">' . __('Styles', 'what-did-they-say') . '</a>';
|
||||||
printf(__('You can set the number of characters to show in context in search results on the %s page.', 'what-did-they-say'), $link);
|
printf(__('You can set the number of characters to show in context in search results on the %s page.', 'what-did-they-say'), $link);
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
</form>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user