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
<? defined('KOOWA') or die('Restricted access'); ?>

<? if(count($logs)) : ?>
    <? foreach ($logs as $log) :
        $list[substr($log->created_on, 0, 10)][] = $log;
    endforeach; ?>

    <div id="logs-logs-widget">
        <table class="adminlist" style="clear: both;">
            <thead>
                <tr>
                    <th style="text-align: left;">
                        <?= @text('Recent edited boat'); ?>
                    </th>
                    <th style="text-align: left;">
                        <?= @text('by User'); ?>
                    </th>
                    <th style="text-align: left;">
                        <?= @text('Timestamp'); ?>
                    </th>
                </tr>
            </thead>
            <tbody>
            <? $i = 0; $m = 0; ?>
            <? foreach($list as $date => $logs) : ?>
            <? foreach($logs as $log) : ?>
            <tr class="<?php echo 'row'.$m; ?>" style="line-height: 14px;">
                <td><?= @helper('admin::com.harbour.template.helper.message.logTitle', array('row' => $log, 'truncate' => true)) ?></td>
                <td><?= @helper('admin::com.harbour.template.helper.message.logUser', array('row' => $log, 'truncate' => true)) ?></td>
                <td><?= @helper('admin::com.harbour.template.helper.message.logDate', array('row' => $log, 'truncate' => true)) ?></td>
            </tr>
            <? $i = $i + 1; $m = (1 - $m); ?>
            <? endforeach ?>
            <? endforeach ?>
            </tbody>
        </table>
    </div>
<? endif ?>
Ajax-loader Loading, please wait...