You are here

page.tpl.php in Drupal for Facebook 5.2

Same filename and directory in other branches
  1. 5 themes/fb_fbml/page.tpl.php
  2. 6.2 themes/fb_fbml/page.tpl.php

File

themes/fb_fbml/page.tpl.php
View source
<?php

print $styles;

/* Styles for FBML pages */
print $fbjs;

/* Javascript for FBML pages */
?>

<div class="page-wrap <?php

print $body_classes;
?>">
<div id="canvas-header" class="header">
<?php

print $breadcrumb;
print $header;
if ($logo || $site_name) {
  print '<h1><a href="' . url('<front>') . '" title="' . $site_name . '">';
  if ($logo) {
    print '<img src="' . check_url($logo) . '" alt="' . $site_name . '" id="logo" />';
  }
  print $site_name . '</a>';
  if (!$site_name) {
    print $title;
  }
  print '</h1>';
}
if ($site_name) {
  ?>
  <h1><?php

  print $title;
  ?></h1>
<?php

}
?>
<div id="end-canvas-header"><!-- IE needs help --></div>
</div>
<?php

print $tabs;
?>
<div id="content-wrap" class="content-wrap">
<div id="content-main" class="content-main">
	<?php

print $messages;
print $content;
if ($content_footer) {
  ?>
<div id="content-footer" class="content-footer">
   <?php

  print $content_footer;
  ?>
</div>
<?php

}
?>
</div>
<?php

if ($sidebar_right) {
  ?>
<div id="sidebar-right" class="sidebar-right">
   <?php

  print $sidebar_right;
  print $admin;
  ?>
</div>
<?php

}
?>
<div class="clear"></div>
</div>
<?php

if ($canvas_footer) {
  ?>
<div id="canvas-footer" class="canvas-footer">
   <?php

  print $canvas_footer;
  ?>
</div>
<?php

}
?>
</div>