Changed title 'Homepage' to 'URL'
This commit is contained in:
68
shared.php
68
shared.php
@@ -73,39 +73,41 @@ if (isset ($_GET['user']) && check_username ($user)) {
|
||||
<!-- Bookmarks starts here. -->
|
||||
<div class="bookmarks" style="height: <?php echo $table_height; ?>;">
|
||||
|
||||
<?php
|
||||
require_once (ABSOLUTE_PATH . "bookmarks.php");
|
||||
$query = sprintf ("SELECT title, url, description, UNIX_TIMESTAMP(date) AS timestamp, id, favicon
|
||||
FROM bookmark
|
||||
WHERE user='%s'
|
||||
AND childof='%d'
|
||||
AND deleted!='1'
|
||||
AND public='1'
|
||||
ORDER BY title",
|
||||
$mysql->escape ($user),
|
||||
$mysql->escape ($folderid));
|
||||
|
||||
if ($mysql->query ($query)) {
|
||||
$bookmarks = array ();
|
||||
while ($row = mysql_fetch_assoc ($mysql->result)) {
|
||||
array_push ($bookmarks, $row);
|
||||
}
|
||||
list_bookmarks ($bookmarks,
|
||||
false,
|
||||
false,
|
||||
$settings['show_bookmark_icon'],
|
||||
true,
|
||||
$settings['show_bookmark_description'],
|
||||
$settings['show_column_date'],
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false);
|
||||
}
|
||||
else {
|
||||
message ($mysql->error);
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
|
||||
require_once (ABSOLUTE_PATH . "bookmarks.php");
|
||||
$query = sprintf ("SELECT title, url, description, UNIX_TIMESTAMP(date) AS timestamp, id, favicon
|
||||
FROM bookmark
|
||||
WHERE user='%s'
|
||||
AND childof='%d'
|
||||
AND deleted!='1'
|
||||
AND public='1'
|
||||
ORDER BY title",
|
||||
$mysql->escape ($user),
|
||||
$mysql->escape ($folderid));
|
||||
|
||||
if ($mysql->query ($query)) {
|
||||
$bookmarks = array ();
|
||||
while ($row = mysql_fetch_assoc ($mysql->result)) {
|
||||
array_push ($bookmarks, $row);
|
||||
}
|
||||
list_bookmarks ($bookmarks,
|
||||
false,
|
||||
false,
|
||||
$settings['show_bookmark_icon'],
|
||||
true,
|
||||
$settings['show_bookmark_description'],
|
||||
$settings['show_column_date'],
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false);
|
||||
}
|
||||
else {
|
||||
message ($mysql->error);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!-- Bookmarks ends here. -->
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user