| 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 |
}
|