EXT-4668 Hide URL checkbox is missing from the Sound tab of About Land
parent
a4d224ff93
commit
4e0fe69c15
|
|
@ -153,6 +153,13 @@ void LLPanelLandAudio::refresh()
|
|||
mCheckParcelEnableVoice->set(allow_voice);
|
||||
mCheckParcelVoiceLocal->set(!parcel->getParcelFlagUseEstateVoiceChannel());
|
||||
|
||||
// don't display urls if you're not able to change it
|
||||
// much requested change in forums so people can't 'steal' urls
|
||||
// NOTE: bug#2009 means this is still vunerable - however, bug
|
||||
// should be closed since this bug opens up major security issues elsewhere.
|
||||
bool obscure_music = ! can_change_media && parcel->getObscureMusic();
|
||||
|
||||
mMusicURLEdit->setDrawAsterixes(obscure_music);
|
||||
mMusicURLEdit->setText(parcel->getMusicURL());
|
||||
mMusicURLEdit->setEnabled( can_change_media );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1825,6 +1825,15 @@ Only large parcels can be listed in search.
|
|||
top_delta="0"
|
||||
right="-15"
|
||||
select_on_focus="true" />
|
||||
<check_box
|
||||
height="16"
|
||||
label="Hide URL"
|
||||
layout="topleft"
|
||||
name="hide_music_url"
|
||||
tool_tip="Checking this option will hide the music url to any non-authorized viewers of this parcel information."
|
||||
left_delta="10"
|
||||
top_pad="5"
|
||||
width="292" />
|
||||
<text
|
||||
type="string"
|
||||
length="1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue