includes/namespaces/user.php
changeset 986 aa6f26d96577
parent 970 d894086f38cc
child 1062 3780b5464778
equal deleted inserted replaced
985:4ecf46e5eeab 986:aa6f26d96577
   336         $class = ( $class == 'row1' ) ? 'row3' : 'row1';
   336         $class = ( $class == 'row1' ) ? 'row3' : 'row1';
   337         $email_link = $email->encryptEmail($userdata['email']);
   337         $email_link = $email->encryptEmail($userdata['email']);
   338         echo '<tr><td class="'.$class.'">' . $lang->get('userpage_lbl_email') . ' ' . $email_link . '</td></tr>';
   338         echo '<tr><td class="'.$class.'">' . $lang->get('userpage_lbl_email') . ' ' . $email_link . '</td></tr>';
   339       }
   339       }
   340       
   340       
       
   341       if ( !empty($userdata['user_homepage']) )
       
   342       {
       
   343         $class = ( $class == 'row1' ) ? 'row3' : 'row1';
       
   344         echo '<tr><td class="' . $class . '">' . $lang->get('userpage_lbl_homepage') . '<br /><a href="' . $userdata['user_homepage'] . '">' . $userdata['user_homepage'] . '</a></td></tr>';
       
   345       }
       
   346       
   341       $class = ( $class == 'row1' ) ? 'row3' : 'row1';
   347       $class = ( $class == 'row1' ) ? 'row3' : 'row1';
   342       if ( $session->user_logged_in )
   348       if ( $session->user_logged_in )
   343       {
   349       {
   344         echo '<tr><td class="'.$class.'">' . $lang->get('userpage_btn_send_pm', array('username' => htmlspecialchars($target_username), 'pm_link' => makeUrlNS('Special', 'PrivateMessages/Compose/to/' . $this->page_id, false, true))) . '</td></tr>';
   350         echo '<tr><td class="'.$class.'">' . $lang->get('userpage_btn_send_pm', array('username' => htmlspecialchars($target_username), 'pm_link' => makeUrlNS('Special', 'PrivateMessages/Compose/to/' . $this->page_id, false, true))) . '</td></tr>';
   345       }
   351       }