/[drupal]/contributions/modules/views/theme/views-ui-edit-item.tpl.php
ViewVC logotype

Contents of /contributions/modules/views/theme/views-ui-edit-item.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (show annotations) (download) (as text)
Fri Aug 8 16:57:44 2008 UTC (15 months, 2 weeks ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-RC5, DRUPAL-6--2-0-RC4, DRUPAL-6--2-0-RC3, DRUPAL-6--2-0-RC2, DRUPAL-6--2-7, DRUPAL-6--2-6, DRUPAL-6--2-5, DRUPAL-6--2-4, DRUPAL-6--2-3, DRUPAL-6--2-2, DRUPAL-6--2-1, DRUPAL-6--2-0, DRUPAL-6--3-0-ALPHA1, HEAD
Branch point for: DRUPAL-6--2, DRUPAL-6--3, DRUPAL-7--3
Changes since 1.8: +17 -3 lines
File MIME type: text/x-php
#270854 (partially by webchick): modify UI to remove the "overridden" icon and instead change display on items that are "defaulted" to make them more visually unique.
1 <?php
2 // $Id: views-ui-edit-item.tpl.php,v 1.8 2008/07/28 19:21:18 merlinofchaos Exp $
3 /**
4 * @file views-ui-edit-item.tpl.php
5 *
6 * This template handles the printing of fields/filters/sort criteria/arguments or relationships.
7 */
8 ?>
9 <?php print $rearrange; ?>
10 <?php print $add; ?>
11 <div class="views-category-title<?php
12 if ($overridden) {
13 print ' overridden';
14 }
15 if ($defaulted) {
16 print ' defaulted';
17 }
18 ?>">
19 <?php print $item_help_icon; ?>
20 <?php print $title; ?>
21 </div>
22
23 <div class="views-category-content<?php
24 if ($overridden) {
25 print ' overridden';
26 }
27 if ($defaulted) {
28 print ' defaulted';
29 }
30 ?>">
31 <?php if (!empty($no_fields)): ?>
32 <div><?php print t('The style selected does not utilize fields.'); ?></div>
33 <?php elseif (empty($fields)): ?>
34 <div><?php print t('None defined'); ?></div>
35 <?php else: ?>
36 <?php foreach ($fields as $pid => $field): ?>
37 <?php if (!empty($field['links'])): ?>
38 <?php print $field['links']; ?>
39 <?php endif; ?>
40 <div class="<?php print $field['class']; if (!empty($field['changed'])) { print ' changed'; } ?>">
41 <?php print $field['title']; ?>
42 <?php print $field['info']; ?>
43 </div>
44 <?php endforeach; ?>
45 <?php endif; ?>
46 </div>

  ViewVC Help
Powered by ViewVC 1.1.2