This commit is contained in:
John Bintz 2009-09-24 23:24:20 -04:00
parent c59275888f
commit 6d29b2fa06

View File

@ -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>
<form method="post">
<input type="hidden" name="wdts[_nonce]" value="<?php echo $nonce ?>" />
<input type="hidden" name="wdts[module]" value="core-features" />
<h3><?php _e('Getting Started', 'what-did-they-say') ?></h3> <h3><?php _e('Getting Started', 'what-did-they-say') ?></h3>
<p> <p>
<?php if (current_user_can('manage_options')) { ?> <?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') ?> <?php _e('<strong>What Did They Say?!?</strong> can attempt to embed excerpts into your posts automatically:', 'what-did-they-say') ?>
<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['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,7 +23,6 @@
<?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 } else { ?>
<?php if ($options['automatic_embedding']) { ?> <?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 _e('<strong>What Did They Say?!?</strong> is set to attempt to embed excerpts into your posts automatically.', 'what-did-they-say') ?>
@ -52,12 +49,6 @@
<?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,7 +57,6 @@
<?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 } else { ?>
<?php if ($options['search_integration']) { ?> <?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 _e('<strong>What Did They Say?!?</strong> is set to search transcripts when your site is searched.', 'what-did-they-say') ?>
@ -89,4 +79,6 @@
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 } ?>