aboutsummaryrefslogtreecommitdiff
path: root/www/html
diff options
context:
space:
mode:
Diffstat (limited to 'www/html')
-rwxr-xr-xwww/html/index.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/html/index.py b/www/html/index.py
index bf4face..a23a18d 100755
--- a/www/html/index.py
+++ b/www/html/index.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import mod_python
-from fonctions import baseHTML, connexionBD
+from fonctions import baseHTML, connexionBD, lien
def index(req):
req.content_type="text/html"
@@ -25,7 +25,7 @@ def index(req):
"""<td>""" + str(i[1]) + """</td>""" +
"""<td>""" + str(i[2]) + """</td>""" +
"""<td>""" + str(i[3]) + """</td>""" +
-"""<td>""" + str(i[4]) + """</td>""" +
+"""<td>""" + lien('destination.py?ip=' + str(i[4]), str(i[4])) + """</td>""" +
"""<td>""" + str(i[5]) + """</td>""" +
"""<td>""" + str(i[6]) + """</td>""" +
"""</tr>""")