From 17dd223b211318eefe6b28d4d701aac1265aea1b Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 26 Dec 2014 02:55:53 -0800 Subject: [PATCH] MGR: To allow WCG and other "branded" BOINC Managers to customize the "More info ..." hyperlink in the Diagnostic Log Flags dialog, build the URL using the value from the skin's field. --- clientgui/DlgDiagnosticLogFlags.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/clientgui/DlgDiagnosticLogFlags.cpp b/clientgui/DlgDiagnosticLogFlags.cpp index 2c34e95e1d..e9e6a9710b 100755 --- a/clientgui/DlgDiagnosticLogFlags.cpp +++ b/clientgui/DlgDiagnosticLogFlags.cpp @@ -87,7 +87,12 @@ CDlgDiagnosticLogFlags::CDlgDiagnosticLogFlags(wxWindow* parent) : m_headingSizer->Add(m_heading, 1, wxLEFT | wxRIGHT, 25); - wxString helpURL = wxT("http://boinc.berkeley.edu/manager_links.php?target=notice&controlid=log_flags"); + wxString strURL = pSkinAdvanced->GetOrganizationHelpUrl(); + wxString helpURL; + helpURL.Printf( + wxT("%s?target=notice&controlid=log_flags"), + strURL.c_str() + ); m_headingSizer->Add( new wxHyperlinkCtrl(