Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
f6ee7a10
Commit
f6ee7a10
authored
Nov 30, 2005
by
Falko Timme
Browse files
No commit message
No commit message
parent
040f8cf5
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform.inc.php
View file @
f6ee7a10
This diff is collapsed.
Click to expand it.
interface/web/dns/form/rr.tform.php
View file @
f6ee7a10
...
...
@@ -118,8 +118,8 @@ $form["tabs"]['rr'] = array (
'ttl'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'
NOTEMPTY
'
,
'errmsg'
=>
'rr_ttl_error_
empty
'
),
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'
ISPOSITIVE
'
,
'errmsg'
=>
'rr_ttl_error_
notpositive
'
),
),
'default'
=>
'86400'
,
'value'
=>
'86400'
,
...
...
interface/web/dns/form/soa.tform.php
View file @
f6ee7a10
...
...
@@ -109,6 +109,9 @@ $form["tabs"]['soa'] = array (
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISPOSITIVE'
,
'errmsg'
=>
'serial_error_notpositive'
),
),
'default'
=>
date
(
"Ymd"
)
.
'01'
,
'value'
=>
date
(
"Ymd"
)
.
'01'
,
'width'
=>
'30'
,
...
...
@@ -117,6 +120,9 @@ $form["tabs"]['soa'] = array (
'refresh'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISPOSITIVE'
,
'errmsg'
=>
'refresh_error_notpositive'
),
),
'default'
=>
$conf
[
'default_refresh'
],
'value'
=>
$conf
[
'default_refresh'
],
'width'
=>
'30'
,
...
...
@@ -125,6 +131,9 @@ $form["tabs"]['soa'] = array (
'retry'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISPOSITIVE'
,
'errmsg'
=>
'retry_error_notpositive'
),
),
'default'
=>
$conf
[
'default_retry'
],
'value'
=>
$conf
[
'default_retry'
],
'width'
=>
'30'
,
...
...
@@ -133,6 +142,9 @@ $form["tabs"]['soa'] = array (
'expire'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISPOSITIVE'
,
'errmsg'
=>
'expire_error_notpositive'
),
),
'default'
=>
$conf
[
'default_expire'
],
'value'
=>
$conf
[
'default_expire'
],
'width'
=>
'30'
,
...
...
@@ -141,6 +153,9 @@ $form["tabs"]['soa'] = array (
'minimum'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISPOSITIVE'
,
'errmsg'
=>
'minimum_error_notpositive'
),
),
'default'
=>
$conf
[
'default_minimum_ttl'
],
'value'
=>
$conf
[
'default_minimum_ttl'
],
'width'
=>
'30'
,
...
...
@@ -149,6 +164,9 @@ $form["tabs"]['soa'] = array (
'ttl'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISPOSITIVE'
,
'errmsg'
=>
'ttl_error_notpositive'
),
),
'default'
=>
$conf
[
'default_ttl'
],
'value'
=>
$conf
[
'default_ttl'
],
'width'
=>
'30'
,
...
...
interface/web/dns/lib/lang/en_rr.lng
View file @
f6ee7a10
<?php
$wb
[
"zone_txt"
]
=
'
z
one'
;
$wb
[
"name_txt"
]
=
'
n
ame'
;
$wb
[
"type_txt"
]
=
'
t
ype'
;
$wb
[
"data_txt"
]
=
'
d
ata'
;
$wb
[
"aux_txt"
]
=
'
aux
'
;
$wb
[
"ttl_txt"
]
=
'
ttl
'
;
$wb
[
"zone_txt"
]
=
'
Z
one'
;
$wb
[
"name_txt"
]
=
'
N
ame'
;
$wb
[
"type_txt"
]
=
'
T
ype'
;
$wb
[
"data_txt"
]
=
'
D
ata'
;
$wb
[
"aux_txt"
]
=
'
Preference/Priority
'
;
$wb
[
"ttl_txt"
]
=
'
TTL
'
;
$wb
[
"btn_save_txt"
]
=
'Save'
;
$wb
[
"btn_cancel_txt"
]
=
'Cancel'
;
$wb
[
"rr_data_error_empty"
]
=
'The data field must not be empty!'
;
$wb
[
"rr_ttl_error_notpositive"
]
=
'The TTL must be positive!'
;
?>
\ No newline at end of file
interface/web/dns/lib/lang/en_rr_list.lng
View file @
f6ee7a10
<?php
$wb
[
"list_head_txt"
]
=
'
rr
'
;
$wb
[
"name_txt"
]
=
'
n
ame'
;
$wb
[
"type_txt"
]
=
'
t
ype'
;
$wb
[
"data_txt"
]
=
'
d
ata'
;
$wb
[
"aux_txt"
]
=
'
aux
'
;
$wb
[
"ttl_txt"
]
=
'
ttl
'
;
$wb
[
"list_head_txt"
]
=
'
Records
'
;
$wb
[
"name_txt"
]
=
'
N
ame'
;
$wb
[
"type_txt"
]
=
'
T
ype'
;
$wb
[
"data_txt"
]
=
'
D
ata'
;
$wb
[
"aux_txt"
]
=
'
Preference/Priority
'
;
$wb
[
"ttl_txt"
]
=
'
TTL
'
;
$wb
[
"page_txt"
]
=
'Page'
;
$wb
[
"page_of_txt"
]
=
'of'
;
$wb
[
"page_next_txt"
]
=
'Next'
;
$wb
[
"page_back_txt"
]
=
'Back'
;
$wb
[
"delete_txt"
]
=
'Delete'
;
$wb
[
"filter_txt"
]
=
'Filter'
;
$wb
[
"add_new_record_txt"
]
=
'Add New Record'
;
?>
\ No newline at end of file
interface/web/dns/lib/lang/en_soa.lng
View file @
f6ee7a10
<?php
$wb
[
"origin_txt"
]
=
'
o
rigin'
;
$wb
[
"ns_txt"
]
=
'
ns
'
;
$wb
[
"mbox_txt"
]
=
'
mbox
'
;
$wb
[
"serial_txt"
]
=
'
s
erial'
;
$wb
[
"refresh_txt"
]
=
'
r
efresh'
;
$wb
[
"retry_txt"
]
=
'
r
etry'
;
$wb
[
"expire_txt"
]
=
'
e
xpire'
;
$wb
[
"minimum_txt"
]
=
'
m
inimum'
;
$wb
[
"ttl_txt"
]
=
'
ttl
'
;
$wb
[
"active_txt"
]
=
'
a
ctive'
;
$wb
[
"xfer_txt"
]
=
'
x
fer'
;
$wb
[
"origin_txt"
]
=
'
O
rigin'
;
$wb
[
"ns_txt"
]
=
'
Name Server
'
;
$wb
[
"mbox_txt"
]
=
'
Admin Email
'
;
$wb
[
"serial_txt"
]
=
'
S
erial
No.
'
;
$wb
[
"refresh_txt"
]
=
'
R
efresh'
;
$wb
[
"retry_txt"
]
=
'
R
etry'
;
$wb
[
"expire_txt"
]
=
'
E
xpire'
;
$wb
[
"minimum_txt"
]
=
'
M
inimum
TTL
'
;
$wb
[
"ttl_txt"
]
=
'
TTL
'
;
$wb
[
"active_txt"
]
=
'
A
ctive'
;
$wb
[
"xfer_txt"
]
=
'
Zone Trans
fer
s
'
;
$wb
[
"btn_save_txt"
]
=
'Save'
;
$wb
[
"btn_cancel_txt"
]
=
'Cancel'
;
$wb
[
"soa_error_empty"
]
=
'The origin must not be empty!'
;
$wb
[
"soa_error_unique"
]
=
'This origin does already exist! The origin must be unique!'
;
$wb
[
"ns_error_empty"
]
=
'The name server must not be empty!'
;
$wb
[
"mbox_error_empty"
]
=
'The admin email address must not be empty!'
;
$wb
[
"serial_error_notpositive"
]
=
'The serial no. must be positive!'
;
$wb
[
"refresh_error_notpositive"
]
=
'The refresh must be positive!'
;
$wb
[
"retry_error_notpositive"
]
=
'The retry must be positive!'
;
$wb
[
"expire_error_notpositive"
]
=
'The expire must be positive!'
;
$wb
[
"minimum_error_notpositive"
]
=
'The minimum TTL must be positive!'
;
$wb
[
"ttl_error_notpositive"
]
=
'The TTL must be positive!'
;
?>
\ No newline at end of file
interface/web/dns/lib/lang/en_soa_list.lng
View file @
f6ee7a10
<?php
$wb
[
"list_head_txt"
]
=
'
soa
'
;
$wb
[
"origin_txt"
]
=
'
o
rigin'
;
$wb
[
"ns_txt"
]
=
'
ns
'
;
$wb
[
"mbox_txt"
]
=
'
mbox
'
;
$wb
[
"serial_txt"
]
=
'
s
erial'
;
$wb
[
"refresh_txt"
]
=
'
r
efresh'
;
$wb
[
"retry_txt"
]
=
'
r
etry'
;
$wb
[
"expire_txt"
]
=
'
e
xpire'
;
$wb
[
"minimum_txt"
]
=
'
m
inimum'
;
$wb
[
"ttl_txt"
]
=
'
ttl
'
;
$wb
[
"active_txt"
]
=
'
a
ctive'
;
$wb
[
"xfer_txt"
]
=
'
x
fer'
;
$wb
[
"list_head_txt"
]
=
'
Zones (SOA)
'
;
$wb
[
"origin_txt"
]
=
'
O
rigin'
;
$wb
[
"ns_txt"
]
=
'
Name Server
'
;
$wb
[
"mbox_txt"
]
=
'
Admin Email
'
;
$wb
[
"serial_txt"
]
=
'
S
erial
No.
'
;
$wb
[
"refresh_txt"
]
=
'
R
efresh'
;
$wb
[
"retry_txt"
]
=
'
R
etry'
;
$wb
[
"expire_txt"
]
=
'
E
xpire'
;
$wb
[
"minimum_txt"
]
=
'
M
inimum
TTL
'
;
$wb
[
"ttl_txt"
]
=
'
TTL
'
;
$wb
[
"active_txt"
]
=
'
A
ctive'
;
$wb
[
"xfer_txt"
]
=
'
Zone Trans
fer'
;
$wb
[
"page_txt"
]
=
'Page'
;
$wb
[
"page_of_txt"
]
=
'of'
;
$wb
[
"page_next_txt"
]
=
'Next'
;
$wb
[
"page_back_txt"
]
=
'Back'
;
$wb
[
"delete_txt"
]
=
'Delete'
;
$wb
[
"filter_txt"
]
=
'Filter'
;
$wb
[
"Y"
]
=
'Yes'
;
$wb
[
"N"
]
=
'No'
;
$wb
[
"add_new_record_txt"
]
=
'Add New Zone'
;
?>
\ No newline at end of file
interface/web/dns/list/soa.list.php
View file @
f6ee7a10
...
...
@@ -65,6 +65,7 @@ $liste["item"][] = array( 'field' => "ns",
'width'
=>
""
,
'value'
=>
""
);
/*
$liste["item"][] = array( 'field' => "mbox",
'datatype' => "VARCHAR",
'formtype' => "TEXT",
...
...
@@ -118,6 +119,7 @@ $liste["item"][] = array( 'field' => "minimum",
'suffix' => "",
'width' => "",
'value' => "");
*/
$liste
[
"item"
][]
=
array
(
'field'
=>
"ttl"
,
'datatype'
=>
"INTEGER"
,
...
...
@@ -137,6 +139,7 @@ $liste["item"][] = array( 'field' => "active",
'width'
=>
""
,
'value'
=>
""
);
/*
$liste["item"][] = array( 'field' => "xfer",
'datatype' => "VARCHAR",
'formtype' => "TEXT",
...
...
@@ -145,6 +148,6 @@ $liste["item"][] = array( 'field' => "xfer",
'suffix' => "%",
'width' => "",
'value' => "");
*/
?>
\ No newline at end of file
interface/web/dns/templates/soa_edit.htm
View file @
f6ee7a10
...
...
@@ -36,7 +36,7 @@
<td
width=
"366"
class=
"frmText11"
><input
name=
"ttl"
type=
"text"
class=
"text"
value=
"{tmpl_var name='ttl'}"
size=
"30"
maxlength=
"255"
></td>
</tr>
<tr>
<td
width=
"126"
class=
"frmText11"
>
{tmpl_var name='active_txt'}:
</td>
<td
width=
"126"
class=
"frmText11"
valign=
"top"
>
{tmpl_var name='active_txt'}:
</td>
<td
width=
"366"
class=
"frmText11"
>
{tmpl_var name='active'}
</td>
</tr>
<tr>
...
...
interface/web/dns/templates/soa_list.htm
View file @
f6ee7a10
...
...
@@ -5,50 +5,62 @@
<tr>
<td
class=
"tblHead"
><tmpl_var
name=
"origin_txt"
></td>
<td
class=
"tblHead"
><tmpl_var
name=
"ns_txt"
></td>
<!--
<td class="tblHead"><tmpl_var name="mbox_txt"></td>
<td class="tblHead"><tmpl_var name="serial_txt"></td>
<td class="tblHead"><tmpl_var name="refresh_txt"></td>
<td class="tblHead"><tmpl_var name="retry_txt"></td>
<td class="tblHead"><tmpl_var name="expire_txt"></td>
<td class="tblHead"><tmpl_var name="minimum_txt"></td>
//-->
<td
class=
"tblHead"
><tmpl_var
name=
"ttl_txt"
></td>
<td
class=
"tblHead"
><tmpl_var
name=
"active_txt"
></td>
<!--
<td class="tblHead"><tmpl_var name="xfer_txt"></td>
//-->
<td
class=
"tblHead"
>
</td>
</tr>
<tr>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_origin"
value=
"{tmpl_var name='search_origin'}"
class=
"text"
/></td>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_ns"
value=
"{tmpl_var name='search_ns'}"
class=
"text"
/></td>
<!--
<td class="frmText11"><input type="text" name="search_mbox" value="{tmpl_var name='search_mbox'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_serial" value="{tmpl_var name='search_serial'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_refresh" value="{tmpl_var name='search_refresh'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_retry" value="{tmpl_var name='search_retry'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_expire" value="{tmpl_var name='search_expire'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_minimum" value="{tmpl_var name='search_minimum'}" class="text" /></td>
//-->
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_ttl"
value=
"{tmpl_var name='search_ttl'}"
class=
"text"
/></td>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_active"
value=
"{tmpl_var name='search_active'}"
class=
"text"
/></td>
<!--
<td class="frmText11"><input type="text" name="search_xfer" value="{tmpl_var name='search_xfer'}" class="text" /></td>
//-->
<td
class=
"frmText11"
align=
"right"
><input
name=
"Filter"
type=
"submit"
id=
"Filter"
value=
"{tmpl_var name="
filter_txt
"}"
></td>
</tr>
<tmpl_loop
name=
"records"
>
<tr
bgcolor=
"{tmpl_var name="
bgcolor
"}"
>
<td
class=
"frmText11"
><a
href=
"soa_edit.php?id={tmpl_var name='id'}"
class=
"frmText11"
>
{tmpl_var name="origin"}
</a></td>
<td
class=
"frmText11"
><a
href=
"soa_edit.php?id={tmpl_var name='id'}"
class=
"frmText11"
>
{tmpl_var name="ns"}
</a></td>
<!--
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="mbox"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="serial"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="refresh"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="retry"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="expire"}</a></td>
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="minimum"}</a></td>
//-->
<td
class=
"frmText11"
><a
href=
"soa_edit.php?id={tmpl_var name='id'}"
class=
"frmText11"
>
{tmpl_var name="ttl"}
</a></td>
<td
class=
"frmText11"
><a
href=
"soa_edit.php?id={tmpl_var name='id'}"
class=
"frmText11"
>
{tmpl_var name="active"}
</a></td>
<!--
<td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="xfer"}</a></td>
//-->
<td
class=
"frmText11"
align=
"right"
>
[
<a
href=
"javascript: del_record('soa_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}');"
class=
"frmText11"
>
{tmpl_var name='delete_txt'}
</a>
]
</td>
</tr>
</tmpl_loop>
<tr>
<td
colspan=
"
12
"
height=
"40"
align=
"center"
class=
"tblFooter"
><tmpl_var
name=
"paging"
></td>
<td
colspan=
"
5
"
height=
"40"
align=
"center"
class=
"tblFooter"
><tmpl_var
name=
"paging"
></td>
</tr>
</table>
</form>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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