Fixing more broken links.
This commit is contained in:
parent
e325bb8059
commit
dd1f2a234f
|
@ -8,8 +8,9 @@
|
||||||
<diritem title="Office" href="office/" />
|
<diritem title="Office" href="office/" />
|
||||||
<diritem title="Events" href="events/" />
|
<diritem title="Events" href="events/" />
|
||||||
<diritem title="Media" href="media/" />
|
<diritem title="Media" href="media/" />
|
||||||
<diritem title="Wiki" href="http://wiki.csclub.uwaterloo.ca/" />
|
<diritem title="Wiki" absolute="true" href="http://wiki.csclub.uwaterloo.ca/" />
|
||||||
<diritem title="Webmail" href="https://mail.csclub.uwaterloo.ca/" />
|
<diritem title="Webmail" absolute="true" href="https://mail.csclub.uwaterloo.ca/" />
|
||||||
<diritem title="Gallery" href="/gallery2/" />
|
<diritem title="Gallery" absolute="true" href="/gallery2/" />
|
||||||
<diritem title="Stats" href="stats" />
|
<diritem title="Stats" absolute="true" href="stats" />
|
||||||
|
<diritem title="Library" href="library/" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
|
@ -68,8 +68,11 @@ foreach $item (@items){
|
||||||
|
|
||||||
$fields{'title'} =~ s/"//g;
|
$fields{'title'} =~ s/"//g;
|
||||||
|
|
||||||
print "<a class=\"diritem\" href=\"$fields{'href'}\">$fields{'title'}</a>\n";
|
if($fields{'absolute'} =~ /true/){
|
||||||
|
print "<a class=\"diritem\" href=\"$fields{'href'}\">$fields{'title'}</a>\n";
|
||||||
|
}else{
|
||||||
|
print "<a class=\"diritem\" href=\"$webroot/$fields{'href'}\">$fields{'title'}</a>\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue