|
@@ -1186,14 +1186,9 @@ void __fastcall GetUpdatesMessage(UnicodeString & Message, bool & New,
|
|
|
}
|
|
|
}
|
|
|
//---------------------------------------------------------------------------
|
|
|
-UnicodeString __fastcall GetEnableAutomaticUpdatesUrl()
|
|
|
-{
|
|
|
- return AppendUrlParams(LoadStr(DONATE_URL), L"automaticupdates=1");
|
|
|
-}
|
|
|
-//---------------------------------------------------------------------------
|
|
|
void __fastcall EnableAutomaticUpdates()
|
|
|
{
|
|
|
- OpenBrowser(GetEnableAutomaticUpdatesUrl());
|
|
|
+ ShowHelp(HELP_AUTOMATIC_UPDATE);
|
|
|
}
|
|
|
//---------------------------------------------------------------------------
|
|
|
static void __fastcall OpenHistory(void * /*Data*/, TObject * /*Sender*/, unsigned int & /*Answer*/)
|
|
@@ -1545,7 +1540,7 @@ static void __fastcall InsertDonateLink(void * /*Data*/, TObject * Sender)
|
|
|
InsertPanelToMessageDialog(Dialog, Panel);
|
|
|
|
|
|
UnicodeString DocumentBody = LoadStr(UPDATES_DONATE_HTML);
|
|
|
- DocumentBody = ReplaceStr(DocumentBody, L"%DONATE_URL%", GetEnableAutomaticUpdatesUrl());
|
|
|
+ DocumentBody = ReplaceStr(DocumentBody, L"%DONATE_URL%", AppendUrlParams(LoadStr(DONATE_URL), L"automaticupdates=1"));
|
|
|
UnicodeString AboutStoreUrl = LoadStr(ABOUT_STORE_URL);
|
|
|
DocumentBody = ReplaceStr(DocumentBody, L"%STORE_URL%", AboutStoreUrl);
|
|
|
UnicodeString StoreButtonUrl = ProgramUrl(LoadStr(STORE_GET_IMG_URL));
|