ID; $aFWYSIWYM = get_user_meta($aFCrntUsrID,'aFWYSIWYM',true); $aFCancelStyles = get_user_meta($aFCrntUsrID,'aFCancelStyles',true); } function aFWHcss( $mce_css ) { global $aFWYSIWYM, $aFCancelStyles; if ($aFWYSIWYM == 1) { if (!empty($mce_css)) $mce_css .= ','; $mce_css .= plugins_url( 'wysiwym.css', __FILE__ ); } if ($aFCancelStyles == 1) { if (!empty($mce_css)) $mce_css .= ','; $mce_css .= plugins_url( 'overrides.css', __FILE__ ); } return $mce_css; } function aFWHUpgradeNag() { global $aFWHVersion; if ( !current_user_can('install_plugins') ) return; $aFWH_version = 'version'; if(get_bloginfo('version') >= "4.0"){ $aFFavs = network_admin_url('plugin-install.php?tab=favorites&user=addfunc'); $aFFavsTarg = ''; } else { $aFFavs = 'http://profiles.wordpress.org/addfunc'; $aFFavsTarg = ' target="_blank"'; } if ( get_site_option( $aFWH_version ) == $aFWHVersion ) return; $msg = sprintf(__('Thank you for updating AddFunc WYSIWYG Helper! If you like this plugin, please consider rating it and trying out our other plugins!'),'http://wordpress.org/support/view/plugin-reviews/addfunc-wysiwyg-helper',$aFFavs); echo "
'.__( 'The colored borders and highlighting you see in Visual editing mode are there to reveal for you what and where some of the various HTML elements are that comprise the content you are editing.' ).'
'.__( 'Legend' ).'
|
ID )) == 1) echo "checked"; ?> /> WYSIWYM = What You See Is What You Mean |
|
|
ID )) == 1) echo "checked"; ?> /> |