| 33 | | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=validation_email_form'>"._('Send validation email again')."</a></li>\n"; |
| 34 | | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=lost_username_form'>"._('Lost my username')."</a></li>\n"; |
| 35 | | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=lost_password_form'>"._('Lost my password')."</a></li>\n"; |
| 36 | | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=change_password_form'>"._('Change my password')."</a></li>\n"; |
| 37 | | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=register_new_account_form'>"._('Register a new user')."</a></li>\n"; |
| | 33 | if($_SERVER['SERVER_PORT']==80) { |
| | 34 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=validation_email_form'>"._('Send validation email again')."</a></li>\n"; |
| | 35 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=lost_username_form'>"._('Lost my username')."</a></li>\n"; |
| | 36 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=lost_password_form'>"._('Lost my password')."</a></li>\n"; |
| | 37 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=change_password_form'>"._('Change my password')."</a></li>\n"; |
| | 38 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF]?action=register_new_account_form'>"._('Register a new user')."</a></li>\n"; |
| | 39 | } |
| | 40 | else { |
| | 41 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]:$_SERVER[SERVER_PORT]$_SERVER[PHP_SELF]?action=validation_email_form'>"._('Send validation email again')."</a></li>\n"; |
| | 42 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]:$_SERVER[SERVER_PORT]$_SERVER[PHP_SELF]?action=lost_username_form'>"._('Lost my username')."</a></li>\n"; |
| | 43 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]:$_SERVER[SERVER_PORT]$_SERVER[PHP_SELF]?action=lost_password_form'>"._('Lost my password')."</a></li>\n"; |
| | 44 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]:$_SERVER[SERVER_PORT]$_SERVER[PHP_SELF]?action=change_password_form'>"._('Change my password')."</a></li>\n"; |
| | 45 | $retval .= "<li><a href='http://$_SERVER[SERVER_NAME]:$_SERVER[SERVER_PORT]$_SERVER[PHP_SELF]?action=register_new_account_form'>"._('Register a new user')."</a></li>\n"; |
| | 46 | } |