Package: iceweasel
Version: 2.0.0.3-1
Severity: normal
test html:
<html>
<head>
<title>test</title>
<script language="JavaScript">
function print_stat_column_table(column, style, gamer_idx)
{
document.write('<tr>');
for (i=0; i<column.length; i++)
{
document.write('<td class="cell" height="20" align="center">');
if (i==gamer_idx)
{
document.write('<a href="logs.php?nick='+column[i]+'&date=3" ');
document.write('title="Show logs for '+column[i]+'" ');
document.write('>');
}
document.write('<div ');
if (style.length) document.write('class="'+style+'" ');
document.write('>');
document.write(column[i]);
document.write('</div>');
if (i==gamer_idx)
{
document.write('</a>');
}
}
document.write('</tr>');
}
</script>
<style>
.greentxt {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: normal;
color: #00FF00;
}
.redtxt {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
font-weight: normal;
color: #FF0000;
}
</style>
</head>
<body>
<table width="50%" border="1">
<script language="JavaScript">
print_stat_column_table(['a', 'b', 'c'], 'redtxt', -1);
print_stat_column_table(['d', 'e', 'f'], 'greentxt', 0);
print_stat_column_table(['g', 'h', 'i'], 'greentxt', 1);
print_stat_column_table(['j', 'k', 'l'], '', 0);
</script>
</table>
</body>
</html>
View Page Source result:
<html><head><title>test</title>
<script language="JavaScript">
function print_stat_column_table(column, style, gamer_idx)
{
document.write('<tr>');
for (i=0; i<column.length; i++)
{
document.write('<td class="cell" height="20" align="center">');
if (i==gamer_idx)
{
document.write('<a href="logs.php?nick='+column[i]+'&date=3" ');
document.write('title="Show logs for '+column[i]+'" ');
document.write('>');
}
document.write('<div ');
if (style.length) document.write('class="'+style+'" ');
document.write('>');
document.write(column[i]);
document.write('</div>');
if (i==gamer_idx)
{
document.write('</a>');
}
}
document.write('</tr>');
}
</script>
<style>
.greentxt {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: normal;
color: #00FF00;
}
.redtxt {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
font-weight: normal;
color: #FF0000;
}
</style></head><body>
<table border="1" width="50%">
<script language="JavaScript">
print_stat_column_table(['a', 'b', 'c'], 'redtxt', -1);
print_stat_column_table(['d', 'e', 'f'], 'greentxt', 0);
print_stat_column_table(['g', 'h', 'i'], 'greentxt', 1);
print_stat_column_table(['j', 'k', 'l'], '', 0);
</script><tbody><tr><td class="cell" align="center" height="20"><div
class="redtxt">a</div></td><td class="cell" align="center" height="20"><div
class="redtxt">b</div></td><td class="cell" align="center" height="20"><div
class="redtxt">c</div></td></tr><tr><td class="cell" align="center"
height="20"><a href="logs.php?nick=d&date=3" title="Show logs for
d"></a><div class="greentxt"><a href="logs.php?nick=d&date=3" title="Show
logs for d">d</a></div></td><td class="cell" align="center" height="20"><div
class="greentxt">e</div></td><td class="cell" align="center" height="20"><div
class="greentxt">f</div></td></tr><tr><td class="cell" align="center"
height="20"><div class="greentxt">g</div></td><td class="cell" align="center"
height="20"><a href="logs.php?nick=h&date=3" title="Show logs for
h"></a><div class="greentxt"><a href="logs.php?nick=h&date=3" title="Show
logs for h">h</a></div></td><td class="cell" align="center" height="20"><div
class="greentxt">i</div></td></tr><tr><td class="cell" align="center"
height="20"><a href="logs.php?nick=j&date=3" title="Show logs for
j"></a><div><a href="logs.php?nick=j&date=3" title="Show logs for
j">j</a></div></td><td class="cell" align="center"
height="20"><div>k</div></td><td class="cell" align="center"
height="20"><div>l</div></td></tr>
</tbody></table>
</body></html>
Duplicates tags: '<a .. title="Show logs for X">'
empty (error) and correctly
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages iceweasel depends on:
ii debianutils 2.18 Miscellaneous utilities specific t
ii fontconfig 2.4.2-1.2 generic font configuration library
ii libatk1.0-0 1.12.4-3 The ATK accessibility toolkit
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.1-21 GCC support library
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libgtk2.0-0 2.8.20-7 The GTK+ graphical user interface
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libmyspell3c2 1:3.1-18 MySpell spellchecking library
ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxft2 2.1.12-2 FreeType-based font drawing librar
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxp6 1:1.0.0.xsf1-1 X Printing Extension (Xprint) clie
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
ii libxt6 1:1.0.5-2 X11 toolkit intrinsics library
ii psmisc 22.3-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.3-13 compression library - runtime
iceweasel recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]