[jabber] ajout du cgi pour créer un compte jabber
darcs-hash:20090728100655-bd074-9a4cf910f821f6b2dc69d8e9c74fe496ea6a37d7.gz
This commit is contained in:
parent
e5d6982a1e
commit
aaf52989f6
9 changed files with 521 additions and 0 deletions
16
jabber/403.py
Executable file
16
jabber/403.py
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
print "content-type: text/html"
|
||||
print
|
||||
|
||||
file=open('/var/www/jabber/template')
|
||||
html=file.read()
|
||||
print html % "<p><img src='/erreurs/403.jpg' width='215' height='54' border='0' usemap='#Map'>\
|
||||
<map name='Map'> \
|
||||
</map>\
|
||||
</p>\
|
||||
<p><b><font size='4'>Page interdite</font></b></p>\
|
||||
<p>Vous n'avez pas l'autorisation d'afficher ce répertoire ou cette page.</p>\
|
||||
<p><b>Note :</b> l'inscritpion à jabber n'est possible que depuis les ordinateurs de la zone crans.</p>\
|
||||
<p></p>"
|
Loading…
Add table
Add a link
Reference in a new issue