Ticket #5030: admin-filter.diff
File admin-filter.diff, 2.8 KB (added by , 17 years ago) |
---|
-
E:/EclipseWorkWeb/WordPressDev/wp-admin/post-new.php
94 94 <?php 95 95 if ($is_NS4 || $is_gecko) { 96 96 ?> 97 <a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}location.href='<?php echo get_option('siteurl') ?>/wp-admin/post-new.php?text='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title);"><?php printf(__('Press It - %s'), wp_specialchars(get_ option('blogname'))); ?></a>97 <a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}location.href='<?php echo get_option('siteurl') ?>/wp-admin/post-new.php?text='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title);"><?php printf(__('Press It - %s'), wp_specialchars(get_bloginfo('name', 'display'))); ?></a> 98 98 <?php 99 99 } else if ($is_winIE) { 100 100 ?> 101 <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;location.href='<?php echo get_option('siteurl') ?>/wp-admin/post-new.php?text='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title);"><?php printf(__('Press it - %s'), get_ option('blogname')); ?></a>101 <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;location.href='<?php echo get_option('siteurl') ?>/wp-admin/post-new.php?text='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title);"><?php printf(__('Press it - %s'), get_bloginfo('name', 'display')); ?></a> 102 102 <script type="text/javascript"> 103 103 <!-- 104 104 function oneclickbookmarklet(blah) { -
E:/EclipseWorkWeb/WordPressDev/wp-admin/import/wp-cat2tag.php
48 48 $hier = _get_term_hierarchy('category'); 49 49 50 50 foreach ($this->all_categories as $category) { 51 $category = sanitize_term( $category, 'category', 'display' ); 52 51 53 if ((int) $category->parent == 0) { 52 54 print '<li><label><input type="checkbox" name="cats_to_convert[]" value="' . intval($category->term_id) . '" /> ' . $category->name . ' (' . $category->count . ')</label>'; 53 55