From 00325134545e9b9c04ae2af6463e7621e2f02efa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Fri, 13 Feb 2015 23:37:09 +0100 Subject: [PATCH] UPD: new sprintf syntax in templates --- .../cacert/gigi/output/ClientCSRGenerateIE.templ | 6 +++--- src/org/cacert/gigi/pages/LoginPage.templ | 4 ++-- src/org/cacert/gigi/pages/MainPage.templ | 2 +- src/org/cacert/gigi/pages/MainPageNotLogin.templ | 14 +++++++------- .../pages/account/certs/CertificateIssueForm.templ | 2 +- src/org/cacert/gigi/pages/orga/CreateOrgForm.templ | 2 +- src/org/cacert/gigi/pages/wot/AssuranceForm.templ | 6 +++--- src/org/cacert/gigi/pages/wot/RequestTTPPage.templ | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/org/cacert/gigi/output/ClientCSRGenerateIE.templ b/src/org/cacert/gigi/output/ClientCSRGenerateIE.templ index 3f3b6177..75765e12 100644 --- a/src/org/cacert/gigi/output/ClientCSRGenerateIE.templ +++ b/src/org/cacert/gigi/output/ClientCSRGenerateIE.templ @@ -6,9 +6,9 @@

-

Internet Options -> Security -> Trusted Websites", +

Internet Options -> Security -> Trusted Websites", click on "Custom Level", set "ActiveX control elements that are not marked as safe initialized on start - in scripts" to "Confirm" and click "OK". Now click "Sites", add "%s" and "%s" to your list of trusted + in scripts" to "Confirm" and click "OK". Now click "Sites", add "$normalhost" and "$securehost" to your list of trusted sites and make the changes come into effect by clicking "Close" and "OK".?>

@@ -37,7 +37,7 @@ : , : , :

-

+

diff --git a/src/org/cacert/gigi/pages/LoginPage.templ b/src/org/cacert/gigi/pages/LoginPage.templ index c2418cda..7d49607b 100644 --- a/src/org/cacert/gigi/pages/LoginPage.templ +++ b/src/org/cacert/gigi/pages/LoginPage.templ @@ -7,5 +7,5 @@ - -
-

",!"",If you are having trouble with your username or password, please visit our %swiki page%s for more information?>

- \ No newline at end of file +

'wiki page!'' for more information?>

+ diff --git a/src/org/cacert/gigi/pages/MainPage.templ b/src/org/cacert/gigi/pages/MainPage.templ index 5dfe0a9f..41c8522b 100644 --- a/src/org/cacert/gigi/pages/MainPage.templ +++ b/src/org/cacert/gigi/pages/MainPage.templ @@ -11,4 +11,4 @@

-

https://wiki.cacert.org/TTP/TTPuser",!"https://wiki.cacert.org/TTP/TTPAL",For information about the TTP-assisted-assurance program please read %s and %s.?>

+

https://wiki.cacert.org/TTP/TTPuser' and !' https://wiki.cacert.org/TTP/TTPAL'.?>

diff --git a/src/org/cacert/gigi/pages/MainPageNotLogin.templ b/src/org/cacert/gigi/pages/MainPageNotLogin.templ index 80c5d2bf..c2359c58 100644 --- a/src/org/cacert/gigi/pages/MainPageNotLogin.templ +++ b/src/org/cacert/gigi/pages/MainPageNotLogin.templ @@ -4,18 +4,18 @@

-

",!"",If you want to have free certificates issued to you, %s join the CAcert Community %s.?>

+

'join the CAcert Community!''.?>

-

",!"",If you want to use certificates issued by CAcert, read the CAcert %s Root Distribution License %s.?> -",!"",This license applies to using the CAcert %s root keys %s.?>

+

'Root Distribution License!''.?> +'root keys!''.?>


-

",!"",Have you passed the CAcert %s Assurer Challenge %s yet??>

+

'Assurer Challenge!'' yet??>

-

",!"",Have you read the CAcert %sCommunity Agreement%s yet??>

+

'Community Agreement!'' yet??>

-

",!"",For general documentation and help, please visit the CAcert %sWiki Documentation site %s.?> -",!"",For specific policies, see the CAcert %sApproved Policies page%s.?>

+

'Wiki Documentation site!''.?> +'Approved Policies page!''.?>

diff --git a/src/org/cacert/gigi/pages/account/certs/CertificateIssueForm.templ b/src/org/cacert/gigi/pages/account/certs/CertificateIssueForm.templ index 3be5737c..ee749ab9 100644 --- a/src/org/cacert/gigi/pages/account/certs/CertificateIssueForm.templ +++ b/src/org/cacert/gigi/pages/account/certs/CertificateIssueForm.templ @@ -82,7 +82,7 @@ -