Changeset 2084 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/index.php
- Timestamp:
- 11/16/2015 09:04:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/index.php
r2081 r2084 1 <?php get_header(); ?> 1 <?php 2 /** 3 * The main template file. 4 * 5 * @package wporg-login 6 */ 7 8 get_header(); 9 ?> 2 10 3 11 <div id="pagebody"> 4 12 <div id="login-welcome" class="wrapper"> 5 <h1> Welcome!</h1>13 <h1><?php _e( 'Welcome!', 'wporg-login' ); ?></h1> 6 14 <ul> 7 15 <?php if ( is_user_logged_in() ) : ?> 8 <li class="button"><a href="<?php echo wp_logout_url(); ?>"><?php _e( 'Logout' )?></a></li>16 <li class="button"><a href="<?php echo wp_logout_url(); ?>"><?php _e( 'Logout', 'wporg-login' ); ?></a></li> 9 17 <?php else : ?> 10 <li class="button"><a href="<?php echo wp_login_url(); ?>"> Login</a></li>11 <li class="button"><a href="https://wordpress.org/support/register.php"> Register</a></li>18 <li class="button"><a href="<?php echo wp_login_url(); ?>"><?php _e( 'Login', 'wporg-login' ); ?></a></li> 19 <li class="button"><a href="https://wordpress.org/support/register.php"><?php _e( 'Register', 'wporg-login' ); ?></a></li> 12 20 <?php endif; ?> 13 21 </ul>
Note: See TracChangeset
for help on using the changeset viewer.