Changeset 1459 for branches/branch-1_6/include/functions_user.inc.php
- Timestamp:
- Jul 11, 2006, 10:56:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/functions_user.inc.php
r1332 r1459 648 648 return ($user['adviser'] == 'true'); 649 649 } 650 651 /* 652 * Return mail address as display text 653 * @return string 654 */ 655 function get_email_address_as_display_text($email_address) 656 { 657 global $conf; 658 659 if (is_adviser()) 660 { 661 return 'adviser.mode@'.$_SERVER['SERVER_NAME']; 662 } 663 else 664 { 665 return $email_address; 666 } 667 } 668 650 669 ?>
Note: See TracChangeset
for help on using the changeset viewer.