NEW Better explanation for setup of WebDav module
This commit is contained in:
parent
be21755378
commit
67c207db12
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2008-2018 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2008-2019 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -36,6 +36,7 @@ $action = GETPOST('action', 'alpha');
|
|||||||
$backtopage = GETPOST('backtopage', 'alpha');
|
$backtopage = GETPOST('backtopage', 'alpha');
|
||||||
|
|
||||||
$arrayofparameters=array(
|
$arrayofparameters=array(
|
||||||
|
'DAV_ALLOW_PRIVATE_DIR'=>array('css'=>'minwidth200', 'enabled'=>2),
|
||||||
'DAV_ALLOW_PUBLIC_DIR'=>array('css'=>'minwidth200', 'enabled'=>1),
|
'DAV_ALLOW_PUBLIC_DIR'=>array('css'=>'minwidth200', 'enabled'=>1),
|
||||||
'DAV_ALLOW_ECM_DIR'=>array('css'=>'minwidth200', 'enabled'=>$conf->ecm->enabled)
|
'DAV_ALLOW_ECM_DIR'=>array('css'=>'minwidth200', 'enabled'=>$conf->ecm->enabled)
|
||||||
);
|
);
|
||||||
@ -84,7 +85,11 @@ if ($action == 'edit')
|
|||||||
print '<tr class="oddeven"><td>';
|
print '<tr class="oddeven"><td>';
|
||||||
print $form->textwithpicto($langs->trans($key), $langs->trans($key.'Tooltip'));
|
print $form->textwithpicto($langs->trans($key), $langs->trans($key.'Tooltip'));
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
if ($key == 'DAV_ALLOW_PUBLIC_DIR' || $key == 'DAV_ALLOW_ECM_DIR')
|
if ($key == 'DAV_ALLOW_PRIVATE_DIR')
|
||||||
|
{
|
||||||
|
print $langs->trans("AlwaysActive");
|
||||||
|
}
|
||||||
|
elseif ($key == 'DAV_ALLOW_PUBLIC_DIR' || $key == 'DAV_ALLOW_ECM_DIR')
|
||||||
{
|
{
|
||||||
print $form->selectyesno($key, $conf->global->$key, 1);
|
print $form->selectyesno($key, $conf->global->$key, 1);
|
||||||
}
|
}
|
||||||
@ -114,7 +119,11 @@ else
|
|||||||
print '<tr class="oddeven"><td>';
|
print '<tr class="oddeven"><td>';
|
||||||
print $form->textwithpicto($langs->trans($key), $langs->trans($key.'Tooltip'));
|
print $form->textwithpicto($langs->trans($key), $langs->trans($key.'Tooltip'));
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
if ($key == 'DAV_ALLOW_PUBLIC_DIR' || $key == 'DAV_ALLOW_ECM_DIR')
|
if ($key == 'DAV_ALLOW_PRIVATE_DIR')
|
||||||
|
{
|
||||||
|
print $langs->trans("AlwaysActive");
|
||||||
|
}
|
||||||
|
elseif ($key == 'DAV_ALLOW_PUBLIC_DIR' || $key == 'DAV_ALLOW_ECM_DIR')
|
||||||
{
|
{
|
||||||
print yn($conf->global->$key);
|
print yn($conf->global->$key);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -481,9 +481,11 @@ FilesAttachedToEmail=Attach file
|
|||||||
SendEmailsReminders=Send agenda reminders by emails
|
SendEmailsReminders=Send agenda reminders by emails
|
||||||
davDescription=Setup a WebDAV server
|
davDescription=Setup a WebDAV server
|
||||||
DAVSetup=Setup of module DAV
|
DAVSetup=Setup of module DAV
|
||||||
DAV_ALLOW_PUBLIC_DIR=Enable the public directory (WebDAV directory - no login required)
|
DAV_ALLOW_PRIVATE_DIR=Enable the generic private directory (WebDAV dedicated directory named "private" - login required)
|
||||||
DAV_ALLOW_PUBLIC_DIRTooltip=The WebDAV public directory is a WebDAV directory anybody can access (in read and write mode), with no authorization required (login/password account).
|
DAV_ALLOW_PRIVATE_DIRTooltip=The generic private directory is a WebDAV directory anybody can access with its application login/pass.
|
||||||
DAV_ALLOW_ECM_DIR=Enable the private directory (root directory of the DMS/ECM module - login required)
|
DAV_ALLOW_PUBLIC_DIR=Enable the generic public directory (WebDAV dedicated directory named "public" - no login required)
|
||||||
|
DAV_ALLOW_PUBLIC_DIRTooltip=The generic public directory is a WebDAV directory anybody can access (in read and write mode), with no authorization required (login/password account).
|
||||||
|
DAV_ALLOW_ECM_DIR=Enable the DMS/ECM private directory (root directory of the DMS/ECM module - login required)
|
||||||
DAV_ALLOW_ECM_DIRTooltip=The root directory where all files are manually uploaded when using the DMS/ECM module. Similarly as access from the web interface, you will need a valid login/password with adecuate permissions to access it.
|
DAV_ALLOW_ECM_DIRTooltip=The root directory where all files are manually uploaded when using the DMS/ECM module. Similarly as access from the web interface, you will need a valid login/password with adecuate permissions to access it.
|
||||||
# Modules
|
# Modules
|
||||||
Module0Name=Users & Groups
|
Module0Name=Users & Groups
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user