/[drupal]/contributions/modules/weight/weight-view-weight-form.tpl.php
ViewVC logotype

Contents of /contributions/modules/weight/weight-view-weight-form.tpl.php

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


Revision 1.3 - (show annotations) (download) (as text)
Fri Jan 2 01:46:55 2009 UTC (10 months, 3 weeks ago) by nancyw
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
Changes since 1.2: +21 -15 lines
File MIME type: text/x-php
#314248 by sheise - Improved Views2 support.
1 <?php
2 /* $Id: weight-view-weight-form.tpl.php,v 1.2 2008/11/13 18:35:39 nancyw Exp $
3 /**
4 * @file
5 * Views template for Weight module.
6 */
7 ?>
8
9 <table class="<?php print $class; ?>" id="<?php print $id; ?>">
10 <thead>
11 <tr>
12 <?php if (count($header)): ?>
13 <?php foreach ($header as $field => $label): ?>
14 <th class="views-field views-field-<?php print $fields[$field]; ?>">
15 <?php print $label; ?>
16 </th>
17 <?php endforeach; ?>
18 <?php endif; ?>
19 </tr>
20 </thead>
21 <tbody>
22 <?php if (count($rows)): ?>
23 <?php foreach ($rows as $count => $row): ?>
24 <tr class="<?php print ($count % 2 == 0) ? 'even' : 'odd';?> draggable">
25 <?php foreach ($row as $field => $content): ?>
26 <td class="views-field views-field-<?php print isset($fields[$field]) ? $fields[$field] : '' ?>">
27 <?php print $content; ?>
28 </td>
29 <?php endforeach; ?>
30 </tr>
31 <?php endforeach; ?>
32 <?php endif; ?>
33 </tbody>
34 </table>
35 <?php print $submit; ?>

  ViewVC Help
Powered by ViewVC 1.1.2