1.1 --- a/pymove3d.py Sun Jan 19 07:53:05 2014 +0100
1.2 +++ b/pymove3d.py Sun Jan 19 08:18:43 2014 +0100
1.3 @@ -51,13 +51,19 @@
1.4 def de():
1.5 global LANGUAGE_SELECTED
1.6 LANGUAGE_SELECTED = "de"
1.7 - return render_template("/de/index.html")
1.8 + saying, author = get_saying()
1.9 + return render_template("/de/index.html",
1.10 + saying = saying,
1.11 + author = author)
1.12
1.13 @app.route('/en')
1.14 def en():
1.15 + saying, author = get_saying()
1.16 global LANGUAGE_SELECTED
1.17 LANGUAGE_SELECTED = "en"
1.18 - return render_template("/en/index.html")
1.19 + return render_template("/en/index.html",
1.20 + saying = saying,
1.21 + author = author)
1.22
1.23 @app.route("/competition")
1.24 def competition():