<commit_before><?php
// (c) Copyright 2002-2016 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$

function prefs_layout_list()
{
	return array(
		'layout_fixed_width' => array(
			'name' => tra('Layout width'),
			'description' => tra('Constrains the width of the content area of the site.'),
			'type' => 'text',
			'units' => tra('pixels'),
			'hint' => tra('for example, 960px'),
			'dependencies' => array(
				'feature_fixed_width',
			),
			'default' => '1170',
			'filter' => 'digits',
		),
		'layout_tabs_optional' => array(
			'name' => tra('Tabs optional'),
			'description' => tra('Users can choose not to have tabs. A <b>no tabs</b> button will be displayed.'),
			'type' => 'flag',
			'dependencies' => array(
				'feature_tabs',
			),
			'default' => 'y',
		),
		'layout_add_body_group_class' => array(
			'name' => tra('Add group CSS info'),
			'hint' => tra('Add CSS classes to the page BODY tag based on the user\'s group membership'),
			'description' => tra('Either grp_Anonymous or grp_Registered and possibly grp_Admins as well'),
			'type' => 'flag',
			'default' => 'n',
			'keywords' => 'body class html grp',
		),
	);
}<commit_msg>[FIX] Layout: rollback of some changes which caused regression "Theme Width Option Non-Functional" (see https://dev.tiki.org/item6464, thanks John)<commit_after><?php
// (c) Copyright 2002-2017 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$

function prefs_layout_list()
{
	return array(
		'layout_fixed_width' => array(
			'name' => tra('Layout width'),
			'description' => tra('Constrains the width of the content area of the site.'),
			'type' => 'text',
			'hint' => tra('for example, 960px'),
			'dependencies' => array(
				'feature_fixed_width',
			),
			'default' => '1170px',
		),
		'layout_tabs_optional' => array(
			'name' => tra('Tabs optional'),
			'description' => tra('Users can choose not to have tabs. A <b>no tabs</b> button will be displayed.'),
			'type' => 'flag',
			'dependencies' => array(
				'feature_tabs',
			),
			'default' => 'y',
		),
		'layout_add_body_group_class' => array(
			'name' => tra('Add group CSS info'),
			'hint' => tra('Add CSS classes to the page BODY tag based on the user\'s group membership'),
			'description' => tra('Either grp_Anonymous or grp_Registered and possibly grp_Admins as well'),
			'type' => 'flag',
			'default' => 'n',
			'keywords' => 'body class html grp',
		),
	);
}
{'fraction_non_alphanumeric': 0.16027496382054993, 'fraction_numerical': 0.012301013024602027, 'mean_word_length': 3.7590361445783134, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 49, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3058157', 'n_tokens_mistral': 1046, 'n_tokens_neox': 904, 'n_words': 296}