Initial Commit
This commit is contained in:
parent
4c352bf02e
commit
1ab6e5f0b0
1085 changed files with 195258 additions and 0 deletions
27
plugins/jetpack/_inc/header.php
Normal file
27
plugins/jetpack/_inc/header.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?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.com/survey/?rel=<?php echo JETPACK__VERSION; ?>" target="_blank" class="jp-button--settings"><?php esc_html_e( 'Feedback', 'jetpack' ); ?></a>
|
||||
</li>
|
||||
<?php endif; // End if connected or dev mode and is admin ?>
|
||||
|
||||
<?php if ( Jetpack::is_active() && ! Jetpack::is_development_mode() ) : ?>
|
||||
<li class="jetpack-modules">
|
||||
<a href="<?php echo Jetpack::admin_url( 'page=my_jetpack' ); ?>" class="jp-button--settings <?php if ( 'my_jetpack' == $current ) { echo 'current'; } ?>"><?php esc_html_e( 'My Jetpack', 'jetpack' ); ?></a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div><!-- .header -->
|
||||
<div class="wrapper">
|
Reference in a new issue