Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
cbae4b93
Commit
cbae4b93
authored
Feb 19, 2015
by
Michael Fürmann
Browse files
Removed public registration from domain form, can't be supported atm.
parent
536f803e
Changes
4
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/form/xmpp_domain.tform.php
View file @
cbae4b93
...
...
@@ -125,13 +125,13 @@ $form["tabs"]['domain'] = array (
'registration_message'
=>
array
(
'datatype'
=>
'TEXT'
,
'formtype'
=>
'TEXT'
,
'default'
=>
"
Please visit our website for information on registration.
"
,
'default'
=>
""
,
'value'
=>
''
),
'domain_admins'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
'
admin@service.com, superuser@service.com
'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'15'
,
'maxlength'
=>
'3'
...
...
interface/web/mail/lib/lang/en_xmpp_domain.lng
View file @
cbae4b93
<?php
$wb
[
"server_id_txt"
]
=
'Server'
;
$wb
[
"client_group_id_txt"
]
=
'Client'
;
$wb
[
"domain_txt"
]
=
'Domain'
;
$wb
[
"type_txt"
]
=
'Type'
;
$wb
[
"active_txt"
]
=
'Active'
;
...
...
@@ -26,5 +27,7 @@ $wb["http_archive_show_join_txt"] = 'Show join messages in archive';
$wb
[
"http_archive_show_status_txt"
]
=
'Show status changes in archive'
;
$wb
[
"use_status_host_txt"
]
=
'Enable XML Status host'
;
$wb
[
"cant_change_domainname_txt"
]
=
'The Domain name of existing XMPP domain cannot be changed.'
;
$wb
[
"about_registration_url_txt"
]
=
'Link to your registration form.'
;
$wb
[
"about_registration_message_txt"
]
=
'Description about your account registration process.'
;
$wb
[
"no_corresponding_maildomain_txt"
]
=
'Corresponding mail domain for user management not found. Please create the mail domain first.'
;
?>
interface/web/mail/templates/xmpp_domain_edit.htm
View file @
cbae4b93
...
...
@@ -82,29 +82,32 @@
</div>
<div
id=
"toggle-management-normal"
class=
"collapse"
>
<div
class=
"form-group"
>
<!--
Currently not supported
div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='public_registration_txt'}</label>
<div class="col-sm-9">
{tmpl_var name='public_registration'}
</div>
</div>
</div
--
>
</div>
<input
type=
"hidden"
name=
"public_registration"
id=
"public_registration"
value=
"n"
/>
<div
id=
"toggle-registration-closed"
class=
"collapse"
>
<div
class=
"form-group"
>
<label
for=
"registration_url"
class=
"col-sm-3 control-label"
>
{tmpl_var name='registration_url_txt'}
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
name=
"registration_url"
id=
"registration_url"
value=
"{tmpl_var name='registration_url'}"
class=
"form-control"
/>
<input
type=
"text"
name=
"registration_url"
id=
"registration_url"
value=
"{tmpl_var name='registration_url'}"
class=
"form-control"
placeholder=
"<tmpl_var name='about_registration_url_txt'>"
/>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
{tmpl_var name='registration_message_txt'}
</label>
<div
class=
"col-sm-9"
><textarea
class=
"form-control"
name=
"registration_message"
id=
"registration_message"
rows=
'3'
cols=
'30'
>
{tmpl_var name='registration_message'}
</textarea></div>
<div
class=
"col-sm-9"
><textarea
class=
"form-control"
name=
"registration_message"
id=
"registration_message"
rows=
'3'
cols=
'30'
placeholder=
"<tmpl_var name='about_registration_message_txt'>"
>
{tmpl_var name='registration_message'}
</textarea></div>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
{tmpl_var name='domain_admins_txt'}
</label>
<div
class=
"col-sm-9"
><textarea
class=
"form-control"
name=
"domain_admins"
id=
"domain_admins"
rows=
'3'
cols=
'30'
>
{tmpl_var name='domain_admins'}
</textarea></div>
<div
class=
"col-sm-9"
><textarea
class=
"form-control"
name=
"domain_admins"
id=
"domain_admins"
rows=
'3'
cols=
'30'
placeholder=
"admin@service.com, superuser@service.com"
>
{tmpl_var name='domain_admins'}
</textarea></div>
</div>
...
...
interface/web/mail/xmpp_domain_edit.php
View file @
cbae4b93
...
...
@@ -295,6 +295,9 @@ class page_action extends tform_actions {
}
}
// Reset public registration to 'n', is not yet supported
$this
->
dataRecord
[
"public_registration"
]
=
'n'
;
parent
::
onSubmit
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment