Skip to content
ftp_sites_stats.list.php 1.26 KiB
Newer Older
Cédric's avatar
Cédric committed
<?php

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

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

// Database table
$liste["table"]    = "web_domain";

// Index index field of the database table
$liste["table_idx"]   = "domain_id";

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

// Records per page
$liste["records_per_page"]  = "15";

// Script File of the list
$liste["file"]    = "ftp_sites_stats.php";
Cédric's avatar
Cédric committed

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

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

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

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

// mark columns for php sorting (no real mySQL columns)
$liste["phpsort"] = array('this_month', 'last_month', 'this_year', 'last_year');
Cédric's avatar
Cédric committed

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

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