diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-26 19:01:16 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-26 19:01:16 -0700 |
commit | eb5e6aae7273fef06a06f983fe78aaad737aa729 (patch) | |
tree | 355b1518f1553c970d3cbad7b8e923a66b64dc9c /view/contact_selectors.php | |
parent | d453560be9142067391fc0213d5fd5066667e54f (diff) | |
download | volse-hubzilla-eb5e6aae7273fef06a06f983fe78aaad737aa729.tar.gz volse-hubzilla-eb5e6aae7273fef06a06f983fe78aaad737aa729.tar.bz2 volse-hubzilla-eb5e6aae7273fef06a06f983fe78aaad737aa729.zip |
a few more fsw tweaks
Diffstat (limited to 'view/contact_selectors.php')
-rw-r--r-- | view/contact_selectors.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/view/contact_selectors.php b/view/contact_selectors.php index 7c7abfc7c..ac1e38e4f 100644 --- a/view/contact_selectors.php +++ b/view/contact_selectors.php @@ -1,10 +1,13 @@ <?php -function contact_profile_assign($current) { +function contact_profile_assign($current,$foreign_net) { $o = ''; - $o .= "<select id=\"contact-profile-selector\" name=\"profile-assign\" />\r\n"; + + $disabled = (($foreign_net) ? ' disabled="true" ' : ''); + + $o .= "<select id=\"contact-profile-selector\" $disabled name=\"profile-assign\" />\r\n"; $r = q("SELECT `id`, `profile-name` FROM `profile` WHERE `uid` = %d", intval($_SESSION['uid'])); |