<?php
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
// 
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: proxy.php 44444 2013-01-05 21:24:24Z changi67 $

function prefs_proxy_list()
{
	return array (
		'proxy_host' => array(
			'name' => tra('Proxy host name'),
			'description' => tra('Proxy host - without http:// or similar, just the host name'),
			'type' => 'text',
			'size' => '20',
			'filter' => 'url',
			'dependencies' => array(
				'use_proxy',
			),
			'default' => '',
		),
		'proxy_port' => array(
			'name' => tra('Port'),
			'description' => tra('Proxy port'),
			'type' => 'text',
			'filter' => 'digits',
			'size' => '5',
			'dependencies' => array(
				'use_proxy',
			),
			'default' => '',
		),
		'proxy_user' => array(
			'name' => tra('Proxy username'),
			'type' => 'text',
			'size' => 10,
			'filter' => 'none',
			'default' => '',
		),
		'proxy_pass' => array(
			'name' => tra('Proxy password'),
			'type' => 'text',
			'size' => 10,
			'filter' => 'none',
			'default' => '',
		),
	);
}
