Files
window-maker.github.io/dock.php
Doug Torrance 117a2451c8 dock.php, header.php: Update include files to use absolute paths.
The links and images used in the dock.php header.php include files use relative
paths.  This poses a problem if someone were to include them from a file in a
subdirectory.  In particular, the links and images used by the include files
would be assumed to be in the same subdirectory.

This patch fixes this issue by using absolute paths instead.
2014-08-10 13:57:13 -06:00

39 lines
1.3 KiB
PHP

<?php $root = "http://www.windowmaker.org/";?>
<div id="dock">
<table width="64" height="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="<?php echo $root;?>home.php"><img src="<?php echo $root;?>homewmaker.png" alt="Home" width="60" height="81"></a></td>
</tr>
<tr>
<td><a href="<?php echo $root;?>news.php"><img src=
"<?php echo $root;?>news.png" alt="News" width="60" height="81"></a></td>
</tr>
<tr>
<td><a href="<?php echo $root;?>docs.php"><img src=
"<?php echo $root;?>docs.png" alt="Documentation" width="60" height="81"></a></td>
</tr>
<tr>
<td><a href="<?php echo $root;?>lists.php"><img src="<?php echo $root;?>mailing_list.png" alt="Mailing Lists" width="60" height=
"81"></a></td>
</tr>
<tr>
<td><a href="<?php echo $root;?>dev.php"><img src="<?php echo $root;?>development.png" alt="Development" width="60" height=
"81"></a></td>
</tr>
<tr>
<td><a href="<?php echo $root;?>themes.php"><img src="<?php echo $root;?>themes.png" alt="Themes" width="60" height=
"81"></a></td>
</tr>
<tr>
<td><a href="<?php echo $root;?>links.php"><img src="<?php echo $root;?>links.png" alt="Links" width="60" height=
"81"></a></td>
</tr>
</table>
</div>