. * * $Id$ * */ /** * based upon semmelstatz * Copyright (c) 2005-2009 Andreas 'Redunzl' Mueller (redunzl@gmx.de) * * @license http://www.gnu.org/licenses/gpl-2.0.html * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License (version 2) as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ if(!current_user_can('manage_statz')) { die('Acces denied!!!'); } if(isset($_POST['options_save'])) { $sem_options['statz_write_admins'] = $_POST['statz_write_admins']; $sem_options['statz_write_users'] = $_POST['statz_write_users']; $sem_options['statz_encode_ip'] = $_POST['statz_encode_ip']; $sem_options['statz_days_limit'] = $_POST['statz_days_limit']; $sem_options['statz_show_dailystatz'] = $_POST['statz_show_dailystatz']; $sem_options['statz_referer_limit'] = $_POST['statz_referer_limit']; $sem_options['statz_show_referers'] = $_POST['statz_show_referers']; $sem_options['statz_mask_referer'] = $_POST['statz_mask_referer']; $sem_options['statz_keyword_limit'] = $_POST['statz_keyword_limit']; $sem_options['statz_show_keywords'] = $_POST['statz_show_keywords']; $sem_options['statz_topreads_limit'] = $_POST['statz_topreads_limit']; $sem_options['statz_show_reads'] = $_POST['statz_show_reads']; $sem_options['statz_show_todayreads'] = $_POST['statz_show_todayreads']; $sem_options['statz_comment_limit'] = $_POST['statz_comment_limit']; $sem_options['statz_show_commenters'] = $_POST['statz_show_commenters']; $sem_options['statz_show_topcommposts'] = $_POST['statz_show_topcommposts']; $sem_options['statz_show_useronline'] = $_POST['statz_show_useronline']; $sem_options['statz_online_time'] = $_POST['statz_online_time']; $sem_options['statz_show_todayusers'] = $_POST['statz_show_todayusers']; $sem_options['statz_on_dashboard'] = $_POST['statz_on_dashboard']; $sem_options['statz_datarecs_limit'] = $_POST['statz_datarecs_limit']; $sem_options['statz_use_img'] = $_POST['statz_use_img']; update_option("semmelstatzR_options", $sem_options); echo '
'.semr_i18n('Options saved').'
".semr_i18n('statz-table emptied succesfully.')."
".semr_i18n("Successfully saved limit value.")."
".semr_i18n("Given value is no number or to big!")."
statz-Tabelle: ,xx Tage (Der aktuelle Tag ist natürlich nie komplett!!!) statzhist-Tabelle: Tage |
|