<?php
	require_once("config/connect.php");
	require_once("config/pageConfig.php");
	require_once("global_functions.php");
	require_once("sITeditor/sITeditor.php");
	require_once("api/telefon/telefon_funktionen.php");
	
	check_login('', '', 'BENUTZERRECHT_KUNDEN_ANLEGEN');
	
?>
<head>
	<script src="include/global_js_functions.js"></script>
	<style type="text/css">
		<?php include 'include/main.css'; ?>
		<?php include 'include/menue.css'; ?>
	
	</style>

	<link rel="stylesheet" type="text/css" href="sITeditor/sITeditor.css">
	
</head>
<body>

<?php
	
	//menue_anzeigen();
	//echo '<div id="wrapper_bon" class="wrapper_bon">';
					$konfiguration= array (
						'table'		=> 'konfiguration',
						'key'		=> 'name',
						'functions' => array (	'add' => false,
												'delete' => false,
												'edit' => true,
												'autoedit' => false,
												'view' => true,
												'copy' => false,
												'download_csv' => false,
												'download_pdf' => false,
												'css' => 'width:100px; min-width:100px; ',
												'style' => 'image'
											),
						'fields'	=> array(
							array (
								'feldname' 	=> 'name',
								'type' 		=> 'text',
								'header'	=> 'Name',
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> true
							),
							array (
								'feldname' 	=> 'wert',
								'type' 		=> 'text',
								'header'	=> 'Wert',
								'css_option' => array('css_table_list' => 'width:90px; max-width:150px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> 'konfigtitel',
								'type' 		=> 'text',
								'header'	=> 'Konfigtitel',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> 'Beschreibung',
								'type' 		=> 'text',
								'header'	=> 'Beschreibung',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> 'default',
								'type' 		=> 'text',
								'header'	=> 'Default',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> '1024x600',
								'type' 		=> 'text',
								'header'	=> '1024x600',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> '1024x768',
								'type' 		=> 'text',
								'header'	=> '1024x768',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> '1280x800',
								'type' 		=> 'text',
								'header'	=> '1280x800',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> 'handy',
								'type' 		=> 'text',
								'header'	=> 'Handy',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),
							array (
								'feldname' 	=> 'tablet',
								'type' 		=> 'text',
								'header'	=> 'Tablet',
								'css_option' => array('css_table_list' => 'width:90px;'),
								'view_options'	=> array ('table_list', 'view', 'edit'),
								'edit_input_option' => array('size' => '25'),
								'readonly' 	=> false
							),


						)
					
					);
					
					ob_start();
					//$konfiguration=sIT_editor_view_user_search_filter($konfiguration);
					sIT_editor_tabelle($konfiguration);
					$configTableContent= ob_get_contents();
					ob_end_clean();		
?>

</body>
