| 1 |
<?php |
<?php |
| 2 |
// $Id: page.tpl.php,v 1.15 2009/04/28 16:30:38 jrglasgow Exp $; |
// $Id: page.tpl.php,v 1.16 2009/05/12 15:36:12 jrglasgow Exp $; |
| 3 |
?> |
?> |
| 4 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 5 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>"> |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language->language; ?>"> |
| 6 |
<head> |
<head> |
| 7 |
<title><?php print $head_title ?></title> |
<title><?php print $head_title ?></title> |
| 8 |
<?php print $head ?> |
<?php print $head ?> |
| 23 |
<?php if (theme_get_setting('simply_modern_width')) { ?> |
<?php if (theme_get_setting('simply_modern_width')) { ?> |
| 24 |
<style type="text/css"> |
<style type="text/css"> |
| 25 |
#page, #squeeze-top { |
#page, #squeeze-top { |
| 26 |
width : <?php print (theme_get_setting('simply_modern_fixedwidth') + 22) ?>px; |
width : <?php print (theme_get_setting('simply_modern_fixedwidth') + 22); ?>px; |
| 27 |
} |
} |
| 28 |
#top-center { |
#top-center { |
| 29 |
width : <?php print theme_get_setting('simply_modern_fixedwidth') ?>px; |
width : <?php print theme_get_setting('simply_modern_fixedwidth'); ?>px; |
| 30 |
} |
} |
| 31 |
#top-container { |
#top-container { |
| 32 |
padding:0; |
padding:0; |
| 47 |
<?php if ($left_sidebar_width = theme_get_setting('simply_modern_leftsidebarwidth')) { ?> |
<?php if ($left_sidebar_width = theme_get_setting('simply_modern_leftsidebarwidth')) { ?> |
| 48 |
<style type="text/css"> |
<style type="text/css"> |
| 49 |
body.sidebar-left #main { |
body.sidebar-left #main { |
| 50 |
margin-left: -<?php print $left_sidebar_width ?>px; |
margin-left: -<?php print $left_sidebar_width; ?>px; |
| 51 |
} |
} |
| 52 |
body.sidebars #main { |
body.sidebars #main { |
| 53 |
margin-left: -<?php print $left_sidebar_width ?>px; |
margin-left: -<?php print $left_sidebar_width; ?>px; |
| 54 |
} |
} |
| 55 |
body.sidebar-left #squeeze { |
body.sidebar-left #squeeze { |
| 56 |
margin-left: <?php print $left_sidebar_width ?>px; |
margin-left: <?php print $left_sidebar_width; ?>px; |
| 57 |
} |
} |
| 58 |
body.sidebars #squeeze { |
body.sidebars #squeeze { |
| 59 |
margin-left: <?php print $left_sidebar_width ?>px; |
margin-left: <?php print $left_sidebar_width; ?>px; |
| 60 |
} |
} |
| 61 |
#sidebar-left { |
#sidebar-left { |
| 62 |
width: <?php print $left_sidebar_width ?>px; |
width: <?php print $left_sidebar_width; ?>px; |
| 63 |
} |
} |
| 64 |
</style> |
</style> |
| 65 |
<?php } ?> |
<?php } ?> |
| 66 |
<?php if ($right_sidebar_width = theme_get_setting('simply_modern_rightsidebarwidth')) { ?> |
<?php if ($right_sidebar_width = theme_get_setting('simply_modern_rightsidebarwidth')) { ?> |
| 67 |
<style type="text/css"> |
<style type="text/css"> |
| 68 |
body.sidebar-right #main { |
body.sidebar-right #main { |
| 69 |
margin-right: -<?php print $right_sidebar_width ?>px; |
margin-right: -<?php print $right_sidebar_width; ?>px; |
| 70 |
} |
} |
| 71 |
body.sidebars #main { |
body.sidebars #main { |
| 72 |
margin-right: -<?php print $right_sidebar_width ?>px; |
margin-right: -<?php print $right_sidebar_width; ?>px; |
| 73 |
} |
} |
| 74 |
body.sidebar-right #squeeze { |
body.sidebar-right #squeeze { |
| 75 |
margin-right: <?php print $right_sidebar_width ?>px; |
margin-right: <?php print $right_sidebar_width; ?>px; |
| 76 |
} |
} |
| 77 |
body.sidebars #squeeze { |
body.sidebars #squeeze { |
| 78 |
margin-right: <?php print $right_sidebar_width ?>px; |
margin-right: <?php print $right_sidebar_width; ?>px; |
| 79 |
} |
} |
| 80 |
#sidebar-right { |
#sidebar-right { |
| 81 |
width: <?php print $right_sidebar_width ?>px; |
width: <?php print $right_sidebar_width; ?>px; |
| 82 |
} |
} |
| 83 |
</style> |
</style> |
| 84 |
<?php } ?> |
<?php } ?> |
| 85 |
<?php if (theme_get_setting('simply_modern_fontfamily')) { ?> |
<?php if (theme_get_setting('simply_modern_fontfamily')) { ?> |
| 86 |
<style type="text/css"> |
<style type="text/css"> |
| 87 |
body { |
body { |
| 88 |
font-family : <?php print theme_get_setting('simply_modern_fontfamily') ?>; |
font-family : <?php print theme_get_setting('simply_modern_fontfamily'); ?>; |
| 89 |
} |
} |
| 90 |
</style> |
</style> |
| 91 |
<?php } ?> |
<?php } ?> |
| 93 |
<?php if (theme_get_setting('simply_modern_customfont')) { ?> |
<?php if (theme_get_setting('simply_modern_customfont')) { ?> |
| 94 |
<style type="text/css"> |
<style type="text/css"> |
| 95 |
body { |
body { |
| 96 |
font-family : <?php print theme_get_setting('simply_modern_customfont') ?>; |
font-family : <?php print theme_get_setting('simply_modern_customfont'); ?>; |
| 97 |
} |
} |
| 98 |
</style> |
</style> |
| 99 |
<?php } ?> |
<?php } ?> |
| 110 |
<?php if (theme_get_setting('simply_modern_usecustomlogosize')) { ?> |
<?php if (theme_get_setting('simply_modern_usecustomlogosize')) { ?> |
| 111 |
<style type="text/css"> |
<style type="text/css"> |
| 112 |
img#logo { |
img#logo { |
| 113 |
width : <?php print theme_get_setting('simply_modern_logowidth') ?>px; |
width : <?php print theme_get_setting('simply_modern_logowidth'); ?>px; |
| 114 |
height: <?php print theme_get_setting('simply_modern_logoheight') ?>px; |
height: <?php print theme_get_setting('simply_modern_logoheight'); ?>px; |
| 115 |
} |
} |
| 116 |
</style> |
</style> |
| 117 |
<?php } ?> |
<?php } ?> |
| 155 |
background-image:none; |
background-image:none; |
| 156 |
<?php } else if (theme_get_setting('default_custom') == 'default') { ?> |
<?php } else if (theme_get_setting('default_custom') == 'default') { ?> |
| 157 |
<?php if (theme_get_setting('mastheadfixedfluid')) {?> |
<?php if (theme_get_setting('mastheadfixedfluid')) {?> |
| 158 |
min-height:<?php print theme_get_setting('mastheadfixedfluid') ?>px; |
min-height:<?php print theme_get_setting('mastheadfixedfluid'); ?>px; |
| 159 |
<?php } ?> |
<?php } ?> |
| 160 |
<?php } ?> |
<?php } ?> |
| 161 |
<?php if (theme_get_setting('masthead_color')) { ?> |
<?php if (theme_get_setting('masthead_color')) { ?> |
| 335 |
</div><!-- /main --> |
</div><!-- /main --> |
| 336 |
<?php if ((theme_get_setting('simply_modern_sidebar_positions') == 'right')) { ?> |
<?php if ((theme_get_setting('simply_modern_sidebar_positions') == 'right')) { ?> |
| 337 |
<?php if ($sidebar_left) {?> |
<?php if ($sidebar_left) {?> |
| 338 |
<div id="sidebar-left"><?php print $sidebar_left ?> </div> |
<div id="sidebar-left"><?php print $sidebar_left; ?> </div> |
| 339 |
<?php } ?> |
<?php } ?> |
| 340 |
<?php } ?> |
<?php } ?> |
| 341 |
<?php if (((theme_get_setting('simply_modern_sidebar_positions') == 'right') || (theme_get_setting('simply_modern_sidebar_positions') == 'split'))) { ?> |
<?php if (((theme_get_setting('simply_modern_sidebar_positions') == 'right') || (theme_get_setting('simply_modern_sidebar_positions') == 'split'))) { ?> |
| 342 |
<?php if ($sidebar_right) { ?> |
<?php if ($sidebar_right) { ?> |
| 343 |
<div id="sidebar-right"><?php print $sidebar_right ?> </div> |
<div id="sidebar-right"><?php print $sidebar_right; ?> </div> |
| 344 |
<?php } ?> |
<?php } ?> |
| 345 |
<?php } ?> |
<?php } ?> |
| 346 |
</div><!-- /middle-container --> |
</div><!-- /middle-container --> |