global change view world
[project/views.git] / theme / views-ui-edit-tab.tpl.php
CommitLineData
b7d23d7c
EM
1<?php
2// $Id$
3/**
4 * @file views-ui-edit-tab.tpl.php
5 * Template for the primary view editing window.
6 */
7?>
b57c309a 8<div class="clear-block views-display views-display-<?php print $display->id; if (!empty($display->deleted)) { print ' views-display-deleted'; }; ?>">
b7d23d7c 9 <?php // top section ?>
f35dd42d
EM
10 <?php if ($remove): ?>
11 <div class="remove-display"><?php print $remove ?></div>
12 <?php endif; ?>
b7d23d7c
EM
13 <div class="top">
14 <div class="inside">
d9988538 15 <?php print $display_help_icon; ?>
b7d23d7c
EM
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>
24
25 <?php // left section ?>
26 <div class="left tab-section">
27 <div class="inside">
725bd2c9
EM
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>
5e05273a
EM
32 <div class="views-category-content">
33 <div class="<?php $details_class; if (!empty($details_changed)) { print ' changed'; }?>">
34 <?php print $details ?>
35 </div>
725bd2c9
EM
36 </div>
37 </div>
38 <?php endif; ?>
b7d23d7c 39
725bd2c9
EM
40 <?php foreach ($categories as $category_id => $category): ?>
41 <div class="views-category">
5e05273a
EM
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): ?>
9c3a0a80
EM
47 <div class="<?php
48 print $data['class'];
49 if (!empty($data['overridden'])) {
50 print ' overridden';
51 }
52 if (!empty($data['defaulted'])) {
53 print ' defaulted';
54 }
55 if (!empty($data['changed'])) {
56 print ' changed';
57 }?>">
5e05273a
EM
58 <?php print $data['links'] . $data['content'] ?>
59 </div>
60 <?php endforeach; ?>
725bd2c9 61 </div>
725bd2c9
EM
62 </div>
63 <?php endforeach; ?>
64 </div>
b7d23d7c
EM
65 </div>
66
67 <?php // middle section ?>
68 <div class="middle tab-section">
69 <div class="inside">
725bd2c9 70 <div class="views-category">
b7d23d7c 71 <?php print $relationships; ?>
8f634d49
EM
72 </div>
73 <div class="views-category">
b7d23d7c 74 <?php print $arguments; ?>
8f634d49
EM
75 </div>
76 <?php if (!empty($fields)): ?>
77 <div class="views-category">
78 <?php print $fields; ?>
79 </div>
80 <?php endif; ?>
b7d23d7c
EM
81 </div>
82 </div>
83
84 <?php // right section ?>
85 <div class="right tab-section">
86 <div class="inside">
8f634d49 87 <div class="views-category">
b7d23d7c 88 <?php print $sorts; ?>
8f634d49
EM
89 </div>
90 <div class="views-category">
b7d23d7c 91 <?php print $filters; ?>
8f634d49 92 </div>
b7d23d7c
EM
93 </div>
94 </div>
95
96</div>