1KA_F2F/frontend/drupal/sites/all/modules/views/theme/views-ui-edit-view.tpl.php
2020-08-14 13:36:36 +02:00

49 lines
1.5 KiB
PHP

<?php
/**
* @file
* Template for the primary view editing window.
*/
?>
<div class="views-edit-view">
<?php if ($locked): ?>
<div class="view-locked">
<?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)); ?>
</div>
<?php endif; ?>
<div class="views-basic-info clearfix<?php if (!empty($view->changed)): ?> changed<?php endif; ?>">
<?php if (!is_numeric($view->vid)): ?>
<div class="view-changed view-new"><?php print t('New view'); ?></div>
<?php else: ?>
<div class="view-changed"><?php print t('Changed view'); ?></div>
<?php endif; ?>
<div class="views-quick-links">
<?php print $quick_links ?>
</div>
<?php print t('View %name, displaying items of type <strong>@base</strong>.',
array('%name' => $view->name, '@base' => $base_table)); ?>
</div>
<?php print $tabs; ?>
<div id="views-ajax-form">
<div id="views-ajax-title">
<?php
// This is initially empty. ?>
</div>
<div id="views-ajax-pad">
<?php /* This is sent in because it is also sent out through settings and
needs to be consistent. */ ?>
<?php print $message; ?>
</div>
</div>
<?php print $save_button ?>
<h2><?php print t('Live preview'); ?></h2>
<div id='views-live-preview'>
<?php print $preview ?>
</div>
</div>