summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2026-08-28 14:03:48 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2026-08-28 14:04:37 +0300
commit6d7abb3f97d64d0232e6499cd1e05baa31d73e5c (patch)
tree288622869f9fafff7c95eb92058453db7fc79c93 /indra/newview/skins
parent14833e7f291985f722a5ed8a12f799e9c2a35078 (diff)
#6174 Update and simplify UI
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/floater_maturity_dialog.xml91
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml11
2 files changed, 47 insertions, 55 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_maturity_dialog.xml b/indra/newview/skins/default/xui/en/floater_maturity_dialog.xml
index 2ad39c683f..35769534ac 100644
--- a/indra/newview/skins/default/xui/en/floater_maturity_dialog.xml
+++ b/indra/newview/skins/default/xui/en/floater_maturity_dialog.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater
- height="220"
- width="430"
+ height="185"
+ width="540"
layout="topleft"
name="floater_maturity_dialog"
title="MATURITY"
@@ -13,13 +13,26 @@
can_drag_on_left="false"
can_minimize="false"
single_instance="true"
- can_close="false">
+ can_close="false"
+ background_visible="false">
<floater.string
name="location_rated_string"
value="The location you've chosen is rated [MATURITY]."/>
<floater.string
name="update_maturity_string"
- value="Include [MATURITY] in your maturity preference to continue."/>
+ value="Your current maturity preference doesn't include [MATURITY] content. Allowing it will update your preference."/>
+ <floater.string
+ name="allow_maturity_string"
+ value="Allow [MATURITY] content"/>
+ <icon
+ color="FloaterFocusBackgroundColor"
+ follows="left|right|bottom|top"
+ image_name="Rounded_Square"
+ layout="topleft"
+ left="0"
+ top="0"
+ height="185"
+ width="540"/>
<text
type="string"
length="1"
@@ -27,78 +40,46 @@
font="SansSerifMediumBold"
text_color="White"
layout="topleft"
- left="15"
+ left="20"
height="18"
- top="15"
+ top="20"
right="-10"
- name="location_rated_lbl"/>
+ name="location_rated_lbl">
+ The location you've chosen is rated Adult.
+ </text>
<text
type="string"
length="1"
follows="top|left|right"
text_color="White"
layout="topleft"
- left="15"
- height="16"
+ left="20"
+ height="32"
top_pad="10"
right="-10"
+ word_wrap="true"
name="current_maturity_lbl">
-Your current maturity preference:
- </text>
-
- <combo_box
- control_name="PreferredMaturity"
- follows="top|left"
- height="23"
- layout="topleft"
- left="16"
- top_pad="8"
- name="maturity_combo"
- width="192">
- <combo_box.item
- label="General, Moderate, Adult"
- name="Desired_Adult"
- value="42" />
- <combo_box.item
- label="General and Moderate"
- name="Desired_Mature"
- value="21" />
- <combo_box.item
- label="General"
- name="Desired_PG"
- value="13" />
- </combo_box>
-
- <text
- type="string"
- length="1"
- follows="top|left|right"
- text_color="White"
- layout="topleft"
- left="15"
- height="16"
- top_pad="18"
- right="-10"
- name="include_adult_lbl"/>
+ Your current maturity preference doesn't include Adult content. Allowing it will update your preference.
+ </text>
<button
follows="top|left"
layout="topleft"
- height="23"
- label="Continue to location"
- left="65"
- top_pad="20"
+ height="28"
+ label="Allow content"
+ left="20"
+ top_pad="18"
name="continue_btn"
- width="155" />
+ width="245" />
<button
follows="top|left"
layout="topleft"
- height="24"
+ height="28"
label="Cancel"
left_pad="10"
name="cancel_btn"
- width="155" />
+ width="245" />
<text
type="string"
@@ -107,9 +88,9 @@ Your current maturity preference:
text_color="White"
link_color="White"
layout="topleft"
- left="15"
+ left="20"
height="16"
- top_pad="28"
+ top_pad="25"
right="-10"
parse_urls="true"
name="learn_more_lbl">
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index 733734a0d2..51a42f0ce7 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -5691,6 +5691,17 @@ You won't receive any more notifications that you're about to visit a region wit
<notification
icon="alertmodal.tga"
+ name="RegionTPAccessBlocked_NotifyAdultsOnly"
+ type="alertmodal">
+ <tag>fail</tag>
+ The region you are trying to visit is rated [REGIONMATURITY_CAP], which is not available on your account type.
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
+ icon="alertmodal.tga"
name="LandClaimAccessBlocked"
type="alertmodal">
The land you're trying to claim has a maturity rating exceeding your current preferences. You can change your preferences using Me &gt; Preferences &gt; General.