Press this landing page

git-svn-id: http://svn.automattic.com/wordpress/trunk@9043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-09-30 22:23:59 +00:00
parent e62e09aba8
commit 8c59e2f8f9
3 changed files with 26 additions and 3 deletions

View File

@ -65,8 +65,9 @@ $menu[35] = array(__('Settings'), 'manage_options', 'options-general.php');
$menu[40] = array(__('Tools'), 'manage_options', 'import.php');
$submenu['import.php'][5] = array( __('Import'), 'import', 'import.php' );
$submenu['import.php'][10] = array( __('Export'), 'import', 'export.php' );
$submenu['import.php'][15] = array( __('Press This'), 'publish_posts', get_shortcut_link() );
$submenu['import.php'][20] = array( __('Turbo'), 'read', 'turbo.php' );
$submenu['import.php'][15] = array( __('Press This'), 'publish_posts', 'press-this-landing.php' );
if ( ! $is_opera )
$submenu['import.php'][20] = array( __('Turbo'), 'read', 'turbo.php' );
$menu[45] = array( __('Plugins'), 'activate_plugins', 'plugins.php' );
$submenu['plugins.php'][5] = array( __('Manage'), 'activate_plugins', 'plugins.php' );

View File

@ -0,0 +1,19 @@
<?php
/**
* Press This Administration Panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('admin.php');
$title = __('Press This');
require_once('admin-header.php');
?>
<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p><p><a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
<?php include('admin-footer.php'); ?>

View File

@ -72,6 +72,9 @@ if ( ! $is_opera ) {
<script type="text/javascript">
wpGears.message(1);
</script>
<?php }
<?php } else {
_e('Turbo is not available for your browser.');
}
include('admin-footer.php');
?>