taille des images
darcs-hash:20061211102344-f46e9-a842646c878b51ccc69da74b593304d38ceb285a.gz
This commit is contained in:
parent
bed3713e87
commit
f7e4c936ea
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ def get_channel_list():
|
||||||
|
|
||||||
|
|
||||||
def execute(macro, args):
|
def execute(macro, args):
|
||||||
opt = {"col":4,"cat":False,"ch":False, "width":"4em"}
|
opt = {"col":4,"cat":False,"ch":False, "width":"10em"}
|
||||||
# parse args
|
# parse args
|
||||||
if args:
|
if args:
|
||||||
try:
|
try:
|
||||||
|
@ -75,7 +75,7 @@ def execute(macro, args):
|
||||||
text+= macro.formatter.linebreak( 0 )
|
text+= macro.formatter.linebreak( 0 )
|
||||||
#text+= macro.formatter.url(1, href=a_channel["url"], style="text-decoration:none;")
|
#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.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.linebreak( 0 )
|
||||||
text+= macro.formatter.text( "Regarder maintenant" )
|
text+= macro.formatter.text( "Regarder maintenant" )
|
||||||
text+= macro.formatter.url(0)
|
text+= macro.formatter.url(0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue