#!/usr/bin/perl -wT #---------------------------------------------------------------------- # # Copyright (c) 2011-2013 Firewall-Services # daniel@firewall-services.com # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #---------------------------------------------------------------------- package esmith; use strict; use CGI ':all'; use CGI::Carp qw(fatalsToBrowser); BEGIN { # Clear PATH and related environment variables so that calls to # external programs do not cause results to be tainted. See # "perlsec" manual page for details. $ENV {'PATH'} = ''; $ENV {'SHELL'} = '/bin/bash'; delete $ENV {'ENV'}; } $CGI::POST_MAX=1024 * 100; # max 100K posts $CGI::DISABLE_UPLOADS = 1; # no uploads my $q = new CGI; print $q->header (-EXPIRES => '+-20y', charset => 'UTF-8'); print $q->start_html (-TITLE => 'Portail de configuration iPasserelle', -AUTHOR => 'daniel@firewall-services.com', -META => {'copyright' => 'Copyright 2011-2013 Firewall-Services'}, -CLASS => "main", -STYLE => { -code => '@import url("/server-common/css/sme_main.css");', -src => '/server-common/css/sme_core.css' }); my $user = $ENV{'REMOTE_USER'}; my $name = $ENV{'HTTP_USER_NAME'} || $user; print $q->h1("Portail de configuration iPasserelle"); print $q->h2("Bienvenue $name"); print <<"EOF";
Vous pouvez modifier les paramètres de votre compte en cliquant sur les différents menus sur la gauche.