Les vignettes changent de nom pour laisser la place TVWeb
darcs-hash:20070830211706-c3cc4-bf8894ebeee72d8188c4832c14bbeeb9239aad97.gz
This commit is contained in:
parent
0d59ab8d11
commit
9fdd3c69c5
1 changed files with 6 additions and 6 deletions
|
@ -24,8 +24,8 @@ trame_entete="""
|
|||
<div id=\"Texte\" style=\"position:absolute; left:245px; top:190px; right:16px; z-index:1; overflow: visible; visibility: visible; background-color: #FFFFFF; layer-background-color: #FFFFFF;\">
|
||||
</center>
|
||||
<h2><b><a href=http://wiki.crans.org/moin.cgi/TvReseau>Pour plus d'informations cliquez ici</a><br></b></h2>
|
||||
<a href=index_petites.html>Petites vignettes</a><br>
|
||||
<a href=index.html>Vignettes Normales</a><br>
|
||||
<a href=vignettes_petites.html>Petites vignettes</a><br>
|
||||
<a href=vignettes.html>Vignettes Normales</a><br>
|
||||
<table cellpading=25 cellspacing=25>
|
||||
<tr>
|
||||
""" % (int(t[3]) ,int(t[4]) )
|
||||
|
@ -51,9 +51,9 @@ def ajoute_image(nom,ip,html,html_petites):
|
|||
|
||||
|
||||
def vignettes() :
|
||||
html = open('/tmp/index.html','w')
|
||||
html = open('/tmp/vignettes.html','w')
|
||||
html.write(trame_entete)
|
||||
html_petites = open('/tmp/index_petites.html','w')
|
||||
html_petites = open('/tmp/vignettes_petites.html','w')
|
||||
html_petites.write(trame_entete)
|
||||
col = 0
|
||||
col_petites = 0
|
||||
|
@ -169,8 +169,8 @@ def vignettes() :
|
|||
html.close()
|
||||
html_petites.write(trame_piedpage)
|
||||
html_petites.close()
|
||||
os.system('mv -f /tmp/index.html /var/www/index.html')
|
||||
os.system('mv -f /tmp/index_petites.html /var/www/index_petites.html')
|
||||
os.system('mv -f /tmp/vignettes.html /var/www/vignettes.html')
|
||||
os.system('mv -f /tmp/vignettes_petites.html /var/www/vignettes_petites.html')
|
||||
|
||||
|
||||
if __name__ == '__main__' :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue