Skip to content
mail_domain_catchall.list.php 1.71 KiB
Newer Older
tbrehm's avatar
tbrehm committed
<?php

/*
	Datatypes:
	- INTEGER
	- DOUBLE
	- CURRENCY
	- VARCHAR
	- TEXT
	- DATE
*/



// Name of the list
$liste["name"] 				= "mail_domain_catchall";

// Database table
$liste["table"] 			= "mail_forwarding";
tbrehm's avatar
tbrehm committed

// Index index field of the database table
$liste["table_idx"]			= "forwarding_id";
tbrehm's avatar
tbrehm committed

// Search Field Prefix
$liste["search_prefix"] 	= "search_";

// Records per page
latham's avatar
latham committed
$liste["records_per_page"] 	= "15";
tbrehm's avatar
tbrehm committed

// Script File of the list
$liste["file"]				= "mail_domain_catchall_list.php";

// Script file of the edit form
$liste["edit_file"]			= "mail_domain_catchall_edit.php";

// Script File of the delete script
$liste["delete_file"]		= "mail_domain_catchall_del.php";

// Paging Template
$liste["paging_tpl"]		= "templates/paging.tpl.htm";

// Enable auth
$liste["auth"]				= "yes";


/*****************************************************
* Suchfelder
*****************************************************/

$liste["item"][] = array(	'field'		=> "active",
							'datatype'	=> "VARCHAR",
							'formtype'	=> "SELECT",
							'op'		=> "=",
							'prefix'	=> "",
							'suffix'	=> "",
							'width'		=> "",
redray's avatar
redray committed
							'value'		=> array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>Yes</span></div>", 'n' => "<div class=\"swap\" id=\"ir-No\"><span>No</span></div>"));

tbrehm's avatar
tbrehm committed

$liste["item"][] = array(	'field'		=> "source",
tbrehm's avatar
tbrehm committed
							'datatype'	=> "VARCHAR",
							'formtype'	=> "TEXT",
							'op'		=> "like",
							'prefix'	=> "%",
							'suffix'	=> "%",
							'width'		=> "",
							'value'		=> "");

$liste["item"][] = array(	'field'		=> "destination",
							'datatype'	=> "VARCHAR",
							'formtype'	=> "TEXT",
							'op'		=> "like",
							'prefix'	=> "%",
							'suffix'	=> "%",
							'width'		=> "",
							'value'		=> "");
tbrehm's avatar
tbrehm committed
?>