diff --git a/templates/bootstrap/account/qrcode/default.tpl b/templates/bootstrap/account/qrcode/default.tpl index 76935d09..5b738407 100644 --- a/templates/bootstrap/account/qrcode/default.tpl +++ b/templates/bootstrap/account/qrcode/default.tpl @@ -4,7 +4,7 @@ {literal} $(document).ready(function(){ $('#qrcodeholder').qrcode({ - text : "{/literal}|http{if $smarty.server.HTTPS|default:"0" eq 'on'}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=api|{$GLOBAL.userdata.api_key}|{$GLOBAL.userdata.id}|{$GLOBAL.config.currency|upper}|{literal}", + text : "{/literal}|http{if $smarty.server.HTTPS|default:"0" eq 'on'}s{/if}://{$smarty.server.SERVER_NAME}{if $smarty.server.SERVER_PORT != "443" && $smarty.server.SERVER_PORT != "80"}:{$smarty.server.SERVER_PORT}{/if}{$smarty.server.SCRIPT_NAME}?page=api|{$GLOBAL.userdata.api_key}|{$GLOBAL.userdata.id}|{$GLOBAL.config.currency|upper}|{literal}", render : "canvas", // 'canvas' or 'table'. Default value is 'canvas' background : "#ffffff", foreground : "#000000", diff --git a/templates/mail/invitations/body.tpl b/templates/mail/invitations/body.tpl index 57933250..67ec28b4 100644 --- a/templates/mail/invitations/body.tpl +++ b/templates/mail/invitations/body.tpl @@ -2,7 +2,7 @@

Hello valued miner,


{nocache}{$DATA.username}{/nocache} invited you to participate on this pool: -

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=register&token={nocache}{$DATA.token}{/nocache}

+

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=register&token={nocache}{$DATA.token}{/nocache}

{if $DATA.message}

Personal message:

{nocache}{$DATA.message}{/nocache}

{/if}

Cheers,

diff --git a/templates/mail/notifications/account_edit.tpl b/templates/mail/notifications/account_edit.tpl index db292c6d..13917742 100644 --- a/templates/mail/notifications/account_edit.tpl +++ b/templates/mail/notifications/account_edit.tpl @@ -2,7 +2,7 @@

You have a pending request to change your account details.

If you initiated this request, please follow the link below to confirm your changes. If you did NOT, please notify an administrator.

-

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=edit&ea_token={nocache}{$DATA.token}{/nocache}

+

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=edit&ea_token={nocache}{$DATA.token}{/nocache}



diff --git a/templates/mail/notifications/change_pw.tpl b/templates/mail/notifications/change_pw.tpl index 4dac112c..90a02ae9 100644 --- a/templates/mail/notifications/change_pw.tpl +++ b/templates/mail/notifications/change_pw.tpl @@ -2,7 +2,7 @@

You have a pending request to change your password.

If you initiated this request, please follow the link below to confirm your changes. If you did NOT, please notify an administrator.

-

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=edit&cp_token={nocache}{$DATA.token}{/nocache}

+

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=edit&cp_token={nocache}{$DATA.token}{/nocache}



diff --git a/templates/mail/notifications/locked.tpl b/templates/mail/notifications/locked.tpl index d7bd95b8..7783e456 100644 --- a/templates/mail/notifications/locked.tpl +++ b/templates/mail/notifications/locked.tpl @@ -1,7 +1,7 @@

You account has been locked due to too many failed password or PIN attempts. Please follow the URL below to unlock your account.

-

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=unlock&token={nocache}{$DATA.token}{/nocache}

+

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=unlock&token={nocache}{$DATA.token}{/nocache}



diff --git a/templates/mail/password/reset.tpl b/templates/mail/password/reset.tpl index d4dd939f..d942fe2c 100644 --- a/templates/mail/password/reset.tpl +++ b/templates/mail/password/reset.tpl @@ -2,7 +2,7 @@

Hello {nocache}{$DATA.username}{/nocache},


You have requested a password reset through our online form. In order to complete the request please follow this link:

-

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=password&action=change&token={nocache}{$DATA.token}{/nocache}

+

http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=password&action=change&token={nocache}{$DATA.token}{/nocache}

You will be asked to change your password. You can then use this new password to login to your account.

Cheers,

{$WEBSITENAME}