Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISPConfig
ISPConfig 3
Commits
2c05fad7
Commit
2c05fad7
authored
16 years ago
by
tbrehm
Browse files
Options
Downloads
Patches
Plain Diff
Traffic quota field for websites is hidden now until the backend part is fully implemented.
parent
5d4d43cc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
interface/web/sites/form/web_domain.tform.php
+2
-0
2 additions, 0 deletions
interface/web/sites/form/web_domain.tform.php
interface/web/sites/templates/web_domain_edit.htm
+101
-99
101 additions, 99 deletions
interface/web/sites/templates/web_domain_edit.htm
with
103 additions
and
99 deletions
interface/web/sites/form/web_domain.tform.php
+
2
−
0
View file @
2c05fad7
...
...
@@ -139,6 +139,7 @@ $form["tabs"]['domain'] = array (
'width'
=>
'7'
,
'maxlength'
=>
'7'
),
/*
'traffic_quota' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
...
...
@@ -150,6 +151,7 @@ $form["tabs"]['domain'] = array (
'width' => '7',
'maxlength' => '7'
),
*/
'cgi'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'CHECKBOX'
,
...
...
This diff is collapsed.
Click to expand it.
interface/web/sites/templates/web_domain_edit.htm
+
101
−
99
View file @
2c05fad7
<h2><tmpl_var
name=
"list_head_txt"
></h2>
<div
class=
"panel panel_web_domain"
>
<div
class=
"pnl_formsarea"
>
<fieldset
id=
"wf_area_web_domain"
><legend>
Domain
</legend>
<tmpl_if
name=
"is_admin"
>
<span
class=
"wf_oneField"
>
<label
for=
"server_id"
class=
"wf_preField"
>
{tmpl_var name='server_id_txt'}
</label>
<select
id=
"server_id"
name=
"server_id"
onChange=
"loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)"
>
{tmpl_var name='server_id'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"client_group_id"
class=
"wf_preField"
>
{tmpl_var name='client_txt'}
</label>
<select
id=
"client_group_id"
name=
"client_group_id"
>
{tmpl_var name='client_group_id'}
</select>
</span>
</tmpl_if>
<tmpl_if
name=
"is_reseller"
>
<span
class=
"wf_oneField"
>
<label
for=
"client_group_id"
class=
"wf_preField"
>
{tmpl_var name='client_group_id_txt'}
</label>
<select
id=
"client_group_id"
name=
"client_group_id"
>
{tmpl_var name='client_group_id'}
</select>
</span>
</tmpl_if>
<span
class=
"wf_oneField"
>
<label
for=
"ip_address"
class=
"wf_preField"
>
{tmpl_var name='ip_address_txt'}
</label>
<select
id=
"ip_address"
name=
"ip_address"
>
{tmpl_var name='ip_address'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"domain"
class=
"wf_preField"
>
{tmpl_var name='domain_txt'}
</label>
<input
type=
"text"
id=
"domain"
name=
"domain"
value=
"{tmpl_var name='domain'}"
size=
"30"
maxlength=
"255"
>
</span>
<!--
<span class="wf_oneField">
<label for="type" class="wf_preField">{tmpl_var name='type_txt'}</label>
<select id="type" name="type">{tmpl_var name='type'}</select>
</span>
<span class="wf_oneField">
<label for="parent_domain_id" class="wf_preField">{tmpl_var name='parent_domain_id_txt'}</label>
<select id="parent_domain_id" name="parent_domain_id">{tmpl_var name='parent_domain_id'}</select>
</span>
<span class="wf_oneField">
<label for="vhost_type" class="wf_preField">{tmpl_var name='vhost_type_txt'}</label>
<select id="vhost_type" name="vhost_type">{tmpl_var name='vhost_type'}</select>
</span>
-->
<span
class=
"wf_oneField"
>
<label
for=
"hd_quota"
class=
"wf_preField"
>
{tmpl_var name='hd_quota_txt'}
</label>
<input
type=
"text"
id=
"hd_quota"
name=
"hd_quota"
value=
"{tmpl_var name='hd_quota'}"
size=
"7"
maxlength=
"7"
>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"traffic_quota"
class=
"wf_preField"
>
{tmpl_var name='traffic_quota_txt'}
</label>
<input
type=
"text"
id=
"traffic_quota"
name=
"traffic_quota"
value=
"{tmpl_var name='traffic_quota'}"
size=
"7"
maxlength=
"7"
>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"cgi"
class=
"wf_preField"
>
{tmpl_var name='cgi_txt'}
</label>
<span
class=
""
>
{tmpl_var name='cgi'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"ssi"
class=
"wf_preField"
>
{tmpl_var name='ssi_txt'}
</label>
<span
class=
""
>
{tmpl_var name='ssi'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"suexec"
class=
"wf_preField"
>
{tmpl_var name='suexec_txt'}
</label>
<span
class=
""
>
{tmpl_var name='suexec'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"errordocs"
class=
"wf_preField"
>
{tmpl_var name='errordocs_txt'}
</label>
<span
class=
""
>
{tmpl_var name='errordocs'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"is_subdomainwww"
class=
"wf_preField"
>
{tmpl_var name='is_subdomainwww_txt'}
</label>
<span
class=
""
>
{tmpl_var name='is_subdomainwww'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"subdomain"
class=
"wf_preField"
>
{tmpl_var name='subdomain_txt'}
</label>
<select
id=
"subdomain"
name=
"subdomain"
>
{tmpl_var name='subdomain'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"ssl"
class=
"wf_preField"
>
{tmpl_var name='ssl_txt'}
</label>
<span
class=
""
>
{tmpl_var name='ssl'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"php"
class=
"wf_preField"
>
{tmpl_var name='php_txt'}
</label>
<select
id=
"php"
name=
"php"
>
{tmpl_var name='php'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"active"
class=
"wf_preField"
>
{tmpl_var name='active_txt'}
</label>
<span
class=
""
>
{tmpl_var name='active'}
</span>
</span>
</fieldset>
<input
type=
"hidden"
name=
"id"
value=
"{tmpl_var name='id'}"
>
<div
class=
"wf_actions buttons"
>
<button
class=
"positive iconstxt icoPositive"
type=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
onClick=
"submitForm('pageForm','sites/web_domain_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('sites/web_domain_list.php');"
><span>
{tmpl_var name='btn_cancel_txt'}
</span></button>
</div>
</div>
</div>
<h2><tmpl_var
name=
"list_head_txt"
></h2>
<div
class=
"panel panel_web_domain"
>
<div
class=
"pnl_formsarea"
>
<fieldset
id=
"wf_area_web_domain"
><legend>
Domain
</legend>
<tmpl_if
name=
"is_admin"
>
<span
class=
"wf_oneField"
>
<label
for=
"server_id"
class=
"wf_preField"
>
{tmpl_var name='server_id_txt'}
</label>
<select
id=
"server_id"
name=
"server_id"
onChange=
"loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)"
>
{tmpl_var name='server_id'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"client_group_id"
class=
"wf_preField"
>
{tmpl_var name='client_txt'}
</label>
<select
id=
"client_group_id"
name=
"client_group_id"
>
{tmpl_var name='client_group_id'}
</select>
</span>
</tmpl_if>
<tmpl_if
name=
"is_reseller"
>
<span
class=
"wf_oneField"
>
<label
for=
"client_group_id"
class=
"wf_preField"
>
{tmpl_var name='client_group_id_txt'}
</label>
<select
id=
"client_group_id"
name=
"client_group_id"
>
{tmpl_var name='client_group_id'}
</select>
</span>
</tmpl_if>
<span
class=
"wf_oneField"
>
<label
for=
"ip_address"
class=
"wf_preField"
>
{tmpl_var name='ip_address_txt'}
</label>
<select
id=
"ip_address"
name=
"ip_address"
>
{tmpl_var name='ip_address'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"domain"
class=
"wf_preField"
>
{tmpl_var name='domain_txt'}
</label>
<input
type=
"text"
id=
"domain"
name=
"domain"
value=
"{tmpl_var name='domain'}"
size=
"30"
maxlength=
"255"
>
</span>
<!--
<span class="wf_oneField">
<label for="type" class="wf_preField">{tmpl_var name='type_txt'}</label>
<select id="type" name="type">{tmpl_var name='type'}</select>
</span>
<span class="wf_oneField">
<label for="parent_domain_id" class="wf_preField">{tmpl_var name='parent_domain_id_txt'}</label>
<select id="parent_domain_id" name="parent_domain_id">{tmpl_var name='parent_domain_id'}</select>
</span>
<span class="wf_oneField">
<label for="vhost_type" class="wf_preField">{tmpl_var name='vhost_type_txt'}</label>
<select id="vhost_type" name="vhost_type">{tmpl_var name='vhost_type'}</select>
</span>
-->
<span
class=
"wf_oneField"
>
<label
for=
"hd_quota"
class=
"wf_preField"
>
{tmpl_var name='hd_quota_txt'}
</label>
<input
type=
"text"
id=
"hd_quota"
name=
"hd_quota"
value=
"{tmpl_var name='hd_quota'}"
size=
"7"
maxlength=
"7"
>
</span>
<!--
<span class="wf_oneField">
<label for="traffic_quota" class="wf_preField">{tmpl_var name='traffic_quota_txt'}</label>
<input type="text" id="traffic_quota" name="traffic_quota" value="{tmpl_var name='traffic_quota'}" size="7" maxlength="7">
</span>
-->
<span
class=
"wf_oneField"
>
<label
for=
"cgi"
class=
"wf_preField"
>
{tmpl_var name='cgi_txt'}
</label>
<span
class=
""
>
{tmpl_var name='cgi'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"ssi"
class=
"wf_preField"
>
{tmpl_var name='ssi_txt'}
</label>
<span
class=
""
>
{tmpl_var name='ssi'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"suexec"
class=
"wf_preField"
>
{tmpl_var name='suexec_txt'}
</label>
<span
class=
""
>
{tmpl_var name='suexec'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"errordocs"
class=
"wf_preField"
>
{tmpl_var name='errordocs_txt'}
</label>
<span
class=
""
>
{tmpl_var name='errordocs'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"is_subdomainwww"
class=
"wf_preField"
>
{tmpl_var name='is_subdomainwww_txt'}
</label>
<span
class=
""
>
{tmpl_var name='is_subdomainwww'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"subdomain"
class=
"wf_preField"
>
{tmpl_var name='subdomain_txt'}
</label>
<select
id=
"subdomain"
name=
"subdomain"
>
{tmpl_var name='subdomain'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"ssl"
class=
"wf_preField"
>
{tmpl_var name='ssl_txt'}
</label>
<span
class=
""
>
{tmpl_var name='ssl'}
</span>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"php"
class=
"wf_preField"
>
{tmpl_var name='php_txt'}
</label>
<select
id=
"php"
name=
"php"
>
{tmpl_var name='php'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"active"
class=
"wf_preField"
>
{tmpl_var name='active_txt'}
</label>
<span
class=
""
>
{tmpl_var name='active'}
</span>
</span>
</fieldset>
<input
type=
"hidden"
name=
"id"
value=
"{tmpl_var name='id'}"
>
<div
class=
"wf_actions buttons"
>
<button
class=
"positive iconstxt icoPositive"
type=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
onClick=
"submitForm('pageForm','sites/web_domain_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('sites/web_domain_list.php');"
><span>
{tmpl_var name='btn_cancel_txt'}
</span></button>
</div>
</div>
</div>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment