$_POST['button_size'], 'position' => $_POST['position'], 'count' => isset($_POST['count']), 'via' => trim($_POST['via']), ); conf_update_param('TweetThis', serialize($conf['TweetThis'])); array_push($page['infos'], l10n('Information data registered in database')); // the prefilter changes, we must delete compiled templatess $template->delete_compiled_templates(); } $template->assign(array( 'button_size' => $conf['TweetThis']['size'], 'position' => $conf['TweetThis']['position'], 'count_check' => $conf['TweetThis']['count'] ? 'checked="checked"' : null, 'via' => $conf['TweetThis']['via'], 'TWEET_PATH' => TWEET_PATH, )); $template->set_filename('tweet_content', dirname(__FILE__).'/admin.tpl'); $template->assign_var_from_handle('ADMIN_CONTENT', 'tweet_content'); ?>