Changeset 2229
- Timestamp:
- Feb 29, 2008, 2:10:58 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_url.inc.php
r2215 r2229 61 61 if ($with_scheme) 62 62 { 63 $url .= 'http://'.$_SERVER['HTTP_HOST']; 63 if (empty($_SERVER['HTTPS'])) 64 { 65 $url .= 'http://'; 66 } 67 else 68 { 69 $url .= 'https://'; 70 } 71 $url .= $_SERVER['HTTP_HOST']; 64 72 if ($_SERVER['SERVER_PORT'] != 80) 65 73 { -
trunk/include/functions_user.inc.php
r2221 r2229 867 867 { 868 868 $user_ids = array(); 869 if (is_ integer($arg_id))869 if (is_numeric($arg_id)) 870 870 { 871 871 $user_ids[] = $arg_id; … … 1228 1228 else 1229 1229 { 1230 if ( is_adviser())1230 if (script_basename() == 'admin' and is_adviser()) 1231 1231 { 1232 1232 return 'adviser.mode@'.$_SERVER['SERVER_NAME']; -
trunk/profile.php
r2124 r2229 229 229 'USERNAME'=>$userdata['username'], 230 230 'USERID'=>$userdata['id'], 231 'EMAIL'=> @$userdata['email'],231 'EMAIL'=>get_email_address_as_display_text(@$userdata['email']), 232 232 'NB_IMAGE_LINE'=>$userdata['nb_image_line'], 233 233 'NB_ROW_PAGE'=>$userdata['nb_line_page'],
Note: See TracChangeset
for help on using the changeset viewer.