diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-14 00:46:22 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-14 00:46:22 +1000 |
| commit | 9e0d3ad5f99d2916336cb7c3a6349ebe66dd76b8 (patch) | |
| tree | b73c2239be42dafceb35fb1b536c4041c6c5eb5e | |
| parent | d17e756881e009031519ae7e62361cefe0442daf (diff) | |
frameset theme update
| -rw-r--r-- | templates/homepage/frameset/theme.php | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/templates/homepage/frameset/theme.php b/templates/homepage/frameset/theme.php index 5942f3c2..329ec2c6 100644 --- a/templates/homepage/frameset/theme.php +++ b/templates/homepage/frameset/theme.php @@ -112,12 +112,24 @@ Users never have to leave the homepage; they can do all their browsing from the $body = '<!DOCTYPE html><html>' . '<head>' + . '<link rel="stylesheet" media="screen" href="' . $config['url_stylesheet'] . '"/>' . '<style type="text/css">' - . '' + . 'fieldset{margin:10px 0}' + . 'legend{width:100%;margin-left:-15px;background:#98E;border:1px solid white;color:white;font-weight:bold;padding:5px 5px}' + . 'ul{margin:0;padding:0}' + . 'li{list-style:none;padding:0 4px;margin: 0 4px}' + . 'li a.system{font-weight:bold}' . '</style>' . '<base target="main" />' . '<title>' . $settings['title'] . '</title>' - . '</head><body><h2>Boards</h2><ul>'; + . '</head><body>'; + + $body .= '<fieldset><legend>' . $settings['title'] . '</legend><ul>' . + '<li><a class="system" href="news.html">[News]</a></li>' . + '</ul></fieldset>'; + + + $body .= '<fieldset><legend>Boards</legend><ul>'; $boards = listBoards(); foreach($boards as &$_board) { @@ -127,9 +139,10 @@ Users never have to leave the homepage; they can do all their browsing from the '">' . $board['name'] . '</a></li>'; } - $body .= '</ul>' + $body .= '</ul></fieldset>'; + // Finish page - . '</body></html>'; + $body .= '</body></html>'; return $body; } |
