Commit d8627c53 authored by Pietro Albini's avatar Pietro Albini

Cleanup the website source code

parent 687631db
This diff is collapsed.
This diff is collapsed.
/* IE 6 and below */
#page-border-left-repeat {
padding: 0 0 0 7px;
}
#page-border-right-top {
right: 3.9%;
}
#page-border-left-bottom {
bottom: 18px;
}
#page-border-right-bottom {
bottom: 18px;
right: 3.9%;
}
#page-border-bottom-repeat {
height:30px;
}
.rightheader {
margin-top: -5px;
height: 22px;
}
.rightheader img {
margin-top: 0px;
}
#sfondobarra {
padding-left:5%;
}
#pulsante {
right:-3.8%;
}
#bodyarea {
height: 270px;
}
// This function is used to init fix processing
function fixplanet() {
fixurls();
}
// This funtiontion fixes urls of ubuntu-it News that contain
// '&' instead of '&'
function fixurls () {
var h2 = document.getElementsByTagName('h2');
var i = 0;
for (i = 0 ; i < h2.length ; i++ ) {
if (h2[i].className == 'post-title') {
var posttitle = h2[i].getElementsByTagName('a')[0];
var href = posttitle.href;
if (href.indexOf('http://www.ubuntu-it.org/index.php?mact=News', 0) == 0) {
while(href.indexOf('&amp;') > 0) {
href = href.replace('&amp;', '&');
}
}
posttitle.href = href;
}
}
}
This diff is collapsed.
File mode changed from 100755 to 100644
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