Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
7550de6d
Commit
7550de6d
authored
Nov 20, 2013
by
Till Brehm
Browse files
Added global settings for customer number template.
parent
c6f36f01
Changes
4
Hide whitespace changes
Inline
Side-by-side
install/tpl/system.ini.master
View file @
7550de6d
...
...
@@ -46,3 +46,6 @@ reseller_dashlets_left=
reseller_dashlets_right=
client_dashlets_left=
client_dashlets_right=
customer_no_template=C[CUSTOMER_NO]
customer_no_start=1
customer_no_counter=0
interface/web/admin/form/system_config.tform.php
View file @
7550de6d
...
...
@@ -445,6 +445,34 @@ $form["tabs"]['misc'] = array (
'default'
=>
''
,
'value'
=>
''
),
'customer_no_template'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[a-zA-Z0-0\-\_\[\]]{0,50}$/'
,
'errmsg'
=>
'customer_no_template_error_regex'
),
),
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'customer_no_start'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'customer_no_counter'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
//#################################
// ENDE Datatable fields
//#################################
...
...
interface/web/admin/lib/lang/en_system_config.lng
View file @
7550de6d
...
...
@@ -59,4 +59,8 @@ $wb['reseller_dashlets_left_txt'] = 'Left Reseller Dashlets';
$wb
[
'reseller_dashlets_right_txt'
]
=
'Right Reseller Dashlets'
;
$wb
[
'client_dashlets_left_txt'
]
=
'Left Client Dashlets'
;
$wb
[
'client_dashlets_right_txt'
]
=
'Right Client Dashlets'
;
$wb
[
'customer_no_template_txt'
]
=
'Customer No. template'
;
$wb
[
'customer_no_template_error_regex_txt'
]
=
'The customer No. template contains invalid characters'
;
$wb
[
'customer_no_start_txt'
]
=
'Customer No. start value'
;
$wb
[
'customer_no_counter_txt'
]
=
'Customer No. counter'
;
?>
interface/web/admin/templates/system_config_misc_edit.htm
View file @
7550de6d
...
...
@@ -68,6 +68,18 @@
<div
class=
"multiField"
>
{tmpl_var name='use_combobox'}
<br/>
{tmpl_var name='f5_to_reload_js_txt'}
</div>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"customer_no_template"
>
{tmpl_var name='customer_no_template_txt'}
</label>
<input
name=
"customer_no_template"
id=
"customer_no_template"
value=
"{tmpl_var name='customer_no_template'}"
size=
"30"
maxlength=
"255"
type=
"text"
class=
"textInput formLengthHalf"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"customer_no_start"
>
{tmpl_var name='customer_no_start_txt'}
</label>
<input
name=
"customer_no_start"
id=
"customer_no_start"
value=
"{tmpl_var name='customer_no_start'}"
size=
"30"
maxlength=
"255"
type=
"text"
class=
"textInput formLengthHalf"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"customer_no_counter"
>
{tmpl_var name='customer_no_counter_txt'}
</label>
<input
name=
"customer_no_counter"
id=
"customer_no_counter"
value=
"{tmpl_var name='customer_no_counter'}"
size=
"30"
maxlength=
"255"
type=
"text"
class=
"textInput formLengthHalf"
/>
</div>
<div
class=
"ctrlHolder"
>
<p
class=
"label"
>
{tmpl_var name='maintenance_mode_txt'}
</p>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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