tbrehm
2008-05-23 47e3bb63b47a6b6eeae8e5a646274083bdab60db
Fixed errors in dbsync form.
14 files modified
34 ■■■■ changed files
interface/web/admin/dbsync_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/form/dbsync.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/admin/templates/dbsync_edit.htm 6 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_a.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_alias.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_cname.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_hinfo.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_mx.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_ns.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_ptr.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_rp.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_soa.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_srv.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_txt.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/admin/dbsync_edit.php
@@ -53,7 +53,7 @@
$app->tform->loadFormDef($tform_def_file);
// ID importieren
$id = intval($_REQUEST["id"]);
$id = @intval($_REQUEST["id"]);
if(count($_POST) > 1) {
@@ -84,7 +84,7 @@
// 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
@@ -81,7 +81,7 @@
    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
@@ -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>&nbsp;
      <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'}">
interface/web/dns/form/dns_a.tform.php
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        '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
@@ -202,7 +202,7 @@
             '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
@@ -69,7 +69,7 @@
        '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
@@ -69,7 +69,7 @@
        'zone' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
            'default'    => intval($_REQUEST["zone"]),
            'default'    => @intval($_REQUEST["zone"]),
            'value'        => '',
            'width'        => '30',
            'maxlength'    => '255'