<?php $this->beginContent('//layouts/main'); ?>
<?php if($this->menu != null && is_array($this->menu) && count($this->menu)>0) { ?>
  <div class="row">
    <div class="span9">
      <div id="content">
        <?php echo $content; ?>
      </div>
    </div>
    <div class="span3">
      <div id="sidebar">
        <?php $this->printMenu('Operations', $this->menu); ?>
      </div>
    </div>
  </div>
<?php } else { ?>
  <div class="row">
    <div id="content">
      <?php echo $content; ?>
    </div>
  </div>
<?php } ?>
<?php $this->endContent(); ?>
