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
lolo888
ISPConfig 3
Commits
47e3bb63
Commit
47e3bb63
authored
May 23, 2008
by
tbrehm
Browse files
Fixed errors in dbsync form.
parent
799e1f97
Changes
14
Hide whitespace changes
Inline
Side-by-side
interface/web/admin/dbsync_edit.php
View file @
47e3bb63
...
...
@@ -53,7 +53,7 @@ $app->tpl->newTemplate("tabbed_form.tpl.htm");
$app
->
tform
->
loadFormDef
(
$tform_def_file
);
// ID importieren
$id
=
intval
(
$_REQUEST
[
"id"
]);
$id
=
@
intval
(
$_REQUEST
[
"id"
]);
if
(
count
(
$_POST
)
>
1
)
{
...
...
@@ -84,7 +84,7 @@ if(count($_POST) > 1) {
// Welcher Tab wird angezeigt
if
(
$app
->
tform
->
errorMessage
==
''
)
{
// wenn kein Fehler vorliegt
if
(
$_REQUEST
[
"next_tab"
]
!=
''
)
{
if
(
isset
(
$_REQUEST
[
"next_tab"
])
&&
$_REQUEST
[
"next_tab"
]
!=
''
)
{
// wenn nächster Tab bekannt
$active_tab
=
$_REQUEST
[
"next_tab"
];
}
else
{
...
...
interface/web/admin/form/dbsync.tform.php
View file @
47e3bb63
...
...
@@ -81,7 +81,7 @@ foreach($modules_list as $md) {
while
(
$file
=
@
readdir
(
$handle
))
{
if
(
$file
!=
'.'
&&
$file
!=
'..'
&&
substr
(
$file
,
0
,
1
)
!=
'.'
)
{
include_once
(
ISPC_WEB_PATH
.
"/
$md
/form/
$file
"
);
if
(
$form
[
'db_history'
]
==
'yes'
)
{
if
(
isset
(
$form
[
'db_history'
])
&&
$form
[
'db_history'
]
==
'yes'
)
{
$tmp_id
=
$form
[
'db_table'
];
$db_tables
[
$tmp_id
]
=
$form
[
'db_table'
];
}
...
...
interface/web/admin/templates/dbsync_edit.htm
View file @
47e3bb63
...
...
@@ -29,7 +29,7 @@
</tr>
<tr>
<td
class=
"frmText11"
>
{tmpl_var name='db_password_txt'}:
</td>
<td
class=
"frmText11"
><input
name=
"db_password"
type=
"
text
"
class=
"text"
value=
"{tmpl_var name='db_password'}"
size=
"30"
maxlength=
"255"
></td>
<td
class=
"frmText11"
><input
name=
"db_password"
type=
"
password
"
class=
"text"
value=
"{tmpl_var name='db_password'}"
size=
"30"
maxlength=
"255"
></td>
</tr>
<tr>
<td
class=
"frmText11"
>
{tmpl_var name='db_tables_txt'}:
</td>
...
...
@@ -55,6 +55,6 @@
<td><input
name=
"btn_save"
type=
"button"
class=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
onClick=
"submitForm('pageForm','admin/dbsync_edit.php');"
><div
class=
"buttonEnding"
></div>
<input
name=
"btn_cancel"
type=
"button"
class=
"button"
value=
"{tmpl_var name='btn_cancel_txt'}"
onClick=
"loadContent('admin/dbsync_list.php');"
><div
class=
"buttonEnding"
></div>
</td>
</tr>
</table>
</tr>
</table>
<input
type=
"hidden"
name=
"id"
value=
"{tmpl_var name='id'}"
>
\ No newline at end of file
interface/web/dns/form/dns_a.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_alias.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_cname.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_hinfo.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_mx.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_ns.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_ptr.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_rp.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_soa.tform.php
View file @
47e3bb63
...
...
@@ -202,7 +202,7 @@ $form["tabs"]['dns_records'] = array (
'class'
=>
'plugin_listview'
,
'options'
=>
array
(
'listdef'
=>
'list/dns_a.list.php'
,
'sqlextwhere'
=>
"zone = "
.
intval
(
@
$_REQUEST
[
'id'
]),
'sqlextwhere'
=>
"zone = "
.
@
intval
(
@
$_REQUEST
[
'id'
]),
'sql_order_by'
=>
"ORDER BY type, name"
)
)
...
...
interface/web/dns/form/dns_srv.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
interface/web/dns/form/dns_txt.tform.php
View file @
47e3bb63
...
...
@@ -69,7 +69,7 @@ $form["tabs"]['dns'] = array (
'zone'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
intval
(
$_REQUEST
[
"zone"
]),
'default'
=>
@
intval
(
$_REQUEST
[
"zone"
]),
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
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