<?php

$cmfInstalled = $sf_sympal_context->getSympalConfiguration()->pluginExists('sfSympalCMFPlugin');
$menu = $cmfInstalled ? get_sympal_menu('primary') : false;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <?php 
include_http_metas();
?>
  <?php 
include_metas();
?>
  <?php 
include_title();
?>
  <?php 
sympal_minify();
?>
  <?php 
include_stylesheets();
?>
  <?php 
include_javascripts();
?>
</head>
<body>
<div id="all">
	<div id="content">
Beispiel #2
0
  <!-- footer -->
  <div id="footer">
  <p>
    <?php 
echo __('Brought to you by');
?>
 <?php 
echo link_to(image_tag('/sfSympalPlugin/images/sensio_labs_button.gif'), 'http://www.sensiolabs.com', 'target=_BLANK');
?>
.<br/>
    <?php 
echo __('Powered by');
?>
 <?php 
echo link_to(image_tag('/sfSympalPlugin/images/symfony_button.gif'), 'http://www.symfony-project.org', 'target=_BLANK');
?>
 
    <?php 
echo __('and');
?>
 <?php 
echo link_to(image_tag('/sfSympalPlugin/images/doctrine_button.gif'), 'http://www.doctrine-project.org', 'target=_BLANK');
?>
  </p>
  <?php 
echo get_sympal_menu('footer');
?>
  </div>
  <!-- end footer -->
</body>
</html>
Beispiel #3
0
?>
</h1>
  	  <h2><?php 
echo $sf_sympal_site->getDescription();
?>
</h2>
  	</div>
  	<div id="content">
      <div id="left">
        <?php 
echo $sf_content;
?>
      </div>

  	  <?php 
$menu = get_sympal_menu('primary');
?>
    	<div id="sidebar">
        <?php 
if (has_slot('sympal_right_sidebar')) {
    ?>
          <?php 
    echo get_slot('sympal_right_sidebar');
    ?>
        <?php 
}
?>

        <h2><?php 
echo __('Navigation');
?>
Beispiel #4
0
<h2><?php 
echo __('Sitemap');
?>
</h2>

<?php 
foreach ($roots as $root) {
    ?>
  <h3><?php 
    echo ucfirst($root['name']);
    ?>
 <?php 
    echo __('Menu');
    ?>
</h3>
  <?php 
    $menu = get_sympal_menu($root['name'], true);
    echo $menu;
}