1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8function prefs_uf_list() 9{ 10 return [ 11 'uf_use_db' => [ 12 'name' => tra('Storage'), 13 'description' => tra('Storage settings when file galleries are not used'), 14 'type' => 'list', 15 'options' => [ 16 'y' => tra('Store in database'), 17 'n' => tra('Store in directory'), 18 ], 19 'default' => 'y', 20 'tags' => ['basic'], 21 ], 22 'uf_use_dir' => [ 23 'name' => tra('Directory path'), 24 'description' => tra("Specify a directory on this server, for example: /var/www/ It's recommended that this directory not be web-accessible. PHP must be able to read/write to the directory."), 25 'type' => 'text', 26 'size' => 50, 27 'default' => '', 28 'tags' => ['basic'], 29 ], 30 ]; 31} 32