diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-26 22:58:39 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-26 22:58:39 +1100 |
| commit | cbd9fa8f17caf1380130ef52823f9d9089fbe13d (patch) | |
| tree | f2b08f220f89a746418e8834b97b34dc092c1722 | |
| parent | 8ee00d344a40ffef0c46989ebf6e238fd9499604 (diff) | |
Option to add custom favicon
| -rw-r--r-- | inc/config.php | 1 | ||||
| -rw-r--r-- | templates/index.html | 1 | ||||
| -rw-r--r-- | templates/page.html | 1 | ||||
| -rw-r--r-- | templates/thread.html | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index e6e81da3..b99df814 100644 --- a/inc/config.php +++ b/inc/config.php @@ -449,4 +449,5 @@ // $config['url_stylesheet'] = 'http://static.example.org/style.css'; // $config['url_javascript'] = 'http://static.example.org/script.js'; // $config['url_banner'] = '/banner.php'; + // $config['url_favicon'] = '/favicon.gif'; ?>
\ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 30cb3259..1e7f7a25 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,6 +2,7 @@ <html>
<head>
<link rel="stylesheet" media="screen" href="{config[url_stylesheet]}"/>
+ {config[url_favicon]?<link rel="shortcut icon" href="{config[url_favicon]}" />}
<title>{board[url]} - {board[name]}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
diff --git a/templates/page.html b/templates/page.html index f83f0191..6f4e288a 100644 --- a/templates/page.html +++ b/templates/page.html @@ -2,6 +2,7 @@ <html>
<head>
<link rel="stylesheet" media="screen" href="{config[url_stylesheet]}"/>
+ {config[url_favicon]?<link rel="shortcut icon" href="{config[url_favicon]}" />}
<title>{title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
diff --git a/templates/thread.html b/templates/thread.html index e8df7647..4df828c6 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -2,6 +2,7 @@ <html>
<head>
<link rel="stylesheet" media="screen" href="{config[url_stylesheet]}"/>
+ {config[url_favicon]?<link rel="shortcut icon" href="{config[url_favicon]}" />}
<title>{board[url]} - {board[name]}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
