make use of the new constants of the config file for db connection and base path

This commit is contained in:
Jonathan Ernst
2004-12-23 01:12:03 +00:00
committed by WineHQ
parent d5a6d34be6
commit ca749d32d9
25 changed files with 100 additions and 146 deletions

View File

@@ -3,7 +3,6 @@ class htmlmenu {
function htmlmenu($name, $form = null)
{
global $apidb_root;
if ($form)
echo "<form action='$form' method=get>\n";
@@ -16,14 +15,14 @@ class htmlmenu {
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="topMenu">
<tr>
<td width="100%" rowspan="3" align="left"><span class="menuTitle">&nbsp; '.$name.'</span></td>
<td rowspan="3" valign="middle" align="right"><img src="'.$apidb_root.'images/winehq_border_dot_right.gif" alt=""></td>
<td valign="top" align="left"><img src="'.$apidb_root.'images/winehq_border_top_right.gif" alt=""></td>
<td rowspan="3" valign="middle" align="right"><img src="'.BASE.'images/winehq_border_dot_right.gif" alt=""></td>
<td valign="top" align="left"><img src="'.BASE.'images/winehq_border_top_right.gif" alt=""></td>
</tr>
<tr>
<td><img src="'.$apidb_root.'images/blank.gif" width="1" height="1" alt=""></td>
<td><img src="'.BASE.'images/blank.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
<td valign="bottom" align="right"><img src="'.$apidb_root.'images/winehq_border_bottom_right.gif" alt=""></td>
<td valign="bottom" align="right"><img src="'.BASE.'images/winehq_border_bottom_right.gif" alt=""></td>
</tr>
</table>
</td>
@@ -56,14 +55,12 @@ class htmlmenu {
function done($form = null)
{
global $apidb_root;
echo '
</table>
</td></tr>
</table>
</td>
<td><img src="'.$apidb_root.'images/blank.gif" width=5 height=1 alt="-"></td>
<td><img src="'.BASE.'images/blank.gif" width=5 height=1 alt="-"></td>
</tr>
</table>
</div>