- Timestamp:
- Feb 29, 2008, 2:04:00 PM (17 years ago)
- Location:
- branches/branch-1_7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/include/functions_url.inc.php
r2082 r2228 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 { -
branches/branch-1_7/include/functions_user.inc.php
r2220 r2228 839 839 { 840 840 $user_ids = array(); 841 if (is_ integer($arg_id))841 if (is_numeric($arg_id)) 842 842 { 843 843 $user_ids[] = $arg_id; … … 1234 1234 else 1235 1235 { 1236 if ( is_adviser())1236 if (script_basename() == 'admin' and is_adviser()) 1237 1237 { 1238 1238 return 'adviser.mode@'.$_SERVER['SERVER_NAME']; -
branches/branch-1_7/profile.php
r2015 r2228 226 226 'USERNAME'=>$userdata['username'], 227 227 'USERID'=>$userdata['id'], 228 'EMAIL'=> @$userdata['email'],228 'EMAIL'=>get_email_address_as_display_text(@$userdata['email']), 229 229 'NB_IMAGE_LINE'=>$userdata['nb_image_line'], 230 230 'NB_ROW_PAGE'=>$userdata['nb_line_page'],
Note: See TracChangeset
for help on using the changeset viewer.