From f7e4c936eab89bfe5c805d379a705778a739a387 Mon Sep 17 00:00:00 2001 From: gdetrez Date: Mon, 11 Dec 2006 11:23:44 +0100 Subject: [PATCH] taille des images darcs-hash:20061211102344-f46e9-a842646c878b51ccc69da74b593304d38ceb285a.gz --- wiki/macro/TV.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wiki/macro/TV.py b/wiki/macro/TV.py index 71d86811..d209885d 100644 --- a/wiki/macro/TV.py +++ b/wiki/macro/TV.py @@ -42,7 +42,7 @@ def get_channel_list(): def execute(macro, args): - opt = {"col":4,"cat":False,"ch":False, "width":"4em"} + opt = {"col":4,"cat":False,"ch":False, "width":"10em"} # parse args if args: try: @@ -75,7 +75,7 @@ def execute(macro, args): text+= macro.formatter.linebreak( 0 ) #text+= macro.formatter.url(1, href=a_channel["url"], style="text-decoration:none;") text+= macro.formatter.url(1, url=a_channel["url"], style="text-decoration:none;") - text+= macro.formatter.image( src=a_channel["image_url"], alt="No image", style='%s' % IMAGE_WIDTH ) + text+= macro.formatter.image( src=a_channel["image_url"], alt="No image", style="width:%s;" % IMAGE_WIDTH ) text+= macro.formatter.linebreak( 0 ) text+= macro.formatter.text( "Regarder maintenant" ) text+= macro.formatter.url(0)