Merge pull request #362 from TheSerapher/issue-336

Remove link on mobile if chaininfo empty
This commit is contained in:
Sebastian Grewe 2013-07-04 01:40:39 -07:00
commit 4a8cc8f884
2 changed files with 3 additions and 0 deletions

View File

@ -164,6 +164,7 @@ $config['archive_shares'] = true;
$config['blockexplorer'] = 'http://explorer.litecoin.net/search?q=';
// Link to blockchain information, used for difficulty link, default: `http://allchains.info`
// If empty, the difficulty link to the chain information will be removed
$config['chaininfo'] = 'http://allchains.info';
// Pool fees applied to users in percent, default: 0 (disabled)

View File

@ -32,10 +32,12 @@
<td class="leftheader">Last Block Found</td>
<td><a href="{$GLOBAL.blockexplorer}{$LASTBLOCK}" target="_new">{$LASTBLOCK|default:"0"}</a></td>
</tr>
{if $GLOBAL.chaininfo}
<tr>
<td class="leftheader">Current Difficulty</td>
<td><a href="{$GLOBAL.chaininfo}" target="_new"><font size="2">{$DIFFICULTY}</font></a></td>
</tr>
{/if}
<tr>
<td class="leftheader">Est. Avg. Time per Round</td>
<td>{$ESTTIME|seconds_to_words}</td>