summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-05-01 00:40:49 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-05-01 00:40:49 +0000
commitc64ce3ae8de09092f9570ab88a68fe920b0fd970 (patch)
treea9959002055a8bdff0ee46bf82ca6a2a39bf00cd /plugins/jetpack/_inc/header.php
parentAdd easy-table plugin, requested by hwoarang (diff)
downloadblogs-gentoo-c64ce3ae8de09092f9570ab88a68fe920b0fd970.tar.gz
blogs-gentoo-c64ce3ae8de09092f9570ab88a68fe920b0fd970.tar.bz2
blogs-gentoo-c64ce3ae8de09092f9570ab88a68fe920b0fd970.zip
Update plugins and themes to the latest versions.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'plugins/jetpack/_inc/header.php')
-rw-r--r--plugins/jetpack/_inc/header.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/jetpack/_inc/header.php b/plugins/jetpack/_inc/header.php
new file mode 100644
index 00000000..0ec2c3f5
--- /dev/null
+++ b/plugins/jetpack/_inc/header.php
@@ -0,0 +1,23 @@
+<?php $current = $_GET['page']; ?>
+<div class="jp-content">
+ <div class="jp-frame">
+ <div class="header">
+ <nav role="navigation" class="header-nav drawer-nav nav-horizontal">
+
+ <ul class="main-nav">
+ <li class="jetpack-logo"><a href="<?php echo Jetpack::admin_url(); ?>" title="<?php esc_attr_e( 'Jetpack', 'jetpack' ); ?>" <?php if ( 'jetpack' == $current ) { echo 'class="current"'; } ?>><span><?php esc_html_e( 'Jetpack', 'jetpack' ); ?></span></a></li>
+ <?php if ( ( Jetpack::is_active() || Jetpack::is_development_mode() )
+ && current_user_can( 'jetpack_manage_modules' )
+ ) : ?>
+ <li class="jetpack-modules">
+ <a href="<?php echo Jetpack::admin_url( 'page=jetpack_modules' ); ?>" class="jp-button--settings <?php if ( 'jetpack_modules' == $current ) { echo 'current'; } ?>"><?php esc_html_e( 'Settings', 'jetpack' ); ?></a>
+ </li>
+ <li class="jetpack-modules">
+ <a href="http://jetpack.me/survey/?rel=<?php echo JETPACK__VERSION; ?>" class="jp-button--settings"><?php esc_html_e( 'Feedback', 'jetpack' ); ?></a>
+ </li>
+ <?php endif; ?>
+ </ul>
+
+ </nav>
+ </div><!-- .header -->
+ <div class="wrapper">