posts; $ata_settings = ata_read_options(); if (isset($_POST['ata_save'])) { $ata_settings['addcredit'] = ((isset($_POST['addcredit'])) ? true : false); // Save Header related options $ata_settings['head_CSS'] = ($_POST['head_CSS']); $ata_settings['head_other'] = ($_POST['head_other']); // Save Content related options $ata_settings['content_htmlbefore'] = ($_POST['content_htmlbefore']); $ata_settings['content_htmlafter'] = ($_POST['content_htmlafter']); $ata_settings['content_addhtmlbefore'] = ((isset($_POST['content_addhtmlbefore'])) ? true : false); $ata_settings['content_addhtmlafter'] = ((isset($_POST['content_addhtmlafter'])) ? true : false); $ata_settings['content_htmlbeforeS'] = ($_POST['content_htmlbeforeS']); $ata_settings['content_htmlafterS'] = ($_POST['content_htmlafterS']); $ata_settings['content_addhtmlbeforeS'] = ((isset($_POST['content_addhtmlbeforeS'])) ? true : false); $ata_settings['content_addhtmlafterS'] = ((isset($_POST['content_addhtmlafterS'])) ? true : false); $ata_settings['content_filter_priority'] = intval($_POST['content_filter_priority']); // Save Feed related options $ata_settings['feed_htmlbefore'] = ($_POST['feed_htmlbefore']); $ata_settings['feed_htmlafter'] = ($_POST['feed_htmlafter']); $ata_settings['feed_copyrightnotice'] = ($_POST['feed_copyrightnotice']); $ata_settings['feed_addhtmlbefore'] = ((isset($_POST['feed_addhtmlbefore'])) ? true : false); $ata_settings['feed_addhtmlafter'] = ((isset($_POST['feed_addhtmlafter'])) ? true : false); $ata_settings['feed_addtitle'] = ((isset($_POST['feed_addtitle'])) ? true : false); $ata_settings['feed_addcopyright'] = ((isset($_POST['feed_addcopyright'])) ? true : false); // Save Footer related options $ata_settings['ft_other'] = ($_POST['ft_other']); // 3rd party options $ata_settings['tp_sc_project'] = ($_POST['tp_sc_project']); $ata_settings['tp_sc_security'] = ($_POST['tp_sc_security']); $ata_settings['tp_ga_uacct'] = ($_POST['tp_ga_uacct']); $ata_settings['tp_ga_domain'] = ($_POST['tp_ga_domain']); $ata_settings['tp_kontera_ID'] = ($_POST['tp_kontera_ID']); $ata_settings['tp_kontera_linkcolor'] = ($_POST['tp_kontera_linkcolor']); $ata_settings['tp_kontera_addZT'] = (($_POST['tp_kontera_addZT']) ? true : false); $ata_settings['tp_wibiya_url'] = ($_POST['tp_wibiya_url']); update_option('ald_ata_settings', $ata_settings); $str = '
'. __('Options saved successfully.',ATA_LOCAL_NAME) .'
'. __('Options set to Default.',ATA_LOCAL_NAME) .'
'.__('Add to All plugin has just been installed / upgraded. Please visit the ', ATA_LOCAL_NAME ).$plugin_settings_page.__(' to configure.', ATA_LOCAL_NAME ).'