Beispiel #1
0
function addRSS($newRSS)
{
    if (!empty($newRSS)) {
        global $cfg;
        addNewRSS($newRSS);
        AuditAction($cfg["constants"]["admin"], "New RSS: " . $newRSS);
    }
    header("location: admin.php?op=editRSS");
}
/**
 * addRSS
 */
function admin_addRSS()
{
    global $cfg;
    $newRSS = tfb_getRequestVarRaw('newRSS');
    if (!empty($newRSS)) {
        addNewRSS($newRSS);
        AuditAction($cfg["constants"]["admin"], "New RSS: " . addslashes($newRSS));
    }
    @header("location: admin.php?op=editRSS");
    exit;
}