Plugin Directory

Changeset 476350


Ignore:
Timestamp:
12/16/2011 11:49:00 AM (14 years ago)
Author:
diondeville
Message:
 
Location:
tinymce-span
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • tinymce-span/trunk/bcknd.php

    r437377 r476350  
    11<?php
    22
    3 add_action('admin_menu', 'my_plugin_menu');
     3add_action('admin_menu', 'tinymce_span_menu');
    44
    5 function my_plugin_menu() {
    6     add_options_page('TinyMCE Span', 'TinyMCE Span', 'manage_options', 'tiny-mce-span', 'my_plugin_options');
     5function tinymce_span_menu() {
     6    add_options_page('TinyMCE Span', 'TinyMCE Span', 'manage_options', 'tiny-mce-span', 'tinymce_span_options');
    77}
    88
    9 function my_plugin_options() {
     9function tinymce_span_options() {
    1010    if (!current_user_can('manage_options'))  {
    1111        wp_die( __('You do not have sufficient permissions to access this page.') );
     
    3838<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>
    3939<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>
    4141
    4242<br />
  • tinymce-span/trunk/readme.txt

    r439176 r476350  
    55Requires at least: 3.0
    66Tested up to: 3.2
    7 Stable tag: 1.1
     7Stable tag: 1.2
    88
    99TinyMCE Span lets you insert HTML span tags around text like &lt;span&gt;some text like this&lt;/span&gt; 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.
     
    1111== Description ==
    1212
    13 TinyMCE Span plugin enables you to insert HTML span tags around text like &lt;span&gt;some text like this&lt;/span&gt; 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.
     13TinyMCE Span enables you to insert HTML span tags around text like &lt;span&gt;some text like this&lt;/span&gt; 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.
    1414
    1515Plugin 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.
     
    2626== Installation ==
    2727
    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
     281 Either install the plugin using the WordPress plugin installer in the admin panel, or
     291 Download the zip file from WordPress.org then upload it to wp-content/plugins and unzip it
     30
     31== Frequently Asked Questions ==
     32
     33When I get some, I'll add some.
    3034
    3135== Screenshots ==
     
    33371. Visual Editor.
    34382. 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.
    3556
    3657== Credits ==
  • tinymce-span/trunk/tinymce_span.php

    r437377 r476350  
    55Description: TinyMCE Span lets you insert HTML span tags around text like &lt;span&gt;some text like this&lt;/span&gt; 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.
    66Author: WP Service Masters
    7 Version: 1.0
     7Version: 1.1
    88Author URI: http://wpservicemasters.com/plugins/tinymce-span/
    99*/
    1010
    1111/*
    12 Copyright (c) 2011 Dion de Ville, WP Servicemasters
     12Copyright (c) 2011 Dion de Ville, WP Service Masters
    1313
    1414Copyright notice written by Takayuki Miyauchi
Note: See TracChangeset for help on using the changeset viewer.