Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo ' <script type="text/javascript">
- jQuery(document).ready(function() {
- jQuery("#_bio_mce").addClass("mceEditor");
- if ( typeof( tinyMCE ) == "object" && typeof( tinyMCE.execCommand ) == "function" ) {
- tinyMCE.execCommand("mceAddControl", false, "_bio_mce");
- }
- jQuery("#_edu_mce").addClass("mceEditor");
- if ( typeof( tinyMCE ) == "object" && typeof( tinyMCE.execCommand ) == "function" ) {
- tinyMCE.execCommand("mceAddControl", false, "_edu_mce");
- }
- jQuery("#_ana_mce").addClass("mceEditor");
- if ( typeof( tinyMCE ) == "object" && typeof( tinyMCE.execCommand ) == "function" ) {
- tinyMCE.execCommand("mceAddControl", false, "_ana_mce");
- }
- jQuery("#_pub_mce").addClass("mceEditor");
- if ( typeof( tinyMCE ) == "object" && typeof( tinyMCE.execCommand ) == "function" ) {
- tinyMCE.execCommand("mceAddControl", false, "_pub_mce");
- }
- });
- </script> ';
- echo '<p style="background-color:#EDEDED;color:#4d4d4d;padding:10px;margin:0;"><label for="_bio_mce"><strong>Enter in the attorney <em>Biography</em> here.</strong></label></p>';
- echo '<textarea class="_bio_mce" name="_bio_mce" id="_bio_mce">
- ' . get_post_meta($post->ID, '_bio_mce', true) . '
- </textarea> ';
- echo '<p style="background-color:#EDEDED;color:#4d4d4d;padding:10px;margin:0;"><label for="_edu_mce"><strong>Enter in the attorney <em>Education and Honors</em> here.</strong></label></p>';
- echo '<textarea class="_edu_mce" name="_edu_mce" id="_edu_mce">
- ' . get_post_meta($post->ID, '_edu_mce', true) . '
- </textarea>';
- echo '<p style="background-color:#EDEDED;color:#4d4d4d;padding:10px;margin:0;"><label for="_ana_mce"><strong>Enter in the attorney <em>Admissions and Affiliations</em> here.</strong></label></p>';
- echo '<textarea class="_ana_mce" name="_ana_mce" id="_ana_mce">
- ' . get_post_meta($post->ID, '_ana_mce', true) . '
- </textarea> ';
- echo '<p style="background-color:#EDEDED;color:#4d4d4d;padding:10px;margin:0;"><label for="_pub_mce"><strong>Enter in the attorney <em>Publications and Speeches</em> here</strong></label></p>';
- echo '<textarea class="_pub_mce" name="_pub_mce" id="_pub_mce">
- ' . get_post_meta($post->ID, '_pub_mce', true) . '
- </textarea> ';
- echo '<p style="background-color:#EDEDED;color:#4d4d4d;padding:15px;margin:0;"></p><br /><br />';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement