scripts/jabber/403.py
Antoine Durand-Gasselin 29e2ecae71 [jabber] Finalisation de la migration à ejabberd
Ignore-this: e5b71a7f580e1db950bb30d9d7745fbe
 * une vcard est automatiquement créée avec FN et EMAIL
 * lostPassword.py envoie un mail aux nounous
 * images et css plus accessibles

darcs-hash:20090809213427-bd074-19f0565242fb93d2051347eb47289e096bce00d9.gz
2009-08-09 23:34:27 +02:00

16 lines
516 B
Python
Executable file

#!/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='/images/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>"