source: trunk/cgi-bin/geisa_form_changepasswd @ 1

Last change on this file since 1 was 1, checked in by cbipsl, 18 years ago

Geisa inital import

File size: 2.1 KB
Line 
1#!/bin/sh
2#file=geisa_form_changepasswd
3#on entry: $1=lang
4lang=$1
5echol()
6{ if [ "$lang" = fr ]; then echo "$1";else echo "$2";fi;}
7echo Content-type: text/html
8echo
9echol "<html><head><title>Geisa-Passe </title></head><body>" "<html><head><title
10>Geisa-Password </title></head><body>"
11echol "<h2>S&eacute;curit&eacute; : Modifier le mot de passe</h2>" "<h2>Security : Changing your password</h2>"
12conf=/usr/local/etc/httpd/adm/conf/access.conf
13echo "<form action=/cgi-geisa/geisa_changepasswd_post method=post>"
14echo "<input type=hidden name=lang value=$1>"
15echol "Cette page vous permet de modifier le mot de passe associ&eacute; &agrave; votre identificateur pour la validation des connexions ult&eacute;rieures." "This is an HTML form used to change your password for HTTP user authentication on this system."
16echo "<p><hr>"
17echol "Vous devez r&eacute;ferencer l'identificateur que vous utilisez pour acc&eacute;der &agrave; ce service." "To use this form, you must know your user name on this system."
18echo "<p>"
19echol "Veuillez introduire ci-dessous votre identificateur." "First, enter your user name below."
20echo "<p>"
21echol "Identificateur" "User name"
22echo ": <p><input type=text name=user><p>"
23if [ `expr "\`echo "/#ADM/+"|ed -s $conf\` " : "require user.* $REMOTE_USER "` -gt 0 ];then n=WIZARD; else n=$REMOTE_USER; fi
24echo "<input type=hidden name=owner value=$n>"
25echol "Veuillez entrer ici votre nouveau mot de passe contenant au moins 6 caract&egrave;res." "Now, enter what you want to change your password to, with 6 characters at least."
26echo "<p>"
27echol "Nouveau mot de passe" "New password"
28echo ": <p><input type=password name=newpasswd1><p>"
29echol "Veuillez r&eacute;introduire ce mot" "Re-type new password"
30echo ": <p><input type=password name=newpasswd2><p>"
31echol "Veuillez valider en activant le bouton \"Valider\"." "When you click on the Change password button below, you will be asked to authenticate yourself."
32echo "<p>"
33echo "<input type=submit value="
34echol "Valider" "\"Change password\""
35echo "><p><input type=reset value="
36echol "\"tout Effacer\"" "\"Reset these fields\""
37echo "><p></form>"
Note: See TracBrowser for help on using the repository browser.