suppression de trailing whitespaces
darcs-hash:20081002165739-bd074-d426f3830f4c7d2203eb80c94c5ccc7c38e9ba86.gz
This commit is contained in:
parent
c57212cb58
commit
7b7b88acb0
4 changed files with 34 additions and 31 deletions
|
@ -600,6 +600,7 @@ class firewall_komaz(firewall_crans) :
|
|||
"-j CLASSIFY --set-class 1:%(class_id)s" % locals())
|
||||
iptables("-t mangle -A SUBNET-%(subnet)s -o ens -s %(ip)s "
|
||||
"-j CLASSIFY --set-class 1:%(class_id)s" % locals())
|
||||
|
||||
self.anim.reinit()
|
||||
print OK
|
||||
|
||||
|
@ -1164,6 +1165,7 @@ class firewall_sable(firewall_rouge):
|
|||
"-j MARK --set-mark %s" % conf_fw.mark['proxy'])
|
||||
iptables("-t mangle -A PREROUTING -m mark --mark %s -j ACCEPT" % conf_fw.mark['proxy'])
|
||||
|
||||
if_defaut = "eth0"
|
||||
if_radin = "eth0.%d" % vlans["radin"]
|
||||
if_accueil = "eth0.%d" % vlans["accueil"]
|
||||
|
||||
|
|
|
@ -192,7 +192,10 @@ class main(ModuleBase):
|
|||
crans.cp.log("lancerImpression : %s" % str(e), 'IMPRESSION', 1)
|
||||
return {"erreur":str(e)}
|
||||
crans.cp.log("impression", 'IMPRESSION')
|
||||
return {'code':str(crans.impression.digicode.gen_code(cherrypy.session['uid'])) + "#"}
|
||||
return {
|
||||
'code':str(crans.impression.digicode.gen_code(cherrypy.session['uid'])) + "#",
|
||||
'code_bat_j': cherrypy.config.get('crans.impression.codes.batJ', u"Non disponible")
|
||||
}
|
||||
lancerImpression.exposed = True
|
||||
|
||||
#
|
||||
|
|
|
@ -357,7 +357,6 @@ Impression.AJAX.finImpression = function(AJAXResp)
|
|||
Impression.popup.popupImpression(AJAXResp.code);
|
||||
}
|
||||
Impression.AJAX.updateSolde();
|
||||
|
||||
}
|
||||
|
||||
Impression.AJAX.getPrinterState = function()
|
||||
|
|
|
@ -21,7 +21,6 @@ class main(ModuleBase):
|
|||
return crans.utils.quota.getUserQuota(cherrypy.session['uid'])
|
||||
#return [{'%': 33.9, 'quota': 390.62, 'label': u'Dossier personnel', 'limite': 585.94, 'filesystem': '/home', 'usage': 420.32}, {'%': 0.1, 'quota': 100.00, 'label': u'Boite de r\xe9ception', 'limite': 150.00, 'filesystem': '/var/mail', 'usage': 0.06}]
|
||||
|
||||
|
||||
##########################
|
||||
# affichage
|
||||
##########################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue