adding different lists of folders
This commit is contained in:
@@ -146,7 +146,7 @@ def imagescript(path,list):
|
||||
|
||||
def imagelinks(path,list):
|
||||
''' Returns the HTML string of images '''
|
||||
strout='<div id="thumbcontainer">'
|
||||
strout='<div id="thumbcontainer"><noscript>'
|
||||
strout+='<h1>Images</h1>'
|
||||
descriptions=getdescriptions(path,list)
|
||||
n=0
|
||||
@@ -155,7 +155,7 @@ def imagelinks(path,list):
|
||||
desc=doublequotes.sub('',unicode(descriptions[n],encoding="utf8").encode('ascii', 'xmlcharrefreplace'))
|
||||
strout+='<span class="imagebox thumbbox" id="n'+str(n)+'"><a href="'+urllib.quote(i)+'"><img class="thumbimage" "title="'+desc+'" src="_tn/tn_'+urllib.quote(i)+'.jpg"><br/>'+unicode(nice,encoding="utf8").encode('ascii', 'xmlcharrefreplace')+'</a></span>'
|
||||
n+=1
|
||||
strout+='</div>'
|
||||
strout+='</noscript></div>'
|
||||
return strout
|
||||
|
||||
def filescript(path,list):
|
||||
|
||||
Reference in New Issue
Block a user