<?php
// (c) Copyright 2002-2010 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: directory.php 25469 2010-02-21 17:28:22Z marclaporte $

function prefs_directory_list() {
	return array(
		'directory_country_flag' => array(
			'name' => tra('Show Country Flag'),
			'description' => tra('Show the country flag'),
			'type' => 'flag',
		),
		'directory_cool_sites' => array(
			'name' => tra('Enable cool sites'),
			'type' => 'flag',
		),
		'directory_validate_urls' => array(
			'name' => tra('Validate URLs'),
			'type' => 'flag',
		),
		'directory_columns' => array(
                       'name' => tra('Number of columns per page when listing directory categories'),
			'description' => tra('Number of columns per page when listing directory categories'),
                       'type' => 'list',
        	       'options' => array(
	                        '1' => tra('1'),
               		        '2' => tra('2'),
                       		'3' => tra('3'),
                       		'4' => tra('4'),
                       		'5' => tra('5'),
                       		'6' => tra('6'),
				),
			),
		'directory_links_per_page' => array(
			'name' => tra('Links per page'),
			'type' => 'text',
			),
		'directory_open_links' => array(
                       'name' => tra('Method to Open Directory Links'),
			'description' => tra('Method to open directory links'),
                       'type' => 'list',
        	       'options' => array(
	                        'r' => tra('replace current window'),
               		        'n' => tra('new window'),
                       		'f' => tra('inline frame'),
				),
			),
	);
}
