<?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: workspace.php 44443 2013-01-05 20:30:09Z changi67 $

function prefs_workspace_list()
{
	return array(
		'workspace_ui' => array(
			'name' => tr('Workspace UI'),
			'description' => tr('Binds multiple features in Tiki to form a workspace experience for workgroups.'),
			'type' => 'flag',
			'default' => 'n',
			'perspective' => false,
			'dependencies' => array(
				'feature_wiki',
				'namespace_enabled',
				'feature_perspective',
				'feature_categories',
			),
		),
		'workspace_root_category' => array(
			'name' => tr('Workspace root category'),
			'description' => tr('ID of the root category containing all workspaces.'),
			'type' => 'text',
			'filter' => 'int',
			'default' => 0,
			'perspective' => false,
			'warning' => tr('This value is automatically managed and should not need to be modified manually.'),
		),
	);
}

