<tr class="item">
    <td align="left">
        <select name="action_choose<?php echo ($i > 0) ? 1 : 0 ?>" onchange="chooseAction(<?php echo ($i > 0) ? 1 : 0 ?>); document.fmanager.action_choose<?php echo ($i > 0) ? 1 : 0 ?>.selectedIndex = 0;">
            <option selected="selected"><?php echo _("Choose Action:") ?></option>
            <option value="<?php echo CREATE_FOLDER ?>"><?php echo _("Create Folder") ?></option>
            <option value="<?php echo RENAME_FOLDER ?>"><?php echo _("Rename Folder") ?></option>
            <option value="<?php echo DELETE_FOLDER ?>"><?php echo _("Delete Folder(s)") ?></option>
            <?php if ($prefs->getValue('subscribe')): ?>
            <option value="<?php echo SUBSCRIBE_FOLDER ?>"><?php echo _("Subscribe to Folder(s)") ?></option>
            <option value="<?php echo UNSUBSCRIBE_FOLDER ?>"><?php echo _("Unsubscribe from Folder(s)") ?></option>
            <?php endif; ?>
            <?php if (!$prefs->isLocked('nav_poll')): ?>
            <option value="<?php echo POLL_FOLDER ?>"><?php echo _("Check Folder(s) for New Mail") ?></option>
            <option value="<?php echo NOPOLL_FOLDER ?>"><?php echo _("Do Not Check Folder(s) for New Mail") ?></option>
            <?php endif; ?>
            <option value="<?php echo DOWNLOAD_FOLDER ?>"><?php echo _("Download Folder(s)") ?></option>
            <option value="<?php echo EMPTY_MAILBOX ?>"><?php echo _("Empty Folder(s)") ?></option>
        </select>
        <?php if ($conf['user']['online_help'] && $browser->hasFeature('javascript')) echo Help::link('imp', 'folder-options') ?>
    </td>
    <td align="right">
       <?php if ($prefs->getValue('subscribe')): ?>
       <?php echo Horde::link('javascript:submitAction(' . TOGGLE_SUBSCRIBED_VIEW . ')', $subToggleText, 'widget') ?>
       <?php echo $subToggleText ?></a>&nbsp;|
       <?php endif; ?>
       <?php echo Horde::link('javascript:submitAction(' . EXPAND_ALL_FOLDERS . ')', _("Expand All Folders"), 'widget') ?>
       <?php echo _("Expand All") ?></a>&nbsp;|
       <?php echo Horde::link('javascript:submitAction(' . COLLAPSE_ALL_FOLDERS . ')', _("Collapse All Folders"), 'widget') ?>
       <?php echo _("Collapse All") ?></a>
    </td>
    <td width="1%" align="center"><b>#</b></td>
    <td width="1%" align="center"><?php echo Horde::img('unseen.gif', 'alt="' . _("Unseen Messages") . '" height="16" width="16"') ?></td>
</tr>
