From 8af2e4bbb77efbfe391088f7de187db3262874cb Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 28 Jul 2006 11:36:53 +0200 Subject: [PATCH] default policy for installer darcs-hash:20060728093653-7ad00-fc481b0ae7707516de089bfd88dba3eee0f33f3d.gz --- conf/acl.auth.php.dist | 3 ++- inc/lang/en/lang.php | 6 +++++- install.php | 32 ++++++++++++++++++++++++++++++-- 3 files changed, 37 insertions(+), 4 deletions(-) diff --git a/conf/acl.auth.php.dist b/conf/acl.auth.php.dist index 3fa9741c5..14344d778 100644 --- a/conf/acl.auth.php.dist +++ b/conf/acl.auth.php.dist @@ -16,5 +16,6 @@ # edit 2 # create 4 # upload 8 +# delete 16 -* @ALL 4 +* @ALL 8 diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php index 1bf75da1a..2b90a37d5 100644 --- a/inc/lang/en/lang.php +++ b/inc/lang/en/lang.php @@ -205,7 +205,7 @@ $lang['i_problems'] = 'The installer found some problems, indicated below. You $lang['i_modified'] = 'For security reasons this script will only work with a new and unmodified Dokuwiki installation. You should either re-extract the files from the downloaded package or consult the complete Dokuwiki installation instructions'; -$lang['i_funcna'] = 'PHP function %s is not available. Maybe your provider disabled it for some reason?'; +$lang['i_funcna'] = 'PHP function %s is not available. Maybe your hosting provider disabled it for some reason?'; $lang['i_permfail'] = '%s is not writable by DokuWiki. You need to fix the permission settings of this directory!'; $lang['i_confexists'] = '%s already exists'; $lang['i_writeerr'] = 'Unable to create %s. You will need to check directory/file permissions and create the file manually.'; @@ -215,6 +215,10 @@ $lang['i_success'] = 'The configuration was finished successfully. You may de your new DokuWiki.'; $lang['i_failure'] = 'Some errors occured while writing the configuration files. You may need to fix them manually before you can use your new DokuWiki.'; +$lang['i_policy'] = 'Initial ACL policy'; +$lang['i_pol0'] = 'Open Wiki (read, write, upload for everyone)'; +$lang['i_pol1'] = 'Public Wiki (read for everyone, write and upload for registered users)'; +$lang['i_pol2'] = 'Closed Wiki (read, write, upload for registered users only)'; //Setup VIM: ex: et ts=2 enc=utf-8 : diff --git a/install.php b/install.php index cc179f856..46ebf5448 100644 --- a/install.php +++ b/install.php @@ -62,7 +62,7 @@ header('Content-Type: text/html; charset=utf-8'); code { font-size: 110%; color: #008000; } fieldset { border: none } label { display: block;} - input.text { width: 30em; margin: 0 0.5em; } + select.text, input.text { width: 30em; margin: 0 0.5em; }