diff --git a/htdocs/comm/bookmark.php b/htdocs/comm/bookmark.php
deleted file mode 100644
index 1b5b1100736..00000000000
--- a/htdocs/comm/bookmark.php
+++ /dev/null
@@ -1,149 +0,0 @@
-
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-/**
- * \file htdocs/comm/bookmark.php
- * \brief Page affichage des bookmarks
- */
-
-
-require '../main.inc.php';
-
-
-$sortfield = GETPOST("sortfield",'alpha');
-$sortorder = GETPOST("sortorder",'alpha');
-$page = GETPOST("page",'int');
-if ($page == -1) { $page = 0; }
-$offset = $conf->liste_limit * $page;
-$pageprev = $page - 1;
-$pagenext = $page + 1;
-if (! $sortorder) $sortorder="DESC";
-if (! $sortfield) $sortfield="bid";
-$limit = $conf->liste_limit;
-
-
-llxHeader();
-
-
-/*
- * Actions
- */
-
-if ($_GET["action"] == 'add')
-{
- $bookmark=new Bookmark($db);
- $bookmark->fk_user=$user->id;
- $bookmark->url=$user->id;
- $bookmark->target=$user->id;
- $bookmark->title='xxx';
- $bookmark->favicon='xxx';
-
- $res=$bookmark->create();
- if ($res > 0)
- {
- header("Location: ".$_SERVER["PHP_SELF"]);
- }
- else
- {
- $mesg='
'.$bookmark->error.'
';
- }
-}
-
-if ($_GET["action"] == 'delete')
-{
- $bookmark=new Bookmark($db);
- $bookmark->id=$_GET["bid"];
- $bookmark->url=$user->id;
- $bookmark->target=$user->id;
- $bookmark->title='xxx';
- $bookmark->favicon='xxx';
-
- $res=$bookmark->remove();
- if ($res > 0)
- {
- header("Location: ".$_SERVER["PHP_SELF"]);
- }
- else
- {
- $mesg=''.$bookmark->error.'
';
- }
-}
-
-
-
-print_fiche_titre($langs->trans("Bookmarks"));
-
-$sql = "SELECT s.rowid, s.nom as name, b.dateb as dateb, b.rowid as bid, b.fk_user, b.url, b.target, u.lastname, u.firstname";
-$sql.= " FROM ".MAIN_DB_PREFIX."bookmark as b, ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."user as u";
-$sql.= " WHERE b.fk_soc = s.rowid AND b.fk_user=u.rowid";
-if (! $user->admin) $sql.= " AND b.fk_user = ".$user->id;
-$sql.= $db->order($sortfield,$sortorder);
-$sql.= $db->plimit($limit, $offset);
-
-$resql=$db->query($sql);
-if ($resql)
-{
- $num = $db->num_rows($resql);
- $i = 0;
-
- if ($sortorder == "DESC") $sortorder="ASC";
- else $sortorder="DESC";
-
- print "";
-
- print "";
- //print "| | ";
- print_liste_field_titre($langs->trans("Id"),$_SERVER["PHP_SELF"],"bid","","",'align="center"',$sortfield,$sortorder);
- print_liste_field_titre($langs->trans("Author"),$_SERVER["PHP_SELF"],"u.lastname","","","",$sortfield,$sortorder);
- print_liste_field_titre($langs->trans("Date"),$_SERVER["PHP_SELF"],"b.dateb","","",'align="center"',$sortfield,$sortorder);
- print_liste_field_titre($langs->trans("Company"),$_SERVER["PHP_SELF"],"s.nom","","","",$sortfield,$sortorder);
- print_liste_field_titre($langs->trans("Url"),$_SERVER["PHP_SELF"],"b.url","","",'',$sortfield,$sortorder);
- print "".$langs->trans("Target")." | ";
- print " | ";
- print "
\n";
-
- $var=True;
- while ($i < $num)
- {
- $obj = $db->fetch_object($resql);
-
- $var=!$var;
- print "";
- //print "| " . ($i + 1 + ($limit * $page)) . " | ";
- print "".$obj->bid." | ";
- print "".img_object($langs->trans("ShowUser"),"user").' '.$obj->lastname." ".$obj->firstname." | \n";
- print ''.dol_print_date($db->jdate($obj->dateb))." | ";
- print "rowid."\">".img_object($langs->trans("ShowCompany"),"company").' '.$obj->name." | \n";
- print ''.$obj->url." | ";
- print ''.$obj->target." | ";
- print "bid."\">".img_delete()." | \n";
- print "
\n";
- $i++;
- }
- print "
";
- $db->free($resql);
-}
-else
-{
- dol_print_error($db);
-}
-
-
-$db->close();
-
-llxFooter();
-?>