Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
a892b8c8
Commit
a892b8c8
authored
Jun 08, 2010
by
vogelor
Browse files
ISPConfig can now handle webdav - user (only at the interface, server to come ;-)
parent
e4efe7ac
Changes
33
Expand all
Hide whitespace changes
Inline
Side-by-side
install/sql/ispconfig3.sql
View file @
a892b8c8
...
...
@@ -89,6 +89,7 @@ CREATE TABLE `client` (
`limit_ftp_user`
int
(
11
)
NOT
NULL
default
'-1'
,
`limit_shell_user`
int
(
11
)
NOT
NULL
default
'0'
,
`ssh_chroot`
varchar
(
255
)
NOT
NULL
DEFAULT
'no,jailkit,ssh-chroot'
,
`limit_webdav_user`
int
(
11
)
NOT
NULL
default
'0'
,
`default_dnsserver`
int
(
11
)
unsigned
NOT
NULL
default
'1'
,
`limit_dns_zone`
int
(
11
)
NOT
NULL
default
'-1'
,
`limit_dns_record`
int
(
11
)
NOT
NULL
default
'-1'
,
...
...
@@ -145,6 +146,7 @@ CREATE TABLE `client_template` (
`limit_web_aliasdomain`
int
(
11
)
NOT
NULL
default
'-1'
,
`limit_ftp_user`
int
(
11
)
NOT
NULL
default
'-1'
,
`limit_shell_user`
int
(
11
)
NOT
NULL
default
'0'
,
`limit_webdav_user`
int
(
11
)
NOT
NULL
default
'0'
,
`limit_dns_zone`
int
(
11
)
NOT
NULL
default
'-1'
,
`limit_dns_record`
int
(
11
)
NOT
NULL
default
'-1'
,
`limit_database`
int
(
11
)
NOT
NULL
default
'-1'
,
...
...
@@ -1124,6 +1126,29 @@ CREATE TABLE `web_traffic` (
)
ENGINE
=
MyISAM
;
-- --------------------------------------------------------
--
-- Table structure for table `webdav_user`
--
CREATE
TABLE
`webdav_user`
(
`webdav_user_id`
int
(
11
)
unsigned
NOT
NULL
auto_increment
,
`sys_userid`
int
(
11
)
unsigned
NOT
NULL
default
'0'
,
`sys_groupid`
int
(
11
)
unsigned
NOT
NULL
default
'0'
,
`sys_perm_user`
varchar
(
5
)
default
NULL
,
`sys_perm_group`
varchar
(
5
)
default
NULL
,
`sys_perm_other`
varchar
(
5
)
default
NULL
,
`server_id`
int
(
11
)
unsigned
NOT
NULL
default
'0'
,
`parent_domain_id`
int
(
11
)
unsigned
NOT
NULL
default
'0'
,
`username`
varchar
(
64
)
default
NULL
,
`password`
varchar
(
64
)
default
NULL
,
`active`
enum
(
'n'
,
'y'
)
NOT
NULL
default
'y'
,
`dir`
varchar
(
255
)
default
NULL
,
PRIMARY
KEY
(
`webdav_user_id`
)
)
ENGINE
=
MyISAM
-- --------------------------------------------------------
--
...
...
install/tpl/config.inc.php.master
View file @
a892b8c8
<?php
/*
Copyright (c) 2007 - 200
9
, Till Brehm, projektfarm Gmbh
Copyright (c) 2007 - 20
1
0, Till Brehm, projektfarm Gmbh
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
...
...
@@ -151,4 +150,10 @@ define("LOGLEVEL_DEBUG",0);
define
(
"LOGLEVEL_WARN"
,
1
);
define
(
"LOGLEVEL_ERROR"
,
2
);
//** include a local config-file if there is one
//** IMPORTANT!!!
//** DO NOT MAKE A COPY OF THIS FILE AS LOCAL CONFIG-FILE
//** USE A EMPTY FILE AND ONLY COPY THE SETTINGS IN IT, YOU NEED TO OVERRIDE
if
(
is_file
(
'config.inc.local.php'
))
include_once
'config.inc.local.php'
;
?>
install/tpl/system.ini.master
View file @
a892b8c8
...
...
@@ -17,6 +17,7 @@ dbname_prefix=c[CLIENTID]
dbuser_prefix=c[CLIENTID]
ftpuser_prefix=[CLIENTNAME]
shelluser_prefix=[CLIENTNAME]
webdavuser_prefix=[CLIENTNAME]
dblist_phpmyadmin_link=y
phpmyadmin_url=
...
...
interface/web/admin/form/system_config.tform.php
View file @
a892b8c8
...
...
@@ -106,6 +106,18 @@ $form["tabs"]['sites'] = array (
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'webdavuser_prefix'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[a-zA-Z0-0\-\_\[\]]{0,50}$/'
,
'errmsg'
=>
'webdavuser_prefix_error_regex'
),
),
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'dblist_phpmyadmin_link'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'CHECKBOX'
,
...
...
interface/web/admin/lib/lang/de_system_config.lng
View file @
a892b8c8
...
...
@@ -3,11 +3,13 @@ $wb['warning'] = 'Bearbeiten Sie diese Werte sorgfältig! Entfernen Sie die Pref
$wb
[
'dbname_prefix_txt'
]
=
'Datenbanknamen Prefix'
;
$wb
[
'dbuser_prefix_txt'
]
=
'Datenbankbenutzer Prefix'
;
$wb
[
'shelluser_prefix_txt'
]
=
'Shellbenutzer Prefix'
;
$wb
[
'webdavuser_prefix_txt'
]
=
'Webdavbenutzer Prefix'
;
$wb
[
'ftpuser_prefix_txt'
]
=
'FTP Benutzer Prefix'
;
$wb
[
'dbname_prefix_error_regex'
]
=
'Zeichen nicht erlaubt in Datenbanknamen Prefix.'
;
$wb
[
'dbuser_prefix_error_regex'
]
=
'Zeichen nicht erlaubt in Datenbankbenutzer Prefix.'
;
$wb
[
'ftpuser_prefix_error_regex'
]
=
'Zeichen nicht erlaubt in FTP Benutzer Prefix.'
;
$wb
[
'shelluser_prefix_error_regex'
]
=
'Zeichen nicht erlaubt in Shellbenutzer Prefix.'
;
$wb
[
'webdavuser_prefix_error_regex'
]
=
'Zeichen nicht erlaubt in Webdavbenutzer Prefix.'
;
$wb
[
'dblist_phpmyadmin_link_txt'
]
=
'Link zu phpMyAdmin in der Datenbankliste'
;
$wb
[
'mailboxlist_webmail_link_txt'
]
=
'Link zu Webmail in der Mailboxliste'
;
$wb
[
'webmail_url_txt'
]
=
'Webmail URL'
;
...
...
interface/web/admin/lib/lang/en_system_config.lng
View file @
a892b8c8
...
...
@@ -4,11 +4,13 @@ $wb['warning'] = 'Edit these values carefully! Do not remove the prefixes on a s
$wb
[
'dbname_prefix_txt'
]
=
'Database name prefix'
;
$wb
[
'dbuser_prefix_txt'
]
=
'Database user prefix'
;
$wb
[
'shelluser_prefix_txt'
]
=
'Shell user prefix'
;
$wb
[
'webdavuser_prefix_txt'
]
=
'Webdav user prefix'
;
$wb
[
'ftpuser_prefix_txt'
]
=
'FTP user prefix'
;
$wb
[
'dbname_prefix_error_regex'
]
=
'Char not allowed in database name prefix.'
;
$wb
[
'dbuser_prefix_error_regex'
]
=
'Char not allowed in database user prefix.'
;
$wb
[
'ftpuser_prefix_error_regex'
]
=
'Char not allowed in ftp user prefix.'
;
$wb
[
'shelluser_prefix_error_regex'
]
=
'Char not allowed in shell user prefix.'
;
$wb
[
'webdavuser_prefix_error_regex'
]
=
'Char not allowed in webdav user prefix.'
;
$wb
[
'dblist_phpmyadmin_link_txt'
]
=
'Link to phpmyadmin in DB list'
;
$wb
[
'mailboxlist_webmail_link_txt'
]
=
'Link to webmail in Mailbox list'
;
$wb
[
'webmail_url_txt'
]
=
'Webmail URL'
;
...
...
interface/web/admin/system_config_edit.php
View file @
a892b8c8
<?php
/*
Copyright (c) 2008, Till Brehm, projektfarm Gmbh
Copyright (c) 2008
-2010
, Till Brehm, projektfarm Gmbh
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
...
...
interface/web/admin/templates/system_config_sites_edit.htm
View file @
a892b8c8
...
...
@@ -21,6 +21,10 @@
<label
for=
"shelluser_prefix"
>
{tmpl_var name='shelluser_prefix_txt'}
</label>
<input
name=
"shelluser_prefix"
id=
"shelluser_prefix"
value=
"{tmpl_var name='shelluser_prefix'}"
size=
"30"
maxlength=
"255"
type=
"text"
class=
"textInput formLengthHalf"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"webdavuser_prefix"
>
{tmpl_var name='webdavuser_prefix_txt'}
</label>
<input
name=
"webdavuser_prefix"
id=
"webdavuser_prefix"
value=
"{tmpl_var name='webdavuser_prefix'}"
size=
"30"
maxlength=
"255"
type=
"text"
class=
"textInput formLengthHalf"
/>
</div>
<div
class=
"ctrlHolder"
>
<p
class=
"label"
>
{tmpl_var name='dblist_phpmyadmin_link_txt'}
</p>
<div
class=
"multiField"
>
...
...
interface/web/client/client_template_del.php
View file @
a892b8c8
<?php
/*
Copyright (c) 2007-200
8
, Till Brehm, projektfarm Gmbh and Oliver Vogel www.muv.com
Copyright (c) 2007-20
1
0, Till Brehm, projektfarm Gmbh and Oliver Vogel www.muv.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
...
...
interface/web/client/client_template_edit.php
View file @
a892b8c8
<?php
/*
Copyright (c) 2007-200
8
, Till Brehm, projektfarm Gmbh and Oliver Vogel www.muv.com
Copyright (c) 2007-20
1
0, Till Brehm, projektfarm Gmbh and Oliver Vogel www.muv.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
...
...
interface/web/client/client_template_list.php
View file @
a892b8c8
<?php
/*
Copyright (c) 2007-2010, Till Brehm, projektfarm Gmbh and Oliver Vogel www.muv.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of ISPConfig nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once
(
'../../lib/config.inc.php'
);
require_once
(
'../../lib/app.inc.php'
);
...
...
interface/web/client/form/client.tform.php
View file @
a892b8c8
...
...
@@ -626,6 +626,20 @@ $form["tabs"]['limits'] = array (
'valuelimit'
=>
'client:ssh_chroot'
,
'value'
=>
array
(
'no'
=>
'None'
,
'jailkit'
=>
'Jailkit'
)
),
'limit_webdav_user'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISINT'
,
'errmsg'
=>
'limit_webdav_user_error_notint'
),
),
'default'
=>
'-1'
,
'value'
=>
''
,
'separator'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
,
'rows'
=>
''
,
'cols'
=>
''
),
'default_dnsserver'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'SELECT'
,
...
...
interface/web/client/form/client_template.tform.php
View file @
a892b8c8
...
...
@@ -367,6 +367,20 @@ $form["tabs"]['limits'] = array (
'rows'
=>
''
,
'cols'
=>
''
),
'limit_webdav_user'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISINT'
,
'errmsg'
=>
'limit_webdav_user_error_notint'
),
),
'default'
=>
'0'
,
'value'
=>
''
,
'separator'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
,
'rows'
=>
''
,
'cols'
=>
''
),
'limit_dns_zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
...
...
interface/web/client/lib/lang/de_client.lng
View file @
a892b8c8
...
...
@@ -55,6 +55,7 @@ $wb['default_dnsserver_txt'] = 'Standard DNS Server';
$wb
[
'limit_dns_zone_txt'
]
=
'Max. Anzahl an DNS Zonen'
;
$wb
[
'limit_dns_record_txt'
]
=
'Max. Anzahl an DNS Einträge'
;
$wb
[
'limit_shell_user_txt'
]
=
'Max. Anzahl an Shell Benutzer'
;
$wb
[
'limit_webdav_user_txt'
]
=
'Max. Anzahl an Webdav Benutzer'
;
$wb
[
'username_error_empty'
]
=
'Benutzername ist leer.'
;
$wb
[
'username_error_unique'
]
=
'Der Benutzername muss einzigartig sein.'
;
$wb
[
'limit_maildomain_error_notint'
]
=
'Das Email Domain Limit muss eine Nummer sein.'
;
...
...
@@ -74,6 +75,7 @@ $wb['limit_web_aliasdomain_error_notint'] = 'Das Webseite Aliasdomain Limit muss
$wb
[
'limit_web_subdomain_error_notint'
]
=
'Das Webseite Subdomain Limit muss eine Nummer sein.'
;
$wb
[
'limit_ftp_user_error_notint'
]
=
'Das FTP Benutzer Limit muss eine Nummer sein.'
;
$wb
[
'limit_shell_user_error_notint'
]
=
'Das Shell Benutzer Limit muss eine Nummer sein.'
;
$wb
[
'limit_webdav_user_error_notint'
]
=
'Das Webdav Benutzer Limit muss eine Nummer sein.'
;
$wb
[
'limit_dns_zone_error_notint'
]
=
'Das DNS Einträge Limit muss eine Nummer sein.'
;
$wb
[
'default_dbserver_txt'
]
=
'Standarddatenbankserver'
;
$wb
[
'limit_database_error_notint'
]
=
'Das Datenbank Limit muss eine Nummer sein.'
;
...
...
interface/web/client/lib/lang/de_client_template.lng
View file @
a892b8c8
...
...
@@ -26,7 +26,8 @@ $wb['limit_web_subdomain_txt'] = 'Max. Anzahl an Web Subdomains';
$wb
[
'limit_ftp_user_txt'
]
=
'Max. Anzahl an FTP Benutzer'
;
$wb
[
'limit_dns_zone_txt'
]
=
'Max. Anzahl an DNS Zonen'
;
$wb
[
'limit_dns_record_txt'
]
=
'Max. Anzahl an DNS Einträgen'
;
$wb
[
'limit_shell_user_txt'
]
=
'Max. Anzahl an Shellbenutzer'
;
$wb
[
'limit_shell_user_txt'
]
=
'Max. Anzahl an Shell Benutzer'
;
$wb
[
"limit_webdav_user_txt"
]
=
'Max. Anzahl an Webdav Benutzer'
;
$wb
[
'limit_maildomain_error_notint'
]
=
'Das Emaildomain Limit muss eine Nummer sein.'
;
$wb
[
'limit_mailbox_error_notint'
]
=
'Das Mailbox Limit muss eine Nummer sein.'
;
$wb
[
'limit_mailalias_error_notint'
]
=
'Das Emailalias Limit muss eine Nummer sein.'
;
...
...
@@ -44,6 +45,7 @@ $wb['limit_web_aliasdomain_error_notint'] = 'Das Webseiten Aliasdomain Limit mus
$wb
[
'limit_web_subdomain_error_notint'
]
=
'Das Webseiten Subdomain Limit muss eine Nummer sein.'
;
$wb
[
'limit_ftp_user_error_notint'
]
=
'Das FTP Benutzer Limit muss eine Nummer sein.'
;
$wb
[
'limit_shell_user_error_notint'
]
=
'Das Shell Benutzer Limit muss eine Nummer sein.'
;
$wb
[
"limit_webdav_user_error_notint"
]
=
'Das Webdav Benutzer Limit muss eine Nummer sein.'
;
$wb
[
'limit_dns_zone_error_notint'
]
=
'Das DNS Einträge Limit muss eine Nummer sein.'
;
$wb
[
'limit_database_error_notint'
]
=
'Das Datenbanken Limit muss eine Nummer sein.'
;
$wb
[
'limit_cron_error_notint'
]
=
'Das Cron Job Limit muss eine Nummer sein.'
;
...
...
interface/web/client/lib/lang/en_client.lng
View file @
a892b8c8
...
...
@@ -56,6 +56,7 @@ $wb["default_dnsserver_txt"] = 'Default DNS Server';
$wb
[
"limit_dns_zone_txt"
]
=
'Max. number of DNS zones'
;
$wb
[
"limit_dns_record_txt"
]
=
'Max. number DNS records'
;
$wb
[
"limit_shell_user_txt"
]
=
'Max. number of Shell users'
;
$wb
[
"limit_webdav_user_txt"
]
=
'Max. number of Webdav users'
;
$wb
[
"limit_client_txt"
]
=
'Max. number of Clients'
;
$wb
[
"username_error_empty"
]
=
'Username is empty.'
;
$wb
[
"username_error_unique"
]
=
'The username must be unique.'
;
...
...
@@ -77,6 +78,7 @@ $wb["limit_web_aliasdomain_error_notint"] = 'The website alias domain limit must
$wb
[
"limit_web_subdomain_error_notint"
]
=
'The website subdomain limit must be a number.'
;
$wb
[
"limit_ftp_user_error_notint"
]
=
'The ftp user limit must be a number.'
;
$wb
[
"limit_shell_user_error_notint"
]
=
'The shell user limit must be a number.'
;
$wb
[
"limit_webdav_user_error_notint"
]
=
'The webdav user limit must be a number.'
;
$wb
[
"limit_dns_zone_error_notint"
]
=
'The dns zone limit must be a number.'
;
$wb
[
"limit_dns_zone_error_notint"
]
=
'The dns record limit must be a number.'
;
$wb
[
"limit_client_error_notint"
]
=
'The sub client limit must be a number.'
;
...
...
interface/web/client/lib/lang/en_client_template.lng
View file @
a892b8c8
...
...
@@ -28,6 +28,7 @@ $wb["limit_ftp_user_txt"] = 'Max. number of FTP users';
$wb
[
"limit_dns_zone_txt"
]
=
'Max. number of DNS zones'
;
$wb
[
"limit_dns_record_txt"
]
=
'Max. number DNS records'
;
$wb
[
"limit_shell_user_txt"
]
=
'Max. number of Shell users'
;
$wb
[
"limit_webdav_user_txt"
]
=
'Max. number of Webdav users'
;
$wb
[
"limit_client_txt"
]
=
'Max. number of Clients'
;
$wb
[
"limit_maildomain_error_notint"
]
=
'The email domain limit must be a number.'
;
$wb
[
"limit_mailbox_error_notint"
]
=
'The mailbox limit must be a number.'
;
...
...
@@ -47,6 +48,7 @@ $wb["limit_web_aliasdomain_error_notint"] = 'The website alias domain limit must
$wb
[
"limit_web_subdomain_error_notint"
]
=
'The website subdomain limit must be a number.'
;
$wb
[
"limit_ftp_user_error_notint"
]
=
'The ftp user limit must be a number.'
;
$wb
[
"limit_shell_user_error_notint"
]
=
'The shell user limit must be a number.'
;
$wb
[
"limit_webdav_user_error_notint"
]
=
'The webdav user limit must be a number.'
;
$wb
[
"limit_dns_zone_error_notint"
]
=
'The dns zone limit must be a number.'
;
$wb
[
"limit_dns_zone_error_notint"
]
=
'The dns record limit must be a number.'
;
$wb
[
"limit_database_txt"
]
=
'Max. number of Databases'
;
...
...
interface/web/client/templates/client_edit_limits.htm
View file @
a892b8c8
This diff is collapsed.
Click to expand it.
interface/web/client/templates/client_template_edit_limits.htm
View file @
a892b8c8
...
...
@@ -3,122 +3,126 @@
<div
class=
"panel panel_client_template"
>
<div
class=
"pnl_formsarea"
>
<fieldset
class=
"inlineLabels"
><legend>
Limits
</legend>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_maildomain"
>
{tmpl_var name='limit_maildomain_txt'}
</label>
<input
name=
"limit_maildomain"
id=
"limit_maildomain"
value=
"{tmpl_var name='limit_maildomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailbox"
>
{tmpl_var name='limit_mailbox_txt'}
</label>
<input
name=
"limit_mailbox"
id=
"limit_mailbox"
value=
"{tmpl_var name='limit_mailbox'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailalias"
>
{tmpl_var name='limit_mailalias_txt'}
</label>
<input
name=
"limit_mailalias"
id=
"limit_mailalias"
value=
"{tmpl_var name='limit_mailalias'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailaliasdomain"
>
{tmpl_var name='limit_mailaliasdomain_txt'}
</label>
<input
name=
"limit_mailaliasdomain"
id=
"limit_mailaliasdomain"
value=
"{tmpl_var name='limit_mailaliasdomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailforward"
>
{tmpl_var name='limit_mailforward_txt'}
</label>
<input
name=
"limit_mailforward"
id=
"limit_mailforward"
value=
"{tmpl_var name='limit_mailforward'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailcatchall"
>
{tmpl_var name='limit_mailcatchall_txt'}
</label>
<input
name=
"limit_mailcatchall"
id=
"limit_mailcatchall"
value=
"{tmpl_var name='limit_mailcatchall'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailrouting"
>
{tmpl_var name='limit_mailrouting_txt'}
</label>
<input
name=
"limit_mailrouting"
id=
"limit_mailrouting"
value=
"{tmpl_var name='limit_mailrouting'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailfilter"
>
{tmpl_var name='limit_mailfilter_txt'}
</label>
<input
name=
"limit_mailfilter"
id=
"limit_mailfilter"
value=
"{tmpl_var name='limit_mailfilter'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_fetchmail"
>
{tmpl_var name='limit_fetchmail_txt'}
</label>
<input
name=
"limit_fetchmail"
id=
"limit_fetchmail"
value=
"{tmpl_var name='limit_fetchmail'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailquota"
>
{tmpl_var name='limit_mailquota_txt'}
</label>
<input
name=
"limit_mailquota"
id=
"limit_mailquota"
value=
"{tmpl_var name='limit_mailquota'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_spamfilter_wblist"
>
{tmpl_var name='limit_spamfilter_wblist_txt'}
</label>
<input
name=
"limit_spamfilter_wblist"
id=
"limit_spamfilter_wblist"
value=
"{tmpl_var name='limit_spamfilter_wblist'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_spamfilter_user"
>
{tmpl_var name='limit_spamfilter_user_txt'}
</label>
<input
name=
"limit_spamfilter_user"
id=
"limit_spamfilter_user"
value=
"{tmpl_var name='limit_spamfilter_user'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_spamfilter_policy"
>
{tmpl_var name='limit_spamfilter_policy_txt'}
</label>
<input
name=
"limit_spamfilter_policy"
id=
"limit_spamfilter_policy"
value=
"{tmpl_var name='limit_spamfilter_policy'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_domain"
>
{tmpl_var name='limit_web_domain_txt'}
</label>
<input
name=
"limit_web_domain"
id=
"limit_web_domain"
value=
"{tmpl_var name='limit_web_domain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_quota"
>
{tmpl_var name='limit_web_quota_txt'}
</label>
<input
name=
"limit_web_quota"
id=
"limit_web_quota"
value=
"{tmpl_var name='limit_web_quota'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
MB
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_aliasdomain"
>
{tmpl_var name='limit_web_aliasdomain_txt'}
</label>
<input
name=
"limit_web_aliasdomain"
id=
"limit_web_aliasdomain"
value=
"{tmpl_var name='limit_web_aliasdomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_subdomain"
>
{tmpl_var name='limit_web_subdomain_txt'}
</label>
<input
name=
"limit_web_subdomain"
id=
"limit_web_subdomain"
value=
"{tmpl_var name='limit_web_subdomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_ftp_user"
>
{tmpl_var name='limit_ftp_user_txt'}
</label>
<input
name=
"limit_ftp_user"
id=
"limit_ftp_user"
value=
"{tmpl_var name='limit_ftp_user'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_shell_user"
>
{tmpl_var name='limit_shell_user_txt'}
</label>
<input
name=
"limit_shell_user"
id=
"limit_shell_user"
value=
"{tmpl_var name='limit_shell_user'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_dns_zone"
>
{tmpl_var name='limit_dns_zone_txt'}
</label>
<input
name=
"limit_dns_zone"
id=
"limit_dns_zone"
value=
"{tmpl_var name='limit_dns_zone'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_dns_record"
>
{tmpl_var name='limit_dns_record_txt'}
</label>
<input
name=
"limit_dns_record"
id=
"limit_dns_record"
value=
"{tmpl_var name='limit_dns_record'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_database"
>
{tmpl_var name='limit_database_txt'}
</label>
<input
name=
"limit_database"
id=
"limit_database"
value=
"{tmpl_var name='limit_database'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_cron"
>
{tmpl_var name='limit_cron_txt'}
</label>
<input
name=
"limit_cron"
id=
"limit_cron"
value=
"{tmpl_var name='limit_cron'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
<div
class=
"pnl_formsarea"
>
<fieldset
class=
"inlineLabels"
><legend>
Limits
</legend>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_maildomain"
>
{tmpl_var name='limit_maildomain_txt'}
</label>
<input
name=
"limit_maildomain"
id=
"limit_maildomain"
value=
"{tmpl_var name='limit_maildomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailbox"
>
{tmpl_var name='limit_mailbox_txt'}
</label>
<input
name=
"limit_mailbox"
id=
"limit_mailbox"
value=
"{tmpl_var name='limit_mailbox'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailalias"
>
{tmpl_var name='limit_mailalias_txt'}
</label>
<input
name=
"limit_mailalias"
id=
"limit_mailalias"
value=
"{tmpl_var name='limit_mailalias'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailaliasdomain"
>
{tmpl_var name='limit_mailaliasdomain_txt'}
</label>
<input
name=
"limit_mailaliasdomain"
id=
"limit_mailaliasdomain"
value=
"{tmpl_var name='limit_mailaliasdomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailforward"
>
{tmpl_var name='limit_mailforward_txt'}
</label>
<input
name=
"limit_mailforward"
id=
"limit_mailforward"
value=
"{tmpl_var name='limit_mailforward'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailcatchall"
>
{tmpl_var name='limit_mailcatchall_txt'}
</label>
<input
name=
"limit_mailcatchall"
id=
"limit_mailcatchall"
value=
"{tmpl_var name='limit_mailcatchall'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailrouting"
>
{tmpl_var name='limit_mailrouting_txt'}
</label>
<input
name=
"limit_mailrouting"
id=
"limit_mailrouting"
value=
"{tmpl_var name='limit_mailrouting'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailfilter"
>
{tmpl_var name='limit_mailfilter_txt'}
</label>
<input
name=
"limit_mailfilter"
id=
"limit_mailfilter"
value=
"{tmpl_var name='limit_mailfilter'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_fetchmail"
>
{tmpl_var name='limit_fetchmail_txt'}
</label>
<input
name=
"limit_fetchmail"
id=
"limit_fetchmail"
value=
"{tmpl_var name='limit_fetchmail'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_mailquota"
>
{tmpl_var name='limit_mailquota_txt'}
</label>
<input
name=
"limit_mailquota"
id=
"limit_mailquota"
value=
"{tmpl_var name='limit_mailquota'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_spamfilter_wblist"
>
{tmpl_var name='limit_spamfilter_wblist_txt'}
</label>
<input
name=
"limit_spamfilter_wblist"
id=
"limit_spamfilter_wblist"
value=
"{tmpl_var name='limit_spamfilter_wblist'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_spamfilter_user"
>
{tmpl_var name='limit_spamfilter_user_txt'}
</label>
<input
name=
"limit_spamfilter_user"
id=
"limit_spamfilter_user"
value=
"{tmpl_var name='limit_spamfilter_user'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_spamfilter_policy"
>
{tmpl_var name='limit_spamfilter_policy_txt'}
</label>
<input
name=
"limit_spamfilter_policy"
id=
"limit_spamfilter_policy"
value=
"{tmpl_var name='limit_spamfilter_policy'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_domain"
>
{tmpl_var name='limit_web_domain_txt'}
</label>
<input
name=
"limit_web_domain"
id=
"limit_web_domain"
value=
"{tmpl_var name='limit_web_domain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_quota"
>
{tmpl_var name='limit_web_quota_txt'}
</label>
<input
name=
"limit_web_quota"
id=
"limit_web_quota"
value=
"{tmpl_var name='limit_web_quota'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
MB
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_aliasdomain"
>
{tmpl_var name='limit_web_aliasdomain_txt'}
</label>
<input
name=
"limit_web_aliasdomain"
id=
"limit_web_aliasdomain"
value=
"{tmpl_var name='limit_web_aliasdomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_web_subdomain"
>
{tmpl_var name='limit_web_subdomain_txt'}
</label>
<input
name=
"limit_web_subdomain"
id=
"limit_web_subdomain"
value=
"{tmpl_var name='limit_web_subdomain'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_ftp_user"
>
{tmpl_var name='limit_ftp_user_txt'}
</label>
<input
name=
"limit_ftp_user"
id=
"limit_ftp_user"
value=
"{tmpl_var name='limit_ftp_user'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_shell_user"
>
{tmpl_var name='limit_shell_user_txt'}
</label>
<input
name=
"limit_shell_user"
id=
"limit_shell_user"
value=
"{tmpl_var name='limit_shell_user'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_webdav_user"
>
{tmpl_var name='limit_webdav_user_txt'}
</label>
<input
name=
"limit_webdav_user"
id=
"limit_webdav_user"
value=
"{tmpl_var name='limit_webdav_user'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_dns_zone"
>
{tmpl_var name='limit_dns_zone_txt'}
</label>
<input
name=
"limit_dns_zone"
id=
"limit_dns_zone"
value=
"{tmpl_var name='limit_dns_zone'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_dns_record"
>
{tmpl_var name='limit_dns_record_txt'}
</label>
<input
name=
"limit_dns_record"
id=
"limit_dns_record"
value=
"{tmpl_var name='limit_dns_record'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_database"
>
{tmpl_var name='limit_database_txt'}
</label>
<input
name=
"limit_database"
id=
"limit_database"
value=
"{tmpl_var name='limit_database'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_cron"
>
{tmpl_var name='limit_cron_txt'}
</label>
<input
name=
"limit_cron"
id=
"limit_cron"
value=
"{tmpl_var name='limit_cron'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_cron_type"
>
{tmpl_var name='limit_cron_type_txt'}
</label>
<select
name=
"limit_cron_type"
id=
"limit_cron_type"
class=
"selectInput formLengthHalf"
>
{tmpl_var name='limit_cron_type'}
</select>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_cron_type"
>
{tmpl_var name='limit_cron_type_txt'}
</label>
<select
name=
"limit_cron_type"
id=
"limit_cron_type"
class=
"selectInput formLengthHalf"
>
{tmpl_var name='limit_cron_type'}
</select>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_cron_frequency"
>
{tmpl_var name='limit_cron_frequency_txt'}
</label>
<input
name=
"limit_cron_frequency"
id=
"limit_cron_frequency"
value=
"{tmpl_var name='limit_cron_frequency'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_cron_frequency"
>
{tmpl_var name='limit_cron_frequency_txt'}
</label>
<input
name=
"limit_cron_frequency"
id=
"limit_cron_frequency"
value=
"{tmpl_var name='limit_cron_frequency'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_traffic_quota"
>
{tmpl_var name='limit_traffic_quota_txt'}
</label>
<input
name=
"limit_traffic_quota"
id=
"limit_traffic_quota"
value=
"{tmpl_var name='limit_traffic_quota'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
MB
</div>
</fieldset>
<div
class=
"ctrlHolder"
>
<label
for=
"limit_traffic_quota"
>
{tmpl_var name='limit_traffic_quota_txt'}
</label>
<input
name=
"limit_traffic_quota"
id=
"limit_traffic_quota"
value=
"{tmpl_var name='limit_traffic_quota'}"
size=
"10"
maxlength=
"10"
type=
"text"
class=
"textInput formLengthLimit"
/>
MB
</div>
</fieldset>
<input
type=
"hidden"
name=
"id"
value=
"{tmpl_var name='id'}"
>
<input
type=
"hidden"
name=
"id"
value=
"{tmpl_var name='id'}"
>
<div
class=
"buttonHolder buttons"
>
<button
class=
"positive iconstxt icoPositive"
type=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
onClick=
"submitForm('pageForm','client/client_template_edit.php');"
><span>
{tmpl_var name='btn_save_txt'}
</span></button>
<button
class=
"negative iconstxt icoNegative"
type=
"button"
value=
"{tmpl_var name='btn_cancel_txt'}"
onClick=
"loadContent('client/client_template_list.php');"
><span>
{tmpl_var name='btn_cancel_txt'}
</span></button>
</div>
</div>
<div
class=
"buttonHolder buttons"
>
<button
class=
"positive iconstxt icoPositive"
type=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
onClick=
"submitForm('pageForm','client/client_template_edit.php');"
><span>
{tmpl_var name='btn_save_txt'}
</span></button>
<button
class=
"negative iconstxt icoNegative"
type=
"button"
value=
"{tmpl_var name='btn_cancel_txt'}"
onClick=
"loadContent('client/client_template_list.php');"
><span>
{tmpl_var name='btn_cancel_txt'}
</span></button>
</div>
</div>
</div>
interface/web/sites/form/webdav_user.tform.php
0 → 100644
View file @
a892b8c8
<?php
/*
Form Definition
Tabledefinition
Datatypes:
- INTEGER (Forces the input to Int)
- DOUBLE
- CURRENCY (Formats the values to currency notation)
- VARCHAR (no format check, maxlength: 255)
- TEXT (no format check)
- DATE (Dateformat, automatic conversion to timestamps)
Formtype:
- TEXT (Textfield)
- TEXTAREA (Textarea)
- PASSWORD (Password textfield, input is not shown when edited)
- SELECT (Select option field)
- RADIO
- CHECKBOX
- CHECKBOXARRAY
- FILE
VALUE:
- Wert oder Array