views-ui-edit-tab.tpl.php 2.23 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php
// $Id$
/**
 * @file views-ui-edit-tab.tpl.php
 * Template for the primary view editing window.
 */
?>
<div class="views-display views-display-<?php print $display->id; if (!empty($display->deleted)) { print ' views-display-deleted'; }; ?>">
  <?php // top section ?>
  <div class="top">
    <div class="inside">
      <?php print $remove ?>
      <span class="display-title">
        <?php print $title; ?>
      </span>
      <span class="display-description">
        <?php print $description; ?>
      </span>
    </div>
  </div>

  <?php // left section ?>
  <div class="left tab-section">
    <div class="inside">
25 26 27 28 29 30 31 32 33
      <?php // If this is the default display, add some basic stuff here. ?>
      <?php if ($default): ?>
        <div class="views-category">
          <div class="views-category-title"><?php print t('View settings'); ?></div>
          <div class="<?php $details_class; ?>">
            <?php print $details ?>
          </div>
        </div>
      <?php endif; ?>
34

35 36 37 38 39 40 41 42 43 44 45 46 47
      <?php foreach ($categories as $category_id => $category): ?>
        <div class="views-category">
        <div class="views-category-title views-category-<?php print $category_id; ?>">
          <?php print $category['title']; ?>
        </div>
        <?php foreach ($category['data'] as $data): ?>
          <div class="<?php print $data['class']; if (!empty($data['overridden'])) { print ' overridden'; }?>">
            <?php print $data['links'] . $data['content'] ?>
          </div>
        <?php endforeach; ?>
        </div>
      <?php endforeach; ?>
    </div>
48 49 50 51 52
  </div>

  <?php // middle section ?>
  <div class="middle tab-section">
    <div class="inside">
53
      <div class="views-category">
54
        <?php print $relationships; ?>
55 56
      </div>
      <div class="views-category">
57
        <?php print $arguments; ?>
58 59 60 61 62 63
      </div>
      <?php if (!empty($fields)): ?>
        <div class="views-category">
          <?php print $fields; ?>
        </div>
      <?php endif; ?>
64 65 66 67 68 69
    </div>
  </div>

  <?php // right section ?>
  <div class="right tab-section">
    <div class="inside">
70
      <div class="views-category">
71
        <?php print $sorts; ?>
72 73
      </div>
      <div class="views-category">
74
        <?php print $filters; ?>
75
      </div>
76 77 78 79
    </div>
  </div>

</div>