[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeadmin/kpackage
From: Heinrich Wendel <h_wendel () cojobo ! net>
Date: 2005-07-04 17:45:11
Message-ID: 1120499111.853545.31435.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 431553 by lanius:
use valid xhtml/css
M +7 -7 packageProperties.cpp
--- trunk/KDE/kdeadmin/kpackage/packageProperties.cpp #431552:431553
@@ -133,11 +133,11 @@
}
stmp = "";
- stmp += "<HTML><HEAD></HEAD><BODY><H1>";
- stmp += "<b><font face=\"Times New Roman,Times\">";
+ stmp += "<html><head></head><body><h1>";
+ stmp += "<h1 style='font-family: serif;'>";
stmp += p->getProperty("name");
- stmp += "</font></b></H1><HR>";
- stmp += "<table CELLSPACING=4 BORDER=0 WIDTH=\"100%\" >";
+ stmp += "</h1><hr/>";
+ stmp += "<table style='width: 100%; border: none; border-spacing: 4px;>";
for ( QStringList::Iterator s = cList.begin();
s != cList.end();
++s) {
@@ -149,9 +149,9 @@
propName = *s;
}
stmp += "<tr>";
- stmp += "<td VALIGN=TOP><b>";
+ stmp += "<td style='vertical-align: top; font-weight: bold'>";
stmp += propName;
- stmp += "</b></td><td>";
+ stmp += "</td><td>";
QString f = p->getProperty(*s);
if (*s == "maintainer" || *s == "packager") {
f.replace(QRegExp("<"),"<");
@@ -180,7 +180,7 @@
stmp += "</tr>";
}
stmp += "</table>";
- stmp += "</BODY></HTML>";
+ stmp += "</body></html>";
setText(stmp);
}
update();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic