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
François GrizzlyDev
ISPConfig 3
Commits
a3ce7daa
Commit
a3ce7daa
authored
Apr 06, 2016
by
Nick Andriopoulos
Browse files
Refs
#3817
- Adds a CLIENTID token parsed only for the "Add Client" form from a Reseller
parent
9e1a303d
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/client/client_edit.php
View file @
a3ce7daa
...
...
@@ -206,7 +206,7 @@ class page_action extends tform_actions {
if
(
$reseller
[
'customer_no_template'
]
!=
''
)
{
//* Set customer no default
$customer_no
=
$app
->
functions
->
intval
(
$reseller
[
'customer_no_start'
]
+
$reseller
[
'customer_no_counter'
]);
$customer_no_string
=
str_replace
(
'[CUSTOMER_NO]'
,
$customer_no
,
$reseller
[
'customer_no_template'
]);
$customer_no_string
=
str_replace
(
array
(
'[CUSTOMER_NO]'
,
'[CLIENTID]'
),
array
(
$customer_no
,
$reseller
[
'client_id'
])
,
$reseller
[
'customer_no_template'
]);
$app
->
tpl
->
setVar
(
'customer_no'
,
$customer_no_string
);
}
}
...
...
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