// // This file is part of IlohaMail. // IlohaMail is free software released under the GPL // license. See enclosed file COPYING for details, // or see http://www.fsf.org/copyleft/gpl.html // ///////////////////////////////////////////////////////// /******************************************************** AUTHOR: Ryo Chijiiwa FILE: source/bookmarks.php PURPOSE: Create/edit/delete bookmarks PRE-CONDITIONS: $user - Session ID ********************************************************/ include("../include/stopwatch.inc"); $timer = new stopwatch(true); $timer->register("start"); include("../include/super2global.inc"); include("../include/header_export_bookmarks.inc"); include("../include/langs.inc"); include("../include/icl.inc"); include("../lang/".$my_prefs["lang"]."bookmarks.inc"); include("../include/data_manager.inc"); $timer->register("included"); //make sure feature is not disabled if ($DISABLE_BOOKMARKS){ echo $bmError[2]; echo "\n"; exit; } //open DM connection $dm = new DataManager_obj; if ($dm->initialize($loginID, $host, $DB_BOOKMARKS_TABLE, $DB_TYPE)){ }else{ echo "Data Manager initialization failed:
\n"; $dm->showError(); } //get sorted list of bookmarks $urls_a = $dm->sort("grp,name", "ASC"); //get groups and form