Exemplo n.º 1
0
                     id="filter_' . $hp->purify($type, CODENDI_PURIFIER_CONVERT_HTML) . '"
                     ' . (in_array($type, $filter_type) ? 'checked="checked"' : '') . '
                     />';
        echo '<label for="filter_' . $hp->purify($type, CODENDI_PURIFIER_CONVERT_HTML) . '">' . $hp->purify($type, CODENDI_PURIFIER_CONVERT_HTML) . '</label> ';
        echo '</td>';
    }
    echo '</tr>';
}
echo '</table>';
echo '<hr size="1" />';
echo '<input type="submit" name="filter" value="' . $GLOBALS['Language']->getText('global', 'btn_submit') . '" />';
echo '</fieldset>';
echo $se->fetchLastEventsStatus($offset, $limit, $full, $filter_status, $filter_type);
echo '<h3>' . $Language->getText('admin_system_events', 'notifications') . '</h3>';
echo $GLOBALS['Language']->getText('admin_system_events', 'send_email');
$dar = $sefdao->searchAll();
if (!$dar->rowCount()) {
    echo '<em>' . $GLOBALS['Language']->getText('admin_system_events', 'nobody') . '</em>';
}
echo '<table>';
echo '<thead>';
echo '<tr><th class="boxtitle">' . 'emails' . '</th><th class="boxtitle">' . 'listen' . '</th></tr>';
echo '</thead>';
echo '<tbody>';
foreach ($dar as $row) {
    echo '<tr valign="top"><td>';
    if ($request->get('edit') == $row['id']) {
        echo '<textarea name="followers[' . $row['id'] . '][emails]" rows="4" cols="40">';
        echo $hp->purify($row['emails'], CODENDI_PURIFIER_CONVERT_HTML);
        echo '</textarea>';
    } else {