Changeset 476350
- Timestamp:
- 12/16/2011 11:49:00 AM (14 years ago)
- Location:
- tinymce-span
- Files:
-
- 3 added
- 3 edited
-
tags/1.2 (added)
-
trunk/CSS (added)
-
trunk/bcknd.php (modified) (2 diffs)
-
trunk/license.txt (added)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/tinymce_span.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tinymce-span/trunk/bcknd.php
r437377 r476350 1 1 <?php 2 2 3 add_action('admin_menu', ' my_plugin_menu');3 add_action('admin_menu', 'tinymce_span_menu'); 4 4 5 function my_plugin_menu() {6 add_options_page('TinyMCE Span', 'TinyMCE Span', 'manage_options', 'tiny-mce-span', ' my_plugin_options');5 function tinymce_span_menu() { 6 add_options_page('TinyMCE Span', 'TinyMCE Span', 'manage_options', 'tiny-mce-span', 'tinymce_span_options'); 7 7 } 8 8 9 function my_plugin_options() {9 function tinymce_span_options() { 10 10 if (!current_user_can('manage_options')) { 11 11 wp_die( __('You do not have sufficient permissions to access this page.') ); … … 38 38 <p>TinyMCE Span is multi site safe. Each blog (or site) creates its own prettyspan class CSS file when both the plugin is activated and the blog's backend is accessed.</p> 39 39 <p>Please be aware that this form will place anything you into it into your prettyspan.css file. Please write proper CSS only i.e no notes and no HTML or PHP. Anything that is not CSS might show in your frontend. The stylesheet is non executable so exploits shouldn't be possible.</p> 40 <p>This blog's WordPress ID is blog number <strong><?php echo ''.$blog_id.''; ?></strong>. Your CSS file will be prefixed with the number <strong> 1</strong> and your CSS file will be called <strong><?php echo ''.$blog_id.''; ?>.prettyspan.css</strong>. It will be stored in the directory <strong><?php echo '' . get_bloginfo('wpurl') . '/wp-content/plugins/tinymce-span/'; ?></strong></p>40 <p>This blog's WordPress ID is blog number <strong><?php echo ''.$blog_id.''; ?></strong>. Your CSS file will be prefixed with the number <strong><?php echo ''.$blog_id.''; ?></strong> and your CSS file will be called <strong><?php echo ''.$blog_id.''; ?>.prettyspan.css</strong>. It will be stored in the directory <strong><?php echo '' . get_bloginfo('wpurl') . '/wp-content/plugins/tinymce-span/'; ?></strong></p> 41 41 42 42 <br /> -
tinymce-span/trunk/readme.txt
r439176 r476350 5 5 Requires at least: 3.0 6 6 Tested up to: 3.2 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 9 9 TinyMCE Span lets you insert HTML span tags around text like <span>some text like this</span> in the WordPress Visual Editor via an [SPA] button. This is useful for quickly highlighting text, adding preformatted borders around text and giving text a preformatted style. The plugin's backend admin panel makes it easy to edit the CSS class TinyMCE Span uses. … … 11 11 == Description == 12 12 13 TinyMCE Span pluginenables you to insert HTML span tags around text like <span>some text like this</span> in the WordPress Visual Editor. This is useful for quickly highlighting text, adding preformatted borders around text and giving text a preformatted style. The plugin's backend admin panel makes it easy to edit the CSS class TinyMCE Span uses.13 TinyMCE Span enables you to insert HTML span tags around text like <span>some text like this</span> in the WordPress Visual Editor. This is useful for quickly highlighting text, adding preformatted borders around text and giving text a preformatted style. The plugin's backend admin panel makes it easy to edit the CSS class TinyMCE Span uses. 14 14 15 15 Plugin activation adds an [SPA] button to the Visual Editor. Clicking it opens a popup text box into which you can place the text you want add your preformatted styling to. No need to worry about subsequent text being accidentally written into the span tags as happens with WordPress citation and quote tags. TinyMCE Span adds a space character after the closing span tag to prevent it. … … 26 26 == Installation == 27 27 28 * Either install the plugin using the WordPress plugin installer in the admin panel, or 29 * Download the zip file from WordPress.org then upload it to wp-content/plugins and unzip it 28 1 Either install the plugin using the WordPress plugin installer in the admin panel, or 29 1 Download the zip file from WordPress.org then upload it to wp-content/plugins and unzip it 30 31 == Frequently Asked Questions == 32 33 When I get some, I'll add some. 30 34 31 35 == Screenshots == … … 33 37 1. Visual Editor. 34 38 2. Admin Area. 39 40 == Changelog == 41 42 = 1.1 = 43 44 * Corrected a function name to prevent conflicts with other plugins. 45 * Corrected a typo in the Admin backend. 46 47 = 1.0 = 48 49 * First public release. 50 51 == Upgrade Notice == 52 53 = 1.1 = 54 55 * An overly general function name in version 1.0 could make the plugin clash with other plugins. Update to 1.1 to prevent clashes. 35 56 36 57 == Credits == -
tinymce-span/trunk/tinymce_span.php
r437377 r476350 5 5 Description: TinyMCE Span lets you insert HTML span tags around text like <span>some text like this</span> in the WordPress Visual Editor via an [SPA] button. This is useful for quickly highlighting text, adding preformatted borders around text and giving text a preformatted style. The plugin's backend admin panel makes it easy to edit the CSS class TinyMCE Span uses. 6 6 Author: WP Service Masters 7 Version: 1. 07 Version: 1.1 8 8 Author URI: http://wpservicemasters.com/plugins/tinymce-span/ 9 9 */ 10 10 11 11 /* 12 Copyright (c) 2011 Dion de Ville, WP Service masters12 Copyright (c) 2011 Dion de Ville, WP Service Masters 13 13 14 14 Copyright notice written by Takayuki Miyauchi
Note: See TracChangeset
for help on using the changeset viewer.