From ec772fb8ea67e345ca0afa0b2baec5b0dc06db1e Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 29 Sep 2011 22:23:03 +1000 Subject: [PATCH] Fixed banner dimensions --- inc/config.php | 8 +++++++- templates/index.html | 2 +- templates/thread.html | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/inc/config.php b/inc/config.php index 8ea70067..5ebf10c9 100644 --- a/inc/config.php +++ b/inc/config.php @@ -726,9 +726,15 @@ // This can be good for load balancing across multiple servers or hostnames. // $config['url_stylesheet'] = 'http://static.example.org/style.css'; // main/base stylesheet // $config['url_javascript'] = 'http://static.example.org/main.js'; - // $config['url_banner'] = '/banner.php'; // $config['url_favicon'] = '/favicon.gif'; + // Optional banner at the top of every page. + // $config['url_banner'] = '/banner.php'; + // Banner dimensions are also optional. As the banner loads after the rest of the page, everything + // may be shifted down a few pixels when it does. Making the banner a fixed size will prevent this. + // $config['banner_width'] = 300; + // $config['banner_height'] = 100; + // Meta keywords. It's probably best to include these in per-board configurations. //$config['meta_keywords'] = 'chan,anonymous discussion,imageboard,tinyboard'; diff --git a/templates/index.html b/templates/index.html index 1f917945..cd3454b0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,7 +29,7 @@ {boardlist[top]} {pm?
{pm}

} - {config[url_banner]?} + {config[url_banner]?}

{board[url]} - {board[name]}

{board[title]?{board[title]}}

{mod?Return to dashboard}

diff --git a/templates/thread.html b/templates/thread.html index 4dbe7de3..fa87c965 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -28,7 +28,7 @@ {boardlist[top]} {pm?
{pm}

} - {config[url_banner]?} + {config[url_banner]?}

{board[url]} - {board[name]}

{board[title]?{board[title]}}

{mod?Return to dashboard}