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_layout_list() 9{ 10 return [ 11 'layout_fixed_width' => [ 12 'name' => tra('Layout width'), 13 'description' => tra('The width of the content area of the site, centered in the browser window.'), 14 'type' => 'text', 15 'hint' => tra('for example, 960px'), 16 'dependencies' => [ 17 'feature_fixed_width', 18 ], 19 'tags' => ['basic'], 20 'default' => '1170px', 21 ], 22 'layout_tabs_optional' => [ 23 'name' => tra('Tabs optional'), 24 'description' => tra('Users can choose not to have tabs. A <b>no tabs</b> button will be displayed.'), 25 'type' => 'flag', 26 'dependencies' => [ 27 'feature_tabs', 28 ], 29 'default' => 'y', 30 ], 31 'layout_add_body_group_class' => [ 32 'name' => tra('Add group CSS info'), 33 'hint' => tra('Add CSS classes to the page BODY tag based on the user\'s group membership'), 34 'description' => tra('Either grp_Anonymous or grp_Registered and possibly grp_Admins as well'), 35 'type' => 'flag', 36 'default' => 'n', 37 'keywords' => 'body class html grp', 38 ], 39 ]; 40} 41