Changeset 530
- Timestamp:
- 02/17/06 15:23:24 (3 years ago)
- Files:
-
- trunk/wp-inst/wp-admin/admin-functions.php (modified) (7 diffs)
- trunk/wp-inst/wp-admin/admin-header.php (modified) (2 diffs)
- trunk/wp-inst/wp-admin/categories.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/edit-comments.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/edit-page-form.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/edit-pages.php (modified) (2 diffs)
- trunk/wp-inst/wp-admin/inline-uploading.php (modified) (3 diffs)
- trunk/wp-inst/wp-admin/link-import.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/menu-header.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/menu.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/options-general.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/options-misc.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/options-reading.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/options-writing.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/page-new.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/plugin-editor.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/templates.php (modified) (1 diff)
- trunk/wp-inst/wp-admin/theme-editor.php (modified) (2 diffs)
- trunk/wp-inst/wp-admin/users.php (modified) (1 diff)
- trunk/wp-inst/wp-comments-post.php (modified) (1 diff)
- trunk/wp-inst/wp-includes/comment-functions.php (modified) (1 diff)
- trunk/wp-inst/wp-includes/functions-post.php (modified) (2 diffs)
- trunk/wp-inst/wp-includes/functions.php (modified) (2 diffs)
- trunk/wp-inst/wp-includes/template-functions-category.php (modified) (2 diffs)
- trunk/wp-inst/wp-includes/template-functions-links.php (modified) (1 diff)
- trunk/wp-inst/wp-login.php (modified) (1 diff)
- trunk/wp-inst/wp-register.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-inst/wp-admin/admin-functions.php
r524 r530 611 611 if ($category->category_parent == $parent) { 612 612 $category->cat_name = wp_specialchars($category->cat_name); 613 //$count = $wpdb->get_var("SELECT COUNT(post_id) FROM $wpdb->post2cat WHERE category_id = $category->cat_ID");614 613 $pad = str_repeat('— ', $level); 615 614 if ( current_user_can('manage_categories') ) { … … 631 630 <td>$edit</td> 632 631 </tr>"; 633 //<td>$count</td>634 632 cat_rows($category->cat_ID, $level +1, $categories); 635 633 } … … 1234 1232 global $menu; 1235 1233 global $submenu; 1234 global $menu_nopriv; 1236 1235 1237 1236 $parent = get_admin_page_parent(); 1237 1238 if ( isset($menu_nopriv[$pagenow]) ) 1239 return false; 1240 1241 if ( empty($parent) ) 1242 return true; 1243 1244 if (isset ($submenu[$parent])) { 1245 foreach ($submenu[$parent] as $submenu_array) { 1246 if ($submenu_array[2] == $pagenow) { 1247 if (current_user_can($submenu_array[1])) 1248 return true; 1249 else 1250 return false; 1251 } 1252 } 1253 } 1238 1254 1239 1255 foreach ($menu as $menu_array) { 1240 1256 //echo "parent array: " . $menu_array[2]; 1241 1257 if ($menu_array[2] == $parent) { 1242 if (!current_user_can($menu_array[1])) { 1258 if (current_user_can($menu_array[1])) 1259 return true; 1260 else 1243 1261 return false; 1244 } else { 1245 break; 1246 } 1247 } 1248 } 1249 1250 if (isset ($submenu[$parent])) { 1251 foreach ($submenu[$parent] as $submenu_array) { 1252 if ($submenu_array[2] == $pagenow) { 1253 if (!current_user_can($submenu_array[1])) { 1254 return false; 1255 } else { 1256 return true; 1257 } 1258 } 1259 } 1260 } 1261 1262 } 1263 } 1264 1262 1265 return true; 1263 1266 } … … 1316 1319 global $pagenow; 1317 1320 global $plugin_page; 1318 1319 if (isset ($parent_file) && !empty ($parent_file)) { 1321 global $real_parent_file; 1322 1323 if ( !empty ($parent_file) ) { 1324 if ( isset($real_parent_file[$parent_file]) ) 1325 $parent_file = $real_parent_file[$parent_file]; 1326 1320 1327 return $parent_file; 1321 1328 } … … 1325 1332 if ($parent_menu[2] == $plugin_page) { 1326 1333 $parent_file = $plugin_page; 1327 return $plugin_page; 1334 if ( isset($real_parent_file[$parent_file]) ) 1335 $parent_file = $real_parent_file[$parent_file]; 1336 1337 return $parent_file; 1328 1338 } 1329 1339 } … … 1332 1342 foreach (array_keys($submenu) as $parent) { 1333 1343 foreach ($submenu[$parent] as $submenu_array) { 1344 if ( isset($real_parent_file[$parent]) ) 1345 $parent = $real_parent_file[$parent]; 1334 1346 if ($submenu_array[2] == $pagenow) { 1335 1347 $parent_file = $parent; … … 1366 1378 global $submenu; 1367 1379 global $menu; 1380 global $real_parent_file; 1368 1381 1369 1382 $parent = plugin_basename($parent); 1383 if ( isset($real_parent_file[$parent]) ) 1384 $parent = $real_parent_file[$parent]; 1385 1370 1386 $file = plugin_basename($file); 1371 1387 trunk/wp-inst/wp-admin/admin-header.php
r524 r530 1 <?php 1 <?php 2 2 @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 3 3 if (!isset($_GET["page"])) require_once('admin.php'); … … 60 60 <body> 61 61 <div id="wphead"> 62 <h1><?php echo wptexturize(get_settings(('blogname'))); ?> <span>(<a href="<?php echo get_settings('home') . '/'; ?>"><?php _e('View site ') ?> »</a>)</span></h1>62 <h1><?php echo wptexturize(get_settings(('blogname'))); ?> <span>(<a href="<?php echo get_settings('home') . '/'; ?>"><?php _e('View site »') ?></a>)</span></h1> 63 63 </div> 64 64 <div id="user_info"><p><?php printf(__('Howdy, <strong>%s</strong>.'), $user_identity) ?> [<a href="<?php echo get_settings('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Sign Out'); ?></a>, <a href="profile.php"><?php _e('My Account'); ?></a>] </p></div> trunk/wp-inst/wp-admin/categories.php
r524 r530 93 93 </tr> 94 94 </table> 95 <p class="submit"><input type="submit" name="submit" value="<?php _e('Edit category ') ?> »" /></p>95 <p class="submit"><input type="submit" name="submit" value="<?php _e('Edit category »') ?>" /></p> 96 96 </form> 97 97 <p><a href="categories.php"><?php _e('« Return to category list'); ?></a></p> trunk/wp-inst/wp-admin/edit-comments.php
r528 r530 164 164 ?></table> 165 165 <p><a href="javascript:;" onclick="checkAll(document.getElementById('deletecomments')); return false; "><?php _e('Invert Checkbox Selection') ?></a></p> 166 <p class="submit"><input type="submit" name="delete_button" value="<?php _e('Delete Checked Comments ') ?> »" onclick="return confirm('<?php _e("You are about to delete these comments permanently \\n \'Cancel\' to stop, \'OK\' to delete.") ?>')" />167 <input type="submit" name="spam_button" value="<?php _e('Mark Checked Comments as Spam ') ?> »" onclick="return confirm('<?php _e("You are about to mark these comments as spam \\n \'Cancel\' to stop, \'OK\' to mark as spam.") ?>')" /></p>166 <p class="submit"><input type="submit" name="delete_button" value="<?php _e('Delete Checked Comments »') ?>" onclick="return confirm('<?php _e("You are about to delete these comments permanently \\n \'Cancel\' to stop, \'OK\' to delete.") ?>')" /> 167 <input type="submit" name="spam_button" value="<?php _e('Mark Checked Comments as Spam »') ?>" onclick="return confirm('<?php _e("You are about to mark these comments as spam \\n \'Cancel\' to stop, \'OK\' to mark as spam.") ?>')" /></p> 168 168 </form> 169 169 <?php trunk/wp-inst/wp-admin/edit-page-form.php
r524 r530 184 184 <?php if ( $post_ID ) : ?> 185 185 <input name="save" type="submit" id="save" tabindex="5" value=" <?php _e('Save and Continue Editing'); ?> "/> 186 <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Save') : _e('Create New Page ') ?> »" />186 <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Save') : _e('Create New Page »') ?>" /> 187 187 <?php else : ?> 188 <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php _e('Create New Page ') ?> »" />188 <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php _e('Create New Page »') ?>" /> 189 189 <?php endif; ?> 190 190 <input name="referredby" type="hidden" id="referredby" value="<?php echo $sendto; ?>" /> trunk/wp-inst/wp-admin/edit-pages.php
r524 r530 9 9 <div class="wrap"> 10 10 <h2><?php _e('Page Management'); ?></h2> 11 <p><?php _e('Pages are like posts except they live outside of the normal blog chronology and can be hierarchical. You can use pages to organize and manage any amount of content.'); ?> <a href="page-new.php"><?php _e('Create a new page '); ?> »</a></p>11 <p><?php _e('Pages are like posts except they live outside of the normal blog chronology and can be hierarchical. You can use pages to organize and manage any amount of content.'); ?> <a href="page-new.php"><?php _e('Create a new page »'); ?></a></p> 12 12 13 13 <form name="searchform" action="" method="get"> … … 73 73 ?> 74 74 75 <h3><a href="page-new.php"><?php _e('Create New Page '); ?> »</a></h3>75 <h3><a href="page-new.php"><?php _e('Create New Page »'); ?></a></h3> 76 76 77 77 </div> trunk/wp-inst/wp-admin/inline-uploading.php
r524 r530 238 238 $ypadding = (96 - $image['uheight']) / 2; 239 239 $style .= "#target{$ID} img { padding: {$ypadding}px {$xpadding}px; }\n"; 240 $title = htmlentities($image['post_title'], ENT_QUOTES);240 $title = wp_specialchars($image['post_title'], ENT_QUOTES); 241 241 $script .= "aa[{$ID}] = '<a id=\"p{$ID}\" rel=\"attachment\" class=\"imagelink\" href=\"$href\" onclick=\"doPopup({$ID});return false;\" title=\"{$title}\">'; 242 242 ab[{$ID}] = '<a class=\"imagelink\" href=\"{$image['guid']}\" onclick=\"doPopup({$ID});return false;\" title=\"{$title}\">'; … … 258 258 "; 259 259 } else { 260 $title = htmlentities($attachment['post_title'], ENT_QUOTES);260 $title = wp_specialchars($attachment['post_title'], ENT_QUOTES); 261 261 $filename = basename($attachment['guid']); 262 262 $icon = get_attachment_icon($ID); … … 660 660 <?php endif; ?> 661 661 <?php if ( false !== $next ) : ?> 662 <li><a href="<?php echo basename(__FILE__); ?>?action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=<?php echo $next; ?>"><?php _e('Next '); ?> »</a></li>662 <li><a href="<?php echo basename(__FILE__); ?>?action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=<?php echo $next; ?>"><?php _e('Next »'); ?></a></li> 663 663 <li><a href="<?php echo basename(__FILE__); ?>?action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&last=true" title="<?php _e('Last'); ?>">»|</a></li> 664 664 <?php else : ?> 665 <li class="inactive"><?php _e('Next '); ?> »</li>665 <li class="inactive"><?php _e('Next »'); ?></li> 666 666 <li class="inactive">»|</li> 667 667 <?php endif; ?> trunk/wp-inst/wp-admin/link-import.php
r517 r530 55 55 </select></p> 56 56 57 <p class="submit"><input type="submit" name="submit" value="<?php _e('Import OPML File ') ?> »" /></p>57 <p class="submit"><input type="submit" name="submit" value="<?php _e('Import OPML File »') ?>" /></p> 58 58 </form> 59 59 trunk/wp-inst/wp-admin/menu-header.php
r524 r530 12 12 if (( strcmp($self, $item[2]) == 0 && empty($parent_file)) || ($parent_file && ($item[2] == $parent_file))) $class = ' class="current"'; 13 13 14 if ( current_user_can($item[1]) ) {14 if ( !empty($submenu[$item[2]]) || current_user_can($item[1]) ) { 15 15 if ( file_exists(ABSPATH . "wp-content/plugins/{$item[2]}") ) 16 16 echo "\n\t<li><a href='" . get_settings('siteurl') . "/wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}</a></li>"; trunk/wp-inst/wp-admin/menu.php
r528 r530 59 59 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 60 60 61 // Loop over submenus and remove pages for which the user does not have privs. 62 foreach ($submenu as $parent => $sub) { 63 foreach ($sub as $index => $data) { 64 if ( ! current_user_can($data[1]) ) { 65 $menu_nopriv[$data[2]] = true; 66 unset($submenu[$parent][$index]); 67 } 68 } 69 70 if ( empty($submenu[$parent]) ) 71 unset($submenu[$parent]); 72 } 73 74 // Loop over the top-level menu. 75 // Remove menus that have no accessible submenus and require privs that the user does not have. 76 // Menus for which the original parent is not acessible due to lack of privs will have the next 77 // submenu in line be assigned as the new menu parent. 78 foreach ( $menu as $id => $data ) { 79 // If submenu is empty... 80 if ( empty($submenu[$data[2]]) ) { 81 // And user doesn't have privs, remove menu. 82 if ( ! current_user_can($data[1]) ) { 83 $menu_nopriv[$data[2]] = true; 84 unset($menu[$id]); 85 } 86 } else { 87 $subs = $submenu[$data[2]]; 88 $first_sub = array_shift($subs); 89 $old_parent = $data[2]; 90 $new_parent = $first_sub[2]; 91 // If the first submenu is not the same as the assigned parent, 92 // make the first submenu the new parent. 93 if ( $new_parent != $old_parent ) { 94 $real_parent_file[$old_parent] = $new_parent; 95 $menu[$id][2] = $new_parent; 96 97 foreach ($submenu[$old_parent] as $index => $data) { 98 $submenu[$new_parent][$index] = $submenu[$old_parent][$index]; 99 unset($submenu[$old_parent][$index]); 100 } 101 unset($submenu[$old_parent]); 102 } 103 } 104 } 105 61 106 get_currentuserinfo(); 62 107 if( is_site_admin() ) { trunk/wp-inst/wp-admin/options-general.php
r497 r530 105 105 </fieldset> 106 106 107 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options ') ?> »" />107 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 108 108 <input type="hidden" name="action" value="update" /> 109 109 <input type="hidden" name="page_options" value="blogname,blogdescription,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration, WPLANG" /> trunk/wp-inst/wp-admin/options-misc.php
r503 r530 45 45 <input type="hidden" name="action" value="update" /> 46 46 <input type="hidden" name="page_options" value="hack_file,use_linksupdate,uploads_use_yearmonth_folders,upload_path" /> 47 <input type="submit" name="Submit" value="<?php _e('Update Options ') ?> »" />47 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 48 48 </p> 49 49 </form> trunk/wp-inst/wp-admin/options-reading.php
r439 r530 53 53 <input type="hidden" name="action" value="update" /> 54 54 <input type="hidden" name="page_options" value="posts_per_page,what_to_show,posts_per_rss,rss_use_excerpt,blog_charset,gzipcompression " /> 55 <input type="submit" name="Submit" value="<?php _e('Update Options ') ?> »" />55 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 56 56 </p> 57 57 </form> trunk/wp-inst/wp-admin/options-writing.php
r450 r530 46 46 <input type="hidden" name="action" value="update" /> 47 47 <input type="hidden" name="page_options" value="default_post_edit_rows,use_smilies,ping_sites,mailserver_url,mailserver_port,mailserver_login,mailserver_pass,default_category,default_email_category,use_balanceTags" /> 48 <input type="submit" name="Submit" value="<?php _e('Update Options ') ?> »" />48 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 49 49 </p> 50 50 </form> trunk/wp-inst/wp-admin/page-new.php
r528 r530 8 8 9 9 <?php if ( isset($_GET['saved']) ) : ?> 10 <div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages '); ?> »</a></strong></p></div>10 <div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages »'); ?></a></strong></p></div> 11 11 <?php endif; ?> 12 12 trunk/wp-inst/wp-admin/plugin-editor.php
r524 r530 104 104 <p class="submit"> 105 105 <?php 106 echo "<input type='submit' name='submit' value=' " . __('Update File ') . " »' tabindex='2' />";106 echo "<input type='submit' name='submit' value=' " . __('Update File »') . "' tabindex='2' />"; 107 107 ?> 108 108 </p> trunk/wp-inst/wp-admin/templates.php
r524 r530 135 135 <p class="submit"> 136 136 <?php 137 echo "<input type='submit' name='submit' value=' " . __('Update File ') . " »' tabindex='2' />";137 echo "<input type='submit' name='submit' value=' " . __('Update File »') . "' tabindex='2' />"; 138 138 ?> 139 139 </p> trunk/wp-inst/wp-admin/theme-editor.php
r524 r530 102 102 ?> 103 103 </select> 104 <input type="submit" name="Submit" value="<?php _e('Select ') ?> »" />104 <input type="submit" name="Submit" value="<?php _e('Select »') ?>" /> 105 105 </form> 106 106 </div> … … 139 139 <p class="submit"> 140 140 <?php 141 echo "<input type='submit' name='submit' value=' " . __('Update File ') . " »' tabindex='2' />";141 echo "<input type='submit' name='submit' value=' " . __('Update File »') . "' tabindex='2' />"; 142 142 ?> 143 143 </p> trunk/wp-inst/wp-admin/users.php
r525 r530 366 366 </table> 367 367 <p class="submit"> 368 <input name="adduser" type="submit" id="adduser" value="<?php _e('Add User ') ?> »" />368 <input name="adduser" type="submit" id="adduser" value="<?php _e('Add User »') ?>" /> 369 369 </p> 370 370 </form> trunk/wp-inst/wp-comments-post.php
r417 r530 54 54 setcookie('comment_author_' . COOKIEHASH, stripslashes($comment_author), time() + 30000000, COOKIEPATH, COOKIE_DOMAIN); 55 55 setcookie('comment_author_email_' . COOKIEHASH, stripslashes($comment_author_email), time() + 30000000, COOKIEPATH, COOKIE_DOMAIN); 56 setcookie('comment_author_url_' . COOKIEHASH, stripslashes( $comment_author_url), time() + 30000000, COOKIEPATH, COOKIE_DOMAIN);56 setcookie('comment_author_url_' . COOKIEHASH, stripslashes(clean_url($comment_author_url)), time() + 30000000, COOKIEPATH, COOKIE_DOMAIN); 57 57 endif; 58 58 trunk/wp-inst/wp-includes/comment-functions.php
r527 r530 79 79 if ( ! isset($comment_approved) ) 80 80 $comment_approved = 1; 81 if ( ! isset($user_id) ) 82 $user_id = 0; 81 83 82 84 $result = $wpdb->query("INSERT INTO $wpdb->comments trunk/wp-inst/wp-includes/functions-post.php
r524 r530 313 313 post_date_gmt = '$post_date_gmt', 314 314 post_content = '$post_content', 315 post_content_filtered = '$post_content_filtered', 315 316 post_title = '$post_title', 316 317 post_excerpt = '$post_excerpt', … … 333 334 $wpdb->query( 334 335 "INSERT INTO $wpdb->posts 335 (post_author, post_date, post_date_gmt, post_content, post_ title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid)336 (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) 336 337 VALUES 337 ('$post_author', '$post_date', '$post_date_gmt', '$post_content', '$post_ title', '$post_excerpt', '$post_status', '$post_type', '$comment_status', '$ping_status', '$post_password', '$post_name', '$to_ping', '$pinged', '$post_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type', '$guid')");338 ('$post_author', '$post_date', '$post_date_gmt', '$post_content', '$post_content_filtered', '$post_title', '$post_excerpt', '$post_status', '$post_type', '$comment_status', '$ping_status', '$post_password', '$post_name', '$to_ping', '$pinged', '$post_date', '$post_date_gmt', '$post_parent', '$menu_order', '$post_mime_type', '$guid')"); 338 339 $post_ID = $wpdb->insert_id; 339 340 } trunk/wp-inst/wp-includes/functions.php
r527 r530 682 682 $full_path .= ($pathdir!=''?'/':'') . sanitize_title($pathdir); 683 683 684 $pages = $wpdb->get_results("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE post_name = '$leaf_path' ");684 $pages = $wpdb->get_results("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE post_name = '$leaf_path' AND post_type='page'"); 685 685 686 686 if ( empty($pages) ) … … 691 691 $curpage = $page; 692 692 while ($curpage->post_parent != 0) { 693 $curpage = $wpdb->get_row("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE ID = '$curpage->post_parent' ");693 $curpage = $wpdb->get_row("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE ID = '$curpage->post_parent' and post_type='page'"); 694 694 $path = '/' . $curpage->post_name . $path; 695 695 } trunk/wp-inst/wp-includes/template-functions-category.php
r528 r530 49 49 $thelist .= '<ul class="post-categories">'; 50 50 foreach ( $categories as $category ) { 51 $category->cat_name = $category->cat_name;52 51 $thelist .= "\n\t<li>"; 53 52 switch ( strtolower($parents) ) { … … 72 71 $i = 0; 73 72 foreach ( $categories as $category ) { 74 $category->cat_name = $category->cat_name;75 73 if ( 0 < $i ) 76 74 $thelist .= $separator . ' '; trunk/wp-inst/wp-includes/template-functions-links.php
r524 r530 63 63 $authordata = get_userdata($post->post_author); 64 64 $author = $authordata->user_nicename; 65 $date = explode(" ",date('Y m d H i s', $unixtime)); 65 66 $rewritereplace = 66 67 array( 67 date('Y', $unixtime),68 date('m', $unixtime),69 date('d', $unixtime),70 date('H', $unixtime),71 date('i', $unixtime),72 date('s', $unixtime),68 $date[0], 69 $date[1], 70 $date[2], 71 $date[3], 72 $date[4], 73 $date[5], 73 74 $post->post_name, 74 75 $post->ID, trunk/wp-inst/wp-login.php
r525 r530 74 74 <input type="text" name="email" id="email" value="" size="25" tabindex="2" /></label><br /> 75 75 </p> 76 <p class="submit"><input type="submit" name="submit" id="submit" value="<?php _e('Retrieve Password '); ?> »" tabindex="3" /></p>76 <p class="submit"><input type="submit" name="submit" id="submit" value="<?php _e('Retrieve Password »'); ?>" tabindex="3" /></p> 77 77 </form> 78 78 <ul> trunk/wp-inst/wp-register.php
r524 r530 69 69 <?php printf(__('Password: %s'), '<strong>' . __('emailed to you') . '</strong>') ?> <br /> 70 70 <?php printf(__('E-mail: %s'), "<strong>$user_email</strong>") ?></p> 71 <p class="submit"><a href="wp-login.php"><?php _e('Login '); ?> »</a></p>71 <p class="submit"><a href="wp-login.php"><?php _e('Login »'); ?></a></p> 72 72 </div> 73 73 </body> … … 112 112 <p><label for="user_email"><?php _e('E-mail:') ?></label><br /> <input type="text" name="user_email" id="user_email" size="25" maxlength="100" value="<?php echo $user_email; ?>" /></p> 113 113 <p><?php _e('A password will be emailed to you.') ?></p> 114 <p class="submit"><input type="submit" value="<?php _e('Register ') ?> »" id="submit" name="submit" /></p>114 <p class="submit"><input type="submit" value="<?php _e('Register »') ?>" id="submit" name="submit" /></p> 115 115 </form> 116 116 <ul>
