views-ui-edit-view.tpl.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * @file
  4. * Template for the primary view editing window.
  5. */
  6. ?>
  7. <div class="views-edit-view">
  8. <?php if ($locked): ?>
  9. <div class="view-locked">
  10. <?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>.',
  11. 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)): ?> changed<?php endif; ?>">
  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. <?php print $tabs; ?>
  27. <div id="views-ajax-form">
  28. <div id="views-ajax-title">
  29. <?php
  30. // This is initially empty. ?>
  31. </div>
  32. <div id="views-ajax-pad">
  33. <?php /* This is sent in because it is also sent out through settings and
  34. needs to be consistent. */ ?>
  35. <?php print $message; ?>
  36. </div>
  37. </div>
  38. <?php print $save_button ?>
  39. <h2><?php print t('Live preview'); ?></h2>
  40. <div id='views-live-preview'>
  41. <?php print $preview ?>
  42. </div>
  43. </div>