Changeset 2762
- Timestamp:
- 08/08/2005 01:13:22 AM (19 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 1 added
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r2761 r2762 26 26 extended_valid_elements : "a[id|href|title|onclick],img[class|src|alt|title|width|height|align]", 27 27 plugins : "emotions" 28 do_action('mce_options');28 <?php do_action('mce_options'); ?> 29 29 }); 30 30 </script> … … 33 33 <script type="text/javascript"> 34 34 //<![CDATA[ 35 36 function addLoadEvent(func) { 37 var oldonload = window.onload; 38 if (typeof window.onload != 'function') { 39 window.onload = func; 40 } else { 41 window.onload = function() { 42 oldonload(); 43 func(); 44 } 45 } 46 } 35 47 36 48 <?php if ( isset($xfn) ) : ?> … … 81 93 } 82 94 83 window.onload = blurry; 95 addLoadEvent(blurry); 96 84 97 <?php endif; ?> 85 98 … … 87 100 //]]> 88 101 </script> 89 102 <script type="text/javascript" src="fat.js"></script> 90 103 <?php if ( isset( $editing ) ) : ?> 91 104 <script type="text/javascript" src="dbx.js"></script> -
trunk/wp-admin/categories.php
r2714 r2762 112 112 113 113 <?php if (isset($_GET['message'])) : ?> 114 <div class="updated"><p><?php echo $messages[$_GET['message']]; ?></p></div>114 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div> 115 115 <?php endif; ?> 116 116 -
trunk/wp-admin/dbx-key.js
r2639 r2762 2 2 3 3 //initialisation function 4 window.onload =function()4 addLoadEvent( function() 5 5 { 6 6 //initialise the docking boxes manager … … 42 42 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts 43 43 ); 44 } ;44 }); -
trunk/wp-admin/edit-form-advanced.php
r2756 r2762 5 5 ?> 6 6 <?php if (isset($_GET['message'])) : ?> 7 <div class="updated"><p><?php echo $messages[$_GET['message']]; ?></p></div>7 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div> 8 8 <?php endif; ?> 9 9 … … 53 53 document.post.title.focus(); 54 54 } 55 window.onload = focusit;55 addLoadEvent(focusit); 56 56 </script> 57 57 <?php endif; ?> -
trunk/wp-admin/edit-form-comment.php
r2749 r2762 12 12 13 13 <script type="text/javascript"> 14 function focusit() { 15 // focus on first input field 14 function focusit() { // focus on first input field 16 15 document.post.name.focus(); 17 16 } 18 window.onload = focusit;17 addLoadEvent(focusit); 19 18 </script> 20 19 <fieldset id="namediv"> -
trunk/wp-admin/edit-form.php
r2724 r2762 12 12 <script type="text/javascript"> 13 13 <!-- 14 function focusit() { 15 // focus on first input field 14 function focusit() { // focus on first input field 16 15 document.getElementById('title').focus(); 17 16 } 18 window.onload = focusit;17 addLoadEvent(focusit); 19 18 //--> 20 19 </script> -
trunk/wp-admin/edit-page-form.php
r2749 r2762 33 33 <script type="text/javascript"> 34 34 <!-- 35 function focusit() { 36 // focus on first input field 35 function focusit() { // focus on first input field 37 36 document.post.title.focus(); 38 37 } 39 window.onload = focusit;38 addLoadEvent(focusit); 40 39 //--> 41 40 </script> -
trunk/wp-admin/link-add.php
r2377 r2762 66 66 67 67 <?php if ($_GET['added']) : ?> 68 <div class="updated"><p><?php _e('Link added.'); ?></p></div>68 <div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div> 69 69 <?php endif; ?> 70 70 <div class="wrap"> -
trunk/wp-admin/options-head.php
r1818 r2762 21 21 22 22 <?php if (isset($_GET['updated'])) : ?> 23 <div class="updated"><p><strong><?php _e('Options saved.') ?></strong></p></div>23 <div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div> 24 24 <?php endif; ?> -
trunk/wp-admin/options-permalink.php
r2760 r2762 90 90 91 91 <?php if (isset($_POST['submit'])) : ?> 92 <div class="updated"><p><?php92 <div id="message" class="updated fade"><p><?php 93 93 if ($writable) 94 94 _e('Permalink structure updated.'); -
trunk/wp-admin/page-new.php
r2730 r2762 8 8 9 9 <?php if ( isset($_GET['saved']) ) : ?> 10 <div class="updated"><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-admin/plugin-editor.php
r2714 r2762 71 71 ?> 72 72 <?php if (isset($_GET['a'])) : ?> 73 <div class="updated"><p><?php _e('File edited successfully.') ?></p></div>73 <div id="message" class="updated fade"><p><?php _e('File edited successfully.') ?></p></div> 74 74 <?php endif; ?> 75 75 <div class="wrap"> -
trunk/wp-admin/plugins.php
r2759 r2762 51 51 52 52 <?php if (isset($_GET['activate'])) : ?> 53 <div class="updated"><p><?php _e('Plugin <strong>activated</strong>.') ?></p>53 <div id="message" class="updated fade"><p><?php _e('Plugin <strong>activated</strong>.') ?></p> 54 54 </div> 55 55 <?php endif; ?> 56 56 <?php if (isset($_GET['deactivate'])) : ?> 57 <div class="updated"><p><?php _e('Plugin <strong>deactivated</strong>.') ?></p>57 <div id="message" class="updated fade"><p><?php _e('Plugin <strong>deactivated</strong>.') ?></p> 58 58 </div> 59 59 <?php endif; ?> -
trunk/wp-admin/post.php
r2756 r2762 316 316 ?> 317 317 <?php if ( isset($_GET['posted']) ) : ?> 318 <div class="updated"><p><?php printf(__('Post saved. <a href="%s">View site »</a>'), get_bloginfo('home')); ?></p></div>318 <div id="message" class="updated fade"><p><?php printf(__('Post saved. <a href="%s">View site »</a>'), get_bloginfo('home')); ?></p></div> 319 319 <?php endif; ?> 320 320 <?php -
trunk/wp-admin/profile.php
r2720 r2762 141 141 142 142 if (isset($updated)) { ?> 143 <div class="updated">143 <div id="message" class="updated fade"> 144 144 <p><strong><?php _e('Profile updated.') ?></strong></p> 145 145 </div> -
trunk/wp-admin/templates.php
r2720 r2762 77 77 ?> 78 78 <?php if (isset($_GET['a'])) : ?> 79 <div class="updated"><p><?php _e('File edited successfully.') ?></p></div>79 <div id="message" class="updated fade"><p><?php _e('File edited successfully.') ?></p></div> 80 80 <?php endif; ?> 81 81 <div class="wrap"> -
trunk/wp-admin/theme-editor.php
r2714 r2762 83 83 ?> 84 84 <?php if (isset($_GET['a'])) : ?> 85 <div class="updated"><p><?php _e('File edited successfully.') ?></p></div>85 <div id="message" class="updated fade"><p><?php _e('File edited successfully.') ?></p></div> 86 86 <?php endif; ?> 87 87 <div class="wrap"> -
trunk/wp-admin/themes.php
r2757 r2762 25 25 ?> 26 26 <?php if ( ! validate_current_theme() ) : ?> 27 <div class="updated"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>27 <div id="message1" class="updated fade"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div> 28 28 <?php elseif ( isset($activated) ) : ?> 29 <div class="updated"><p><?php _e('New theme activated'); ?></p></div>29 <div id="message2" class="updated fade"><p><?php _e('New theme activated'); ?></p></div> 30 30 <?php endif; ?> 31 31 -
trunk/wp-admin/user-edit.php
r2704 r2762 111 111 112 112 <?php if ( isset($_GET['updated']) ) : ?> 113 <div class="updated">113 <div id="message" class="updated fade"> 114 114 <p><strong><?php _e('User updated.') ?></strong></p> 115 115 </div> -
trunk/wp-admin/users.php
r2704 r2762 191 191 case 'del': 192 192 ?> 193 <div class="updated"><p><?php _e('User deleted.'); ?></p></div>193 <div id="message" class="updated fade"><p><?php _e('User deleted.'); ?></p></div> 194 194 <?php 195 195 break; 196 196 case 'add': 197 197 ?> 198 <div class="updated"><p><?php _e('New user created.'); ?></p></div>198 <div id="message" class="updated fade"><p><?php _e('New user created.'); ?></p></div> 199 199 <?php 200 200 break; 201 201 case 'promote': 202 202 ?> 203 <div class="updated"><p><?php _e('Changed roles.'); ?></p></div>203 <div id="message" class="updated fade"><p><?php _e('Changed roles.'); ?></p></div> 204 204 <?php 205 205 break; -
trunk/wp-admin/wp-admin.css
r2759 r2762 372 372 margin-right: 1em; 373 373 margin-bottom: 1.5em; 374 width: 300px; 374 375 } 375 376
Note: See TracChangeset
for help on using the changeset viewer.