'._("Change Podcast Generator Configuration").' '; if (isset($_GET['action']) AND $_GET['action']=="change") { // if action is set //streaming $streaming = $_POST['streaming']; if ($streaming != "") { $enablestreaming = $streaming; } // social networks integration $socialnetworks = $_POST['socialnetworks']; if ($socialnetworks != "") { $enablesocialnetworks = array($socialnetworks); //create an array with values 1 or 0 for each social networks } //freebox $fbox = $_POST['fbox']; if ($fbox != "") { $freebox = $fbox; } //categories $cats = $_POST['cats']; if ($cats != "") { $categoriesenabled = $cats; } //news display $newsinadmin = $_POST['newsinadmin']; if ($newsinadmin != "") { $enablepgnewsinadmin = $newsinadmin; } // strict rename $strictfilename = $_POST['strictfilename']; if ($strictfilename != "") { $strictfilenamepolicy = $strictfilename; } // recent in home $recent = $_POST['recent']; if ($recent != "") { $max_recent = $recent; } // recent in FEED $recentinfeed = $_POST['recentinfeed']; if ($recentinfeed != "") { $recent_episode_in_feed = $recentinfeed; } // date format $selectdateformat = $_POST['selectdateformat']; if ($selectdateformat != "") { $dateformat = $selectdateformat; } // script language $scriptlanguage = $_POST['scriptlanguage']; if ($scriptlanguage != "") { $scriptlang = $scriptlanguage; } include ("$absoluteurl"."core/admin/createconfig.php"); //regenerate config.php $PG_mainbody .= '
'._("The information has been successfully sent.").'
'; //REGENERATE FEED ... //include ("$absoluteurl"."core/admin/feedgenerate.php"); $episodesCounter = generatePodcastFeed(TRUE,NULL,FALSE); //Output in file $PG_mainbody .= '