Commit 1101d67d authored by chealer's avatar chealer

Remove superfluous "Click here" in button labels

[FIX] Clicking "Click here" fails in confirm title
parent dc806871
......@@ -6018,7 +6018,7 @@ $lang = array(
// "The %0 host (%1) does not match this server (%2)" => "The %0 host (%1) does not match this server (%2)",
// "Potential cross-site request forgery (CSRF) detected. Operation blocked" => "Potential cross-site request forgery (CSRF) detected. Operation blocked",
// "Request to %0 failed CSRF check" => "Request to %0 failed CSRF check",
"Click here to confirm your action" => "Cliquer ici pour confirmer votre action",
"Confirm action" => "Confirmer l'action",
"Possible cross-site request forgery (CSRF, or \"sea surfing\") detected. Operation blocked." => "Sea Surfing (CSRF) détecté. Opération bloquée.",
// "Bad request - potential cross-site request forgery (CSRF) detected. Operation blocked. The security ticket may have expired - try reloading the page in this case" => "Bad request - potential cross-site request forgery (CSRF) detected. Operation blocked. The security ticket may have expired - try reloading the page in this case",
// "Possible cross-site request forgery (CSRF, or \\\"sea surfing\\\") detected. Operation blocked" => "Possible cross-site request forgery (CSRF, or \\\"sea surfing\\\") detected. Operation blocked",
......@@ -545,7 +545,7 @@ class TikiAccessLib extends TikiLib
if ($returnHtml) {
//redirect to a confirmation page
if (empty($confirmation_text)) {
$confirmation_text = tra('Click here to confirm your action');
$confirmation_text = tra('Confirm action');
}
if (empty($confirmaction)) {
$confirmaction = $_SERVER['PHP_SELF'];
......
......@@ -13,7 +13,7 @@
<div>
{query _type='form_input' _keepall='y'}
{ticket}
{button href="#" _onclick="javascript:document.forms['confirm'].submit();return false;" _text="{tr}Click here to confirm your action{/tr}" _ajax="n"}
{button href="#" _onclick="javascript:document.forms['confirm'].submit();return false;" _text="{tr}Confirm action{/tr}" _ajax="n"}
{button href="#" _onclick="javascript:history.back(); return false;" _text="{tr}Go back{/tr}" _ajax="n"}
{button href=$prefs.tikiIndex _text="{tr}Return to home page{/tr}"}
</div>
......
......@@ -26,7 +26,7 @@
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
value="{tr}Confirm action{/tr}">
</form>
</div>
</div>
......@@ -44,7 +44,7 @@
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
value="{tr}Confirm action{/tr}">
</form>
</div>
</div>
......@@ -65,7 +65,7 @@
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
value="{tr}Confirm action{/tr}">
</form>
</div>
</div>
......@@ -86,7 +86,7 @@
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
value="{tr}Confirm action{/tr}">
</form>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment