summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorMonroe Williams <monroe@lindenlab.com>2009-10-01 02:35:53 +0000
committerMonroe Williams <monroe@lindenlab.com>2009-10-01 02:35:53 +0000
commitcf9239cabcf7999a2d2393bd4bdb6fc08e27c09c (patch)
treeb366355f955b7bf55197ef6caa105881da88df32 /indra/newview/skins
parent8135ddac021d3ea1aba2100f862bdb58eff33d07 (diff)
svn merge -r 134922:134973 svn+ssh://svn.lindenlab.com/svn/linden/branches/media-on-a-prim/moap-7
Merging branches/media-on-a-prim/moap-7 down to viewer-2.0.
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/floater_media_settings.xml20
-rw-r--r--indra/newview/skins/default/xui/en/floater_tools.xml249
-rw-r--r--indra/newview/skins/default/xui/en/floater_whitelist_entry.xml24
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml41
-rw-r--r--indra/newview/skins/default/xui/en/panel_login.xml3
-rw-r--r--indra/newview/skins/default/xui/en/panel_media_settings_general.xml199
-rw-r--r--indra/newview/skins/default/xui/en/panel_media_settings_permissions.xml49
-rw-r--r--indra/newview/skins/default/xui/en/panel_media_settings_security.xml56
-rw-r--r--indra/newview/skins/default/xui/en/strings.xml18
9 files changed, 592 insertions, 67 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_media_settings.xml b/indra/newview/skins/default/xui/en/floater_media_settings.xml
new file mode 100644
index 0000000000..6ba26f938d
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/floater_media_settings.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<floater bottom="-666" can_close="true" can_drag_on_left="false" can_minimize="true"
+ can_resize="false" can_tear_off="true" default_tab_group="1" enabled="true"
+ width="365" height="535" left="330" min_height="430" min_width="620"
+ mouse_opaque="true" name="Medis Settings" title="Media Settings">
+ <button bottom="-525" enabled="true" follows="right|bottom" font="SansSerif"
+ halign="center" height="20" label="OK" label_selected="OK" left="75"
+ mouse_opaque="true" name="OK" scale_image="true" width="90" />
+ <button bottom_delta="0" enabled="true" follows="right|bottom" font="SansSerif"
+ halign="center" height="20" label="Cancel" label_selected="Cancel"
+ left_delta="93" mouse_opaque="true" name="Cancel" scale_image="true"
+ width="90" />
+ <button bottom_delta="0" enabled="true" follows="right|bottom" font="SansSerif"
+ halign="center" height="20" label="Apply" label_selected="Apply"
+ left_delta="93" mouse_opaque="true" name="Apply" scale_image="true"
+ width="90" />
+ <tab_container bottom="-500" enabled="true" follows="left|top|right|bottom" height="485"
+ left="0" mouse_opaque="false" name="tab_container" tab_group="1"
+ tab_position="top" tab_width="80" width="365" />
+</floater>
diff --git a/indra/newview/skins/default/xui/en/floater_tools.xml b/indra/newview/skins/default/xui/en/floater_tools.xml
index edbd28cd2d..053215f8ae 100644
--- a/indra/newview/skins/default/xui/en/floater_tools.xml
+++ b/indra/newview/skins/default/xui/en/floater_tools.xml
@@ -74,7 +74,11 @@
name="button focus"
picture_style="true"
tool_tip="Focus"
- width="20" />
+ width="20">
+ <button.commit_callback
+ function="BuildTool.setTool"
+ parameter="Focus" />
+ </button>
<button
follows="left|top"
height="20"
@@ -87,7 +91,11 @@
name="button move"
picture_style="true"
tool_tip="Move"
- width="20" />
+ width="20">
+ <button.commit_callback
+ function="BuildTool.setTool"
+ parameter="Move" />
+ </button>
<button
follows="left|top"
height="20"
@@ -100,7 +108,11 @@
name="button edit"
picture_style="true"
tool_tip="Edit"
- width="20" />
+ width="20">
+ <button.commit_callback
+ function="BuildTool.setTool"
+ parameter="Edit" />
+ </button>
<button
follows="left|top"
height="20"
@@ -113,7 +125,11 @@
name="button create"
picture_style="true"
tool_tip="Create"
- width="20" />
+ width="20">
+ <button.commit_callback
+ function="BuildTool.setTool"
+ parameter="Create" />
+ </button>
<button
follows="left|top"
height="20"
@@ -126,7 +142,11 @@
name="button land"
picture_style="true"
tool_tip="Land"
- width="20" />
+ width="20">
+ <button.commit_callback
+ function="BuildTool.setTool"
+ parameter="Land" />
+ </button>
<text
type="string"
text_color="LabelSelectedDisabledColor"
@@ -160,6 +180,8 @@
label="Pan (Ctrl-Shift)"
layout="topleft"
name="radio pan" />
+ <radio_group.commit_callback
+ function="BuildTool.commitRadioFocus"/>
</radio_group>
<slider_bar
follows="left|top"
@@ -171,7 +193,10 @@
top_delta="-2"
left_delta="100"
name="slider zoom"
- width="134" />
+ width="134">
+ <slider_bar.commit_callback
+ function="BuildTool.commitZoom"/>
+ </slider_bar>
<radio_group
left="10"
height="70"
@@ -193,6 +218,8 @@
label="Spin (Ctrl-Shift)"
layout="topleft"
name="radio spin" />
+ <radio_group.commit_callback
+ function="BuildTool.commitRadioMove"/>
</radio_group>
<radio_group
follows="left|top"
@@ -220,6 +247,8 @@
label="Select Texture"
layout="topleft"
name="radio select face" />
+ <radio_group.commit_callback
+ function="BuildTool.commitRadioEdit"/>
</radio_group>
<check_box
left="10"
@@ -227,7 +256,10 @@
control_name="EditLinkedParts"
label="Edit linked"
layout="topleft"
- name="checkbox edit linked parts" />
+ name="checkbox edit linked parts" >
+ <check_box.commit_callback
+ function="BuildTool.selectComponent"/>
+ </check_box>
<combo_box
height="19"
left="10"
@@ -248,6 +280,8 @@
label="Reference ruler"
name="Reference"
value="Reference" />
+ <combo_box.commit_callback
+ function="BuildTool.gridMode"/>
</combo_box>
<check_box
control_name="ScaleUniform"
@@ -286,7 +320,10 @@
name="Options..."
tool_tip="Set the Grid Options"
width="26"
- height="22" />
+ height="22" >
+ <button.commit_callback
+ function="BuildTool.gridOptions"/>
+ </button>
<button
follows="left|top"
height="20"
@@ -597,8 +634,9 @@
name="radio revert"
top_delta="15"
width="114" />
+ <radio_group.commit_callback
+ function="BuildTool.commitRadioLand"/>
</radio_group>
-
<text
type="string"
length="1"
@@ -624,6 +662,7 @@
Size
</text>
<slider_bar
+ control_name ="LandBrushSize"
follows="left|top"
height="19"
initial_value="2.0"
@@ -656,7 +695,10 @@
min_val="-1"
name="slider force"
top_delta="-3"
- width="80" />
+ width="80" >
+ <slider_bar.commit_callback
+ function="BuildTool.LandBrushForce"/>
+ </slider_bar>
<button
follows="left|top"
font="SansSerifSmall"
@@ -668,7 +710,10 @@
left="135"
name="button apply to selection"
tool_tip="Modify Selected Land"
- width="78" />
+ width="78">
+ <button.commit_callback
+ function="BuildTool.applyToSelection"/>
+ </button>
<text
type="string"
text_color="LabelSelectedDisabledColor"
@@ -2215,7 +2260,7 @@
left="10"
name="texture control"
tool_tip="Click to choose a picture"
- top="10"
+ top="8"
width="64" />
<color_swatch
border_color="0.45098 0.517647 0.607843 1"
@@ -2237,7 +2282,7 @@
layout="topleft"
left_pad="20"
name="color trans"
- top="10"
+ top="6"
width="100">
Transparency %
</text>
@@ -2261,7 +2306,7 @@
layout="topleft"
left_delta="0"
name="glow label"
- top_pad="4"
+ top_pad="2"
width="80">
Glow
</text>
@@ -2281,7 +2326,7 @@
layout="topleft"
left_delta="0"
name="checkbox fullbright"
- top_pad="7"
+ top_pad="4"
width="81" />
<text
type="string"
@@ -2291,7 +2336,7 @@
layout="topleft"
left="10"
name="tex gen"
- top_pad="10"
+ top_pad="5"
width="87">
Mapping
</text>
@@ -2439,6 +2484,40 @@
name="weave"
value="weave" />
</combo_box>
+ <!--
+ <line_editor
+ bevel_style="in"
+ border_style="line"
+ border_thickness="1"
+ follows="left|top"
+ height="16"
+ layout="topleft"
+ left="10"
+ max_length="63"
+ name="Home Url"
+ select_on_focus="true"
+ top="134"
+ width="250" />
+ <check_box
+ height="16"
+ label="Media Face"
+ layout="topleft"
+ left_delta="0"
+ name="has media"
+ top_pad="6"
+ width="70" />
+ <button
+ follows="left|top"
+ font="SansSerifSmall"
+ height="20"
+ label="Set Media Info"
+ label_selected="Set Media Info"
+ layout="topleft"
+ left_pad="60"
+ name="media info set"
+ top_delta="-4"
+ width="120" />
+-->
<text
type="string"
length="1"
@@ -2447,7 +2526,7 @@
layout="topleft"
left="10"
name="tex scale"
- top_pad="15"
+ top_pad="5"
width="200">
Repeats per Face
</text>
@@ -2461,7 +2540,7 @@
left="20"
max_val="100"
name="TexScaleU"
- top_pad="10"
+ top_pad="6"
width="160" />
<check_box
height="19"
@@ -2469,7 +2548,7 @@
layout="topleft"
left_pad="10"
name="checkbox flip s"
- top_delta="1"
+ top_delta="0"
width="70" />
<spinner
follows="left|top"
@@ -2489,61 +2568,43 @@
layout="topleft"
left_pad="10"
name="checkbox flip t"
- top_delta="1"
+ top_delta="0"
width="70" />
- <text
- type="string"
- length="1"
- follows="left|top"
- height="10"
- layout="topleft"
- left="10"
- name="tex rotate"
- top_pad="20"
- width="102">
- Rotation (degrees)
- </text>
+
<spinner
decimal_digits="2"
follows="left|top"
height="19"
increment="1"
initial_value="0"
+ label="Rotation (degrees)"
layout="topleft"
- left_delta="102"
+ label_width="100"
+ left="10"
max_val="9999"
min_val="-9999"
name="TexRot"
- top_delta="0"
- width="68" />
- <text
- type="string"
- length="1"
- follows="left|top"
- height="10"
- layout="topleft"
- left="10"
- name="rpt"
- top_pad="0"
- width="160">
- Repeats Per Meter
- </text>
+ top_delta="25"
+ width="170" />
+
<spinner
decimal_digits="1"
follows="left|top"
height="19"
initial_value="1"
+ label="Repeats Per Meter"
layout="topleft"
- left_delta="102"
+ label_width="100"
+ left="10"
max_val="10"
min_val="0.1"
name="rptctrl"
- top_delta="0"
- width="68" />
+ top_delta="20"
+ width="170" />
<button
follows="left|top"
font="SansSerifSmall"
- height="22"
+ height="18"
label="Apply"
label_selected="Apply"
layout="topleft"
@@ -2558,7 +2619,7 @@
layout="topleft"
left="10"
name="tex offset"
- top_pad="20"
+ top_delta="20"
width="200">
Texture Offset
</text>
@@ -2572,7 +2633,7 @@
left="20"
min_val="-1"
name="TexOffsetU"
- top_pad="10"
+ top_pad="5"
width="160" />
<spinner
follows="left|top"
@@ -2584,10 +2645,9 @@
left_delta="0"
min_val="-1"
name="TexOffsetV"
- top_pad="2"
+ top_pad="1"
width="160" />
-<!--TODO: KILL THIS-->
- <!-- <text
+ <text
type="string"
length="1"
follows="left|top"
@@ -2595,7 +2655,7 @@
layout="topleft"
left="10"
name="textbox autofix"
- top="332"
+ top_pad="4"
width="160">
Align media texture
(must load first)
@@ -2607,10 +2667,75 @@
label="Align"
label_selected="Align"
layout="topleft"
- left="112"
+ left="122"
name="button align"
- top="340"
- width="68" />-->
+ top_pad="-19"
+ width="68" />
+ <text
+ type="string"
+ length="1"
+ follows="left|top"
+ height="12"
+ layout="topleft"
+ left="10"
+ top_pad="0"
+ name="media_tex"
+ width="100">
+ Media:
+ </text>
+ <line_editor
+ follows="left|top|right"
+ height="18"
+ layout="topleft"
+ left="20"
+ max_length="63"
+ name="media_info"
+ select_on_focus="true"
+ top_delta="12"
+ width="230" />
+ <button
+ follows="left|top"
+ font="SansSerifSmall"
+ height="13"
+ width="13"
+ image_unselected="add_btn.tga"
+ label=""
+ layout="topleft"
+ left="20"
+ name="add_media"
+ top_pad="3">
+ <button.commit_callback
+ function="BuildTool.AddMedia"/>
+ </button>
+ <button
+ follows="left|top"
+ font="SansSerifSmall"
+ height="13"
+ width="13"
+ image_unselected="del_btn.tga"
+ label=""
+ layout="topleft"
+ left_pad="10"
+ name="delete_media"
+ top_delta="0"
+ left_delta="10" >
+ <button.commit_callback
+ function="BuildTool.DeleteMedia"/>
+ </button>
+ <button
+ follows="left|top"
+ font="SansSerifSmall"
+ height="15"
+ width="15"
+ image_unselected="gear.tga"
+ label=""
+ layout="topleft"
+ name="edit_media"
+ top_delta="0"
+ left_delta="190">
+ <button.commit_callback
+ function="BuildTool.EditMedia"/>
+ </button>
</panel>
<panel
border="false"
@@ -2642,13 +2767,13 @@
width="130" />
<panel_inventory
follows="left|top"
- height="310"
+ height="210"
layout="topleft"
left="10"
name="contents_inventory"
top="50"
width="260" />
- </panel>
+ </panel>
</tab_container>
<panel
follows="left|top"
diff --git a/indra/newview/skins/default/xui/en/floater_whitelist_entry.xml b/indra/newview/skins/default/xui/en/floater_whitelist_entry.xml
new file mode 100644
index 0000000000..0eb2c5e1be
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/floater_whitelist_entry.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<floater
+ can_minimize="false"
+ height="108"
+ layout="topleft"
+ name="whitelist_entry"
+ width="390">
+
+ <text type="string" length="1" bottom="20" follows="top|left" height="15" layout="topleft"
+ left="10" name="media_label" top="20">
+ Enter a URL or URL pattern to add to the list of allowed domains
+ </text>
+
+ <line_editor bottom_delta="40" enabled="true" follows="left|top" font="SansSerif"
+ height="20" left="10" name="whitelist_entry"
+ tool_tip="Enter a URL or URL pattern to White List"
+ width="350" />
+
+ <button follows="top|left" height="20" font="SansSerifSmall" label="OK"
+ layout="topleft" left="10" name="ok_btn" bottom_delta="28" width="64" />
+
+ <button follows="top|left" height="20" font="SansSerifSmall" label="Cancel"
+ layout="topleft" left_pad="5" name="cancel_btn" bottom_delta="0" width="64" />
+</floater>
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index ebe7a0236b..6298a068f0 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -646,6 +646,21 @@ This entire region is damage enabled.
Scripts must be allowed to run for weapons to work.
</notification>
+<notification
+ icon="alertmodal.tga"
+ name="MultipleFacesSelected"
+ type="alertmodal">
+ Multiple faces are currently selected.
+If you continue this action, separate instances of media will be
+ set on multiple faces of the object.
+To place the media on only one face, use Select Texture and click
+ on the face of that object and click Add.
+ <usetemplate
+ name="okcancelignore"
+ notext="Cancel"
+ yestext="OK"/>
+ </notification>
+
<notification
icon="alertmodal.tga"
name="MustBeInParcel"
@@ -783,6 +798,21 @@ There is no reimbursement for fees paid.
yestext="OK"/>
</notification>
+
+<notification
+ icon="alertmodal.tga"
+ name="DeleteMedia"
+ type="alertmodal">
+You have selected to delete the media associated
+with this face.
+Are you sure you want to continue?
+ <usetemplate
+ ignoretext="Confirm before I delete media"
+ name="okcancelignore"
+ notext="No"
+ yestext="Yes"/>
+ </notification>
+
<notification
icon="alertmodal.tga"
name="ClassifiedSave"
@@ -6485,6 +6515,17 @@ Click Accept to join the chat or Decline to decline the invitation. Click Block
Unable to find the help topic for this element.
</notification>
+ <notification
+ icon="alertmodal.tga"
+ name="ObjectMediaFailure"
+ type="alertmodal">
+ Server Error: Media update or get failed.
+ &apos;[ERROR]&apos;
+ <usetemplate
+ name="okbutton"
+ yestext="Ok"/>
+ </notification>
+
<global name="UnsupportedCPU">
- Your CPU speed does not meet the minimum requirements.
</global>
diff --git a/indra/newview/skins/default/xui/en/panel_login.xml b/indra/newview/skins/default/xui/en/panel_login.xml
index f2a7dc11c7..c96c296057 100644
--- a/indra/newview/skins/default/xui/en/panel_login.xml
+++ b/indra/newview/skins/default/xui/en/panel_login.xml
@@ -26,9 +26,8 @@
layout="topleft"
left="0"
name="login_html"
- hide_loading="true"
right="-1"
- start_url="data:text/html,%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody bgcolor=%22#000000%22 text=%22ffffff%22%3E%3Ch1%3E%3Ctt%3Eloading...%3C/tt%3E%3C/h1%3E %3C/body%3E %3C/html%3E"
+ start_url=""
top="1" />
<text
type="string"
diff --git a/indra/newview/skins/default/xui/en/panel_media_settings_general.xml b/indra/newview/skins/default/xui/en/panel_media_settings_general.xml
new file mode 100644
index 0000000000..b66aad1853
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/panel_media_settings_general.xml
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<panel
+ border="true"
+ enabled="true"
+ follows="left|top|right|bottom"
+ height="500"
+ label="General"
+ left="102"
+ mouse_opaque="true"
+ name="Media Settings General"
+ width="365">
+
+ <text
+ bottom_delta="-17"
+ follows="top|left"
+ height="15"
+ left="10"
+ name="">
+ Home URL:
+ </text>
+ <line_editor
+ bottom_delta="-21"
+ enabled="true"
+ follows="left|top"
+ font="SansSerif"
+ height="20"
+ left="10"
+ name="home_url"
+ tool_tip="The home URL for this media source"
+ width="340">
+ <!-- <line_editor.commit_callback
+ function="Media.CommitHomeURL"/> -->
+ </line_editor>
+ <text
+ bottom_delta="-20"
+ follows="top|left"
+ height="15"
+ left="10"
+ name="current_url_label">
+ Current URL:
+ </text>
+ <line_editor
+ bottom_delta="-20"
+ enabled="false"
+ follows="left|top"
+ font="SansSerif"
+ height="20"
+ left="10"
+ name="current_url"
+ tool_tip="The current URL for this media source"
+ value=""
+ width="340" />
+ <button
+ bottom_delta="-20"
+ follows="top|left"
+ height="20"
+ label="Reset"
+ left_delta="233"
+ name="current_url_reset_btn"
+ width="110" >
+ <button.commit_callback
+ function="Media.ResetCurrentUrl"/>
+ </button>
+
+ <web_browser
+ border_visible="false"
+ bottom_delta="-120"
+ follows="top|left"
+ left="120"
+ name="preview_media"
+ width="128"
+ height="128"
+ start_url="about:blank"
+ decouple_texture_size="true" />
+
+ <text
+ bottom_delta="-15"
+ follows="top|left"
+ height="15"
+ left="164"
+ name="">
+ Preview
+ </text>
+
+ <text
+ bottom_delta="-20"
+ follows="top|left"
+ height="15"
+ left="10"
+ name="">
+ Controls:
+ </text>
+ <combo_box
+ allow_text_entry="false"
+ bottom_delta="-20"
+ enabled="true"
+ follows="left|top"
+ height="18"
+ left="10"
+ max_chars="20"
+ mouse_opaque="true"
+ name="controls"
+ width="120">
+ <combo_item
+ type="string"
+ length="1"
+ enabled="true"
+ name="Standard"
+ value="Standard">
+ Standard
+ </combo_item>
+ <combo_item
+ type="string"
+ length="1"
+ enabled="true"
+ name="Mini"
+ value="Mini">
+ Mini
+ </combo_item>
+ </combo_box>
+
+ <check_box
+ bottom_delta="-25"
+ enabled="true"
+ follows="left|top"
+ font="SansSerifSmall"
+ height="16"
+ initial_value="false"
+ label="Auto Loop"
+ left="10"
+ mouse_opaque="true"
+ name="auto_loop"
+ radio_style="false"
+ width="150" />
+
+ <check_box
+ bottom_delta="-25"
+ enabled="true"
+ follows="left|top"
+ font="SansSerifSmall"
+ height="16"
+ initial_value="false"
+ label="First Click Interacts"
+ left_delta="0"
+ mouse_opaque="true"
+ name="first_click_interact"
+ radio_style="false"
+ width="150" />
+
+ <check_box
+ bottom_delta="-25"
+ enabled="true"
+ follows="left|top"
+ font="SansSerifSmall"
+ height="16"
+ initial_value="false"
+ label="Auto Zoom"
+ left_delta="0"
+ mouse_opaque="true"
+ name="auto_zoom"
+ radio_style="false"
+ width="150" />
+
+ <check_box bottom_delta="-25" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Use Default Alternative Image" left="10" mouse_opaque="true"
+ name="alt_image_enable" radio_style="false" width="150" />
+
+ <check_box bottom_delta="-25" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Auto Play Media" left="10" mouse_opaque="true"
+ name="auto_play" radio_style="false" width="150" />
+ <text bottom_delta="-14" follows="top|left" height="15" left="30" width="340"
+ enabled="false" name="">
+ Note: Parcel Owners &amp; Residents can override this setting
+ </text>
+
+ <check_box bottom_delta="-25" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Auto Scale Media on Face of Object" left="10" mouse_opaque="true"
+ name="auto_scale" radio_style="false" width="150" />
+ <text bottom_delta="-20" follows="top|left" height="15" left="30" name="">
+ Size:
+ </text>
+ <spinner bottom_delta="0"
+ decimal_digits="0" enabled="true" follows="left|top" height="16"
+ increment="1" initial_val="256" label="" label_width="0"
+ left_delta="40" max_val="2000" min_val="0" mouse_opaque="true"
+ name="width_pixels" width="50" />
+ <text bottom_delta="0" follows="top|left" height="15" left_delta="60" name="">
+ X
+ </text>
+ <spinner bottom_delta="0"
+ decimal_digits="0" enabled="true" follows="left|top" height="16"
+ increment="1" initial_val="256" label="" label_width="0"
+ left_delta="20" max_val="2000" min_val="0" mouse_opaque="true"
+ name="height_pixels" width="50" />
+
+</panel>
diff --git a/indra/newview/skins/default/xui/en/panel_media_settings_permissions.xml b/indra/newview/skins/default/xui/en/panel_media_settings_permissions.xml
new file mode 100644
index 0000000000..f11364874a
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/panel_media_settings_permissions.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<panel border="true" enabled="true" follows="left|top|right|bottom"
+ height="500" label="Controls" left="102" mouse_opaque="true"
+ name="Media settings for controls" width="365">
+
+ <text bottom_delta="-50" follows="top|left" height="15" left="10" name="" enabled="false">
+ Owner
+ </text>
+ <check_box bottom_delta="-22" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Disable Navigation &amp; Interactivity" left="30" mouse_opaque="true"
+ name="perms_owner_interact" radio_style="false" width="250" />
+
+ <check_box bottom_delta="-22" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Hide Control Bar" left="30" mouse_opaque="true"
+ name="perms_owner_control" radio_style="false" width="250" />
+
+ <text bottom_delta="-36" follows="top|left" height="15" left="10" name="perms_group_name_label" enabled="false">
+ Group
+ </text>
+ <name_box bottom_delta="-5" enabled="false" follows="left|top" font="SansSerif"
+ height="20" left="60" name="perms_group_name"
+ value =""
+ width="200" />
+ <check_box bottom_delta="-22" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Disable Navigation &amp; Interactivity" left="30" mouse_opaque="true"
+ name="perms_group_interact" radio_style="false" width="250" />
+
+ <check_box bottom_delta="-22" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Hide Control Bar" left="30" mouse_opaque="true"
+ name="perms_group_control" radio_style="false" width="250" />
+
+ <text bottom_delta="-36" follows="top|left" height="15" left="10" name="" enabled="false">
+ Anyone
+ </text>
+ <check_box bottom_delta="-22" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Disable Navigation &amp; Interactivity" left="30" mouse_opaque="true"
+ name="perms_anyone_interact" radio_style="false" width="250" />
+
+ <check_box bottom_delta="-22" enabled="true" follows="left|top" font="SansSerifSmall"
+ height="16" initial_value="false"
+ label="Hide Control Bar" left="30" mouse_opaque="true"
+ name="perms_anyone_control" radio_style="false" width="250" />
+
+</panel>
diff --git a/indra/newview/skins/default/xui/en/panel_media_settings_security.xml b/indra/newview/skins/default/xui/en/panel_media_settings_security.xml
new file mode 100644
index 0000000000..695e956e41
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/panel_media_settings_security.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<panel
+ border="true"
+ enabled="true"
+ follows="left|top|right|bottom"
+ height="500"
+ label="Security"
+ left="102"
+ mouse_opaque="true"
+ name="Media Settings Security"
+ width="365">
+ <check_box
+ bottom_delta="-40"
+ enabled="true"
+ follows="left|top"
+ font="SansSerifSmall"
+ height="16"
+ initial_value="false"
+ label="Only Allow Access to Specified URLs (by prefix)"
+ left="10"
+ mouse_opaque="true"
+ name="whitelist_enable"
+ radio_style="false"
+ width="250" />
+ <scroll_list
+ follows="top|left"
+ height="200"
+ left="30"
+ name="whitelist"
+ width="315"
+ enabled="true" />
+ <button
+ bottom_delta="-30"
+ follows="top|left"
+ height="20"
+ label="Add"
+ left="30"
+ name="whitelist_add"
+ width="70"
+ enabled="true">
+ <button.commit_callback
+ function="Media.whitelistAdd"/>
+ </button>
+ <button
+ bottom_delta="0"
+ follows="top|left"
+ height="20"
+ label="Delete"
+ left="275"
+ name="whitelist_del"
+ width="70"
+ enabled="true">
+ <button.commit_callback
+ function="Media.whitelistDelete"/>
+ </button>
+</panel>
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index 311bf0503a..13b1ec7308 100644
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -1728,13 +1728,25 @@ Releases the specified URL, it will no longer be usable
<string name="LSLTipText_llHTTPResponse">
llHTTPResponse(key request_id, integer status, string body)
Responds to request_id with status and body
- </string>
+ </string>
<string name="LSLTipText_llGetHTTPHeader">
string llGetHTTPHeader(key request_id, string header)
Returns the value for header for request_id
</string>
-
- <!-- Avatar busy/away mode -->
+ <string name="LSLTipText_llSetPrimMediaParams">
+llSetPrimMediaParams(integer face, list params)
+Set the media params for a particular face on an object. List is a set of name/value pairs (in no particular order). The possible names are below, along with the types of values and what they mean. If media is not already on this object, add it. Params not specified are unchanged, or if new media is added set to the default specified.
+ </string>
+ <string name="LSLTipText_llGetPrimMediaParams">
+list llGetPrimMediaParams(integer face, list params)
+Get the media params for a particular face on an object, given the desired list of names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face.
+ </string>
+ <string name="LSLTipText_llClearPrimMedia">
+llClearPrimMedia(integer face)
+Clears (deletes) the media and all params from the given face.
+ </string>
+
+ <!-- Avatar busy/away mode -->
<string name="AvatarSetNotAway">Set Not Away</string>
<string name="AvatarSetAway">Set Away</string>
<string name="AvatarSetNotBusy">Set Not Busy</string>