Changeset 1106
- Timestamp:
- 04/20/2004 04:15:18 AM (20 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-footer.php
r628 r1106 1 1 2 2 3 <p align="center" style="width: 100%" class="tabletoprow">< strong><a href="http://wordpress.org">WordPress</a></strong> <?php echo $wp_version ?> — <a href="http://wordpress.org/support/">Support Forums</a><br />3 <p align="center" style="width: 100%" class="tabletoprow"><?php printf(__('<strong><a href="%s">WordPress</a></strong> %s — <a href="%s">Support Forums</a><br />'), 'http://wordpress.org', $wp_version, 'http://wordpress.org/support/') ?> 4 4 <?php 5 echo number_format(timer_stop(), 2)." seconds";5 printf(__('%s seconds'), number_format(timer_stop(), 2)); 6 6 ?> 7 7 </p> -
trunk/wp-admin/admin-header.php
r1100 r1106 7 7 function gethelp_link($this_file, $helptag) { 8 8 $url = 'http://wordpress.org/docs/reference/links/#'.$helptag; 9 $s = ' <a href="'.$url.'" title=" Click here for help">?</a>';9 $s = ' <a href="'.$url.'" title="' . __('Click here for help') .'">?</a>'; 10 10 return $s; 11 11 } … … 138 138 </head> 139 139 <body> 140 <h1 id="wphead"><a href="http://wordpress.org" rel="external" title=" Visit WordPress.org">WordPress</a></h1>140 <h1 id="wphead"><a href="http://wordpress.org" rel="external" title="<?php _e('Visit WordPress.org') ?>"><?php _e('WordPress') ?></a></h1> 141 141 <?php 142 142 if ($profile==0) { -
trunk/wp-admin/edit-form.php
r956 r1106 5 5 $allowed_users = explode(" ", trim(get_settings('fileupload_allowedusers'))); 6 6 7 $submitbutton_text = 'Blog this!';8 $toprow_title = 'New Post';7 $submitbutton_text = __('Blog this!'); 8 $toprow_title = __('New Post'); 9 9 $form_action = 'post'; 10 10 $form_extra = ''; … … 12 12 $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" '; 13 13 if ($post_pingback) $form_pingback .= 'checked="checked" '; 14 $form_pingback .= 'tabindex="7" id="pingback" /> <label for="pingback"> <strong>PingBack</strong> the <acronym title="Uniform Resource Locators">URL</acronym>s in this post</label> <a href="http://wordpress.org/docs/reference/post/#pingback" title="Help on Pingbacks">?</a><br />';14 $form_pingback .= 'tabindex="7" id="pingback" /> <label for="pingback">' . sprintf(__('<strong>PingBack</strong> the <acronym title="Uniform Resource Locators">URL</acronym>s in this post</label> <a href="%s" title="Help on Pingbacks">?</a><br />'), 'http://wordpress.org/docs/reference/post/#pingback'); 15 15 } else { 16 16 $form_pingback = ''; 17 17 } 18 18 if (get_settings('use_trackback')) { 19 $form_trackback = '<p><label for="trackback"> <a href="http://wordpress.org/docs/reference/post/#trackback" title="Help on trackbacks"><strong>TrackBack</strong> an <acronym title="Uniform Resource Locator">URL</acronym></a>:</label> (Separate multiple <acronym title="Uniform Resource Locator">URL</acronym>s with spaces.)<br />20 <input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>';19 $form_trackback = '<p><label for="trackback">' . sprintf(__('<a href="%s" title="Help on trackbacks"><strong>TrackBack</strong> an <acronym title="Uniform Resource Locator">URL</acronym></a>:</label> (Separate multiple <acronym title="Uniform Resource Locator">URL</acronym>s with spaces.)<br />'), 'http://wordpress.org/docs/reference/post/#trackback') . 20 '<input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>'; 21 21 if ('' != $pinged) { 22 $form_trackback .= '<p> Already pinged:</p><ul>';22 $form_trackback .= '<p>' . __('Already pinged:') . '</p><ul>'; 23 23 $already_pinged = explode("\n", trim($pinged)); 24 24 foreach ($already_pinged as $pinged_url) { … … 62 62 <div id="poststuff"> 63 63 <fieldset id="titlediv"> 64 <legend><a href="http://wordpress.org/docs/reference/post/#title" title=" Help on titles">Title</a></legend>64 <legend><a href="http://wordpress.org/docs/reference/post/#title" title="<?php _e('Help on titles') ?>"><?php _e('Title') ?></a></legend> 65 65 <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo $edited_post_title; ?>" id="title" /></div> 66 66 </fieldset> 67 67 68 68 <fieldset id="categorydiv"> 69 <legend><a href="http://wordpress.org/docs/reference/post/#category" title=" Help on categories">Categories</a></legend>69 <legend><a href="http://wordpress.org/docs/reference/post/#category" title="<?php _e('Help on categories') ?>"><?php _e('Categories') ?></a></legend> 70 70 <div><?php dropdown_categories($default_post_cat); ?></div> 71 71 </fieldset> … … 73 73 <br /> 74 74 <fieldset id="postdiv"> 75 <legend><a href="http://wordpress.org/docs/reference/post/#post" title="Help with post field">Post</a></legend>75 <legend><a href="http://wordpress.org/docs/reference/post/#post" title="<?php _e('Help with post field') ?>"><?php _e('Post') ?></a></legend> 76 76 <div id="quicktags"> 77 77 <?php 78 78 if (get_settings('use_quicktags') && 'bookmarklet' != $mode) { 79 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title=" Help with quicktags">Quicktags</a>: ';79 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="' . __('Help with quicktags') . '">' . __('Quicktags') . '</a>: '; 80 80 include('quicktags.php'); 81 81 } … … 104 104 <?php echo $form_prevstatus ?> 105 105 <?php echo $form_trackback; ?> 106 <p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value=" Save as Draft" />107 <input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value=" Save as Private" />108 <input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value=" Publish" />106 <p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft') ?>" /> 107 <input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="<?php _e('Save as Private') ?>" /> 108 <input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value="<?php _e('Publish') ?>" /> 109 109 <?php if ('bookmarklet' != $mode) { 110 echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value=" Advanced Editing »" />';110 echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing »') . '" />'; 111 111 } ?> 112 112 <input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" /> -
trunk/wp-admin/menu.php
r1100 r1106 22 22 23 23 ?> 24 <li><a href="<?php echo get_settings('siteurl') . '/' . get_settings('blogfilename'); ?>" title="View your site">View site»</a></li>24 <li><a href="<?php echo get_settings('siteurl') . '/' . get_settings('blogfilename'); ?>" title="<?php _e('View your site') ?>"><?php _e('View site') ?> »</a></li> 25 25 <li class="last"><a href="<?php echo get_settings('siteurl') 26 ?>/wp-login.php?action=logout" title=" Log out of this account">Logout (<?php echo stripslashes($user_nickname) ?>)</a></li>26 ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php printf(__('Logout (%s)'), stripslashes($user_nickname)) ?></a></li> 27 27 </ul> -
trunk/wp-admin/post.php
r1094 r1106 1 1 <?php 2 2 /* <Edit> */ 3 4 require_once('../wp-includes/wp-l10n.php'); 3 5 4 6 function add_magic_quotes($array) { … … 85 87 86 88 if ($user_level == 0) 87 die ( 'Cheatin’ uh?');89 die (__('Cheatin’ uh?')); 88 90 89 91 if (($user_level > 4) && (!empty($HTTP_POST_VARS['edit_date']))) { … … 213 215 214 216 case 'edit': 215 $title = 'Edit';217 $title = __('Edit'); 216 218 217 219 $standalone = 0; … … 246 248 ?> 247 249 <div id='preview' class='wrap'> 248 <h2>Post Preview (updated when post is saved)</h2>249 <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3>250 <div class="meta">Filed under: <?php the_category()?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>250 <h2><?php _e('Post Preview (updated when post is saved)'); ?></h2> 251 <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php printf(__("Permanent Link: %s"), the_title()); ?>"><?php the_title(); ?></a></h3> 252 <div class="meta"><?php printf(__("Filed under: %s"), the_category()); ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div> 251 253 252 254 <div class="storycontent"> … … 257 259 } else { 258 260 ?> 259 <p>Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, 260 in order to be authorized to post.<br /> 261 You can also <a href="mailto:<?php echo get_settings('admin_email'); ?>?subject=Promotion?">e-mail the admin</a> 262 to ask for a promotion.<br /> 263 When you’re promoted, just reload this page and you’ll be able to blog. :) 261 <p><?php printf(__('Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br /> 262 You can also <a href="mailto:%s?subject=Promotion?">e-mail the admin</a> to ask for a promotion.<br /> 263 When you’re promoted, just reload this page and you’ll be able to blog. :)'), get_settings('admin_email')); ?> 264 264 </p> 265 265 <?php … … 273 273 274 274 if ($user_level == 0) 275 die ( 'Cheatin’ uh?');275 die (__('Cheatin’ uh?')); 276 276 277 277 if (!isset($blog_ID)) { … … 418 418 419 419 $post_id = intval($HTTP_GET_VARS['post']); 420 $postdata = get_postdata($post_id) or die( 'Oops, no post with this ID. <a href="post.php">Go back</a>!');420 $postdata = get_postdata($post_id) or die(sprintf(__('Oops, no post with this ID. <a href="%s">Go back</a>!'), 'post.php')); 421 421 $authordata = get_userdata($postdata['Author_ID']); 422 422 423 423 if ($user_level < $authordata->user_level) 424 die ( 'You don’t have the right to delete <strong>'.$authordata[1].'</strong>’s posts.');424 die (sprintf(__('You don’t have the right to delete <strong>%s</strong>’s posts.'), $authordata[1])); 425 425 426 426 // send geoURL ping to "erase" from their DB … … 435 435 $result = $wpdb->query("DELETE FROM $tableposts WHERE ID=$post_id"); 436 436 if (!$result) 437 die( 'Error in deleting...');437 die(__('Error in deleting...')); 438 438 439 439 $result = $wpdb->query("DELETE FROM $tablecomments WHERE comment_post_ID=$post_id"); … … 452 452 453 453 case 'editcomment': 454 $title = 'Edit Comment';454 $title = __('Edit Comment'); 455 455 $standalone = 0; 456 456 $parent_file = 'edit.php'; … … 460 460 461 461 if ($user_level == 0) { 462 die ( 'Cheatin’ uh?');462 die (__('Cheatin’ uh?')); 463 463 } 464 464 465 465 $comment = $HTTP_GET_VARS['comment']; 466 $commentdata = get_commentdata($comment, 1, true) or die( 'Oops, no comment with this ID. <a href="javascript:history.go(-1)">Go back</a>!');466 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'javascript:history.go(-1)')); 467 467 $content = $commentdata['comment_content']; 468 468 $content = format_to_edit($content); … … 478 478 479 479 if ($user_level == 0) 480 die ( 'Cheatin’ uh?');480 die (__('Cheatin’ uh?')); 481 481 482 482 $comment = $HTTP_GET_VARS['comment']; 483 483 $p = $HTTP_GET_VARS['p']; 484 $commentdata = get_commentdata($comment, 1, true) or die('Oops, no comment with this ID. <a href="edit.php">Go back</a>!');484 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 485 485 486 486 echo "<div class=\"wrap\">\n"; 487 echo "<p>< strong>Caution:</strong> You are about to delete the following comment:</p>\n";487 echo "<p><?php __('<strong>Caution:</strong> You are about to delete the following comment:'); ?></p>\n"; 488 488 echo "<table border=\"0\">\n"; 489 echo "<tr><td>Author:</td><td>" . $commentdata["comment_author"] . "</td></tr>\n";490 echo "<tr><td>E-Mail:</td><td>" . $commentdata["comment_author_email"] . "</td></tr>\n";491 echo "<tr><td>URL:</td><td>" . $commentdata["comment_author_url"] . "</td></tr>\n";492 echo "<tr><td>Comment:</td><td>" . stripslashes($commentdata["comment_content"]) . "</td></tr>\n";489 echo "<tr><td>" . __('Author:') . "</td><td>" . $commentdata["comment_author"] . "</td></tr>\n"; 490 echo "<tr><td>" . __('E-Mail:') . "</td><td>" . $commentdata["comment_author_email"] . "</td></tr>\n"; 491 echo "<tr><td>". __('URL:') . "</td><td>" . $commentdata["comment_author_url"] . "</td></tr>\n"; 492 echo "<tr><td>". __('Comment:') . "</td><td>" . stripslashes($commentdata["comment_content"]) . "</td></tr>\n"; 493 493 echo "</table>\n"; 494 echo "<p>Are you sure you want to do that?</p>\n";494 echo "<p>" . __('Are you sure you want to do that?') . "</p>\n"; 495 495 496 496 echo "<form action='".get_settings('siteurl')."/wp-admin/post.php' method='get'>\n"; … … 499 499 echo "<input type=\"hidden\" name=\"comment\" value=\"$comment\" />\n"; 500 500 echo "<input type=\"hidden\" name=\"noredir\" value=\"1\" />\n"; 501 echo "<input type=\"submit\" value=\"Yes\" />";501 echo "<input type=\"submit\" value=\"" . __('Yes') . "\" />"; 502 502 echo " "; 503 echo "<input type=\"button\" value=\"No\" onClick=\"self.location='". get_settings('siteurl') ."/wp-admin/edit.php?p=$p&c=1#comments';\" />\n";503 echo "<input type=\"button\" value=\"" . __('No') . "\" onClick=\"self.location='". get_settings('siteurl') ."/wp-admin/edit.php?p=$p&c=1#comments';\" />\n"; 504 504 echo "</form>\n"; 505 505 echo "</div>\n"; … … 513 513 514 514 if ($user_level == 0) 515 die ( 'Cheatin’ uh?');515 die (__('Cheatin’ uh?')); 516 516 517 517 … … 524 524 } 525 525 526 $postdata = get_postdata($p) or die('Oops, no post with this ID. <a href="edit.php">Go back</a>!');527 $commentdata = get_commentdata($comment, 1, true) or die('Oops, no comment with this ID. <a href="post.php">Go back</a>!');526 $postdata = get_postdata($p) or die(sprintf(__('Oops, no post with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 527 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'post.php')); 528 528 529 529 $authordata = get_userdata($postdata['Author_ID']); 530 530 if ($user_level < $authordata->user_level) 531 die ( 'You don’t have the right to delete <strong>'.$authordata->user_nickname.'</strong>’s post comments. <a href="post.php">Go back</a>!');531 die (sprintf(__('You don’t have the right to delete <strong>%s</strong>’s post comments. <a href="%s">Go back</a>!'), $authordata->user_nickname, 'post.php')); 532 532 533 533 wp_set_comment_status($comment, "delete"); … … 548 548 549 549 if ($user_level == 0) 550 die ( 'Cheatin’ uh?');550 die (__('Cheatin’ uh?')); 551 551 552 552 $comment = $HTTP_GET_VARS['comment']; … … 558 558 } 559 559 560 $commentdata = get_commentdata($comment) or die('Oops, no comment with this ID. <a href="edit.php">Go back</a>!');560 $commentdata = get_commentdata($comment) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 561 561 562 562 wp_set_comment_status($comment, "hold"); … … 576 576 577 577 if ($user_level == 0) 578 die ( 'Cheatin’ uh?');578 die (__('Cheatin’ uh?')); 579 579 580 580 $comment = $HTTP_GET_VARS['comment']; 581 581 $p = $HTTP_GET_VARS['p']; 582 $commentdata = get_commentdata($comment, 1, true) or die('Oops, no comment with this ID. <a href="edit.php">Go back</a>!');582 $commentdata = get_commentdata($comment, 1, true) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 583 583 584 584 wp_set_comment_status($comment, "approve"); … … 588 588 589 589 echo "<div class=\"wrap\">\n"; 590 echo "<p>Comment has been approved.</p>\n";590 echo "<p>" . __('Comment has been approved.') . "</p>\n"; 591 591 592 592 echo "<form action=\"". get_settings('siteurl') ."/wp-admin/edit.php?p=$p&c=1#comments\" method=\"get\">\n"; 593 593 echo "<input type=\"hidden\" name=\"p\" value=\"$p\" />\n"; 594 594 echo "<input type=\"hidden\" name=\"c\" value=\"1\" />\n"; 595 echo "<input type=\"submit\" value=\"Ok\" />";595 echo "<input type=\"submit\" value=\"" . __('Ok') . "\" />"; 596 596 echo "</form>\n"; 597 597 echo "</div>\n"; … … 605 605 606 606 if ($user_level == 0) 607 die ( 'Cheatin’ uh?');607 die (__('Cheatin’ uh?')); 608 608 609 609 $comment = $HTTP_GET_VARS['comment']; … … 614 614 $noredir = false; 615 615 } 616 $commentdata = get_commentdata($comment) or die('Oops, no comment with this ID. <a href="edit.php">Go back</a>!');616 $commentdata = get_commentdata($comment) or die(sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php')); 617 617 618 618 wp_set_comment_status($comment, "approve"); … … 636 636 637 637 if ($user_level == 0) 638 die ( 'Cheatin’ uh?');638 die (__('Cheatin’ uh?')); 639 639 640 640 $comment_ID = $HTTP_POST_VARS['comment_ID']; … … 681 681 682 682 default: 683 $title = 'Create New Post';684 683 $standalone = 0; 684 $title = __('Create New Post'); 685 685 require_once ('./admin-header.php'); 686 686 … … 694 694 ?> 695 695 <div class="wrap"> 696 <p><strong>Your Drafts:</strong>696 <p><strong><?php _e('Your Drafts:') ?></strong> 697 697 <?php 698 698 $i = 0; … … 702 702 $draft->post_title = stripslashes($draft->post_title); 703 703 if ($draft->post_title == '') 704 $draft->post_title = 'Post #'.$draft->ID;705 echo "<a href='post.php?action=edit&post=$draft->ID' title=' Edit this draft'>$draft->post_title</a>";704 $draft->post_title = sprintf(__('Post # %s'), $draft->ID); 705 echo "<a href='post.php?action=edit&post=$draft->ID' title='" . __('Edit this draft') . "'>$draft->post_title</a>"; 706 706 ++$i; 707 707 } … … 725 725 ?> 726 726 <div class="wrap"> 727 < h3>WordPress bookmarklet</h3>728 <p>You can drag the following link to your links bar or add it to your bookmarks and when you "Press it" it will open up a popup window with information and a link to the site you 're currently browsing so you can make a quick post about it. Try it out:</p>727 <?php _e('<h3>WordPress bookmarklet</h3> 728 <p>You can drag the following link to your links bar or add it to your bookmarks and when you "Press it" it will open up a popup window with information and a link to the site you’re currently browsing so you can make a quick post about it. Try it out:</p>') ?> 729 729 <p> 730 730 … … 734 734 if ($is_NS4 || $is_gecko) { 735 735 ?> 736 <a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'WordPress bookmarklet','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));">Press It 737 - <?php echo get_settings('blogname'); ?></a> 736 <a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'<?php _e('WordPress bookmarklet') ?>','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));"><?php printf(__('Press It - %s'), get_settings('blogname')); ?></a> 738 737 <?php 739 738 } else if ($is_winIE) { 740 739 ?> 741 <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">Press it 742 - <?php echo get_settings('blogname'); ?></a> 740 <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();"><?php printf(__('Press it - %s'), get_settings('blogname')); ?></a> 743 741 <script type="text/javascript" language="JavaScript"> 744 742 <!-- … … 755 753 } else if ($is_opera) { 756 754 ?> 757 <a href="javascript:void(window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">Press it 758 - <?php echo get_settings('blogname'); ?></a> 755 <a href="javascript:void(window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));"><?php printf(__('Press it - %s'), get_settings('blogname')); ?></a> 759 756 <?php 760 757 } else if ($is_macIE) { 761 758 ?> 762 <a href="javascript:Q='';if(top.frames.length==0);void(btw=window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">Press it 763 - <?php echo get_settings('blogname'); ?></a> 759 <a href="javascript:Q='';if(top.frames.length==0);void(btw=window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();"><?php prtinf(__('Press it - %s'), get_settings('blogname')); ?></a> 764 760 <?php 765 761 } … … 773 769 ?> 774 770 <div class="wrap"> 775 776 You can also <a href="mailto:<?php echo get_settings('admin_email'); ?>?subject=Blog posting permission">e-mail the admin</a> to ask for a promotion.<br />777 When you’re promoted, just reload this page and you’ll be able to blog. :)</p>771 <?php printf(__('<p>Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post blog items.<br /> 772 You can also <a href="mailto:%s?subject=Blog posting permission">e-mail the admin</a> to ask for a promotion.<br /> 773 When you’re promoted, just reload this page and you’ll be able to blog. :)</p>'), get_settings('admin_email')); ?> 778 774 </div> 779 775 <?php
Note: See TracChangeset
for help on using the changeset viewer.