aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanellogin.cpp')
-rw-r--r--linden/indra/newview/llpanellogin.cpp71
1 files changed, 3 insertions, 68 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 61bf215..09e2cee 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -134,74 +134,14 @@ void LLLoginHandler::parse(const LLSD& queryMap)
134 mLastName = queryMap["last_name"].asString(); 134 mLastName = queryMap["last_name"].asString();
135 135
136 EGridInfo grid_choice = GRID_INFO_NONE; 136 EGridInfo grid_choice = GRID_INFO_NONE;
137 if (queryMap["grid"].asString() == "aditi") 137 if (queryMap["grid"].asString() == "sl beta grid")
138 { 138 {
139 grid_choice = GRID_INFO_ADITI; 139 grid_choice = GRID_INFO_ADITI;
140 } 140 }
141 else if (queryMap["grid"].asString() == "agni") 141 else if (queryMap["grid"].asString() == "sl main grid")
142 { 142 {
143 grid_choice = GRID_INFO_AGNI; 143 grid_choice = GRID_INFO_AGNI;
144 } 144 }
145 else if (queryMap["grid"].asString() == "siva")
146 {
147 grid_choice = GRID_INFO_SIVA;
148 }
149 else if (queryMap["grid"].asString() == "damballah")
150 {
151 grid_choice = GRID_INFO_DAMBALLAH;
152 }
153 else if (queryMap["grid"].asString() == "durga")
154 {
155 grid_choice = GRID_INFO_DURGA;
156 }
157 else if (queryMap["grid"].asString() == "shakti")
158 {
159 grid_choice = GRID_INFO_SHAKTI;
160 }
161 else if (queryMap["grid"].asString() == "soma")
162 {
163 grid_choice = GRID_INFO_SOMA;
164 }
165 else if (queryMap["grid"].asString() == "ganga")
166 {
167 grid_choice = GRID_INFO_GANGA;
168 }
169 else if (queryMap["grid"].asString() == "vaak")
170 {
171 grid_choice = GRID_INFO_VAAK;
172 }
173 else if (queryMap["grid"].asString() == "uma")
174 {
175 grid_choice = GRID_INFO_UMA;
176 }
177 else if (queryMap["grid"].asString() == "mohini")
178 {
179 grid_choice = GRID_INFO_MOHINI;
180 }
181 else if (queryMap["grid"].asString() == "yami")
182 {
183 grid_choice = GRID_INFO_YAMI;
184 }
185 else if (queryMap["grid"].asString() == "nandi")
186 {
187 grid_choice = GRID_INFO_NANDI;
188 }
189 else if (queryMap["grid"].asString() == "mitra")
190 {
191 grid_choice = GRID_INFO_MITRA;
192 }
193 else if (queryMap["grid"].asString() == "radha")
194 {
195 grid_choice = GRID_INFO_RADHA;
196 }
197 else if (queryMap["grid"].asString() == "ravi")
198 {
199 grid_choice = GRID_INFO_RAVI;
200 }
201 else if (queryMap["grid"].asString() == "aruna")
202 {
203 grid_choice = GRID_INFO_ARUNA;
204 }
205 145
206 if(grid_choice != GRID_INFO_NONE) 146 if(grid_choice != GRID_INFO_NONE)
207 { 147 {
@@ -849,12 +789,7 @@ void LLPanelLogin::refreshLocation( bool force_visible )
849 sInstance->childSetVisible("start_location_combo", show_start); 789 sInstance->childSetVisible("start_location_combo", show_start);
850 sInstance->childSetVisible("start_location_text", show_start); 790 sInstance->childSetVisible("start_location_text", show_start);
851 791
852#if LL_RELEASE_FOR_DOWNLOAD
853 BOOL show_server = gSavedSettings.getBOOL("ForceShowGrid");
854 sInstance->childSetVisible("server_combo", show_server);
855#else
856 sInstance->childSetVisible("server_combo", TRUE); 792 sInstance->childSetVisible("server_combo", TRUE);
857#endif
858 793
859#endif 794#endif
860} 795}
@@ -937,7 +872,7 @@ void LLPanelLogin::loadLoginPage()
937 curl_free(curl_version); 872 curl_free(curl_version);
938 873
939 // Grid 874 // Grid
940 char* curl_grid = curl_escape(LLViewerLogin::getInstance()->getGridLabel().c_str(), 0); 875 char* curl_grid = curl_escape(LLViewerLogin::getInstance()->getGridCodeName().c_str(), 0);
941 oStr << "&grid=" << curl_grid; 876 oStr << "&grid=" << curl_grid;
942 curl_free(curl_grid); 877 curl_free(curl_grid);
943 878