diff --git a/filemanager/inc/db.inc.php b/filemanager/inc/db.inc.php
deleted file mode 100755
index ff0afccde6..0000000000
--- a/filemanager/inc/db.inc.php
+++ /dev/null
@@ -1,47 +0,0 @@
-db->Auto_Free = 0;
-}
-
-/* General SQL query */
-function db_query ($query)
-{
- global $phpgw;
- global $phpgw_info;
-
- return $phpgw->db->query ($query);
-}
-
-/* Fetch next array for $query_id */
-function db_fetch_array ($query_id)
-{
- global $phpgw;
- global $phpgw_info;
-
-// $phpgw->db->Query_ID = $query_id;
- $phpgw->db->next_record ();
- return $phpgw->db->Record;
-}
-
-/*
- General wrapper for all other db calls
- Calls in here are simply returned, so not all will work
-*/
-function db_call ($function, $query_id)
-{
- global $phpgw;
- global $phpgw_info;
-
-// $phpgw->db->Query_ID = $query_id;
- return $phpgw->db->$function ();
-}
-
-?>
diff --git a/filemanager/inc/functions.inc.php b/filemanager/inc/functions.inc.php
deleted file mode 100644
index b57faf4f2f..0000000000
--- a/filemanager/inc/functions.inc.php
+++ /dev/null
@@ -1,5 +0,0 @@
-
diff --git a/filemanager/inc/html.inc.php b/filemanager/inc/html.inc.php
deleted file mode 100755
index 6082066e02..0000000000
--- a/filemanager/inc/html.inc.php
+++ /dev/null
@@ -1,545 +0,0 @@
-';
- return (eor ($rstring, $return));
-}
-
-function html_form_input ($type = NULL, $name = NULL, $value = NULL, $maxlength = NULL, $size = NULL, $checked = NULL, $string = HTML_FORM_INPUT_STRING, $return = 0)
-{
- $text = ' ';
- if ($type != NULL && $type)
- {
- if ($type == 'checkbox')
- {
- $value = string_encode ($value, 1);
- }
- $text .= 'type="'.$type.'" ';
- }
- if ($name != NULL && $name)
- {
- $text .= 'name="'.$name.'" ';
- }
- if ($value != NULL && $value)
- {
- $text .= 'value="'.$value.'" ';
- }
- if (is_int ($maxlength) && $maxlength >= 0)
- {
- $text .= 'maxlength="'.$maxlength.'" ';
- }
- if (is_int ($size) && $size >= 0)
- {
- $text .= 'size="'.$size.'" ';
- }
- if ($checked != NULL && $checked)
- {
- $text .= 'checked ';
- }
-
- $rstring = '';
- return (eor ($rstring, $return));
-}
-
-function html_form_textarea ($name = NULL, $rows = NULL, $cols = NULL, $value = NULL, $string = HTML_FORM_TEXTAREA_STRING, $return = 0)
-{
- $text =' ';
- if ($name != NULL && $name)
- {
- $text .= 'name="'.$name.'" ';
- }
- if (is_int ($rows) && $rows >= 0)
- {
- $text .= 'rows="'.$rows.'" ';
- }
- if (is_int ($cols) && $cols >= 0)
- {
- $text .= 'cols="'.$cols.'" ';
- }
- $rstring = '';
- return (eor ($rstring, $return));
-}
-
-function html_form_select_begin ($name = NULL, $return = 0)
-{
- $text = ' ';
- if ($name != NULL && $name)
- {
- $text .= 'name="'.$name.'" ';
- }
- $rstring = '';
- return (eor ($rstring, $return));
-}
-
-function html_form_option ($value = NULL, $displayed = NULL, $selected = NULL, $return = 0)
-{
- $text = ' ';
- if ($value != NULL && $value)
- {
- $text .= ' value="'.$value.'" ';
- }
- if ($selected != NULL && $selected)
- {
- $text .= ' selected';
- }
- $rstring = '';
- return (eor ($rstring, $return));
-}
-
-function html_form_end ($return = 0)
-{
- $rstring = '';
- return (eor ($rstring, $return));
-}
-
-function html_nbsp ($times = 1, $return = 0)
-{
- if ($times == NULL)
- {
- $times = 1;
- }
- for ($i = 0; $i != $times; $i++)
- {
- if ($return)
- {
- $rstring .= ' ';
- }
- else
- {
- echo ' ';
- }
- }
- if ($return)
- {
- return ($rstring);
- }
-}
-
-function html ($string, $times = 1, $return = 0)
-{
- for ($i = 0; $i != $times; $i++)
- {
- if ($return)
- {
- $rstring .= $string;
- }
- else
- {
- echo $string;
- }
- }
- if ($return)
- {
- return ($rstring);
- }
-}
-
-function html_break ($break, $string = '', $return = 0)
-{
- switch($break)
- {
- case 1:
- $break_str = '
';
- break;
- case 2:
- $break_str = '
'; - break; - case 5: - $break_str = '