From de9e07ed4613d9da2913ff12c83b9fc56c614365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 12 Nov 2014 22:35:20 +0000 Subject: Crash Dumper: Update VI URL once again git-svn-id: http://svn.miranda-ng.org/main/trunk@10974 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/res/crshdmp.rc | 2 +- plugins/CrashDumper/src/crshdmp.cpp | 4 ++-- plugins/CrashDumper/src/ui.cpp | 4 ++-- plugins/CrashDumper/src/upload.cpp | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/CrashDumper') diff --git a/plugins/CrashDumper/res/crshdmp.rc b/plugins/CrashDumper/res/crshdmp.rc index 011317aa7a..3447fd5ff4 100644 --- a/plugins/CrashDumper/res/crshdmp.rc +++ b/plugins/CrashDumper/res/crshdmp.rc @@ -67,7 +67,7 @@ STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN - GROUPBOX "Support for miranda-ng.org/versioninfo",IDC_STATIC,7,7,195,94 + GROUPBOX "Support for vi.miranda-ng.org",IDC_STATIC,7,7,195,94 LTEXT "Username",IDC_STATIC,14,20,107,8 EDITTEXT IDC_USERNAME,14,33,108,14,ES_AUTOHSCROLL LTEXT "Password",IDC_STATIC,14,52,107,8 diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index 67ae1907fa..fab49d4554 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -150,7 +150,7 @@ INT_PTR OpenUrl(WPARAM wParam, LPARAM) break; case 1: - OpenAuthUrl("http://www.miranda-ng.org/versioninfo/detail/%s"); + OpenAuthUrl("http://vi.miranda-ng.org/detail/%s"); break; } return 0; @@ -290,7 +290,7 @@ static int ModulesLoaded(WPARAM, LPARAM) mi.popupPosition = 1; mi.position = 2000099991; - mi.ptszName = LPGENT("Open online report"); + mi.ptszName = LPGENT("Open online Version Info"); mi.icolibItem = LoadSkinnedIconHandle(SKINICON_EVENT_URL); mi.pszService = MS_CRASHDUMPER_URL; Menu_AddMainMenuItem(&mi); diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp index be0aa8d4c0..69e4679e68 100644 --- a/plugins/CrashDumper/src/ui.cpp +++ b/plugins/CrashDumper/src/ui.cpp @@ -273,11 +273,11 @@ LRESULT CALLBACK DlgProcPopup(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) case WM_COMMAND: switch ((int)PUGetPluginData(hWnd)) { case 0: - OpenAuthUrl("http://www.miranda-ng.org/versioninfo/detail/%s"); + OpenAuthUrl("http://vi.miranda-ng.org/detail/%s"); break; case 1: - OpenAuthUrl("http://www.miranda-ng.org/versioninfo/global/%s"); + OpenAuthUrl("http://vi.miranda-ng.org/global/%s"); break; case 3: diff --git a/plugins/CrashDumper/src/upload.cpp b/plugins/CrashDumper/src/upload.cpp index 253b6b54dc..9aaebfe4d7 100644 --- a/plugins/CrashDumper/src/upload.cpp +++ b/plugins/CrashDumper/src/upload.cpp @@ -68,10 +68,10 @@ void OpenAuthUrl(const char* url) if (user[0] && pass[0]) { char str[256]; mir_snprintf(str, sizeof(str), url, user); - mir_snprintf(str, sizeof(str), "http://www.miranda-ng.org/versioninfo/detail/%s", user); + mir_snprintf(str, sizeof(str), "http://vi.miranda-ng.org/detail/%s", user); CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)str); } - else CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)"http://www.miranda-ng.org/versioninfo/"); + else CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)"http://vi.miranda-ng.org/"); } void CreateAuthString(char* auth) @@ -203,7 +203,7 @@ void __cdecl VersionInfoUploadThread(void* arg) char user[64], pass[40]; GetLoginStr(user, sizeof(user), pass); char str[256]; - mir_snprintf(str, sizeof(str), "http://www.miranda-ng.org/en/versioninfo/upload?login=%s&pass=%s", user, pass); + mir_snprintf(str, sizeof(str), "http://vi.miranda-ng.org/en/upload?login=%s&pass=%s", user, pass); InternetDownloadFile(str, trn); mir_free(trn->buf); -- cgit v1.2.3