diff options
author | Lynx Linden <lynx@lindenlab.com> | 2009-12-08 10:51:33 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2009-12-08 10:51:33 +0000 |
commit | 57769268076a1a01b730dfcdb4a0552bc15c44fe (patch) | |
tree | c04702e6b0b22917851598468c125cb9e7d9ee34 /indra/newview/llviewerhome.cpp | |
parent | da2a0385ae6ee8962ed5d4f991df95df13d8e89a (diff) |
DEV-43439: Added support for GRID substitution variable.
The Home side panel URL, specified in settings.xml, now additionally
supports a [GRID] substitution variable, with potential values equal
to: "None", "Agni", "Aditi", etc.
Diffstat (limited to 'indra/newview/llviewerhome.cpp')
-rw-r--r-- | indra/newview/llviewerhome.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerhome.cpp b/indra/newview/llviewerhome.cpp index ee1e46dc59..4556c3c5b1 100644 --- a/indra/newview/llviewerhome.cpp +++ b/indra/newview/llviewerhome.cpp @@ -40,6 +40,7 @@ #include "llsd.h" #include "llviewerversion.h" #include "llviewercontrol.h" +#include "llviewernetwork.h" //static std::string LLViewerHome::getHomeURL() @@ -52,6 +53,7 @@ std::string LLViewerHome::getHomeURL() substitution["CHANNEL"] = LLURI::escape(gSavedSettings.getString("VersionChannelName")); substitution["LANGUAGE"] = LLUI::getLanguage(); substitution["AUTH_KEY"] = LLURI::escape(getAuthKey()); + substitution["GRID"] = LLViewerLogin::getInstance()->getGridLabel(); std::string homeURL = gSavedSettings.getString("HomeSidePanelURL"); LLStringUtil::format(homeURL, substitution); |