WordPress.org

Make WordPress Core

Changeset 2763


Ignore:
Timestamp:
08/08/2005 03:28:37 AM (16 years ago)
Author:
matt
Message:

Minor tweaks

Location:
trunk/wp-admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r2762 r2763  
    99<link rel="stylesheet" href="<?php echo get_settings('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" />
    1010<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
    11 
    12 <?php if ( get_option('rich_editing') ) :?>
    13 <script type="text/javascript" src="tinymce/tiny_mce_src.js"></script>
    14 <script type="text/javascript">
    15 tinyMCE.init({
    16     mode : "specific_textareas",
    17     textarea_trigger : "title",
    18     theme : "advanced",
    19     theme_advanced_buttons1 : "bold,italic,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,separator,link,unlink,image,emotions,separator,undo,redo,code",
    20     theme_advanced_buttons2 : "",
    21     theme_advanced_buttons3 : "",
    22     theme_advanced_toolbar_location : "top",
    23     theme_advanced_toolbar_align : "left",
    24     theme_advanced_path_location : "bottom",
    25     entity_encoding : "raw",
    26     extended_valid_elements : "a[id|href|title|onclick],img[class|src|alt|title|width|height|align]",
    27     plugins : "emotions"
    28     <?php do_action('mce_options'); ?>
    29 });
    30 </script>
    31 <?php endif; ?>
    3211
    3312<script type="text/javascript">
     
    9473
    9574addLoadEvent(blurry);
    96 
    9775<?php endif; ?>
    98 
    99 
    10076//]]>
    10177</script>
    10278<script type="text/javascript" src="fat.js"></script>
     79<?php if ( get_option('rich_editing') ) :?>
     80<script type="text/javascript" src="tinymce/tiny_mce_src.js"></script>
     81<script type="text/javascript">
     82tinyMCE.init({
     83    mode : "specific_textareas",
     84    textarea_trigger : "title",
     85    width : "100%",
     86    theme : "advanced",
     87    theme_advanced_buttons1 : "bold,italic,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,separator,link,unlink,image,emotions,separator,undo,redo,code",
     88    theme_advanced_buttons2 : "",
     89    theme_advanced_buttons3 : "",
     90    theme_advanced_toolbar_location : "top",
     91    theme_advanced_toolbar_align : "left",
     92    theme_advanced_path_location : "bottom",
     93    entity_encoding : "raw",
     94    extended_valid_elements : "a[id|href|title|onclick],img[class|src|alt|title|width|height|align]",
     95    plugins : "emotions"
     96    <?php do_action('mce_options'); ?>
     97});
     98</script>
     99<?php endif; ?>
    103100<?php if ( isset( $editing ) ) : ?>
    104101<script type="text/javascript" src="dbx.js"></script>
  • trunk/wp-admin/dbx-key.js

    r2762 r2763  
    1 
    21
    32//initialisation function
     
    1110    var meta = new dbxGroup(
    1211        'grabit',       // container ID [/-_a-zA-Z0-9/]
    13         'vertical',         // orientation ['vertical'|'horizontal']
    14         '7',            // drag threshold ['n' pixels]
     12        'vertical',     // orientation ['vertical'|'horizontal']
     13        '10',           // drag threshold ['n' pixels]
    1514        'no',           // restrict drag movement to container axis ['yes'|'no']
    1615        '10',           // animate re-ordering [frames per transition, or '0' for no effect]
     
    2928        'advancedstuff',        // container ID [/-_a-zA-Z0-9/]
    3029        'vertical',         // orientation ['vertical'|'horizontal']
    31         '7',            // drag threshold ['n' pixels]
     30        '10',           // drag threshold ['n' pixels]
    3231        'yes',          // restrict drag movement to container axis ['yes'|'no']
    3332        '10',           // animate re-ordering [frames per transition, or '0' for no effect]
  • trunk/wp-admin/edit-pages.php

    r2720 r2763  
    88<div class="wrap">
    99<h2><?php _e('Page Management'); ?></h2>
     10<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'); ?> &raquo;</a></p>
    1011
    1112<?php
     
    3334} // end if ($posts)
    3435?>
    35 <p><?php _e('Pages are like posts except they live outside of the normal blog chronology. You can use pages to organize and manage any amount of content.'); ?></p>
     36
    3637<h3><a href="page-new.php"><?php _e('Create New Page'); ?> &raquo;</a></h3>
    37 </div>
    3838
     39</div>
    3940
    4041<?php include('admin-footer.php'); ?>
  • trunk/wp-admin/options-personal-update.php

    r2760 r2763  
    22
    33require_once('admin.php');
     4
     5check_admin_referer();
    46
    57if ( isset( $_POST['action'] ) ) {
  • trunk/wp-admin/options.php

    r2714 r2763  
    2929case 'update':
    3030    $any_changed = 0;
     31   
     32    check_admin_referer();
    3133   
    3234    if (!$_POST['page_options']) {
  • trunk/wp-admin/themes.php

    r2762 r2763  
    2727<div id="message1" class="updated fade"><p><?php _e('The active theme is broken.  Reverting to the default theme.'); ?></p></div>
    2828<?php elseif ( isset($activated) ) : ?>
    29 <div id="message2" class="updated fade"><p><?php _e('New theme activated'); ?></p></div>
     29<div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">View site &raquo;</a>'), get_bloginfo('home')); ?></p></div>
    3030<?php endif; ?>
    3131
Note: See TracChangeset for help on using the changeset viewer.