portail: passage en bl soft sans continue

This commit is contained in:
Daniel STAN 2014-10-08 22:23:35 +02:00
parent dc08f78d87
commit 040efebc00

View file

@ -4,7 +4,8 @@ import sys
import subprocess import subprocess
import time import time
import ldap import ldap
sys.path.append('/usr/scripts/') if '/usr/scripts' not in sys.path:
sys.path.append('/usr/scripts')
import lc_ldap.shortcuts import lc_ldap.shortcuts
import lc_ldap.objets import lc_ldap.objets
@ -51,7 +52,11 @@ deco={
'bloq':'ERR_CUSTOM_BLOQ.html', 'bloq':'ERR_CUSTOM_BLOQ.html',
'nouvelle_annee':'ERR_CUSTOM_NOUVELLE_ANNEE.html', 'nouvelle_annee':'ERR_CUSTOM_NOUVELLE_ANNEE.html',
'paiement': 'ERR_CUSTOM_READHESION.html', 'paiement':'ERR_CUSTOM_NOUVELLE_ANNEE.html',
# en cas de sursis, la page donne une url pour continuer à naviguer
# sur Internet
'paiement_sursis': 'ERR_CUSTOM_READHESION.html',
'proxy_local':'ERR_CUSTOM_PROXY_LOCAL.html', 'proxy_local':'ERR_CUSTOM_PROXY_LOCAL.html',
'virus':'ERR_CUSTOM_BL_VIRUS.html', 'virus':'ERR_CUSTOM_BL_VIRUS.html',