summary refs log tree commit diff stats
path: root/theme/css/bubbles.css
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-10-03 10:30:17 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-10-03 10:30:17 -0400
commitdc0fb9445e8a3ede8bc33d6779fadd89b7ea6893 (patch)
tree511b0f752889172163f3801cdbe311f0efc55540 /theme/css/bubbles.css
parent0e4089184a44719fbd1284acb047ab7547674412 (diff)
downloadfourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.tar.gz
fourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.tar.bz2
fourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.zip
Created Theme Switcher
Also rewrote the way layouts work. Now, each layout requires a "layout.tpl" file (which contains the header and footer for the layout) and a "style.php"
file (which contains and can include other files that contain the CSS for the layout). Each layout has it's own folder in theme/layouts and you can switch
between them using a combo box in the Hatbar.

Layouts 6.2 and 4.5 have been modified to work with new Layout 7 features such as AJAX, and they should be relatively free of bugs. Layout 3 has not yet
been transferred because since it is pre-The New Four Island, it will be very difficult to do so.

This changeset requires manual external code changes:

* The line below must be added above the functions.php include in The Fourm's funnctions.php
	require('/svr/www/hatkirby/fourisland/main/includes/session.php');
* The block of Four Island code in The Fourm's page_header() function should be replaced with:
	global $fi_pagetitle;
	$fi_pagetitle = $page_title;

	ob_start();
* The block of Four Island code in The Fourm's page_footer() function should be replaced with:
	global $fi_pagetitle;

	$content = ob_get_contents();
	ob_end_clean();

	$noRightbar = 1;
	$onFourm = 1;
	$pageCategory = 'fourm';

	if ($fi_pagetitle == 'Index page')
	{
		$title = 'The Fourm';
	} else if (strpos($fi_pagetitle, 'View topic') !== FALSE)
	{
		$title = str_replace('View topic - ', 'Topic: ', $fi_pagetitle) . ' - The Fourm';
	} else if (strpos($fi_pagetitle, 'View forum') !== FALSE)
	{
		$title = str_replace('View forum - ', 'Fourm: ', $fi_pagetitle) . ' - The Fourm';
	} else if (strpos($fi_pagetitle, 'Viewing profile') !== FALSE)
	{
		$title = str_replace('Viewing profile - ', 'Member: ', $fi_pagetitle) . ' - The Fourm';
	} else {
		$title = $fi_pagetitle . ' - The Fourm';
	}

	if ($_GET['view'] != 'print')
	{
		include('/svr/www/hatkirby/fourisland/main/includes/layout.php');
	} else {
		echo $content;
	}

Closes #117
Diffstat (limited to 'theme/css/bubbles.css')
-rwxr-xr-xtheme/css/bubbles.css8
1 files changed, 5 insertions, 3 deletions
diff --git a/theme/css/bubbles.css b/theme/css/bubbles.css index 2e56fb0..68a3cc4 100755 --- a/theme/css/bubbles.css +++ b/theme/css/bubbles.css
@@ -8,16 +8,18 @@
8 8
9div.module + cite { 9div.module + cite {
10 position: relative; 10 position: relative;
11 top: -1em; 11 top: -0.15em;
12 left: 0.2em;
12 margin: 0; 13 margin: 0;
13 padding: 7px 0px 0px 15px; 14 padding: 15px 0px 0px 15px;
14 background: transparent url(/theme/images/tip.gif) no-repeat 20px 0; 15 background: transparent url(/theme/images/tip.gif) no-repeat 20px 0;
15 font-style: normal; 16 font-style: normal;
16 font-size: small; 17 font-size: small;
17} 18}
18 19
19div.module.unrounded + cite { 20div.module.unrounded + cite {
20 top: -0.9em; 21 top: -0.5em;
22 padding-top: 10px;
21} 23}
22 24
23div.module.bquote + cite { 25div.module.bquote + cite {