<?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: forums.php 66102 2018-04-19 18:05:08Z luciash $

function prefs_forums_list()
{
	return [
		'forums_ordering' => [
			'name' => tra('Default order'),
			'type' => 'list',
			'options' => [
				'created_asc' => tra('Creation date (asc)'),
				'created_desc' => tra('Creation Date (desc)'),
				'threads_desc' => tra('Topics (desc)'),
				'comments_desc' => tra('Threads (desc)'),
				'lastPost_desc' => tra('Latest post (desc)'),
				'hits_desc' => tra('Visits (desc)'),
				'name_desc' => tra('Name (desc)'),
				'name_asc' => tra('Name (asc)'),
			],
			'default' => 'created_desc',
		],
	];
}
