Commit 05393f1e authored by Kevin Deldycke's avatar Kevin Deldycke

img tag are now XML compliant;

unecessary tags deleted


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3518 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9133ab4
...@@ -1198,7 +1198,7 @@ class ListBoxWidget(Widget.Widget): ...@@ -1198,7 +1198,7 @@ class ListBoxWidget(Widget.Widget):
<div class="ListSummary"> <div class="ListSummary">
<table border="0" cellpadding="0" cellspacing="0"> <table border="0" cellpadding="0" cellspacing="0">
<tr height="10"> <tr height="10">
<td height="10"><img src="%(portal_url_string)s/images/Left.png" border="0"></td> <td height="10"><img src="%(portal_url_string)s/images/Left.png" border="0"/></td>
<td class="Top" colspan="2" height="10"> <td class="Top" colspan="2" height="10">
<img src="%(portal_url_string)s/images/spacer.png" width="5" height="10" border="0" <img src="%(portal_url_string)s/images/spacer.png" width="5" height="10" border="0"
alt="spacer"/></td> alt="spacer"/></td>
...@@ -1249,10 +1249,6 @@ class ListBoxWidget(Widget.Widget): ...@@ -1249,10 +1249,6 @@ class ListBoxWidget(Widget.Widget):
# And work as some kind of parameter # And work as some kind of parameter
footer = """\ footer = """\
</div>
</td>
</div>
</tr>
<tr > <tr >
<td colspan="%s" width="50" align="center" valign="middle" <td colspan="%s" width="50" align="center" valign="middle"
class="DataA"> class="DataA">
...@@ -1313,9 +1309,9 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')"> ...@@ -1313,9 +1309,9 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
for cname in columns: for cname in columns:
if sort_dict.has_key(cname[0]): if sort_dict.has_key(cname[0]):
if sort_dict[cname[0]] == 'ascending': if sort_dict[cname[0]] == 'ascending':
img = '<img src="%s/images/1bottomarrow.png" alt="Ascending display">' % portal_url_string iimg = '<img src="%s/images/1bottomarrow.png" alt="Ascending display"/>' % portal_url_string
elif sort_dict[cname[0]] == 'descending': elif sort_dict[cname[0]] == 'descending':
img = '<img src="%s/images/1toparrow.png" alt="Descending display">' % portal_url_string img = '<img src="%s/images/1toparrow.png" alt="Descending display"/>' % portal_url_string
else: else:
img = '' img = ''
else: else:
......
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