Commit | Line | Data |
---|---|---|
7f254ad8 AE |
1 | <?php |
2 | ||
3 | /** | |
4 | * @file | |
5 | * Template for the primary view editing window. | |
6 | */ | |
7 | ?> | |
8 | <div class="views-edit-view"> | |
9 | <?php if ($locked): ?> | |
10 | <div class="view-locked"> | |
11 | <?php print t('This view is being edited by user !user, and is therefore locked from editing by others. This lock is !age old. Click here to <a href="!break">break this lock</a>.', array('!user' => $locked, '!age' => $lock_age, '!break' => $break)); ?> | |
12 | </div> | |
13 | <?php endif; ?> | |
14 | <div class="views-basic-info clearfix<?php if (!empty($view->changed)) { print " changed"; }?>"> | |
15 | <?php if (!is_numeric($view->vid)): ?> | |
16 | <div class="view-changed view-new"><?php print t('New view'); ?></div> | |
17 | <?php else: ?> | |
18 | <div class="view-changed"><?php print t('Changed view'); ?></div> | |
19 | <?php endif; ?> | |
20 | <div class="views-quick-links"> | |
21 | <?php print $quick_links ?> | |
22 | </div> | |
23 | <?php print t('View %name, displaying items of type <strong>@base</strong>.', | |
24 | array('%name' => $view->name, '@base' => $base_table)); ?> | |
25 | </div> | |
26 | ||
27 | <?php print $tabs; ?> | |
28 | ||
29 | <div id="views-ajax-form"> | |
30 | <div id="views-ajax-title"> | |
31 | <?php // This is initially empty ?> | |
32 | </div> | |
33 | <div id="views-ajax-pad"> | |
34 | <?php /* This is sent in because it is also sent out through settings and | |
35 | needs to be consistent. */ ?> | |
36 | <?php print $message; ?> | |
37 | </div> | |
38 | </div> | |
39 | ||
40 | <?php print $save_button ?> | |
41 | ||
42 | <h2><?php print t('Live preview'); ?></h2> | |
43 | <div id='views-live-preview'> | |
44 | <?php print $preview ?> | |
45 | </div> | |
46 | </div> |