You are here

filebrowser.admin.inc in Filebrowser 6.2

File

filebrowser.admin.inc
View source
<?php

/* This file is part of "filebrowser".
 *    Copyright 2009-2011, arNuméral
 *    Author : Yoran Brault
 *    eMail  : yoran.brault@bad_arnumeral.fr (remove bad_ before sending an email)
 *    Site   : http://www.arnumeral.fr
 *
 * "filebrowser" 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 2.1 of
 * the License, or (at your option) any later version.
 *
 * "filebrowser" 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 "filebrowser"; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
function filebrowser_admin_settings() {
  $form = array(
    'filebrowser' => array(
      '#tree' => TRUE,
    ),
  );
  $form['filebrowser'] += _filebrowser_form_presentation_part();
  $form['filebrowser'] += _filebrowser_form_rights_part();
  $form['filebrowser'] += _filebrowser_form_uploads_part();
  $form['filebrowser'] += _filebrowser_form_file_handlers_part();
  return system_settings_form($form);
}

Functions