From bf0f20ef44de89c5852bfcfca29693b2c09f6a9c Mon Sep 17 00:00:00 2001 From: Cho Date: Wed, 12 Feb 2014 19:45:52 +0000 Subject: Changed Flickr link text for ACME-1320 --- indra/newview/app_settings/filters/Video.xml | 22 ++++++++++++++++------ indra/newview/llfloaterflickr.cpp | 12 ++++++++++-- 2 files changed, 26 insertions(+), 8 deletions(-) (limited to 'indra') diff --git a/indra/newview/app_settings/filters/Video.xml b/indra/newview/app_settings/filters/Video.xml index aa65536235..fe17f3950a 100755 --- a/indra/newview/app_settings/filters/Video.xml +++ b/indra/newview/app_settings/filters/Video.xml @@ -9,26 +9,36 @@ darken - 0.2 + 0.15 1.0 1.0 1.0 stencil - scanlines - blend + uniform + add 0.0 - 1.0 + 0.5 + + + screen + line 0.02 0.0 - brighten - 0.2 + gamma + 0.25 1.0 1.0 1.0 + + blur + + + blur + diff --git a/indra/newview/llfloaterflickr.cpp b/indra/newview/llfloaterflickr.cpp index 607b5b5df9..61f1487d4b 100644 --- a/indra/newview/llfloaterflickr.cpp +++ b/indra/newview/llfloaterflickr.cpp @@ -48,13 +48,13 @@ #include "llviewercontrol.h" #include "llviewermedia.h" #include "lltabcontainer.h" +#include "llviewerparcelmgr.h" static LLRegisterPanelClassWrapper t_panel_photo("llflickrphotopanel"); static LLRegisterPanelClassWrapper t_panel_account("llflickraccountpanel"); const S32 MAX_POSTCARD_DATASIZE = 1024 * 1024; // one megabyte const std::string DEFAULT_PHOTO_QUERY_PARAMETERS = "?sourceid=slshare_photo&utm_source=flickr&utm_medium=photo&utm_campaign=slshare"; -const std::string DEFAULT_PHOTO_LINK_TEXT = "Visit this location now"; const std::string DEFAULT_TAG_TEXT = "secondlife "; /////////////////////////// @@ -303,7 +303,15 @@ void LLFlickrPhotoPanel::sendPhoto() // Add query parameters so Google Analytics can track incoming clicks! slurl_string += DEFAULT_PHOTO_QUERY_PARAMETERS; - slurl_string = "" + DEFAULT_PHOTO_LINK_TEXT + ""; + std::string photo_link_text = "Visit this location";// at [] in Second Life"; + std::string parcel_name = LLViewerParcelMgr::getInstance()->getAgentParcelName(); + if (!parcel_name.empty()) + { + photo_link_text += " at " + parcel_name; + } + photo_link_text += " in Second Life"; + + slurl_string = "" + photo_link_text + ""; // Add it to the description (pretty crude, but we don't have a better option with photos) if (description.empty()) -- cgit v1.2.3