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

@@ -108,60 +108,35 @@ function check_date_format () {
?>
<table class="caption">
<tr>
<td><span class="caption"><img src="./images/logo.png" alt=""> My Settings</span>
</td>
<h1 id="caption">My Settings</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">
<table>
<tr>
@@ -199,35 +174,35 @@ function check_date_format () {
<tr>
<td>Confirm deletions of bookmarks an folders</td>
<td>
<input type="checkbox" name="settings_confirm_delete" <?php if ($settings['confirm_delete'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_confirm_delete" <?php if ($settings['confirm_delete'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Open a new window when clicking a bookmark</td>
<td>
<input type="checkbox" name="settings_open_new_window" <?php if ($settings['open_new_window'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_open_new_window" <?php if ($settings['open_new_window'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Show the bookmarks description in the overview</td>
<td>
<input type="checkbox" name="settings_show_bookmark_description" <?php if ($settings['show_bookmark_description'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_show_bookmark_description" <?php if ($settings['show_bookmark_description'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Enable favicon support: <?php echo $bookmark_image; ?></td>
<td>
<input type="checkbox" name="settings_show_bookmark_icon" <?php if ($settings['show_bookmark_icon'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_show_bookmark_icon" <?php if ($settings['show_bookmark_icon'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Show the column with the change date: <?php echo date ($date_formats[$settings['date_format']]); ?></td>
<td>
<input type="checkbox" name="settings_show_column_date" <?php if ($settings['show_column_date'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_show_column_date" <?php if ($settings['show_column_date'] == 1) {echo "checked";}?>>
</td>
</tr>
@@ -249,56 +224,56 @@ function check_date_format () {
<tr>
<td>Show the private/public column: <span class="private">private</span></td>
<td>
<input type="checkbox" name="settings_show_public" <?php if ($settings['show_public'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_show_public" <?php if ($settings['show_public'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Show the column to edit a bookmark: <?php echo $edit_image; ?></td>
<td>
<input type="checkbox" name="settings_show_column_edit" <?php if ($settings['show_column_edit'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_show_column_edit" <?php if ($settings['show_column_edit'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Show the column to move a bookmark: <?php echo $move_image; ?></td>
<td>
<input type="checkbox" name="settings_show_column_move" <?php if ($settings['show_column_move'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_show_column_move" <?php if ($settings['show_column_move'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Show the column to delete a bookmark: <?php echo $delete_image; ?></td>
<td>
<input type="checkbox" name="settings_show_column_delete" <?php if ($settings['show_column_delete'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_show_column_delete" <?php if ($settings['show_column_delete'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Collapse tree when clicking on folder icon: <?php echo $minus . $folder_opened; ?></td>
<td>
<input type="checkbox" name="settings_fast_folder_minus" <?php if ($settings['fast_folder_minus'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_fast_folder_minus" <?php if ($settings['fast_folder_minus'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Expand tree when clicking on folder icon: <?php echo $plus . $folder_opened; ?></td>
<td>
<input type="checkbox" name="settings_fast_folder_plus" <?php if ($settings['fast_folder_plus'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_fast_folder_plus" <?php if ($settings['fast_folder_plus'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Select folder when clicking on plus/minus symbol</td>
<td>
<input type="checkbox" name="settings_fast_symbol" <?php if ($settings['fast_symbol'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_fast_symbol" <?php if ($settings['fast_symbol'] == 1) {echo "checked";}?>>
</td>
</tr>
<tr>
<td>Allways open just one tree</td>
<td>
<input type="checkbox" name="settings_simple_tree_mode" <?php if ($settings['simple_tree_mode'] == 1) {echo "checked";}?>></input>
<input type="checkbox" name="settings_simple_tree_mode" <?php if ($settings['simple_tree_mode'] == 1) {echo "checked";}?>>
</td>
</tr>
@@ -386,9 +361,10 @@ function check_date_format () {
</tr>
</table>
</td>
</tr>
</table>
<!-- Main content ends here. -->
</div>
<!-- Wrapper ends here. -->
</div>
<?php
require_once (ABSOLUTE_PATH . "footer.php");