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
ISPConfig
ISPConfig 3
Commits
1dd92154
Commit
1dd92154
authored
Mar 07, 2009
by
tbrehm
Browse files
Fixed: FS#601 - DNS Manager: delete_confirmation not translated
parent
a0b9297c
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/plugin_listview.inc.php
View file @
1dd92154
...
...
@@ -83,6 +83,11 @@ class plugin_listview extends plugin_base {
$sql_order_by
=
$this
->
options
[
"sql_order_by"
];
}
// Loading language field
$lng_file
=
"lib/lang/"
.
$_SESSION
[
"s"
][
"language"
]
.
"_"
.
$app
->
listform
->
listDef
[
'name'
]
.
"_list.lng"
;
include
(
$lng_file
);
$listTpl
->
setVar
(
$wb
);
// Get the data
$records
=
$app
->
db
->
queryAllRecords
(
"SELECT * FROM "
.
$app
->
listform
->
listDef
[
"table"
]
.
" WHERE
$sql_where
$sql_order_by
$limit_sql
"
);
...
...
@@ -115,7 +120,7 @@ class plugin_listview extends plugin_base {
// The variable "id" contains always the index field
$rec
[
"id"
]
=
$rec
[
$idx_key
];
$rec
[
"delete_confirmation"
]
=
$
app
->
lng
(
'delete_confirmation'
)
;
$rec
[
"delete_confirmation"
]
=
$
wb
[
'delete_confirmation'
]
;
$records_new
[]
=
$rec
;
}
...
...
@@ -123,11 +128,6 @@ class plugin_listview extends plugin_base {
$listTpl
->
setLoop
(
'records'
,
@
$records_new
);
// Loading language field
$lng_file
=
"lib/lang/"
.
$_SESSION
[
"s"
][
"language"
]
.
"_"
.
$app
->
listform
->
listDef
[
'name'
]
.
"_list.lng"
;
include
(
$lng_file
);
$listTpl
->
setVar
(
$wb
);
// Setting Returnto information in the session
$list_name
=
$app
->
listform
->
listDef
[
"name"
];
// $_SESSION["s"]["list"][$list_name]["parent_id"] = $app->tform_actions->id;
...
...
interface/web/dns/lib/lang/en_dns_a_list.lng
View file @
1dd92154
...
...
@@ -10,4 +10,5 @@ $wb["type_txt"] = 'Type';
$wb
[
"add_new_record_txt"
]
=
'Add new DNS A-Record'
;
$wb
[
"page_txt"
]
=
'Page'
;
$wb
[
"page_of_txt"
]
=
'of'
;
$wb
[
'delete_confirmation'
]
=
'Do you really want to delete this record?'
;
?>
\ 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