1
0

Updated tableless design and added new search function.

This commit is contained in:
Stefan Frech
2008-06-01 19:29:18 +00:00
committed by Jonas Kattendick
parent 1aedf85d34
commit 2ea7cfb866
8 changed files with 88 additions and 15 deletions

View File

@@ -39,10 +39,10 @@ function list_bookmarks ($bookmarks, $show_checkbox, $show_folder, $show_icon, $
$folder_image = $folder_opened;
}
$expand = $tree->get_path_to_root ($value['fid']);
echo '<td style="width:' . $column_width_folder . ';">';
echo "\t" . '<div style="width:' . $column_width_folder . '; float: left;">';
echo '<a class="f" href="./index.php?expand=' . implode (",", $expand) . '&folderid='. $value['fid'] .'#' . $value['fid'] . '">';
echo $folder_image . " " . $value['name'] . "</a>";
echo "</td>\n";
echo "</div>\n";
}
# the checkbox and favicon section
@@ -118,7 +118,13 @@ function list_bookmarks ($bookmarks, $show_checkbox, $show_folder, $show_icon, $
# the description and if not empty
if ($show_desc && $value['description'] != "") {
echo '<div class="description">' . $value['description'] . "</div>\n";
if ($show_folder) {
$css_extension = ' style="margin-left: ' . $column_width_folder . ';"';
}
else {
$css_extension = "";
}
echo "\t" . '<div class="description"' . $css_extension . '>' . $value['description'] . "</div>\n";
}
echo "</div>\n\n";