diff --git a/public/include/classes/user.class.php b/public/include/classes/user.class.php index 677acf47..6c5e65ed 100644 --- a/public/include/classes/user.class.php +++ b/public/include/classes/user.class.php @@ -427,7 +427,7 @@ class User extends Base { session_regenerate_id(true); // Enforce a page reload and point towards login with referrer included, if supplied $port = ($_SERVER["SERVER_PORT"] == "80" or $_SERVER["SERVER_PORT"] == "443") ? "" : (":".$_SERVER["SERVER_PORT"]); - $location = @$_SERVER['HTTPS'] ? 'https://' . $_SERVER['SERVER_NAME'] . $port . $_SERVER['PHP_SELF'] : 'http://' . $_SERVER['SERVER_NAME'] . $port . $_SERVER['PHP_SELF']; + $location = @$_SERVER['HTTPS'] ? 'https://' . $_SERVER['SERVER_NAME'] . $port . $_SERVER['SCRIPT_NAME'] : 'http://' . $_SERVER['SERVER_NAME'] . $port . $_SERVER['SCRIPT_NAME']; if (!empty($from)) $location .= '?page=login&to=' . urlencode($from); // if (!headers_sent()) header('Location: ' . $location); exit(''); @@ -504,7 +504,7 @@ class User extends Base { public function register($username, $password1, $password2, $pin, $email1='', $email2='', $tac='', $strToken='') { $this->debug->append("STA " . __METHOD__, 4); if ($tac != 1) { - $this->setErrorMessage('You need to accept our Terms and Conditions'); + $this->setErrorMessage('You need to accept our Terms and Conditions'); return false; } if (strlen($username) > 40) { diff --git a/public/include/pages/login.inc.php b/public/include/pages/login.inc.php index 4ed4e26f..e7cbaffa 100644 --- a/public/include/pages/login.inc.php +++ b/public/include/pages/login.inc.php @@ -6,7 +6,7 @@ if (!defined('SECURITY')) die('Hacking attempt'); if ($setting->getValue('maintenance') && !$user->isAdmin($user->getUserId($_POST['username']))) { $_SESSION['POPUP'][] = array('CONTENT' => 'You are not allowed to login during maintenace.', 'TYPE' => 'info'); } else if ($user->checkLogin(@$_POST['username'], @$_POST['password']) ) { - empty($_POST['to']) ? $to = $_SERVER['PHP_SELF'] : $to = $_POST['to']; + empty($_POST['to']) ? $to = $_SERVER['SCRIPT_NAME'] : $to = $_POST['to']; $port = ($_SERVER["SERVER_PORT"] == "80" or $_SERVER["SERVER_PORT"] == "443") ? "" : (":".$_SERVER["SERVER_PORT"]); $location = @$_SERVER['HTTPS'] === true ? 'https://' . $_SERVER['SERVER_NAME'] . $port . $to : 'http://' . $_SERVER['SERVER_NAME'] . $port . $to; if (!headers_sent()) header('Location: ' . $location); diff --git a/public/templates/mail/invitations/body.tpl b/public/templates/mail/invitations/body.tpl index c0adb7ff..17294318 100644 --- a/public/templates/mail/invitations/body.tpl +++ b/public/templates/mail/invitations/body.tpl @@ -2,7 +2,7 @@

Hello valued miner,


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

http://{$smarty.server.SERVER_NAME}{$smarty.server.PHP_SELF}?page=register&token={nocache}{$DATA.token}{/nocache}

+

http://{$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/public/templates/mail/notifications/locked.tpl b/public/templates/mail/notifications/locked.tpl index fcf1ccfa..7cfacfba 100644 --- a/public/templates/mail/notifications/locked.tpl +++ b/public/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://{$smarty.server.SERVER_NAME}{$smarty.server.PHP_SELF}?page=account&action=unlock&token={nocache}{$DATA.token}{/nocache}

+

http://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=unlock&token={nocache}{$DATA.token}{/nocache}



diff --git a/public/templates/mail/password/reset.tpl b/public/templates/mail/password/reset.tpl index bf1474c8..77493939 100644 --- a/public/templates/mail/password/reset.tpl +++ b/public/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://{$smarty.server.SERVER_NAME}{$smarty.server.PHP_SELF}?page=password&action=change&token={nocache}{$DATA.token}{/nocache}

+

http://{$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,

Website Administration

diff --git a/public/templates/mail/register/confirm_email.tpl b/public/templates/mail/register/confirm_email.tpl index 66c54d78..962793c0 100644 --- a/public/templates/mail/register/confirm_email.tpl +++ b/public/templates/mail/register/confirm_email.tpl @@ -2,7 +2,7 @@

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


You have created a new account. In order to complete the registration process please follow this link:

-

http://{$smarty.server.SERVER_NAME}{$smarty.server.PHP_SELF}?page=account&action=confirm&token={nocache}{$DATA.token}{/nocache}

+

http://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=confirm&token={nocache}{$DATA.token}{/nocache}

Cheers,

Website Administration

diff --git a/public/templates/mobile/dashboard/js.tpl b/public/templates/mobile/dashboard/js.tpl index 213a65fa..bdb61889 100644 --- a/public/templates/mobile/dashboard/js.tpl +++ b/public/templates/mobile/dashboard/js.tpl @@ -4,7 +4,7 @@ $(document).ready(function(){ var g1, g2, g3, g4, g5; // Ajax API URL - var url = "{/literal}{$smarty.server.PHP_SELF}?page=api&action=getdashboarddata&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; + var url = "{/literal}{$smarty.server.SCRIPT_NAME}?page=api&action=getdashboarddata&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; // Store our data globally var storedPersonalHashrate=[]; diff --git a/public/templates/mobile/global/navigation.tpl b/public/templates/mobile/global/navigation.tpl index 5b7af70b..bfb0ca50 100644 --- a/public/templates/mobile/global/navigation.tpl +++ b/public/templates/mobile/global/navigation.tpl @@ -5,13 +5,13 @@
diff --git a/public/templates/mobile/login/default.tpl b/public/templates/mobile/login/default.tpl index 7e2e13ed..cb5c0cfa 100644 --- a/public/templates/mobile/login/default.tpl +++ b/public/templates/mobile/login/default.tpl @@ -1,7 +1,7 @@ -
- + +

-

Forgot your password?

+

Forgot your password?

diff --git a/public/templates/mobile/password/change/default.tpl b/public/templates/mobile/password/change/default.tpl index 0d254677..fba05054 100644 --- a/public/templates/mobile/password/change/default.tpl +++ b/public/templates/mobile/password/change/default.tpl @@ -1,5 +1,5 @@ {include file="global/block_header.tpl" BLOCK_HEADER="Change Password"} -
+ diff --git a/public/templates/mobile/statistics/default.tpl b/public/templates/mobile/statistics/default.tpl index 7b03653d..5df3ff22 100644 --- a/public/templates/mobile/statistics/default.tpl +++ b/public/templates/mobile/statistics/default.tpl @@ -18,4 +18,4 @@ -{if !$GLOBAL.config.website.api.disabled}
  • These stats are also available in JSON format HERE
  • {/if} +{if !$GLOBAL.config.website.api.disabled}
  • These stats are also available in JSON format HERE
  • {/if} diff --git a/public/templates/mpos/account/edit/default.tpl b/public/templates/mpos/account/edit/default.tpl index fcb4886f..10040d13 100644 --- a/public/templates/mpos/account/edit/default.tpl +++ b/public/templates/mpos/account/edit/default.tpl @@ -1,4 +1,4 @@ - + @@ -16,7 +16,7 @@ {if !$GLOBAL.website.api.disabled}
    - {$GLOBAL.userdata.api_key} + {$GLOBAL.userdata.api_key}
    {/if}
    @@ -61,7 +61,7 @@ {if !$GLOBAL.config.disable_payouts && !$GLOBAL.config.disable_manual_payouts} -
    + @@ -95,7 +95,7 @@
    {/if} -
    + @@ -133,7 +133,7 @@
    -
    + diff --git a/public/templates/mpos/account/invitations/default.tpl b/public/templates/mpos/account/invitations/default.tpl index e43b37d0..bea7df13 100644 --- a/public/templates/mpos/account/invitations/default.tpl +++ b/public/templates/mpos/account/invitations/default.tpl @@ -1,4 +1,4 @@ - + diff --git a/public/templates/mpos/account/notifications/default.tpl b/public/templates/mpos/account/notifications/default.tpl index 4d0facc8..2d1f5901 100644 --- a/public/templates/mpos/account/notifications/default.tpl +++ b/public/templates/mpos/account/notifications/default.tpl @@ -1,4 +1,4 @@ - + diff --git a/public/templates/mpos/account/qrcode/default.tpl b/public/templates/mpos/account/qrcode/default.tpl index 517ec86f..fd93f9f2 100644 --- a/public/templates/mpos/account/qrcode/default.tpl +++ b/public/templates/mpos/account/qrcode/default.tpl @@ -4,7 +4,7 @@ {literal} $(document).ready(function(){ $('#qrcodeholder').qrcode({ - text : "{/literal}|http{if $smarty.server.HTTPS|default:"0" eq '1'}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.PHP_SELF}?page=api|{$GLOBAL.userdata.api_key}|{$GLOBAL.userdata.id}|{literal}", + text : "{/literal}|http{if $smarty.server.HTTPS|default:"0" eq '1'}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=api|{$GLOBAL.userdata.api_key}|{$GLOBAL.userdata.id}|{literal}", render : "canvas", // 'canvas' or 'table'. Default value is 'canvas' background : "#ffffff", foreground : "#000000", diff --git a/public/templates/mpos/account/transactions/default.tpl b/public/templates/mpos/account/transactions/default.tpl index 071891fb..ec7594cc 100644 --- a/public/templates/mpos/account/transactions/default.tpl +++ b/public/templates/mpos/account/transactions/default.tpl @@ -23,7 +23,7 @@

    Transaction Filter

    - + @@ -31,13 +31,13 @@ @@ -98,7 +98,7 @@ {else} {/if} - + {/section} diff --git a/public/templates/mpos/account/workers/default.tpl b/public/templates/mpos/account/workers/default.tpl index defb20cc..31df5fa0 100644 --- a/public/templates/mpos/account/workers/default.tpl +++ b/public/templates/mpos/account/workers/default.tpl @@ -1,6 +1,6 @@

    Add New Worker

    - + @@ -25,7 +25,7 @@

    Worker Configuration

    - + @@ -61,7 +61,7 @@ {/if}
    - + {/section} {/nocache} diff --git a/public/templates/mpos/admin/news/default.tpl b/public/templates/mpos/admin/news/default.tpl index 4130e2ba..2d54a994 100644 --- a/public/templates/mpos/admin/news/default.tpl +++ b/public/templates/mpos/admin/news/default.tpl @@ -6,7 +6,7 @@

    News Posts

    • News posts support the Markdown syntax
    - + @@ -34,8 +34,8 @@
    {$NEWS[news].content nofilter}
    diff --git a/public/templates/mpos/admin/news_edit/default.tpl b/public/templates/mpos/admin/news_edit/default.tpl index 6684dff1..26c24acd 100644 --- a/public/templates/mpos/admin/news_edit/default.tpl +++ b/public/templates/mpos/admin/news_edit/default.tpl @@ -5,7 +5,7 @@

    Edit news entry #{$NEWS.id}

    - + diff --git a/public/templates/mpos/admin/poolworkers/default.tpl b/public/templates/mpos/admin/poolworkers/default.tpl index 3af8fece..8423860a 100644 --- a/public/templates/mpos/admin/poolworkers/default.tpl +++ b/public/templates/mpos/admin/poolworkers/default.tpl @@ -1,6 +1,6 @@

    {$GLOBAL.workers} Current Active Pool Workers

    - +
    {if $smarty.request.start|default:"0" > 0} - + {else} {/if} - +
    {$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}{if $TRANSACTIONS[transaction].height == 0}n/a{else}{$TRANSACTIONS[transaction].height}{/if}{if $TRANSACTIONS[transaction].height == 0}n/a{else}{$TRANSACTIONS[transaction].height}{/if} {$TRANSACTIONS[transaction].amount|number_format:"8"}
    {$WORKERS[worker].hashrate|number_format} {$WORKERS[worker].difficulty|number_format:"2"}
    @@ -8,13 +8,13 @@ diff --git a/public/templates/mpos/admin/reports/earnings_control.tpl b/public/templates/mpos/admin/reports/earnings_control.tpl index e83269e3..78598dda 100644 --- a/public/templates/mpos/admin/reports/earnings_control.tpl +++ b/public/templates/mpos/admin/reports/earnings_control.tpl @@ -1,4 +1,4 @@ - +
    @@ -6,10 +6,10 @@
    {if $smarty.request.start|default:"0" > 0} - + {else} {/if} - +
    diff --git a/public/templates/mpos/admin/reports/earnings_report.tpl b/public/templates/mpos/admin/reports/earnings_report.tpl index 96f9c75f..01eb14ec 100644 --- a/public/templates/mpos/admin/reports/earnings_report.tpl +++ b/public/templates/mpos/admin/reports/earnings_report.tpl @@ -49,7 +49,7 @@ {assign var="usertotalshares" value=$usertotalshares+$REPORTDATA[txs].shares} {/if} - + diff --git a/public/templates/mpos/admin/templates/default.tpl b/public/templates/mpos/admin/templates/default.tpl index 68e11be8..4c753e2c 100644 --- a/public/templates/mpos/admin/templates/default.tpl +++ b/public/templates/mpos/admin/templates/default.tpl @@ -43,7 +43,7 @@

    Edit template '{$CURRENT_TEMPLATE}'

    - + diff --git a/public/templates/mpos/admin/templates/tree.tpl b/public/templates/mpos/admin/templates/tree.tpl index e4218c69..974d146d 100644 --- a/public/templates/mpos/admin/templates/tree.tpl +++ b/public/templates/mpos/admin/templates/tree.tpl @@ -18,7 +18,7 @@ {/if} {assign var="classes" value=join(" ", $classes)} - {$file} + {$file} {/if} {/foreach} diff --git a/public/templates/mpos/admin/transactions/default.tpl b/public/templates/mpos/admin/transactions/default.tpl index 09994f62..d9ca12cf 100644 --- a/public/templates/mpos/admin/transactions/default.tpl +++ b/public/templates/mpos/admin/transactions/default.tpl @@ -23,7 +23,7 @@

    Transaction Filter

    - +
    - + - +
    {$REPORTDATA[txs].height|default:"0"}{$REPORTDATA[txs].height|default:"0"} {$REPORTDATA[txs].shares|default:"0"} {$REPORTDATA[txs]['user'].valid|number_format|default:"0"} {$REPORTDATA[txs]['user'].invalid|number_format|default:"0"}
    @@ -31,13 +31,13 @@
    {if $smarty.request.start|default:"0" > 0} - + {else} {/if} - +
    @@ -107,7 +107,7 @@ {else} {$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true} {/if} - {if $TRANSACTIONS[transaction].height == 0}n/a{else}{/if}{$TRANSACTIONS[transaction].height} + {if $TRANSACTIONS[transaction].height == 0}n/a{else}{/if}{$TRANSACTIONS[transaction].height} {$TRANSACTIONS[transaction].amount|number_format:"8"} {/section} diff --git a/public/templates/mpos/admin/user/default.tpl b/public/templates/mpos/admin/user/default.tpl index 522fd447..71db1764 100644 --- a/public/templates/mpos/admin/user/default.tpl +++ b/public/templates/mpos/admin/user/default.tpl @@ -2,21 +2,21 @@ function storeFee(id) { $.ajax({ type: "POST", - url: "{$smarty.server.PHP_SELF}", + url: "{$smarty.server.SCRIPT_NAME}", data: "page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=fee&account_id=" + id, }); } function storeLock(id) { $.ajax({ type: "POST", - url: "{$smarty.server.PHP_SELF}", + url: "{$smarty.server.SCRIPT_NAME}", data: "page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=lock&account_id=" + id, }); } function storeAdmin(id) { $.ajax({ type: "POST", - url: "{$smarty.server.PHP_SELF}", + url: "{$smarty.server.SCRIPT_NAME}", data: "page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=admin&account_id=" + id, }); } @@ -25,7 +25,7 @@

    User Search

    - + @@ -34,13 +34,13 @@ {if $smarty.request.start|default:"0" > 0} - + {else} {/if} - + diff --git a/public/templates/mpos/contactform/default.tpl b/public/templates/mpos/contactform/default.tpl index a3450d58..a086e69b 100644 --- a/public/templates/mpos/contactform/default.tpl +++ b/public/templates/mpos/contactform/default.tpl @@ -1,4 +1,4 @@ - +
    diff --git a/public/templates/mpos/dashboard/account_data.tpl b/public/templates/mpos/dashboard/account_data.tpl index 025951ba..06448bcb 100644 --- a/public/templates/mpos/dashboard/account_data.tpl +++ b/public/templates/mpos/dashboard/account_data.tpl @@ -13,7 +13,7 @@ {if $GLOBAL.userdata.donate_percent > 0} you donate {$GLOBAL.userdata.donate_percent|escape}%. {else} - you are not donating. + you are not donating. {/if} diff --git a/public/templates/mpos/dashboard/js_api.tpl b/public/templates/mpos/dashboard/js_api.tpl index 56897e58..38b61fa7 100644 --- a/public/templates/mpos/dashboard/js_api.tpl +++ b/public/templates/mpos/dashboard/js_api.tpl @@ -17,9 +17,9 @@ $(document).ready(function(){ var g1, g2, g3, g4, g5; // Ajax API URL - var url_dashboard = "{/literal}{$smarty.server.PHP_SELF}?page=api&action=getdashboarddata&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; - var url_worker = "{/literal}{$smarty.server.PHP_SELF}?page=api&action=getuserworkers&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; - var url_balance = "{/literal}{$smarty.server.PHP_SELF}?page=api&action=getuserbalance&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; + var url_dashboard = "{/literal}{$smarty.server.SCRIPT_NAME}?page=api&action=getdashboarddata&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; + var url_worker = "{/literal}{$smarty.server.SCRIPT_NAME}?page=api&action=getuserworkers&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; + var url_balance = "{/literal}{$smarty.server.SCRIPT_NAME}?page=api&action=getuserbalance&api_key={$GLOBAL.userdata.api_key}&id={$GLOBAL.userdata.id}{literal}"; // Enable all included plugins // $.jqplot.config.enablePlugins = true; diff --git a/public/templates/mpos/gettingstarted/default.tpl b/public/templates/mpos/gettingstarted/default.tpl index 59db6819..2952345b 100644 --- a/public/templates/mpos/gettingstarted/default.tpl +++ b/public/templates/mpos/gettingstarted/default.tpl @@ -3,8 +3,8 @@
  • 1. Create account.
      -
    • Register here, or login if you already have account
    • -
    • Create a worker that will be used by the miner to login
    • +
    • Register here, or login if you already have account
    • +
    • Create a worker that will be used by the miner to login
  • 2. Download a miner. @@ -26,7 +26,7 @@

    If you use a command-line miner, type:

    ./cgminer {if $GLOBAL.config.algorithm == 'scrypt'}--scrypt {/if} -o stratum+tcp://{$SITESTRATUMURL|default:$smarty.server.SERVER_NAME}:{$SITESTRATUMPORT|default:"3333"} -u Weblogin.Worker -p Worker password
    -

    If you want, you can create additional workers with usernames and passwords of your choice Here

    +

    If you want, you can create additional workers with usernames and passwords of your choice Here

  • 4. Create a {$SITECOINNAME|default:"Litecoin"} address to recieve payments.
      diff --git a/public/templates/mpos/global/breadcrumbs.tpl b/public/templates/mpos/global/breadcrumbs.tpl index d1ec3327..315e912b 100644 --- a/public/templates/mpos/global/breadcrumbs.tpl +++ b/public/templates/mpos/global/breadcrumbs.tpl @@ -1,3 +1,3 @@ diff --git a/public/templates/mpos/global/navigation.tpl b/public/templates/mpos/global/navigation.tpl index 3f10dbdf..7be8abc1 100644 --- a/public/templates/mpos/global/navigation.tpl +++ b/public/templates/mpos/global/navigation.tpl @@ -1,89 +1,89 @@
      -
    • Home
    • +
    • Home
    • {if $smarty.session.AUTHENTICATED|default:"0" == 1}

      My Account

      {/if} {if $smarty.session.AUTHENTICATED|default:"0" == 1 && $GLOBAL.userdata.is_admin == 1}

      Admin Panel

      {/if} {if $smarty.session.AUTHENTICATED|default}

      Statistics

      {else}

      Statistics

        {if $GLOBAL.acl.pool.statistics} -
      • Pool
      • +
      • Pool
      • {else} -
      • Statistics +
      • Statistics {/if} {if $GLOBAL.acl.block.statistics} -
      • Blocks
      • +
      • Blocks
      • {/if} {if $GLOBAL.acl.round.statistics} -
      • Round
      • +
      • Round
      • {/if} {if $GLOBAL.acl.blockfinder.statistics} - + {/if} {if $GLOBAL.acl.uptime.statistics} - {if $GLOBAL.config.monitoring_uptimerobot_api_keys|default:"0"}
      • Uptime
      • {/if} + {if $GLOBAL.config.monitoring_uptimerobot_api_keys|default:"0"}
      • Uptime
      • {/if} {/if}
      {/if}

      Help

      Other

        diff --git a/public/templates/mpos/global/navjs_api.tpl b/public/templates/mpos/global/navjs_api.tpl index 391e9c20..d998e926 100644 --- a/public/templates/mpos/global/navjs_api.tpl +++ b/public/templates/mpos/global/navjs_api.tpl @@ -4,7 +4,7 @@ $(document).ready(function(){ var g1, g2; // Ajax API URL - var url = "{/literal}{$smarty.server.PHP_SELF}?page=api&action=getnavbardata{literal}"; + var url = "{/literal}{$smarty.server.SCRIPT_NAME}?page=api&action=getnavbardata{literal}"; g1 = new JustGage({ id: "mr", diff --git a/public/templates/mpos/login/default.tpl b/public/templates/mpos/login/default.tpl index 3b06df09..031b9ca0 100644 --- a/public/templates/mpos/login/default.tpl +++ b/public/templates/mpos/login/default.tpl @@ -1,6 +1,6 @@
        - - + +

        Login with existing account

        @@ -15,7 +15,7 @@
        diff --git a/public/templates/mpos/login/small.tpl b/public/templates/mpos/login/small.tpl index 7e660a93..e02921de 100644 --- a/public/templates/mpos/login/small.tpl +++ b/public/templates/mpos/login/small.tpl @@ -1,8 +1,8 @@ {if $smarty.session.AUTHENTICATED|default:"0" == 0}
  • -{if !$GLOBAL.website.api.disabled}
    • These stats are also available in JSON format HERE
    {/if} +{if !$GLOBAL.website.api.disabled}
    • These stats are also available in JSON format HERE
    {/if}
    diff --git a/public/templates/mpos/statistics/round/block_stats.tpl b/public/templates/mpos/statistics/round/block_stats.tpl index b0f84475..b3a00db8 100644 --- a/public/templates/mpos/statistics/round/block_stats.tpl +++ b/public/templates/mpos/statistics/round/block_stats.tpl @@ -4,10 +4,10 @@ - + - + @@ -43,7 +43,7 @@