new: [communities] Descriptions added to the request form along with the anonymise checkbox

pull/5081/head
iglocska 2019-08-29 10:24:54 +02:00
parent 5f1f604231
commit 95903629a5
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 7 additions and 1 deletions

View File

@ -2,8 +2,9 @@
<?php
echo $this->Form->create('Server', array('id', 'url' => '/communities/requestAccess/' . $community['community_uuid']));
echo sprintf(
'<fieldset><legend>%s</legend>%s</fieldset>%s',
'<fieldset><legend>%s</legend><p style="width:550px;">%s</p>%s</fieldset>%s',
'Request access to ' . h($community['community_name']),
__('Describe both yourself and your organisation as best as you can - keep in mind this information is to be used by the hosts of the community you are requesting access to in order to determine whether you\'re a good fit for their community. The sending server\'s basic metadata is included by default, you can opt out using the "anonymise" checkbox (server url, uuid, version are shared otherwise - though this can be a useful step in establishing trust.).'),
(
$this->Form->input('email', array(
'label' => __('Requestor E-mail address'),
@ -42,6 +43,11 @@
$this->Form->input('sync', array(
'label' => __('Request sync access'),
'type' => 'checkbox'
)) .
$this->element('/genericElements/Forms/clear') .
$this->Form->input('anonymise', array(
'label' => __('Anonymise information on the server used to issue the request'),
'type' => 'checkbox'
))
),
$this->Form->button('Submit', array(