Changeset 29570

Show
Ignore:
Timestamp:
01/19/08 10:46:56 (6 months ago)
Author:
GamerZ
Message:

Fix TinyMCE Bug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-polls/trunk/tinymce/plugins/wp-polls/langs/en.js

    r22648 r29570  
    1 tinyMCE.addToLang('polls',{ 
     1tinyMCE.addToLang('wp-polls',{ 
    22insert : 'Insert Poll' 
    33}); 
  • wp-polls/trunk/tinymce/plugins/wp-polls/langs/en_us.js

    r22648 r29570  
    1 tinyMCE.addToLang('polls',{ 
     1tinyMCE.addToLang('wp-polls',{ 
    22insert : 'Insert Poll' 
    33}); 
  • wp-polls/trunk/wp-polls.php

    r26538 r29570  
    163163      echo "\t".'var polls_text_valid = \''.__('Please choose a valid poll answer.', 'wp-polls').'\';'."\n"; 
    164164      echo "\t".'var polls_text_multiple = \''.__('Maximum number of choices allowed:', 'wp-polls').'\';'."\n"; 
    165       echo "\t".'var poll_show_loading = \''.intval($poll_ajax_style['loading']).'\';'."\n"; 
    166       echo "\t".'var poll_show_fading = \''.intval($poll_ajax_style['fading']).'\';'."\n"; 
     165      echo "\t".'var poll_show_loading = '.intval($poll_ajax_style['loading']).';'."\n"; 
     166      echo "\t".'var poll_show_fading = '.intval($poll_ajax_style['fading']).';'."\n"; 
    167167      echo '/* ]]> */'."\n"; 
    168168      echo '</script>'."\n"; 
     
    247247add_filter('mce_plugins', 'poll_mce_plugins', 5); 
    248248function poll_mce_plugins($plugins) {     
    249       array_push($plugins, '-wp-polls', 'bold');     
     249      array_push($plugins, '-wp-polls');     
    250250      return $plugins; 
    251251} 
  • wp-polls/trunk/wp-polls.pot

    r26538 r29570  
    33"Project-Id-Version: WP-Polls 2.30\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-12-15 00:06+0800\n" 
     5"PO-Revision-Date: 2008-01-18 22:56+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Lester Chan <gamerz84@hotmail.com>\n"