Skip to content
GitLab
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
06339e0c
Commit
06339e0c
authored
Jan 13, 2015
by
Marius Cramer
Browse files
- fixed javascript call in json file
parent
1b48cf93
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/web/dashboard/ajax_get_json.php
View file @
06339e0c
...
...
@@ -91,7 +91,7 @@ if($type == 'globalsearch'){
$description = 'Database User: '.$result['database_user'].' - Remote IPs: '.$result['remote_ips'];
$result_databases['cdata'][] = array('title' => $result['database_name'],
'description' => $description,
'onclick' => 'capp(\'sites\',\'sites/database_edit.php?id='.$result['database_id'].'\');',
'onclick' => '
ISPConfig.
capp(\'sites\',\'sites/database_edit.php?id='.$result['database_id'].'\');',
'fill_text' => strtolower($result['database_name'])
);
}
...
...
@@ -227,7 +227,7 @@ function _search($module, $section, $additional_sql = ''){
$result_array
[
'cdata'
][]
=
array
(
'title'
=>
$wb
[
$title_key
.
'_txt'
]
.
': '
.
$result
[
$title_key
],
'description'
=>
$description
,
'onclick'
=>
"capp('"
.
$module
.
"','"
.
$module
.
"/"
.
$form_file
.
"?id="
.
$result
[
$db_table_idx
]
.
"');"
,
'onclick'
=>
"
ISPConfig.
capp('"
.
$module
.
"','"
.
$module
.
"/"
.
$form_file
.
"?id="
.
$result
[
$db_table_idx
]
.
"');"
,
'fill_text'
=>
strtolower
(
$result
[
$title_key
])
);
}
...
...
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