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

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



// Name of the list
$liste["name"]     = "mail_alias";
tbrehm's avatar
tbrehm committed

// 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_";
tbrehm's avatar
tbrehm committed

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

// Script File of the list
$liste["file"]    = "mail_alias_list.php";
tbrehm's avatar
tbrehm committed

// Script file of the edit form
$liste["edit_file"]   = "mail_alias_edit.php";
tbrehm's avatar
tbrehm committed

// Script File of the delete script
$liste["delete_file"]  = "mail_alias_del.php";
tbrehm's avatar
tbrehm committed

// Paging Template
$liste["paging_tpl"]  = "templates/paging.tpl.htm";
tbrehm's avatar
tbrehm committed

// Enable auth
$liste["auth"]    = "yes";
tbrehm's avatar
tbrehm committed


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

$liste["item"][] = array( 'field'  => "active",
	'datatype' => "VARCHAR",
	'formtype' => "SELECT",
	'op'  => "=",
	'prefix' => "",
	'suffix' => "",
	'width'  => "",
	'value'  => array('y' => $app->lng('yes_txt'), 'n' => $app->lng('no_txt')));


$liste["item"][] = array( 'field'  => "source",
	'datatype' => "VARCHAR",
	'filters'   => array( 0 => array( 'event' => 'SHOW',
			'type' => 'IDNTOUTF8')
	),
	'formtype' => "TEXT",
	'op'  => "like",
	'prefix' => "%",
	'suffix' => "%",
	'width'  => "",
	'value'  => "");

$liste["item"][] = array( 'field'  => "destination",
	'datatype' => "VARCHAR",
	'filters'   => array( 0 => array( 'event' => 'SHOW',
			'type' => 'IDNTOUTF8')
	),
	'formtype' => "TEXT",
	'op'  => "like",
	'prefix' => "%",
	'suffix' => "%",
	'width'  => "",
	'value'  => "");


?>