Press this landing page

git-svn-id: https://develop.svn.wordpress.org/trunk@9043 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-09-30 22:23:59 +00:00
parent ab02422576
commit 25afcb0e04
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');
?>