Changeset 19
- Timestamp:
- 12/28/2004 10:14:51 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/template-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/template-functions.php
r18 r19 14 14 global $current_user; 15 15 if ($current_user) { 16 echo " Welcome, $current_user->username! <a href='" . user_profile_link( $current_user->user_id) . "'>View your profile »</a>17 <small>(<a href='" . bb_get_option('uri') . "bb-login.php?logout'>Logout</a>)</small> ";16 echo "<p>Welcome, $current_user->username! <a href='" . user_profile_link( $current_user->user_id) . "'>View your profile »</a> 17 <small>(<a href='" . bb_get_option('uri') . "bb-login.php?logout'>Logout</a>)</small></p>"; 18 18 } else { 19 19 require( BBPATH . '/bb-templates/login-form.php'); … … 30 30 require( BBPATH . '/bb-templates/post-form.php'); 31 31 } else { 32 echo "<p>You must login to post. ";32 echo "<p>You must login to post.</p>"; 33 33 require( BBPATH . '/bb-templates/login-form.php'); 34 34 }
Note: See TracChangeset
for help on using the changeset viewer.