| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: page.tpl.php,v 1.17.2.1.2.1 2009/08/23 18:46:04 brauerranch Exp $ |
| 3 |
?><?php include('head.php'); ?><!-- head section separated for easier maintenance --> |
?><?php include('head.php'); ?><!-- head section separated for easier maintenance --> |
| 4 |
|
|
| 5 |
<body class="<?php print $body_classes; ?>"> |
<body class="<?php print $body_classes; ?>"> |
| 29 |
<div id="header-group-wrapper" class="header-group-wrapper full-width"> |
<div id="header-group-wrapper" class="header-group-wrapper full-width"> |
| 30 |
<div id="header-group" class="header-group row <?php print $grid_width; ?>"> |
<div id="header-group" class="header-group row <?php print $grid_width; ?>"> |
| 31 |
<div id="header-group-inner" class="header-group-inner inner"> |
<div id="header-group-inner" class="header-group-inner inner"> |
| 32 |
<?php print fusion_core_add_block(theme('links', $secondary_links), 'secondary-menu'); ?> |
<?php print theme('grid_block', theme('links', $secondary_links), 'secondary-menu'); ?> |
| 33 |
|
|
| 34 |
|
|
| 35 |
|
|
| 51 |
</div><!-- /header-site-info --> |
</div><!-- /header-site-info --> |
| 52 |
<?php endif; ?> |
<?php endif; ?> |
| 53 |
|
|
| 54 |
<?php print fusion_core_add_row($header, 'header', 'nested'); ?> |
<?php print theme('grid_row', $header, 'header', 'nested'); ?> |
| 55 |
|
|
| 56 |
<?php print fusion_core_add_block($primary_links_tree, 'primary-menu'); ?> |
<?php print theme('grid_block', $primary_links_tree, 'primary-menu'); ?> |
| 57 |
</div><!-- /header-group-inner --> |
</div><!-- /header-group-inner --> |
| 58 |
</div><!-- /header-group --> |
</div><!-- /header-group --> |
| 59 |
</div><!-- /header-group-wrapper --> |
</div><!-- /header-group-wrapper --> |
| 60 |
<?php endif; ?> |
<?php endif; ?> |
| 61 |
|
|
| 62 |
<!-- preface-top row: width = grid_width --> |
<!-- preface-top row: width = grid_width --> |
| 63 |
<?php print fusion_core_add_row($preface_top, 'preface-top', 'full-width', $grid_width); ?> |
<?php print theme('grid_row', $preface_top, 'preface-top', 'full-width', $grid_width); ?> |
| 64 |
|
|
| 65 |
<!-- main row: width = grid_width --> |
<!-- main row: width = grid_width --> |
| 66 |
<div id="main-wrapper" class="main-wrapper full-width"> |
<div id="main-wrapper" class="main-wrapper full-width"> |
| 67 |
<div id="main" class="main row <?php print $grid_width; ?>"> |
<div id="main" class="main row <?php print $grid_width; ?>"> |
| 68 |
<div id="main-inner" class="main-inner inner"> |
<div id="main-inner" class="main-inner inner"> |
| 69 |
<?php print fusion_core_add_row($sidebar_first, 'sidebar-first', 'nested', $sidebar_first_width); ?> |
<?php print theme('grid_row', $sidebar_first, 'sidebar-first', 'nested', $sidebar_first_width); ?> |
| 70 |
|
|
| 71 |
<!-- main group: width = grid_width - sidebar_first_width --> |
<!-- main group: width = grid_width - sidebar_first_width --> |
| 72 |
<div id="main-group" class="main-group row nested <?php print $main_group_width; ?>"> |
<div id="main-group" class="main-group row nested <?php print $main_group_width; ?>"> |
| 73 |
<div id="main-group-inner" class="main-group-inner inner"> |
<div id="main-group-inner" class="main-group-inner inner"> |
| 74 |
<?php print fusion_core_add_row($preface_bottom, 'preface-bottom', 'nested'); ?> |
<?php print theme('grid_row', $preface_bottom, 'preface-bottom', 'nested'); ?> |
| 75 |
|
|
| 76 |
<div id="main-content" class="main-content row nested"> |
<div id="main-content" class="main-content row nested"> |
| 77 |
<div id="main-content-inner" class="main-content-inner inner"> |
<div id="main-content-inner" class="main-content-inner inner"> |
| 78 |
<!-- content group: width = grid_width - (sidebar_first_width + sidebar_last_width) --> |
<!-- content group: width = grid_width - (sidebar_first_width + sidebar_last_width) --> |
| 79 |
<div id="content-group" class="content-group row nested <?php print $content_group_width; ?>"> |
<div id="content-group" class="content-group row nested <?php print $content_group_width; ?>"> |
| 80 |
<div id="content-group-inner" class="content-group-inner inner"> |
<div id="content-group-inner" class="content-group-inner inner"> |
| 81 |
<?php print fusion_core_add_block($breadcrumb, 'breadcrumb'); ?> |
<?php print theme('grid_block', $breadcrumb, 'breadcrumb'); ?> |
| 82 |
|
|
| 83 |
<?php if ($content_top || $help || $messages): ?> |
<?php if ($content_top || $help || $messages): ?> |
| 84 |
<div id="content-top" class="content-top row nested"> |
<div id="content-top" class="content-top row nested"> |
| 85 |
<div id="content-top-inner" class="content-top-inner inner"> |
<div id="content-top-inner" class="content-top-inner inner"> |
| 86 |
<?php print fusion_core_add_block($help, 'content-help'); ?> |
<?php print theme('grid_block', $help, 'content-help'); ?> |
| 87 |
<?php print fusion_core_add_block($messages, 'content-messages'); ?> |
<?php print theme('grid_block', $messages, 'content-messages'); ?> |
| 88 |
<?php print $content_top; ?> |
<?php print $content_top; ?> |
| 89 |
</div><!-- /content-top-inner --> |
</div><!-- /content-top-inner --> |
| 90 |
</div><!-- /content-top --> |
</div><!-- /content-top --> |
| 93 |
<div id="content-region" class="content-region row nested"> |
<div id="content-region" class="content-region row nested"> |
| 94 |
<div id="content-region-inner" class="content-region-inner inner"> |
<div id="content-region-inner" class="content-region-inner inner"> |
| 95 |
<a name="main-content-area" id="main-content-area"></a> |
<a name="main-content-area" id="main-content-area"></a> |
| 96 |
<?php print fusion_core_add_block($tabs, 'content-tabs'); ?> |
<?php print theme('grid_block', $tabs, 'content-tabs'); ?> |
| 97 |
<div id="content-inner" class="content-inner block"> |
<div id="content-inner" class="content-inner block"> |
| 98 |
<div id="content-inner-inner" class="content-inner-inner inner"> |
<div id="content-inner-inner" class="content-inner-inner inner"> |
| 99 |
<?php if ($title): ?> |
<?php if ($title): ?> |
| 110 |
</div><!-- /content-region-inner --> |
</div><!-- /content-region-inner --> |
| 111 |
</div><!-- /content-region --> |
</div><!-- /content-region --> |
| 112 |
|
|
| 113 |
<?php print fusion_core_add_row($content_bottom, 'content-bottom', 'nested'); ?> |
<?php print theme('grid_row', $content_bottom, 'content-bottom', 'nested'); ?> |
| 114 |
</div><!-- /content-group-inner --> |
</div><!-- /content-group-inner --> |
| 115 |
</div><!-- /content-group --> |
</div><!-- /content-group --> |
| 116 |
|
|
| 117 |
<?php print fusion_core_add_row($sidebar_last, 'sidebar-last', 'nested', $sidebar_last_width); ?> |
<?php print theme('grid_row', $sidebar_last, 'sidebar-last', 'nested', $sidebar_last_width); ?> |
| 118 |
</div><!-- /main-content-inner --> |
</div><!-- /main-content-inner --> |
| 119 |
</div><!-- /main-content --> |
</div><!-- /main-content --> |
| 120 |
|
|
| 121 |
<?php print fusion_core_add_row($postscript_top, 'postscript-top', 'nested'); ?> |
<?php print theme('grid_row', $postscript_top, 'postscript-top', 'nested'); ?> |
| 122 |
</div><!-- /main-group-inner --> |
</div><!-- /main-group-inner --> |
| 123 |
</div><!-- /main-group --> |
</div><!-- /main-group --> |
| 124 |
</div><!-- /main-inner --> |
</div><!-- /main-inner --> |
| 126 |
</div><!-- /main-wrapper --> |
</div><!-- /main-wrapper --> |
| 127 |
|
|
| 128 |
<!-- postscript-bottom row: width = grid_width --> |
<!-- postscript-bottom row: width = grid_width --> |
| 129 |
<?php print fusion_core_add_row($postscript_bottom, 'postscript-bottom', 'full-width', $grid_width); ?> |
<?php print theme('grid_row', $postscript_bottom, 'postscript-bottom', 'full-width', $grid_width); ?> |
| 130 |
|
|
| 131 |
<!-- footer row: width = grid_width --> |
<!-- footer row: width = grid_width --> |
| 132 |
<?php print fusion_core_add_row($footer, 'footer', 'full-width', $grid_width); ?> |
<?php print theme('grid_row', $footer, 'footer', 'full-width', $grid_width); ?> |
| 133 |
|
|
| 134 |
<!-- footer-message row: width = grid_width --> |
<!-- footer-message row: width = grid_width --> |
| 135 |
<div id="footer-message-wrapper" class="footer-message-wrapper full-width"> |
<div id="footer-message-wrapper" class="footer-message-wrapper full-width"> |
| 136 |
<div id="footer-message" class="footer-message row <?php print $grid_width; ?>"> |
<div id="footer-message" class="footer-message row <?php print $grid_width; ?>"> |
| 137 |
<div id="footer-message-inner" class="footer-message-inner inner"> |
<div id="footer-message-inner" class="footer-message-inner inner"> |
| 138 |
<?php print fusion_core_add_block($footer_message, 'footer-message-text'); ?> |
<?php print theme('grid_block', $footer_message, 'footer-message-text'); ?> |
| 139 |
</div><!-- /footer-message-inner --> |
</div><!-- /footer-message-inner --> |
| 140 |
</div><!-- /footer-message --> |
</div><!-- /footer-message --> |
| 141 |
</div><!-- /footer-message-wrapper --> |
</div><!-- /footer-message-wrapper --> |