Modification de la structure de l'intranet
darcs-hash:20070124113425-f46e9-b0dc2101073d5c4d896539104cc418693bab419a.gz
This commit is contained in:
parent
0570881d34
commit
8713311bc1
13 changed files with 331 additions and 191 deletions
8
intranet/ClassesIntranet/__init__.py
Normal file
8
intranet/ClassesIntranet/__init__.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import cherrypy
|
||||
|
||||
def current_module():
|
||||
current_path = cherrypy.request.object_path
|
||||
module_name = current_path.split('/')[1]
|
||||
if module_name != 'index':
|
||||
return module_name
|
||||
return None
|
Loading…
Add table
Add a link
Reference in a new issue