/** * Outputs the text above the setting form. * * @param string $localized_heading_text Optional. Localized page heading text. */ public function options_page_description($localized_heading_text = '') { parent::options_page_description(__('Text Hover Settings', $this->textdomain)); echo '<p>' . __('Text Hover is a plugin that allows you to add hover text for text in posts. Very handy to create hover explanations of people mentioned in your blog, and/or definitions of unique acronyms and terms you use.', $this->textdomain) . '</p>'; echo '<div class="c2c-hr"> </div>'; echo '<h3>' . __('Acronyms and hover text', $this->textdomain) . '</h3>'; echo '<p>' . __('Define terms/acronyms and hovertext explanations here. The format should be like this:', $this->textdomain) . '</p>'; echo "<blockquote><code>WP => WordPress</code></blockquote>"; echo '<p>' . __('Where <code>WP</code> is the term, acronym, or phrase you intend to use in your posts, and the <code>WordPress</code> would be what you want to appear in a hover tooltip when a visitor hovers their mouse over the term.', $this->textdomain); echo ' ' . __('See how things look: <acronym title="WordPress" style="border-bottom:1px dashed #000;">WP</acronym>.', $this->textdomain) . '</p>'; echo '<p>' . __('Other considerations:', $this->textdomain) . '</p>'; echo '<ul class="c2c-plugin-list"><li>'; echo __('Terms and acronyms are assumed to be whole words within your posts (i.e. they are immediately prepended by some sort of space character (space, tab, etc) and are immediately appended by a space character or punctuation (which can include any of: ?!.,-+)]})', $this->textdomain); echo '</li><li>'; echo __('Only use quotes it they are actual part of the original or hovertext strings.', $this->textdomain); echo '</li><li><strong><em>'; echo __('Define only one hovertext per line.', $this->textdomain); echo '</em></strong></li><li><strong><em>'; echo __('Hovertexts must not span multiple lines.', $this->textdomain); echo '</em></strong></li><li><strong><em>'; echo __('Don\'t use HTML in the hovertext.', $this->textdomain); echo '</em></strong></li></ul>'; }
/** * Outputs the text above the setting form. */ public function options_page_description($localized_heading_text = '') { $options = $this->get_options(); parent::options_page_description(__('Reveal Template Settings', $this->textdomain)); echo '<p>' . __('Reveal the theme template used to render the displayed page. By default this appears in the site\'s footer and only for logged in users with the "update_themes" capability (such as an admin).', $this->textdomain) . '</p>'; echo '<p>' . sprintf(__('Also note that the plugin provides a "Reveal Template" <a href="%s">widget</a> that can be used to reveal the current templated.', $this->textdomain), admin_url('widgets.php')) . '</p>'; echo '<p>' . sprintf(__('Please refer to this plugin\'s <a href="%s" title="readme">readme.txt</a> file for documentation and examples.', $this->textdomain), $this->readme_url()) . '</p>'; }
/** * Outputs the text above the setting form. * * @param string $localized_heading_text Optional. Localized page heading text. */ public function options_page_description($localized_heading_text = '') { $options = $this->get_options(); parent::options_page_description(__('Allow Multiple Accounts Settings', $this->textdomain)); echo '<p>' . __('Allow multiple user accounts to be created from the same email address.', $this->textdomain) . '</p>'; echo '<p>' . __('By default, WordPress only allows a single user account to be associated to a specific email address. This plugin removes that restriction. A setting is also provided to allow only certain email addresses to be used by multiple accounts. You may also specify a limit to the number of accounts an email address can have.', $this->textdomain) . '</p>'; echo '<p><a href="#multiaccount_list">' . __('View a list of user accounts grouped by email address.', $this->textdomain) . '</a></p>'; }
/** * Configures help tabs content. * * @since 1.2 */ public function help_tabs_content($screen) { $screen->add_help_tab(array('id' => 'c2c-advanced-tips-' . $this->id_base, 'title' => __('Advanced Tips', $this->textdomain), 'content' => self::contextual_help('', $this->options_page))); parent::help_tabs_content($screen); }