Commit 42c1ff95 authored by Christopher Petrilli's avatar Christopher Petrilli

Added ALT text to the tree. (C650)

parent bcaf2f93
......@@ -84,8 +84,8 @@
##############################################################################
"""Rendering object hierarchies as Trees
"""
__rcs_id__='$Id: TreeTag.py,v 1.36 1999/09/09 17:22:14 petrilli Exp $'
__version__='$Revision: 1.36 $'[11:-2]
__rcs_id__='$Id: TreeTag.py,v 1.37 1999/09/09 17:23:45 petrilli Exp $'
__version__='$Revision: 1.37 $'[11:-2]
from DocumentTemplate.DT_Util import *
from DocumentTemplate.DT_String import String
......@@ -379,11 +379,11 @@ def tpRenderTABLE(self, id, root_url, url, state, substate, diff, data,
if exp:
treeData['tree-item-expanded']=1
output('<A NAME="%s" HREF="%s?tree-c=%s#%s">'
'<IMG SRC="%s/p_/mi" BORDER=0></A>' %
'<IMG SRC="%s/p_/mi" ALT="-" BORDER=0></A>' %
(id, root_url, s, id, script))
else:
output('<A NAME="%s" HREF="%s?tree-e=%s#%s">'
'<IMG SRC="%s/p_/pl" BORDER=0></A>' %
'<IMG SRC="%s/p_/pl" ALT="+" BORDER=0></A>' %
(id, root_url, s, id, script))
output('</TD>\n')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment