From 5ca959fa688255a8de61f89fe2751eb4d24a6912 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Tue, 22 Mar 2016 09:22:07 -0400
Subject: [PATCH] fixed typo

---
 interface/web/admin/form/dbsync.tform.php |  332 +++++++++++++++++++++++++++---------------------------
 1 files changed, 166 insertions(+), 166 deletions(-)

diff --git a/interface/web/admin/form/dbsync.tform.php b/interface/web/admin/form/dbsync.tform.php
index d830cd6..8a4181b 100644
--- a/interface/web/admin/form/dbsync.tform.php
+++ b/interface/web/admin/form/dbsync.tform.php
@@ -62,14 +62,14 @@
 
 //* Load modules
 $modules_list = array();
-$handle = @opendir(ISPC_WEB_PATH); 
-while ($file = @readdir ($handle)) { 
-    if ($file != "." && $file != "..") {
-        if(@is_dir(ISPC_WEB_PATH."/$file")) {
-            if(is_file(ISPC_WEB_PATH."/$file/lib/module.conf.php") and $file != 'login') {
+$handle = @opendir(ISPC_WEB_PATH);
+while ($file = @readdir($handle)) {
+	if ($file != "." && $file != "..") {
+		if(@is_dir(ISPC_WEB_PATH."/$file")) {
+			if(is_file(ISPC_WEB_PATH."/$file/lib/module.conf.php") and $file != 'login') {
 				$modules_list[$file] = $file;
 			}
-        }
+		}
 	}
 }
 closedir($handle);
@@ -77,10 +77,10 @@
 //* read data bases in with more activated db_history.
 $db_tables = array();
 foreach($modules_list as $md) {
-	$handle = @opendir(ISPC_WEB_PATH."/$md/form"); 
-	while ($file = @readdir ($handle)) { 
-    	if ($file != '.' && $file != '..' && substr($file, 0, 1) != '.') {
-        	include_once(ISPC_WEB_PATH."/$md/form/$file");
+	$handle = @opendir(ISPC_WEB_PATH."/$md/form");
+	while ($file = @readdir($handle)) {
+		if ($file != '.' && $file != '..' && substr($file, 0, 1) != '.') {
+			include_once ISPC_WEB_PATH."/$md/form/$file";
 			if(isset($form['db_history']) && $form['db_history'] == 'yes') {
 				$tmp_id = $form['db_table'];
 				$db_tables[$tmp_id] = $form['db_table'];
@@ -94,7 +94,7 @@
 
 
 $form['title']          = 'DB sync';
-$form['description']    = 'ISPConfig database snchronisation tool.';
+$form['description']    = 'ISPConfig database synchronisation tool.';
 $form['name']           = 'dbsync';
 $form['action']         = 'dbsync_edit.php';
 $form['db_table']       = 'sys_dbsync';
@@ -105,160 +105,160 @@
 
 
 $form['tabs']['dbsync'] = array (
-    'title'     => 'DB sync',
-    'width'     => 80,
-    'template'  => 'templates/dbsync_edit.htm',
-    'fields'    => array (
-    ##################################
-    # Beginn Datenbankfelder
-    ##################################
-        'jobname' => array (
-            'datatype'  => 'VARCHAR',
-            'formtype'  => 'TEXT',
-            'regex'     => '/^.{1,30}$/',
-            'errmsg'    => 'jobname_err',
-            'default'   => '',
-            'value'     => '',
-            'separator' => '',
-            'width'     => '15',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'sync_interval_minutes' => array (
-            'datatype'  => 'INTEGER',
-            'formtype'  => 'TEXT',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => '',
-            'separator' => '',
-            'width'     => '15',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'db_type' => array (
-            'datatype'  => 'VARCHAR',
-            'formtype'  => 'SELECT',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => array('mysql' => 'mysql'),
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'db_host' => array (
-            'datatype'  => 'VARCHAR',
-            'formtype'  => 'TEXT',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => '',
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'db_name' => array (
-            'datatype'  => 'VARCHAR',
-            'formtype'  => 'TEXT',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => '',
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'db_username' => array (
-            'datatype'  => 'VARCHAR',
-            'formtype'  => 'TEXT',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => '',
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'db_password' => array (
-            'datatype'  => 'VARCHAR',
-            'formtype'  => 'TEXT',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => '',
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'db_tables' => array (
-            'datatype'  => 'VARCHAR',
-            'formtype'  => 'CHECKBOXARRAY',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => 'admin,forms',
-            'value'     => $db_tables,
-            'separator' => ',',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'empty_datalog' => array (
-            'datatype'  => 'INTEGER',
-            'formtype'  => 'CHECKBOX',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => array(0 => 0,1 => 1),
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'sync_datalog_external' => array (
-            'datatype'  => 'INTEGER',
-            'formtype'  => 'CHECKBOX',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '',
-            'value'     => array(0 => 0,1 => 1),
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        ),
-        'active' => array (
-            'datatype'  => 'INTEGER',
-            'formtype'  => 'CHECKBOX',
-            'regex'     => '',
-            'errmsg'    => '',
-            'default'   => '1',
-            'value'     => array(0 => 0,1 => 1),
-            'separator' => '',
-            'width'     => '30',
-            'maxlength' => '255',
-            'rows'      => '',
-            'cols'      => ''
-        )
-    ##################################
-    # ENDE Datenbankfelder
-    ##################################
-    )
+	'title'     => 'DB sync',
+	'width'     => 80,
+	'template'  => 'templates/dbsync_edit.htm',
+	'fields'    => array (
+		//#################################
+		// Beginn Datenbankfelder
+		//#################################
+		'jobname' => array (
+			'datatype'  => 'VARCHAR',
+			'formtype'  => 'TEXT',
+			'regex'     => '/^.{1,30}$/',
+			'errmsg'    => 'jobname_err',
+			'default'   => '',
+			'value'     => '',
+			'separator' => '',
+			'width'     => '15',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'sync_interval_minutes' => array (
+			'datatype'  => 'INTEGER',
+			'formtype'  => 'TEXT',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => '',
+			'separator' => '',
+			'width'     => '15',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'db_type' => array (
+			'datatype'  => 'VARCHAR',
+			'formtype'  => 'SELECT',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => array('mysql' => 'mysql'),
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'db_host' => array (
+			'datatype'  => 'VARCHAR',
+			'formtype'  => 'TEXT',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => '',
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'db_name' => array (
+			'datatype'  => 'VARCHAR',
+			'formtype'  => 'TEXT',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => '',
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'db_username' => array (
+			'datatype'  => 'VARCHAR',
+			'formtype'  => 'TEXT',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => '',
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'db_password' => array (
+			'datatype'  => 'VARCHAR',
+			'formtype'  => 'TEXT',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => '',
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'db_tables' => array (
+			'datatype'  => 'VARCHAR',
+			'formtype'  => 'CHECKBOXARRAY',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => 'admin,forms',
+			'value'     => $db_tables,
+			'separator' => ',',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'empty_datalog' => array (
+			'datatype'  => 'INTEGER',
+			'formtype'  => 'CHECKBOX',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => array(0 => 0, 1 => 1),
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'sync_datalog_external' => array (
+			'datatype'  => 'INTEGER',
+			'formtype'  => 'CHECKBOX',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '',
+			'value'     => array(0 => 0, 1 => 1),
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		),
+		'active' => array (
+			'datatype'  => 'INTEGER',
+			'formtype'  => 'CHECKBOX',
+			'regex'     => '',
+			'errmsg'    => '',
+			'default'   => '1',
+			'value'     => array(0 => 0, 1 => 1),
+			'separator' => '',
+			'width'     => '30',
+			'maxlength' => '255',
+			'rows'      => '',
+			'cols'      => ''
+		)
+		//#################################
+		// ENDE Datenbankfelder
+		//#################################
+	)
 );
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1