Finally done with fixes

This commit is contained in:
Simon DELAGE 2014-08-30 17:13:04 +02:00
parent b372aa5693
commit f44791e18e
6 changed files with 16 additions and 16 deletions

View File

@ -3,6 +3,6 @@ UserHomepage
Dokuwiki plugin to automatically create user's homepage and/or namespace.
Previous authors stopped developing it in 2009.
I started to work on it in 2014.
I started to work on it in 2014-08.
Simon Delage, simon.geekitude@gmail.com

View File

@ -4,11 +4,11 @@
* FIXED by Simon Delage <simon.geekitude@gmail.com> on 2014-08-30
*/
$conf['use_name_string'] = 0; // use name string instead of login string for the user's ns
$conf['use_start_page'] = 1; // use state page instead of namespace string for home page
$conf['set_permissions'] = 1; // configure acl's
$conf['use_name_string'] = 0; // use name string instead of login string for the user's ns
$conf['use_start_page'] = 1; // use state page instead of namespace string for home page
$conf['set_permissions'] = 1; // configure acl's
$conf['set_permissions_others'] = '0';
$conf['templatepath'] = 'lib/plugins/userhomepage/_template.txt'; // the location of the template file
$conf['templatepath'] = 'lib/plugins/userhomepage/_template.txt'; // the location of the template file
$conf['users_namespace'] = 'people'; // namespace storing the user namespaces
$conf['group_by_name'] = 1; // use the first character of name to group people
$conf['group_by_name'] = 1; // use the first character of name to group people
$conf['edit_before_create'] = 1; // allow users to edit their home pages before create

View File

@ -5,10 +5,10 @@
*/
$meta['use_name_string'] = array('onoff'); // use name string instead of login string for the user's namespace
$meta['use_start_page'] = array('onoff'); // use start page instead of namespace string for home page
$meta['use_start_page'] = array('onoff'); // use start page instead of namespace string for home page
$meta['set_permissions'] = array('onoff'); // configure permissions
$meta['set_permissions_others'] = array('multichoice','_choices'=>array('0','1','2','4','8','16')); // if enable set permission, what permission for other people?
$meta['templatepath'] = array('string','_pattern' => '/^(|[a-zA-Z\-]+)$/'); // the location of the template file
$meta['templatepath'] = array('string','_pattern' => '/^(|[a-zA-Z\-]+)$/'); // the location of the template file
$meta['users_namespace'] = array('string','_pattern' => '/^(|[a-zA-Z\-:]+)$/'); // the namespace containing user directories
$meta['group_by_name'] = array('onoff'); // group people by the first character of name
$meta['group_by_name'] = array('onoff'); // group people by the first character of name
$meta['edit_before_create'] = array('onoff'); // allow users to edit their home page before create.

View File

@ -6,7 +6,7 @@
*/
$lang['use_name_string'] = 'Use names strings for the user\'s namespace (alt. login strings).';
$lang['use_start_page'] = 'Use the wiki\'s start page string instead of the user\'s namespace string for the home page.';
$lang['use_start_page'] = 'Use the wiki\'s start page string instead of the user\'s namespace string for the home page.';
$lang['set_permissions'] = 'Configure acl\'s to permit user full access to their home namespace.';
$lang['set_permissions_others'] = 'If set permission enabled, what permission for other people?';
$lang['set_permissions_others_o_0'] = 'None';
@ -15,7 +15,7 @@ $lang['set_permissions_others_o_2'] = 'Edit';
$lang['set_permissions_others_o_4'] = 'Create';
$lang['set_permissions_others_o_8'] = 'Upload';
$lang['set_permissions_others_o_16'] = 'Delete';
$lang['templatepath'] = 'Doku relative path to the template file.';
$lang['templatepath'] = 'Doku relative path to the template file.';
$lang['users_namespace'] = 'Namespace under which user namespaces are created.';
$lang['group_by_name'] = 'Group home pages by the first character of user name?';
$lang['edit_before_create'] = 'Allow users to edit their home pages before create';

View File

@ -6,7 +6,7 @@
*/
$lang['use_name_string'] = 'Use names strings for the user\'s namespace (alt. login strings).';
$lang['use_start_page'] = 'Use the wiki\'s start page string instead of the user\'s namespace string for the home page.';
$lang['use_start_page'] = 'Use the wiki\'s start page string instead of the user\'s namespace string for the home page.';
$lang['set_permissions'] = '홈 네임스페이스에 대한 모든 권한을 갖도론 acl을 설정하세요.';
$lang['set_permissions_others'] = 'If set permission enabled, what permission for other people?';
$lang['set_permissions_others_o_0'] = 'None';
@ -15,7 +15,7 @@ $lang['set_permissions_others_o_2'] = 'Edit';
$lang['set_permissions_others_o_4'] = 'Create';
$lang['set_permissions_others_o_8'] = 'Upload';
$lang['set_permissions_others_o_16'] = 'Delete';
$lang['templatepath'] = '템플릿화일들이 존재하는 Doku 의 경로를 알려주세요.';
$lang['templatepath'] = '템플릿화일들이 존재하는 Doku 의 경로를 알려주세요.';
$lang['users_namespace'] = '사용자 네임스페이스가 있는 네임스페이스.';
$lang['group_by_name'] = 'Group home pages by the first character of user name?';
$lang['edit_before_create'] = 'Allow users to edit their home pages before create';

View File

@ -1,12 +1,12 @@
<?php
/**
* Russian language file for the configuration manager
* @author: Mikhail I. Izmestev <izmmishao5@gmail.com>
* @author: Mikhail I. Izmestev <izmmishao5@gmail.com>
* FIXED by Simon Delage <simon.geekitude@gmail.com> on 2014-08-30
*/
$lang['use_name_string'] = 'Использовать полное имя для неймспейса пользователя (иначе будет использоваться логин).';
$lang['use_start_page'] = 'Использовать имя стартовой страницы вместо имени пользователя для домашней страницы.';
$lang['use_start_page'] = 'Использовать имя стартовой страницы вместо имени пользователя для домашней страницы.';
$lang['set_permissions'] = 'Устанавливать пользователю полные права доступа к домашней странице.';
$lang['set_permissions_others'] = 'Какие права доступа устанавливать для остальных пользователей?';
$lang['set_permissions_others_o_0'] = 'Замечание';
@ -15,7 +15,7 @@ $lang['set_permissions_others_o_2'] = 'Правка';
$lang['set_permissions_others_o_4'] = 'Создание';
$lang['set_permissions_others_o_8'] = 'Загрузка файлов';
$lang['set_permissions_others_o_16'] = 'Удаление';
$lang['templatepath'] = 'Относительный путь до файла шаблона.';
$lang['templatepath'] = 'Относительный путь до файла шаблона.';
$lang['users_namespace'] = 'Неймспейс где будут создаваться неймспейсы пользователей.';
$lang['group_by_name'] = 'Группировать неймспейсы пользователей по первой букве имени?';
$lang['edit_before_create'] = 'Редактировать домашнюю страницу, но не создавать её.';