Updated tableless design and added new search function.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user