[tv, wiki, dns] vignette et liste des chaines sur cochon.
This commit is contained in:
parent
c84423179c
commit
20fc077b5b
2 changed files with 6 additions and 6 deletions
|
@ -2,8 +2,8 @@ Dependencies = ["Time"]
|
|||
|
||||
|
||||
|
||||
SAP_FILE_URL = "http://tv/sap.txt"
|
||||
BASE_IMAGE_URL = "http://tv/images/"
|
||||
SAP_FILE_URL = "http://tv.crans.org/sap.txt"
|
||||
BASE_IMAGE_URL = "http://tv.crans.org/images/"
|
||||
IMAGE_SUFFIX = ".jpg"
|
||||
SMALL_IMAGE_SUFFIX = "_petites.jpg"
|
||||
|
||||
|
@ -70,14 +70,14 @@ def execute(macro, args):
|
|||
text+= macro.formatter.table_row(1)
|
||||
text+= macro.formatter.table_cell(1, {'style':'text-align:center;'})
|
||||
text+= macro.formatter.strong( 1 )
|
||||
text+= macro.formatter.text( a_channel["name"] )
|
||||
text+= macro.formatter.text( unicode(a_channel["name"], 'utf-8') )
|
||||
text+= macro.formatter.strong( 0 )
|
||||
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="width:%s;" % IMAGE_WIDTH )
|
||||
text+= macro.formatter.image( src=a_channel["image_url"], alt="", style="width:%s;" % IMAGE_WIDTH )
|
||||
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.table_cell(0)
|
||||
if i == IMAGES_PER_LINE - 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue