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
Zvonimir
ISPConfig 3
Commits
4be98656
Commit
4be98656
authored
Mar 21, 2010
by
tbrehm
Browse files
Show traffic quota eceeded message when a website has been deactivated.
parent
b0ebbded
Changes
3
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/lib/lang/en_web_domain.lng
View file @
4be98656
...
...
@@ -57,4 +57,5 @@ $wb["ssl_country_error_regex"] = 'Invalid SSL Country. Valid characters are: A-Z
$wb
[
"limit_traffic_quota_free_txt"
]
=
'Max. available Traffic Quota'
;
$wb
[
"redirect_error_regex"
]
=
'Invalid redirect path. Valid redirects are for example: /test/ or http://www.domain.tld/test/'
;
$wb
[
"php_open_basedir_txt"
]
=
'PHP open_basedir'
;
$wb
[
"traffic_quota_exceeded_txt"
]
=
'Traffic quota exceeded'
;
?>
interface/web/sites/templates/web_domain_edit.htm
View file @
4be98656
...
...
@@ -51,7 +51,7 @@
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"traffic_quota"
>
{tmpl_var name='traffic_quota_txt'}
</label>
<input
name=
"traffic_quota"
id=
"traffic_quota"
value=
"{tmpl_var name='traffic_quota'}"
size=
"7"
maxlength=
"7"
type=
"text"
class=
"textInput formLengthLimit"
/>
MB
<input
name=
"traffic_quota"
id=
"traffic_quota"
value=
"{tmpl_var name='traffic_quota'}"
size=
"7"
maxlength=
"7"
type=
"text"
class=
"textInput formLengthLimit"
/>
MB
<tmpl_var
name=
'traffic_quota_exceeded_txt'
>
</div>
<div
class=
"ctrlHolder"
>
<p
class=
"label"
>
{tmpl_var name='cgi_txt'}
</p>
...
...
interface/web/sites/web_domain_edit.php
View file @
4be98656
...
...
@@ -203,6 +203,9 @@ class page_action extends tform_actions {
$app
->
tpl
->
setVar
(
"edit_disabled"
,
0
);
}
$tmp_txt
=
(
$this
->
dataRecord
[
'traffic_quota_lock'
]
==
'y'
)
?
'<b>('
.
$app
->
tform
->
lng
(
'traffic_quota_exceeded_txt'
)
.
')</b>'
:
''
;
$app
->
tpl
->
setVar
(
"traffic_quota_exceeded_txt"
,
$tmp_txt
);
parent
::
onShowEnd
();
}
...
...
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