first commit
[step2_drupal.git] / views / theme / views-ui-edit-tab.tpl.php
blobce1384986173514a8684a9a815a6262865c4be8d
1 <?php
2 // $Id: views-ui-edit-tab.tpl.php,v 1.11 2008/08/08 16:57:44 merlinofchaos Exp $
3 /**
4 * @file views-ui-edit-tab.tpl.php
5 * Template for the primary view editing window.
6 */
7 ?>
8 <div class="clear-block views-display views-display-<?php print $display->id; if (!empty($display->deleted)) { print ' views-display-deleted'; }; ?>">
9 <?php // top section ?>
10 <?php if ($remove): ?>
11 <div class="remove-display"><?php print $remove ?></div>
12 <?php endif; ?>
13 <div class="top">
14 <div class="inside">
15 <?php print $display_help_icon; ?>
16 <span class="display-title">
17 <?php print $title; ?>
18 </span>
19 <span class="display-description">
20 <?php print $description; ?>
21 </span>
22 </div>
23 </div>
25 <?php // left section ?>
26 <div class="left tab-section">
27 <div class="inside">
28 <?php // If this is the default display, add some basic stuff here. ?>
29 <?php if ($default): ?>
30 <div class="views-category">
31 <div class="views-category-title"><?php print t('View settings'); ?></div>
32 <div class="views-category-content">
33 <div class="<?php $details_class; if (!empty($details_changed)) { print ' changed'; }?>">
34 <?php print $details ?>
35 </div>
36 </div>
37 </div>
38 <?php endif; ?>
40 <?php foreach ($categories as $category_id => $category): ?>
41 <div class="views-category">
42 <div class="views-category-title views-category-<?php print $category_id; ?>">
43 <?php print $category['title']; ?>
44 </div>
45 <div class="views-category-content">
46 <?php foreach ($category['data'] as $data): ?>
47 <div class="<?php
48 print $data['class'];
49 if (!empty($data['overridden'])) {
50 print ' overridden';
52 if (!empty($data['defaulted'])) {
53 print ' defaulted';
55 if (!empty($data['changed'])) {
56 print ' changed';
57 }?>">
58 <?php print $data['links'] . $data['content'] ?>
59 </div>
60 <?php endforeach; ?>
61 </div>
62 </div>
63 <?php endforeach; ?>
64 </div>
65 </div>
67 <?php // middle section ?>
68 <div class="middle tab-section">
69 <div class="inside">
70 <div class="views-category">
71 <?php print $relationships; ?>
72 </div>
73 <div class="views-category">
74 <?php print $arguments; ?>
75 </div>
76 <?php if (!empty($fields)): ?>
77 <div class="views-category">
78 <?php print $fields; ?>
79 </div>
80 <?php endif; ?>
81 </div>
82 </div>
84 <?php // right section ?>
85 <div class="right tab-section">
86 <div class="inside">
87 <div class="views-category">
88 <?php print $sorts; ?>
89 </div>
90 <div class="views-category">
91 <?php print $filters; ?>
92 </div>
93 </div>
94 </div>
96 </div>