<?php
// (c) Copyright 2002-2011 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: w.php 35477 2011-07-19 09:33:27Z jonnybradley $

function prefs_w_list() {
	return array(
		'w_displayed_default' => array(
			'name' => tra('Display by default'),
			'type' => 'flag',
			'default' => 'n',
		),
		'w_use_dir' => array(
			'name' => tra('Path (if stored in directory)'),
			'type' => 'text',
			'size' => '20',
			'perspective' => false,
			'default' => '',
		),
		'w_use_db' => array(
			'name' => tra('Storage'),
			'type' => 'radio',
			'perspective' => false,
			'options' => array(
				'y' => tra('Store in database'),
				'n' => tra('Store in directory'),
			),
			'default' => 'y',
		),
	);
}
