1
0

Changing design to mostly tableless code.

This commit is contained in:
Stefan Frech
2008-05-30 21:11:07 +00:00
committed by Jonas Kattendick
parent df60ffea39
commit 91468a4bed
21 changed files with 733 additions and 970 deletions

View File

@@ -3,60 +3,36 @@ require_once ("./header.php");
logged_in_only ();
?>
<table class="caption">
<tr>
<td><span class="caption"><img src="./images/logo.png" alt=""> Import Bookmarks</span>
</td>
<h1 id="caption">Import Bookmarks</h1>
<td class="captionright">
<div><?php object_count (); ?></div>
<div><?php print_footer (); ?></div>
</td>
</tr>
</table>
<!-- Wrapper starts here. -->
<div style="min-width: <?php echo 230 + $settings['column_width_folder']; ?>px;">
<!-- Menu starts here. -->
<div id="menu">
<h2 class="nav">Bookmarks</h2>
<ul class="nav">
<li><a href="./index.php">My Bookmarks</a></li>
<li><a href="./shared.php">Shared Bookmarks</a></li>
</ul>
<h2 class="nav">Tools</h2>
<ul class="nav">
<?php if (admin_only ()) { ?>
<li><a href="./admin.php">Admin</a></li>
<?php } ?>
<li><a href="./import.php">Import</a></li>
<li><a href="./export.php">Export</a></li>
<li><a href="./sidebar.php">View as Sidebar</a></li>
<li><a href="./settings.php">Settings</a></li>
<li><a href="javascript:chpw()">Change Password</a></li>
<li><a href="./index.php?logout=1">Logout</a></li>
</ul>
<!-- Menu ends here. -->
</div>
<table class="main">
<tr>
<td class="main1">
<table class="menu">
<tr>
<th class="menuhead">Bookmarks</th>
</tr>
<tr>
<td class="menu">
<a href="./index.php">My Bookmarks</a><br>
<a href="./shared.php">Shared Bookmarks</a><br>
</td>
</tr>
</table>
<br>
<table class="menu">
<tr>
<th class="menuhead">Tools</th>
</tr>
<tr>
<td class="menu">
<?php if (admin_only ()) { ?>
<a href="./admin.php">Admin</a><br>
<?php } ?>
<a href="./import.php">Import</a><br>
<a href="./export.php">Export</a><br>
<a href="./sidebar.php">View as Sidebar</a><br>
<a href="./settings.php">Settings</a><br>
<a href="javascript:chpw()">Change Password</a><br>
<a href="./index.php?logout=1">Logout</a><br>
</td>
</tr>
</table>
<td class="">
<img src="./images/spacer.gif" alt="" class="main2">
</td>
<td class="main4">
<!-- Main content starts here. -->
<div id="main">
<div id="content">
<?php
@@ -68,11 +44,10 @@ if (!isset ($_FILES['importfile']['tmp_name']) || $_FILES['importfile']['tmp_nam
else{
$default_browser = "netscape";
}
?>
<form enctype="multipart/form-data" action="<?php echo $_SERVER['SCRIPT_NAME'];?>" method="post">
<table valign="top" border="0">
<table border="0">
<tr>
<td>
from Browser:
@@ -121,7 +96,7 @@ if (!isset ($_FILES['importfile']['tmp_name']) || $_FILES['importfile']['tmp_nam
</tr>
<tr>
<td>
<td valign="top">
Destination Folder:
</td>
<td>
@@ -174,9 +149,11 @@ else{
?>
</td>
</tr>
</table>
</div>
<!-- Main content ends here. -->
</div>
<!-- Wrapper ends here. -->
</div>
<?php
@@ -357,5 +334,6 @@ class import {
}
}
print_footer ();
require_once (ABSOLUTE_PATH . "footer.php");
?>