<?php
// (c) Copyright 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 66102 2018-04-19 18:05:08Z luciash $

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