Logo Search packages:      
Sourcecode: nag version File versions  Download package

task_headers.inc

<?php
    $sortbyurl = Nag::addParameter('list.php', 'sortdir=' . abs(1 - $prefs->getValue('sortdir')));
?>
<tr><td class="control">
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr class="item">
    <td nowrap="nowrap" width="2%">&nbsp;<?php echo Horde::img('checkbox.gif', 'alt="' . _("Selected?") . '"') ?></td>
    <th class="<?php echo ($prefs->getValue('sortby') == NAG_SORT_COMPLETION) ? 'selected' : 'item' ?>" width="2%" align="left" nowrap="nowrap">
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter($sortbyurl, 'sortby=' . NAG_SORT_COMPLETION)), _("Sort Direction"), 'widget') . Horde::img($prefs->getValue('sortdir') ? 'down.gif' :  'up.gif', 'alt="' . _("Sort Direction") . '"') ?></a>
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter('list.php', 'sortby=' . NAG_SORT_COMPLETION)), _("Sort by Completion Status"), 'widget') . Horde::img('complete.gif', 'alt="' . _("Completed?") . '"') ?></a>
    </th>
    <th class="<?php echo ($prefs->getValue('sortby') == NAG_SORT_PRIORITY) ? 'selected' : 'item' ?>" width="2%" align="left" nowrap="nowrap">
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter($sortbyurl, 'sortby=' . NAG_SORT_PRIORITY)), _("Sort Direction"), 'widget') . Horde::img($prefs->getValue('sortdir') ? 'down.gif' : 'up.gif', 'alt="' . _("Sort Direction") . '"') ?></a>
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter('list.php', 'sortby=' . NAG_SORT_PRIORITY)), _("Sort by Priority"), 'widget') . _("Pri") ?></a>
    </th>
    <th class="<?php echo ($prefs->getValue('sortby') == NAG_SORT_NAME) ? 'selected' : 'item' ?>" width="60%" align="left" nowrap="nowrap">
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter($sortbyurl, 'sortby=' . NAG_SORT_NAME)), _("Sort Direction"), 'widget') . Horde::img($prefs->getValue('sortdir') ? 'down.gif' : 'up.gif', 'alt="' . _("Sort Direction") . '"') ?></a>
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter('list.php', 'sortby=' . NAG_SORT_NAME)), _("Sort by Name"), 'widget') . _("Name") ?></a>
    </th>
    <th class="<?php echo ($prefs->getValue('sortby') == NAG_SORT_DUE) ? 'selected' : 'item' ?>" width="12%" align="left" nowrap="nowrap">
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter($sortbyurl, 'sortby=' . NAG_SORT_DUE)), _("Sort Direction"), 'widget') . Horde::img($prefs->getValue('sortdir') ? 'down.gif' : 'up.gif', 'alt="' . _("Sort Direction") . '"') ?></a>
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter('list.php', 'sortby=' . NAG_SORT_DUE)), _("Sort by Due Date"), 'widget') . _("Due Date") ?></a>
    </th>
    <th class="<?php echo ($prefs->getValue('sortby') == NAG_SORT_CATEGORY) ? 'selected' : 'item' ?>" width="20%" align="left" nowrap="nowrap">
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter($sortbyurl, 'sortby=' . NAG_SORT_CATEGORY)), _("Sort Direction"), 'widget') . Horde::img($prefs->getValue('sortdir') ? 'down.gif' : 'up.gif', 'alt="' . _("Sort Direction") . '"') ?></a>
        <?php echo Horde::link(Horde::applicationUrl(Nag::addParameter('list.php', 'sortby=' . NAG_SORT_CATEGORY)), _("Sort by Category"), 'widget') . _("Category") ?></a>
    </th>
    <td width="2%"><?php echo Horde::img('note.gif', 'alt="' . _("Task Note?") . '"') ?></td></tr>

Generated by  Doxygen 1.6.0   Back to index