<?php
// (c) Copyright 2002-2012 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_header_list()
{
	return array(
		'header_shadow_start' => array(
			'name' => tra('Header shadow start'),
			'type' => 'textarea',
			'size' => '2',
			'default' => '',
		),
		'header_shadow_end' => array(
			'name' => tra('Header shadow end'),
			'type' => 'textarea',
			'size' => '2',
			'default' => '',
		),
		'header_custom_css' => array(
			'name' => tra('Custom CSS'),
			'description' => tra('Includes a custom block of CSS inline in all pages.'),
			'type' => 'textarea',
			'size' => 5,
			'default' => '',
		),
		'header_custom_js' => array(
			'name' => tra('Custom JavaScript'),
			'description' => tra('Includes a custom block of inline JavaScript in all pages.'),
			'type' => 'textarea',
			'size' => 5,
			'default' => '',
			'hint' => tra('Do not include the <script> and </script> tags.'),
		),
	);	
}

<?php
// (c) Copyright 2002-2012 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_header_list()
{
	return array(
		'header_shadow_start' => array(
			'name' => tra('Header shadow start'),
			'type' => 'textarea',
			'size' => '2',
			'default' => '',
		),
		'header_shadow_end' => array(
			'name' => tra('Header shadow end'),
			'type' => 'textarea',
			'size' => '2',
			'default' => '',
		),
		'header_custom_css' => array(
			'name' => tra('Custom CSS'),
			'description' => tra('Includes a custom block of CSS inline in all pages.'),
			'type' => 'textarea',
			'size' => 5,
			'default' => '',
			'filter' => 'none',
		),
		'header_custom_js' => array(
			'name' => tra('Custom JavaScript'),
			'description' => tra('Includes a custom block of inline JavaScript in all pages.'),
			'type' => 'textarea',
			'size' => 5,
			'default' => '',
			'hint' => tra('Do not include the <script> and </script> tags.'),
			'filter' => 'none',
		),
	);	
}

Allow url etc in custom css and js prefs (thanks luci)
[FIX] css: Allow url etc in custom css and js prefs (thanks luci)

git-svn-id: 84b83dd0f57d36a02bb8202710824ee41d1b7ca0@41591 b456876b-0849-0410-b77d-98878d47e9d5
