/[drupal]/contributions/modules/filebrowser/filebrowser.admin.inc
ViewVC logotype

Contents of /contributions/modules/filebrowser/filebrowser.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Sat Apr 25 13:39:41 2009 UTC (7 months ago) by ulhume
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-RC10, DRUPAL-6--2-0-RC9, HEAD
Branch point for: DRUPAL-6--2
Changes since 1.1: +22 -1 lines
File MIME type: text/x-php
*** empty log message ***
1 <?php
2 /* This file is part of "filebrowser".
3 * Copyright 2009, arNuméral
4 * Author : Yoran Brault
5 * eMail : yoran.brault@bad_arnumeral.fr (remove bad_ before sending an email)
6 * Site : http://www.arnumeral.fr/node/5
7 *
8 * "filebrowser" is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2.1 of
11 * the License, or (at your option) any later version.
12 *
13 * "filebrowser" is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public
19 * License along with "Broken Anchor for Node comments Module"; if not, write to the Free
20 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
22 */
23
24 function filebrowser_admin_settings() {
25 $form['filebrowser_no_node_access'] = array (
26 '#type' => 'checkbox',
27 '#title' => t('Leave node permissions to an external module'),
28 '#default_value' => filebrowser_get_no_node_access(),
29 '#description' => t("Check this if you are using an external permission module using node_access system (ex. nodeaccess module).")
30 );
31 return system_settings_form($form);
32 }

  ViewVC Help
Powered by ViewVC 1.1.2