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
ISPConfig
ISPConfig 3
Commits
a3ec01f5
Commit
a3ec01f5
authored
Sep 21, 2008
by
tbrehm
Browse files
Added priority column to DNS records list.
parent
20aa6b4c
Changes
6
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
a3ec01f5
...
...
@@ -368,8 +368,10 @@ class installer_base {
wf
(
$cf
[
'vmail_mailbox_base'
]
.
'/.'
.
$configfile
,
$content
);
//* Create the directory for the custom mailfilters
$command
=
'mkdir '
.
$cf
[
'vmail_mailbox_base'
]
.
'/mailfilters'
;
caselog
(
$command
.
" &> /dev/null"
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
if
(
!
is_dir
(
$cf
[
'vmail_mailbox_base'
]
.
'/mailfilters'
))
{
$command
=
'mkdir '
.
$cf
[
'vmail_mailbox_base'
]
.
'/mailfilters'
;
caselog
(
$command
.
" &> /dev/null"
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
}
//* Chmod and chown the .mailfilter file
$command
=
'chown -R '
.
$cf
[
'vmail_username'
]
.
':'
.
$cf
[
'vmail_groupname'
]
.
' '
.
$cf
[
'vmail_mailbox_base'
]
.
'/.mailfilter'
;
...
...
interface/lib/classes/plugin_listview.inc.php
View file @
a3ec01f5
...
...
@@ -79,7 +79,7 @@ class plugin_listview extends plugin_base {
$rec
[
'_'
.
$key
.
'_'
]
=
(
strtolower
(
$rec
[
$key
])
==
'y'
)
?
'list_icon_true.png'
:
'list_icon_false.png'
;
}
//* substitute value for select field
$rec
[
$key
]
=
$field
[
'value'
][
$rec
[
$key
]];
@
$rec
[
$key
]
=
$field
[
'value'
][
$rec
[
$key
]];
}
// Create a lowercase version of every item
$rec
[
$key
.
'_lowercase'
]
=
strtolower
(
$rec
[
$key
]);
...
...
interface/web/dns/lib/lang/en_dns_a_list.lng
View file @
a3ec01f5
...
...
@@ -5,6 +5,7 @@ $wb["server_id_txt"] = 'Server';
$wb
[
"zone_txt"
]
=
'Zone'
;
$wb
[
"name_txt"
]
=
'Name'
;
$wb
[
"data_txt"
]
=
'Data'
;
$wb
[
"aux_txt"
]
=
'Priority'
;
$wb
[
"type_txt"
]
=
'Type'
;
$wb
[
"page_txt"
]
=
'Page'
;
$wb
[
"page_of_txt"
]
=
'of'
;
...
...
interface/web/dns/lib/lang/en_dns_soa.lng
View file @
a3ec01f5
...
...
@@ -11,7 +11,7 @@ $wb["retry_txt"] = 'Retry';
$wb
[
"expire_txt"
]
=
'Expire'
;
$wb
[
"minimum_txt"
]
=
'Minimum'
;
$wb
[
"ttl_txt"
]
=
'TTL'
;
$wb
[
"xfer_txt"
]
=
'Allow zone transfers to these IPs (comma separated list)'
;
$wb
[
"xfer_txt"
]
=
'Allow zone transfers to
<br />
these IPs (comma separated list)'
;
$wb
[
"active_txt"
]
=
'Active'
;
$wb
[
"limit_dns_zone_txt"
]
=
'The max. number of DNS zones for your account is reached.'
;
$wb
[
"client_txt"
]
=
'Client'
;
...
...
interface/web/dns/list/dns_a.list.php
View file @
a3ec01f5
...
...
@@ -104,6 +104,15 @@ $liste["item"][] = array( 'field' => "data",
'width'
=>
""
,
'value'
=>
""
);
$liste
[
"item"
][]
=
array
(
'field'
=>
"aux"
,
'datatype'
=>
"VARCHAR"
,
'formtype'
=>
"TEXT"
,
'op'
=>
"like"
,
'prefix'
=>
"%"
,
'suffix'
=>
"%"
,
'width'
=>
""
,
'value'
=>
""
);
$liste
[
"item"
][]
=
array
(
'field'
=>
"type"
,
'datatype'
=>
"VARCHAR"
,
...
...
interface/web/dns/templates/dns_a_list.htm
View file @
a3ec01f5
...
...
@@ -15,13 +15,15 @@ Add: <input type="button" value="A" class="button" onClick="loadContent('dns/dns
<td
class=
"tblHead"
><tmpl_var
name=
"type_txt"
></td>
<td
class=
"tblHead"
><tmpl_var
name=
"name_txt"
></td>
<td
class=
"tblHead"
><tmpl_var
name=
"data_txt"
></td>
<td
class=
"tblHead"
><tmpl_var
name=
"aux_txt"
></td>
<td
class=
"tblHead"
>
</td>
</tr>
<tr>
<td
class=
"frmText11"
><select
name=
"search_active"
onChange=
"changeTab('dns_records','dns/dns_soa_edit.php');"
>
{tmpl_var name='search_active'}
</select></td>
<td
class=
"frmText11"
><select
name=
"search_type"
onChange=
"changeTab('dns_records','dns/dns_soa_edit.php');"
>
{tmpl_var name='search_type'}
</select></td>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_name"
value=
"{tmpl_var name='search_name'}"
class=
"text"
width=
"10"
/></td>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_data"
value=
"{tmpl_var name='search_data'}"
class=
"text"
width=
"10"
/></td>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_name"
value=
"{tmpl_var name='search_name'}"
class=
"text"
size=
"20"
/></td>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_data"
value=
"{tmpl_var name='search_data'}"
class=
"text"
size=
"20"
/></td>
<td
class=
"frmText11"
><input
type=
"text"
name=
"search_aux"
value=
"{tmpl_var name='search_aux'}"
class=
"text"
size=
"5"
/></td>
<td
class=
"frmText11"
align=
"right"
><input
name=
"Filter"
type=
"button"
id=
"Filter"
value=
"{tmpl_var name="
filter_txt
"}"
class=
"button"
onClick=
"changeTab('dns_records','dns/dns_soa_edit.php');"
><div
class=
"buttonEnding"
></div></td>
</tr>
<tmpl_loop
name=
"records"
>
...
...
@@ -30,10 +32,11 @@ Add: <input type="button" value="A" class="button" onClick="loadContent('dns/dns
<td
class=
"frmText11"
><a
href=
"#"
onClick=
"loadContent('dns/dns_{tmpl_var name='type_lowercase'}_edit.php?id={tmpl_var name='id'}');"
class=
"frmText11"
>
{tmpl_var name="type"}
</a></td>
<td
class=
"frmText11"
><a
href=
"#"
onClick=
"loadContent('dns/dns_{tmpl_var name='type_lowercase'}_edit.php?id={tmpl_var name='id'}');"
class=
"frmText11"
>
{tmpl_var name="name"}
</a></td>
<td
class=
"frmText11"
><a
href=
"#"
onClick=
"loadContent('dns/dns_{tmpl_var name='type_lowercase'}_edit.php?id={tmpl_var name='id'}');"
class=
"frmText11"
>
{tmpl_var name="data"}
</a></td>
<td
class=
"frmText11"
><a
href=
"#"
onClick=
"loadContent('dns/dns_{tmpl_var name='type_lowercase'}_edit.php?id={tmpl_var name='id'}');"
class=
"frmText11"
>
{tmpl_var name="aux"}
</a></td>
<td
class=
"frmText11"
align=
"right"
><a
href=
"javascript: del_record('dns/dns_rr_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"
class=
"frmText11"
><img
src=
"themes/{tmpl_var name='theme'}/icons/list_icon_delete.png"
alt=
"{tmpl_var name='delete_txt'}"
border=
"0"
/></a></td>
</tr>
</tmpl_loop>
<tr>
<td
colspan=
"
5
"
height=
"40"
align=
"center"
class=
"tblFooter"
><tmpl_var
name=
"paging"
></td>
<td
colspan=
"
6
"
height=
"40"
align=
"center"
class=
"tblFooter"
><tmpl_var
name=
"paging"
></td>
</tr>
</table>
\ No newline at end of file
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