ps = []
img_dir = d.getEntry (path = '/images/n%s' % id, withSubs = True)
for i in range (len (img_dir.subFolders)):
ph.append ([])
_ps = ''
for j in range (len (img_dir.subFolders[i].subFiles)):
ph[i].append ('/directory/images/n%s/%s/%s' % (n.id, (i + 1), img_dir.subFolders[i].subFiles[j].name))
_ps = 'document.getElementById ("id_a_img_%s_%s").onclick = function () { show_viewer("id_%s","IMG", images%s, %s) }; %s' % (i, j, i, i, j, _ps)
./lib/news_py3.py, line 310:
for i in range (len (img_dir.subFolders)):
/var/web/www/index.cgi, line 87:
n = ah.getNews (id, for_show = True, new_viewer = True)
/var/web/www/index.cgi, line 211:
html = handler(DATA, ah, fd)