diff options
| author | Lynx Linden <lynx@lindenlab.com> | 2009-12-07 18:22:52 +0000 | 
|---|---|---|
| committer | Lynx Linden <lynx@lindenlab.com> | 2009-12-07 18:22:52 +0000 | 
| commit | 37c7e4059cab2a7152e730ca5d68530f14f8f51e (patch) | |
| tree | aef3704c3d77605818d6194e9f27759951b78a0e /indra/newview/app_settings | |
| parent | 1db39c97a5ba8213c0c001b60060ba165f7dd04d (diff) | |
DEV-43439: Allow Home side panel URL to be customized.
The URL for the Home side panel is now specified via a new
"HomeSidePanelURL" string in app_settings/settings.xml. This
string supports the following substitutions:
CHANNEL = the channel name for the viewer
VERSION = the full version string for the viewer
LANGUAGE = the current language set in the viewer
AUTH_KEY = the authentication key (see below)
The authentication key is an optional string that is read from the
dictionary of strings returned by login.cgi. If login.cgi returns a
key called "home_sidetray_token", then the value of that key is used
for the AUTH_KEY substitution. This lets the server provide a piece of
blind data that can be passed to the Home panel web page to support
authentication. The viewer does not interpret the token in any way.
This change adds a new module, llviewerhome.{cpp|h} to contain the
model functionality, used by the view module, llpanelhome.{cpp|h}.
Diffstat (limited to 'indra/newview/app_settings')
| -rw-r--r-- | indra/newview/app_settings/settings.xml | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index b301d784f9..ec28603d25 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -3587,6 +3587,17 @@        <key>Value</key>        <string>http://viewer-help.secondlife.com/[LANGUAGE]/[CHANNEL]/[VERSION]/[TOPIC]</string>      </map> +    <key>HomeSidePanelURL</key> +    <map> +      <key>Comment</key> +      <string>URL for the web page to display in the Home side panel</string> +      <key>Persist</key> +      <integer>0</integer> +      <key>Type</key> +      <string>String</string> +      <key>Value</key> +      <string>http://www.secondlife.com/</string> +    </map>      <key>HighResSnapshot</key>      <map>        <key>Comment</key> | 
