Merge pull request #316 from TheSerapher/issue-310
Adding configurable website title
This commit is contained in:
commit
6cc2a95d9e
@ -96,6 +96,7 @@ $config['ap_threshold']['max'] = 250;
|
||||
* Website specific configuration settings
|
||||
*
|
||||
* Explanation:
|
||||
* title : Website title used in master template
|
||||
* name : The pool name, displayed in the header and mails
|
||||
* slogan : A special slogan, also displayed in the header below name
|
||||
* email : `From` addresses used in notifications
|
||||
@ -104,6 +105,7 @@ $config['ap_threshold']['max'] = 250;
|
||||
* mobile_theme : Theme used for mobile browsers
|
||||
*
|
||||
* Defaults:
|
||||
* title = `The Pool - Mining Evolved`
|
||||
* name = `The Pool`
|
||||
* slogan = `Resistance is futile`
|
||||
* email = `test@example.com`
|
||||
@ -111,6 +113,7 @@ $config['ap_threshold']['max'] = 250;
|
||||
* mobile = true
|
||||
* mobile_theme = `mobile`
|
||||
**/
|
||||
$config['website']['title'] = 'The Pool - Mining Evolved';
|
||||
$config['website']['name'] = 'The Pool';
|
||||
$config['website']['slogan'] = 'Resistance is futile';
|
||||
$config['website']['email'] = 'test@example.com';
|
||||
|
||||
@ -42,6 +42,7 @@ $aGlobal = array(
|
||||
'blockexplorer' => $config['blockexplorer'],
|
||||
'chaininfo' => $config['chaininfo'],
|
||||
'config' => array(
|
||||
'website' => array( 'title' => $config['website']['title'] ),
|
||||
'price' => array( 'currency' => $config['price']['currency'] ),
|
||||
'targetdiff' => $config['difficulty'],
|
||||
'currency' => $config['currency'],
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE unspecified PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>ThePool</title>
|
||||
<title>{$GLOBAL.config.website.title}</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="favicon.ico" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user