Nooku Examples is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

nooku-examples

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<? /** $Id: default_boattypes.php 83 2010-06-03 21:21:59Z torkiljohnsen $ */ ?>
<? defined('KOOWA') or die('Restricted access'); ?>

<script src="media://lib_koowa/js/koowa.js" />

<div style="text-align:center; height:220px;" id="draft-boats">
<table class="adminlist" style="clear: both;">
    <thead>
        <tr>
            <th style="text-align: left;">
                <?= @text('Boat'); ?>
            </th>
            <th width="100">
                <?= @text('Date'); ?>
            </th>
        </tr>
    </thead>
    <tbody>
        <? $i = 0; $m = 0; ?>
        <? foreach ($boats as $boat) : ?>
        <tr class="<?php echo 'row'.$m; ?>" style="line-height: 28px;">
            <td>
                <span class="editlinktip hasTip" title="<?= @text('Edit the boat type tooltip title')?> <?= @escape($boat->title); ?>::">
                    <img src="../sites/default/images/harbour/flags/<?= $boat->flag;?>" />
                    <a href="<?= @route('view=boat&id='.$boat->id); ?>"><?=$boat->title?></a>
                </span>
            </td>
            <td><?= @helper('date.format', array('date' => $boat->modified_on, 'format' => '%d %B %Y')) ?></td>
        </tr>
        <? $i = $i + 1; $m = (1 - $m); ?>
        <? endforeach; ?>

        <? if (!count($boats)) : ?>
        <tr>
            <td colspan="8" align="center">
                <?= @text('No Items Found'); ?>
            </td>
        </tr>
        <? endif; ?>
    </tbody>
</table>
</div>
Ajax-loader Loading, please wait...